[88W9098] radar detection not working (hostapd on restricted bands)

cancel
Showing results for 
Search instead for 
Did you mean: 

[88W9098] radar detection not working (hostapd on restricted bands)

Jump to solution
332 Views
martinetd
Contributor III

Hello,

 

I am using a AW-XM458 wireless module sample (88W9098), which use this driver with PCIE9098, on an imx8mp-evk board with the 5.10.72-2.2.0 BSP (as per previous threads, adjusted to restore PCI behaviour on old soc; but this also happens without that PCI workaround patch on our production boards)

 

Running with the following hostapd.conf in Japan where band=52 requires radar detection fails to start as follow:

Configuration file: hostapd-test-dfs.conf
rfkill: Cannot open RFKILL contro[97961.833720] CMD_RESP: cmd 0xdd error, result=0x2
l device
uap0: interface state U[97961.839197] IOCTL failed: 000000005f04267c id=0x110000, sub_id=0x110001 action=1, status_code=0x2
NINITIALIZED->COUNTRY_UPDATE
uap[97961.850912] Fail to start radar detection
0: interface state COUNTRY_UPDATE->DFS
uap0: DFS-CAC-START freq=5260 chan=52 sec_chan=0, width=0, seg0=0, seg1=0, cac_time=60s
DFS start_dfs_cac() failed, -1
Interface initialization failed
uap0: interface state DFS->DISABLED
uap0: AP-DISABLED 
uap0: Unable to setup interface.
uap0: interface state DISABLED->DISABLED
uap0: AP-DISABLED 
uap0: CTRL-EVENT-TERMINATING 
hostapd_free_hapd_data: Interface uap0 wasn't started
nl80211: deinit ifname=uap0 disabled_11b_rates=0

 

Here is the hostapd.conf used, which is the example given to me earlier with ieee80211d/h enabled for dfs, and channel fixed:

root@imx8mpevk:~# cat hostapd-test-dfs.conf 
interface=uap0
hw_mode=a
channel=52
country_code=JP
ssid=NXP_Demo
auth_algs=1
ieee80211n=1
ieee80211d=1
ieee80211h=1
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_passphrase=123456789

and the regulatory details:

root@imx8mpevk:~# iw reg get
global
country JP: DFS-JP
	(2402 - 2482 @ 40), (N/A, 20), (N/A)
	(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM
	(4910 - 4990 @ 40), (N/A, 23), (N/A)
	(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
	(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
	(5490 - 5710 @ 160), (N/A, 23), (0 ms), DFS
	(57000 - 66000 @ 2160), (N/A, 10), (N/A)
root@imx8mpevk:~# iw phy
Wiphy mwiphy1
...
	Band 2:
		Frequencies:
			* 5260 MHz [52] (20.0 dBm) (radar detection)

 

Is that a known issue?

I see nothing in the code that hints radar detection would not work, it looks like the request is sent to firmware but fails there.

Thank you,

Dominique

0 Kudos
1 Solution
320 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear @martinetd 

If I am correct, you are using the Wifi SW included in i.MX Linux 5.10.72-2.2.0

So your exact SW version should be 17.92.5.p11-MM5X17283.p2

Please note that these generic Linux release (Feature Pack 92) do not include DFS feature.

DFS feature is only included in specific SW versions, which access is limited and restricted.

We will contact you directly to check if you are eligible to such specific SW release.

 

Regards,

Olivier

View solution in original post

1 Reply
321 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear @martinetd 

If I am correct, you are using the Wifi SW included in i.MX Linux 5.10.72-2.2.0

So your exact SW version should be 17.92.5.p11-MM5X17283.p2

Please note that these generic Linux release (Feature Pack 92) do not include DFS feature.

DFS feature is only included in specific SW versions, which access is limited and restricted.

We will contact you directly to check if you are eligible to such specific SW release.

 

Regards,

Olivier