> > mac80211 has a comment that NULL frames are just for PS control > > operation and otherwise ignored. So no idea. > > Please note that this comment in ieee80211_rx_h_sta_process() is only > after having went through association state validation in > ieee80211_rx_h_check(). Oh good point. > However, it looks like the sending of > deauth/disassoc based on Class 2/3 frames being received in wrong state > (IEEE 802.11, Clause 5.5) has been broken at some point.. > > mac80211 is supposed to notify userspace (hostapd) of this and hostapd > would then reply with disassoc/deauth depending on the current state of > the STA. The current mac80211 implementation is just silently dropping > the frames. The way this used to work was by sending the > ieee80211_msg_sta_not_assoc message with ieee80211_rx_mgmt() in > ieee80211_rx_h_check(). Yes. This was removed along with the mgmt iface, it needs to be added back. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part