RE: [PATCH] mac80211: Send deauth to STA's upon AP stop

Shay Bar
2020-06-21T10:12:12Z

Hi Johannes and Ben,

To conclude this thread, hostapd doesn’t send any deauth/disassoc
upon AP stop (when hostapd is killed _or_ when "ifconfig down" the
AP interface).
This is causing a situation where stations keep sending unicast frames
to a down AP interface as it doesn’t know it's gone down.
I tried your suggestion and sent 1 deauth/disassoc as broadcast
(instead of unicast to each STA), but some stations (e.g. Samsung S8)
Ignore this broadcast (while it will not ignore unicast deauth/disassoc).
Although not indicated in the standard, I think it's better to let STA
Know AP gone down by sending this unicast deauth to each STA
(as this patch does).

Please let me know your decision.
Shay.
________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any retransmission, dissemination, copying or other use of, or taking of any action in reliance upon this information is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Nothing contained herein shall be deemed as a representation, warranty or a commitment by Celeno. No warranties are expressed or implied, including, but not limited to, any implied warranties of non-infringement, merchantability and fitness for a particular purpose.
________________________________