From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93528C433E0 for ; Thu, 18 Jun 2020 14:18:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6D14620739 for ; Thu, 18 Jun 2020 14:18:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727960AbgFROSO (ORCPT ); Thu, 18 Jun 2020 10:18:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727078AbgFROSO (ORCPT ); Thu, 18 Jun 2020 10:18:14 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC040C06174E for ; Thu, 18 Jun 2020 07:18:13 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1jlvMq-007k5B-3b; Thu, 18 Jun 2020 16:18:12 +0200 Message-ID: <2a7b33ace030fdeda96e60b2abd6c70a11f426e0.camel@sipsolutions.net> Subject: Re: [PATCH] mac80211: Send deauth to STA's upon AP stop From: Johannes Berg To: Shay Bar Cc: "linux-wireless@vger.kernel.org" Date: Thu, 18 Jun 2020 16:18:11 +0200 In-Reply-To: References: <20200618093609.16514-1-shay.bar@celeno.com> (sfid-20200618_113627_790574_4007E613) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.3 (3.36.3-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2020-06-18 at 14:14 +0000, Shay Bar wrote: > > Hostapd normally handles that. Are we really so worried about it > > crashing? > > johannes > > Actually, it's not crashing but WIFI STA keeps sending unicast frames > to AP such as RTS, BAR, NULL function (no data). > This is what I want to avoid. > Its just seems much more clever to let STA know we are down. > don’t you agree? We're doing that. More accurately, hostapd is doing that. So what's not working for you? johannes