You are not logged in.

#1 2020-04-30 11:53:18

ziu
Member
Registered: 2013-02-05
Posts: 10

Compex WLE900X wireless AC adapter stopped working on non DFS channel

After an upgrade round, my hostapd configuration stopped working on my APU2 board.

########### GENERAL
interface=wlp4s0
driver=nl80211
hw_mode=a
channel=36
country_code=CH
ieee80211d=1
ieee80211h=1
ieee80211n=1
ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]
ieee80211ac=1
vht_oper_chwidth=1
vht_capab=[MAX-MPDU-11454][RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1]
vht_oper_centr_freq_seg0_idx=42

It seems that now my wireless card requires Dynamic Frequency Scanning to work on channel 36. As the kernel does not support DFS, hostapd bails out.
Per regulatory domain, channel 36 does not require DFS:

# iw reg get
global
country CH: DFS-ETSI
	(2402 - 2482 @ 40), (N/A, 20), (N/A)
	(5150 - 5330 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
	(5170 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
	(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
	(57000 - 66000 @ 2160), (N/A, 40), (N/A)

Still, the card does not have any non-DFS channel anymore:

# iw list
[...]
		Frequencies:
			* 5180 MHz [36] (20.0 dBm) (no IR, radar detection)
			* 5200 MHz [40] (20.0 dBm) (no IR, radar detection)
			* 5220 MHz [44] (20.0 dBm) (no IR, radar detection)
			* 5240 MHz [48] (20.0 dBm) (no IR, radar detection)
			* 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
			* 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
			* 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
			* 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
			* 5500 MHz [100] (disabled)
			* 5520 MHz [104] (disabled)
			* 5540 MHz [108] (disabled)
			* 5560 MHz [112] (disabled)
			* 5580 MHz [116] (disabled)
			* 5600 MHz [120] (disabled)
			* 5620 MHz [124] (disabled)
			* 5640 MHz [128] (disabled)
			* 5660 MHz [132] (disabled)
			* 5680 MHz [136] (disabled)
			* 5700 MHz [140] (disabled)
			* 5720 MHz [144] (disabled)
			* 5745 MHz [149] (disabled)
			* 5765 MHz [153] (disabled)
			* 5785 MHz [157] (disabled)
			* 5805 MHz [161] (disabled)
			* 5825 MHz [165] (disabled)
			* 5845 MHz [169] (disabled)
			* 5865 MHz [173] (disabled)

The crda package is installed but I cannot see any indication that the country regulatory domain is successfully set on the card:

Apr 30 13:06:13 apu2 kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database
Apr 30 13:06:14 apu2 kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Apr 30 13:06:16 apu2 kernel: ath: Country alpha2 being used: 00

May it be possible that the crda package stopped working ? Downgrading the linux firmware did not work.
I really would like to avoid re-compiling the kernel.

Additional info:

# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
	Manufacturer: PC Engines
	Product Name: apu2
	Version: 1.0
	Serial Number: 123456789

Linux apu2 5.6.8.a-1-hardened #1 SMP PREEMPT Thu, 30 Apr 2020 00:13:16 +0000 x86_64 GNU/Linux

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Root Complex
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Host Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:02.5 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Kabini/Mullins PSP-Platform Security Processor
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 11)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [IDE mode] (rev 40)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 42)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.7 SD Host controller: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller (rev 01)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 5
01:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
02:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
04:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter

Offline

#2 2020-04-30 12:54:52

loqs
Member
Registered: 2014-03-06
Posts: 18,928

Re: Compex WLE900X wireless AC adapter stopped working on non DFS channel

Offline

#3 2020-04-30 17:05:02

ziu
Member
Registered: 2013-02-05
Posts: 10

Re: Compex WLE900X wireless AC adapter stopped working on non DFS channel

Ok, so I will wait for the reversal to be merged. Thank you.

Offline

Board footer

Powered by FluxBB