5GHz AP on a QCA988x

Michal Kazior michal.kazior at tieto.com
Fri Jan 22 00:26:48 PST 2016


On 21 January 2016 at 10:15, Jeroen Roovers <jeroen.roovers at airfi.aero> wrote:
> country 00: DFS-UNSET
>         (2402 - 2472 @ 40), (6, 20), (N/A)
>         (2457 - 2482 @ 40), (6, 20), (N/A), PASSIVE-SCAN
>         (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
>         (5170 - 5250 @ 160), (6, 20), (N/A), PASSIVE-SCAN
>         (5250 - 5330 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
>         (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
>         (5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
>         (57240 - 63720 @ 2160), (N/A, 0), (N/A)
>
> [   13.587870] ath10k_pci 0000:02:00.0: pci irq msi interrupts 1
> irq_mode 0 reset_mode 0
> [   14.062943] ath10k_pci 0000:02:00.0: Direct firmware load for
> ath10k/cal-pci-0000:02:00.0.bin failed with error -2
> [   14.327191] ath10k_pci 0000:02:00.0: Direct firmware load for
> ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
> [   15.625794] ath10k_pci 0000:02:00.0: qca988x hw2.0 (0x4100016c,
> 0x043202ff sub 0000:0000) fw 10.2.4.70.17-2 fwapi 5 bdapi 1 htt-ver
> 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1 features
> no-p2p,raw-mode
> [   15.625796] ath10k_pci 0000:02:00.0: debug 1 debugfs 1 tracing 1
> dfs 1 testmode 0
> [   15.686817] ath: EEPROM regdomain: 0x6a
> [   15.686818] ath: EEPROM indicates we should expect a direct regpair map
> [   15.686820] ath: Country alpha2 being used: 00
> [   15.686820] ath: Regpair used: 0x6a
> [67009.248697] ath10k_pci 0000:02:00.0: pci irq msi interrupts 1
> irq_mode 0 reset_mode 0
> [67009.379191] ath10k_pci 0000:02:00.0: Direct firmware load for
> ath10k/cal-pci-0000:02:00.0.bin failed with error -2
> [67009.435156] ath10k_pci 0000:02:00.0: Direct firmware load for
> ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
> [67010.635063] ath10k_pci 0000:02:00.0: qca988x hw2.0 (0x4100016c,
> 0x043202ff sub 0000:0000) fw 10.2.4.70.17-2 fwapi 5 bdapi 1 htt-ver
> 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1 features
> no-p2p,raw-mode
> [67010.635101] ath10k_pci 0000:02:00.0: debug 1 debugfs 1 tracing 1
> dfs 1 testmode 0
> [67010.695143] ath: EEPROM regdomain: 0x6a
> [67010.695150] ath: EEPROM indicates we should expect a direct regpair map
> [67010.695156] ath: Country alpha2 being used: 00
> [67010.695159] ath: Regpair used: 0x6a

If I'm this right it says your regulatory for the card is world
regulatory. This means 5GHz is pretty much locked out - at least for
APs (which initiate radiation, NO-IR flag on all channels).

For comparison, one of my QCA99X0's says:

[ 4450.629243] ath: EEPROM regdomain: 0x0
[ 4450.629248] ath: EEPROM indicates default country code should be used
[ 4450.629250] ath: doing EEPROM country->regdmn map search
[ 4450.629252] ath: country maps to regdmn code: 0x3a
[ 4450.629254] ath: Country alpha2 being used: US
[ 4450.629256] ath: Regpair used: 0x3a

Here's a command snippet from my system for comparison:

; uname -a
Linux bob-0-ec-vm 4.4.0-wt-ath+ #21 SMP Thu Jan 21 13:20:41 CET 2016
x86_64 GNU/Linux
; iw --version
iw version 4.1-1-g182ef7d07a61-dirty
; iw reg get
global
country US: DFS-FCC
        (2402 - 2472 @ 40), (N/A, 30), (N/A)
        (5170 - 5250 @ 80), (N/A, 17), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
        (5735 - 5835 @ 80), (N/A, 30), (N/A)
        (57240 - 63720 @ 2160), (N/A, 40), (N/A)

phy#0
country US: DFS-FCC
        (2402 - 2472 @ 40), (N/A, 30), (N/A)
        (5170 - 5250 @ 80), (N/A, 17), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
        (5735 - 5835 @ 80), (N/A, 30), (N/A)
        (57240 - 63720 @ 2160), (N/A, 40), (N/A)

; iw list | grep -F 'MHz ['
                        * 5180 MHz [36] (17.0 dBm)
                        * 5200 MHz [40] (17.0 dBm)
                        * 5220 MHz [44] (17.0 dBm)
                        * 5240 MHz [48] (17.0 dBm)
                        * 5260 MHz [52] (23.0 dBm) (no IR, radar detection)
                        * 5280 MHz [56] (23.0 dBm) (no IR, radar detection)
                        * 5300 MHz [60] (23.0 dBm) (no IR, radar detection)
                        * 5320 MHz [64] (23.0 dBm) (no IR, radar detection)
                        * 5500 MHz [100] (23.0 dBm) (no IR, radar detection)
                        * 5520 MHz [104] (23.0 dBm) (no IR, radar detection)
                        * 5540 MHz [108] (23.0 dBm) (no IR, radar detection)
                        * 5560 MHz [112] (23.0 dBm) (no IR, radar detection)
                        * 5580 MHz [116] (23.0 dBm) (no IR, radar detection)
                        * 5600 MHz [120] (23.0 dBm) (no IR, radar detection)
                        * 5620 MHz [124] (23.0 dBm) (no IR, radar detection)
                        * 5640 MHz [128] (23.0 dBm) (no IR, radar detection)
                        * 5660 MHz [132] (23.0 dBm) (no IR, radar detection)
                        * 5680 MHz [136] (23.0 dBm) (no IR, radar detection)
                        * 5700 MHz [140] (23.0 dBm) (no IR, radar detection)
                        * 5720 MHz [144] (23.0 dBm) (radar detection)
                        * 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)


Michał



More information about the ath10k mailing list