On 30/07/2020 17:28, Johannes Berg wrote: > External Email > > > On Thu, 2020-07-30 at 14:23 +0000, Shay Bar wrote: >> On 30/07/2020 17:00, Johannes Berg wrote: >>> External Email >>> >>> >>> On Thu, 2020-06-25 at 13:29 +0300, Shay Bar wrote: >>>> On 25/06/2020 12:51, Johannes Berg wrote: >>>>> External Email >>>>> >>>>> >>>>> On Sun, 2020-06-21 at 10:12 +0000, Shay Bar wrote: >>>>>> 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). >>>>> Right. I'm sort of suggesting you just shouldn't be doing this, and it >>>>> doesn't seem like most people actually do, otherwise we'd have seen this >>>>> issue before? >>>>> >>>> I shouldn't kill hostapd? Isn't this a very basic action? >>>> What is the alternative for stopping the AP? >>> I guess I would say to use hostapd_cli first to "disable" the >>> interfaces? >> Indeed, using hostapd_cli "DISABLE" will call >> hostapd_flush_old_stations() that will send broadcast deauth. > Ah. > >> The problem is (mentioned before) that some stations (e.g. Samsung S8) >> ignore this broadcast (while it will not ignore unicast >> deauth/disassoc). > Right, you mentioned that. I guess you could work around by disabling > all stations separately, but ... not really a great solution either. > > Perhaps we should fix that at the hostapd level? > > Not really sure how much trouble we should go to for bad stations > though. I mean, it's not like they should be ignoring that. > > Maybe they just miss it due to super aggressive powersave, and we should > send it a few times? Power save is possible. I will try sending it 3 times (instead of only 1) and see if it helps. Anyway, I agree we should not put extra effort for STA's that ignore this bcast, Lets discard this patch. Thanks. ________________________________ 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. ________________________________