[88W9098] radar detection not working starting hostapd on dfs-required bands

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[88W9098] radar detection not working starting hostapd on dfs-required bands

Jump to solution
811 Views
martinetd
Contributor IV

Hello,

This is a follow-up on https://community.nxp.com/t5/Wireless-Connectivity/88W9098-radar-detection-not-working-hostapd-on-re...where I asked the same question.

At the time we did not have access to a version of the driver with DFS support, but that should now be the case; I am now running this version:

[27476.385234] wlan: version = PCIE9098--17.68.1.p126.15-MXM5X17345.p3-(FP68)


(I'm not sure how much is public about it, but according to the features pdf document it lists DFS radar detection for Japan)

Unfortunately I have the same problem as the original post, hostapd does not start:

 

# cat /etc/hostapd/hostapd.conf                                                                                                                                      
interface=uap0
hw_mode=a
channel=56
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
# hostapd /etc/hostapd/hostapd.conf
uap0: interface state UNINITIALIZED->COUNTRY_UPDATE
uap0: interface state COUNTRY_UPDATE->DFS
uap0: DFS-CAC-START freq=5280 chan=56 sec_chan=0, width=0, seg0=0, seg1=0,
cac_time=60s DFS start_dfs_cac() failed, -1 Interface initialization failed

 


Looking at the documentation, I am starting to think I should setup a dfsX
iterface and perform the DFS scans out of band through mlanutl, and that the
automatic settings by hostapd are not supported; is that correct?

 

Thank you,

Dominique Martinet

Labels (2)
0 Kudos
1 Solution
787 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear @martinetd 

 

I asked kernel version, so I can try to reproduce your issue on same setup.

I checked on my side on the closest setup I have on my side:

- i.MX8MQ running 5.10.72 2.2.0

- driver release PCIE-WLAN-UART-BT-9098-U16-X86-17.68.1.p126.15-17.26.1.p126.15-MXM5X17345.p3_V0V1-GPL

- same hostapd config as yours

 

Please find attached the working log.

 

Regards,

Olivier

View solution in original post

4 Replies
801 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear Dominique,

 

Can you please confirm you are still using 5.10.72 kernel ?

Regards,

Olivier

0 Kudos
793 Views
martinetd
Contributor IV

Hello Olivier,

yes, I'm still running on a kernel based on 5.10.72 with the moal driver compiled from its release tarball -- should I try to update?

 

Thanks,

Dominique

0 Kudos
788 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear @martinetd 

 

I asked kernel version, so I can try to reproduce your issue on same setup.

I checked on my side on the closest setup I have on my side:

- i.MX8MQ running 5.10.72 2.2.0

- driver release PCIE-WLAN-UART-BT-9098-U16-X86-17.68.1.p126.15-17.26.1.p126.15-MXM5X17345.p3_V0V1-GPL

- same hostapd config as yours

 

Please find attached the working log.

 

Regards,

Olivier

710 Views
martinetd
Contributor IV

hi @ocourson 

Sorry for the slow reply, I caught covid last week and it took me a bit to catch up.

I could confirm that it works with the BSP image, so it is a problem in our userland.

It looks like running `iw reg reload` manually before starting hostapd makes it work for our device, so I'll investigate this further on my side. Sorry for the lack of proper testing and thank you for checking!

 

0 Kudos