More hAP AC Lite progress!
I was able to initialize the 802.11ac radio. It has a QCA9887 which is not currently supported by ath10k. I have had to make changes to pci.c, hw.h, and core.c in ath10k as well as download: https://github.com/kvalo/ath10k-firmwar … 2.3.31.7-1
As a hack, I duplicated the QCA988X entries and modified the chip_id, rev_id, dev_id's for the QCA9887. I wasn't sure how to properly include a new firmware.bin into the packages so I let it load the QCA988x firmware-5.bin. Once I flashed OpenWRT on the board, I downloaded the QCA9887 firmware from https://github.com/kvalo/ath10k-firmwar … 2.3.31.7-1 and copied it over /lib/firmware/ath10k/QCA988X/hw
2.0/firmware-5.bin. I modified /etc/hotplug.d/firmware/11-ath10k-caldata so the boardname would show up and calibration data would be passed to ath10k if the firmware bin was loaded. Rebooting the board after these changes allowed ath10k to load the phy1 properly with the correct calibration data.
iw phy phy1 info
Wiphy phy1
max # scan SSIDs: 16
max scan IEs length: 199 bytes
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports AP-side u-APSD.
Available Antennas: TX 0x1 RX 0x1
Configured Antennas: TX 0x1 RX 0x1
Supported interface modes:
* managed
* AP
* AP/VLAN
* monitor
* mesh point
Band 2:
Capabilities: 0x19e3
RX LDPC
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-7
VHT Capabilities (0x338001b2):
Max MPDU length: 11454
Supported Channel Width: neither 160 nor 80+80
RX LDPC
short GI (80 MHz)
TX STBC
RX antenna pattern consistency
TX antenna pattern consistency
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: not supported
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 0 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: not supported
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 0 Mbps
Frequencies:
* 5180 MHz [36] (23.0 dBm)
* 5200 MHz [40] (23.0 dBm)
* 5220 MHz [44] (23.0 dBm)
* 5240 MHz [48] (23.0 dBm)
* 5260 MHz [52] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5280 MHz [56] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5300 MHz [60] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5320 MHz [64] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5500 MHz [100] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5520 MHz [104] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5540 MHz [108] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5560 MHz [112] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5580 MHz [116] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5600 MHz [120] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5620 MHz [124] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5640 MHz [128] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5660 MHz [132] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5680 MHz [136] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5700 MHz [140] (23.0 dBm) (no IR, radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5720 MHz [144] (23.0 dBm) (radar detection)
DFS state: usable (for 21122 sec)
DFS CAC time: 60000 ms
* 5745 MHz [149] (30.0 dBm)
* 5765 MHz [153] (30.0 dBm)
* 5785 MHz [157] (30.0 dBm)
* 5805 MHz [161] (30.0 dBm)
* 5825 MHz [165] (30.0 dBm)
valid interface combinations:
* #{ AP, mesh point } <= 8,
total <= 8, #channels <= 1, STA/AP BI must match
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
It appears scanning works as well:
iw dev wlan1 scan
BSS dc:9f:db:1b:63:d0(on wlan1)
TSF: 1823008018207 usec (21d, 02:23:28)
freq: 5180
beacon interval: 100 TUs
capability: ESS Privacy ShortPreamble (0x0031)
signal: -47.00 dBm
last seen: 2730 ms ago
Information elements from Probe Response frame:
SSID: BlueMeshNetworks-5.8G
Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0
DS Parameter set: channel 36
Country: US Environment: Indoor/Outdoor
Channels [36 - 48] @ 17 dBm
Channels [52 - 64] @ 23 dBm
Channels [149 - 165] @ 30 dBm
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
* Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
HT capabilities:
Capabilities: 0x11ed
RX LDPC
HT20
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-15
HT operation:
* primary channel: 36
* secondary channel offset: no secondary
* STA channel width: 20 MHz
* RIFS: 0
* HT protection: no
* non-GF present: 0
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
Extended capabilities: 6
WMM: * Parameter version 1
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 70:56:81:cd:50:de(on wlan1)
TSF: 790153011590 usec (9d, 03:29:13)
freq: 5785
beacon interval: 100 TUs
capability: ESS Privacy SpectrumMgmt ShortSlotTime RadioMeasure (0x1511)
signal: -86.00 dBm
last seen: 130 ms ago
Information elements from Probe Response frame:
SSID: Dingle-AirPort
Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0
DS Parameter set: channel 157
TIM: DTIM Count 1 DTIM Period 3 Bitmap Control 0x0 Bitmap[0] 0x0
Country: US Environment: Indoor/Outdoor
Channels [36 - 48] @ 30 dBm
Channels [149 - 165] @ 30 dBm
Power constraint: 0 dB
RSN: * Version: 1
* Group cipher: TKIP
* Pairwise ciphers: CCMP TKIP
* Authentication suites: PSK
* Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
HT capabilities:
Capabilities: 0x11ef
RX LDPC
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT RX MCS rate indexes supported: 0-23
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 157
* secondary channel offset: above
* STA channel width: any
* RIFS: 0
* HT protection: no
* non-GF present: 1
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
WPA: * Version: 1
* Group cipher: TKIP
* Pairwise ciphers: TKIP
* Authentication suites: PSK
WMM: * Parameter version 1
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
When trying to start an AP mode, it appears to have an issue:
[20581.200000] ath10k_pci 0000:00:00.0: firmware crashed! (uuid 2e9dd975-3ef6-456b-9832-070eec0d8eb3)
[20581.210000] ath10k_pci 0000:00:00.0: qca988x hw2.0 (0x4100016d, 0x004000ff sub 0000:0000) fw 10.2.3.31.7-1 fwapi 5 bdapi 1 htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 1p
[20581.230000] ath10k_pci 0000:00:00.0: debug 1 debugfs 1 tracing 0 dfs 0 testmode 1
[20581.240000] ath10k_pci 0000:00:00.0: firmware register dump:
[20581.250000] ath10k_pci 0000:00:00.0: [00]: 0x4100016D 0x00000000 0x004146C8 0x004146C8
[20581.250000] ath10k_pci 0000:00:00.0: [04]: 0x004146C8 0x00060530 0x0000001F 0x00955A00
[20581.260000] ath10k_pci 0000:00:00.0: [08]: 0x0040AE04 0x00400000 0x00000007 0x00000000
[20581.270000] ath10k_pci 0000:00:00.0: [12]: 0x00000002 0xFFFFFFFF 0x00958360 0x0095836B
[20581.280000] ath10k_pci 0000:00:00.0: [16]: 0x809ACDE0 0x0040AD94 0x0040AE04 0x00400000
[20581.290000] ath10k_pci 0000:00:00.0: [20]: 0x00000000 0x00000000 0x00000000 0x0040E830
[20581.300000] ath10k_pci 0000:00:00.0: [24]: 0x809AC4E2 0x0040ADC4 0x00000001 0x0040AE04
[20581.300000] ath10k_pci 0000:00:00.0: [28]: 0x004133E0 0x00000001 0x0040AE08 0x00000000
[20581.310000] ath10k_pci 0000:00:00.0: [32]: 0x00000007 0x00000000 0x00000000 0x004133C8
[20581.320000] ath10k_pci 0000:00:00.0: [36]: 0x809B9C49 0x0040ADE4 0x00411568 0x0041158C
[20581.330000] ath10k_pci 0000:00:00.0: [40]: 0x00000001 0x00000000 0x00955A00 0x0040E840
[20581.340000] ath10k_pci 0000:00:00.0: [44]: 0x809B944C 0x0040AE04 0x00000001 0x00000000
[20581.340000] ath10k_pci 0000:00:00.0: [48]: 0x0040AE04 0x00000001 0x004133C8 0x004117AC
[20581.350000] ath10k_pci 0000:00:00.0: [52]: 0x809B9263 0x0040AEA4 0x0041ECF8 0x00411BC8
[20581.360000] ath10k_pci 0000:00:00.0: [56]: 0x004133C8 0x0040AE34 0x00411F08 0x00411F08
[20581.490000] ieee80211 phy1: Hardware restart was requested
I copied the ath10k-devel mailing list to see if they could help me. ath10k as is does not support this radio, hopefully with some small modifications it can...