Hostapd: 802.11r+w - Could not set STA to kernel driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

i experienced the following problem with hostapd and im unable to find a solution.
Whenever i use 802.11r with ath9k or ath10k (dont have any other aps) the association goes okay but i get a "Could not set STA to kernel driver" message.

I tracked this down here: (https://forum.openwrt.org/t/802-11r-troubleshooting-ath9k-ath10k/49691)
But a short summary will follow:

add_associated_sta seems to use the "old" way of changing sta state using sta_add and sta_remove in the codepath needed for 802.11r to work. (ieee802.11.c - if (hostapd_sta_add(hapd, sta->addr, sta->aid, sta->capability ...))
However most modern drivers seem to have converted to the sta_state api.

Is it possible to make hostapd adjust to that by checking dynamically which of these interfaces is available?
The only "new" thing added for sta_state is the new arguments, which are defined as  enum ieee80211_sta_state old_state and   enum ieee80211_sta_state new_state.

Log output:
Tue Dec  3 22:51:23 2019 daemon.debug hostapd: wlan1: STA 90:2b:d2:ff:ff:ff IEEE 802.11: binding station to interface 'wlan1'
Tue Dec  3 22:51:23 2019 daemon.debug hostapd: wlan1: STA 90:2b:d2:ff:ff:ff IEEE 802.11: authentication OK (FT)
Tue Dec  3 22:51:23 2019 daemon.debug hostapd: wlan1: STA 90:2b:d2:ff:ff:ff MLME: MLME-AUTHENTICATE.indication(90:2b:d2:ff:ff:ff, FT)
Tue Dec  3 22:51:23 2019 daemon.debug hostapd: wlan1: STA 90:2b:d2:ff:ff:ff IEEE 802.11: association OK (aid 1)
Tue Dec  3 22:51:23 2019 daemon.notice hostapd: wlan1: STA 90:2b:d2:ff:ff:ff IEEE 802.11: Could not set STA to kernel driver

I apologize if i dissected this wrong, this is my first time working with the linux kernel and related packages.

Kind regards
MartB - Martin

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux