Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5041330rwr; Sun, 23 Apr 2023 19:56:49 -0700 (PDT) X-Google-Smtp-Source: AKy350YXlYNhOabfLPBFs6GMvyx8Q8McKPPkp2oQx8agn8dhltQW9UoUJbkn0S4dVduMQrqFYANC X-Received: by 2002:a17:902:db86:b0:1a2:8871:b419 with SMTP id m6-20020a170902db8600b001a28871b419mr12684813pld.23.1682305009295; Sun, 23 Apr 2023 19:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682305009; cv=none; d=google.com; s=arc-20160816; b=hUDAx8rMs/kcjBs8TdCE86FdGByIe4utuCJejFgxxSczbgNkaPpBq4L0v5XMOYaptZ Eh/iXys5cI2X0RItge6PH81qhXCiJHWFJCBx9BB2m5fVUI3VZhyTBqXJls1CNckQdtk8 UWfiR0i7OLcZHjPDJuPTIYxRzCOHi2sM13P1mScxRzSNbybzhyqBE3oQS93Yj9QJaT9u pafaF4pd0cTBF4MuSPznNscK5xLodwZqpehB1iViLK8gk84BUa4eJgFKrJAmZxxcbih5 AxdM8w+q+nWy0/L2SXJRqWLb6QayCL9UvJHfqDVODgtulDsCaPs118dgRCZ84aphxpAU JjhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=1q+piYX0VoGuR90ReLo3qMmBekh1ViCGtIrx727kyBY=; b=b3koAzahWrGVN+XJ7v46SO+6CqGZ2ul0/Coun7zmgfqP4Ouw4879J3jjQooWOISG3R aXvgauORgSxZ+oe29LbgZBUrPbu1wSlajvyyXpVfpHFQJQ2RGczlXZ4K7siFSNyT+qzE 4MQkUABhokXPq0R+J3g0zVZWdPZ6FtZlIT04ONeeREFFCM4qX2ZazFvX4No5S7hp40Tr UGbOpSKqz2IZACNNLNlFvuXjebVBVo7cqjyQPwYly35WQHAT+qkNWO53JC1omto4CkWr U7j0XpTWcvgNQj46QOXowQhTxteyDNBfDAX7+b+/2npeKu0tOaF68WKoo/Ie8rJMjTSm orPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u7-20020a170902e5c700b001a63ff97bf2si10996166plf.496.2023.04.23.19.56.39; Sun, 23 Apr 2023 19:56:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230191AbjDXCq1 convert rfc822-to-8bit (ORCPT + 63 others); Sun, 23 Apr 2023 22:46:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjDXCqZ (ORCPT ); Sun, 23 Apr 2023 22:46:25 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE946114 for ; Sun, 23 Apr 2023 19:46:24 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 33O2kCzQ5027839, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 33O2kCzQ5027839 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Mon, 24 Apr 2023 10:46:12 +0800 Received: from RTEXMBS02.realtek.com.tw (172.21.6.95) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Mon, 24 Apr 2023 10:46:13 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS02.realtek.com.tw (172.21.6.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 24 Apr 2023 10:46:13 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Mon, 24 Apr 2023 10:46:13 +0800 From: Ping-Ke Shih To: Martin Kaistra , "linux-wireless@vger.kernel.org" CC: Jes Sorensen , Kalle Valo , Bitterblue Smith , Sebastian Andrzej Siewior Subject: RE: [PATCH v2 10/18] wifi: rtl8xxxu: Add sta_add() and sta_remove() callbacks Thread-Topic: [PATCH v2 10/18] wifi: rtl8xxxu: Add sta_add() and sta_remove() callbacks Thread-Index: AQHZcqYJni0u2IsarEe0xpNm0jFik685yHiQ Date: Mon, 24 Apr 2023 02:46:13 +0000 Message-ID: References: <20230419100145.159191-1-martin.kaistra@linutronix.de> <20230419100145.159191-11-martin.kaistra@linutronix.de> In-Reply-To: <20230419100145.159191-11-martin.kaistra@linutronix.de> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS02.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > -----Original Message----- > From: Martin Kaistra > Sent: Wednesday, April 19, 2023 6:02 PM > To: linux-wireless@vger.kernel.org > Cc: Jes Sorensen ; Kalle Valo ; Ping-Ke Shih > ; Bitterblue Smith ; Sebastian Andrzej Siewior > > Subject: [PATCH v2 10/18] wifi: rtl8xxxu: Add sta_add() and sta_remove() callbacks > > In AP mode, sta_add() gets called when a new STA gets associated to > us. Call rtl8xxxu_refresh_rate_mask() to set a rate mask for the newly > connected STA (referenced by the macid) and then send a media connnect > report. Ignore the call to sta_add() in station mode. > > Reserve one macid for broadcast/multicast packets in init. > > Signed-off-by: Martin Kaistra Reviewed-by: Ping-Ke Shih [...]