Message ID | 30e92dd966c8f9b7d8191a87d86c7e20de546166.1647858924.git.lorenzo@kernel.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=sBzNgSfu; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=jDfP0AgO; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KPXgf1n6Nz9s09 for <incoming@patchwork.ozlabs.org>; Fri, 25 Mar 2022 04:45:34 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=c4JdPUlP1Y1PjWVXDzpX7HMsbrmJLfVtb6ZF6iEMDGw=; b=sBzNgSfusMHRZg fg49rqR82vbPhXqZ17KBBijBxmBbzQdNtTSpi9aJQCKJRhZURAZxt+ARWwu0lJO9RCv9O/E3Qnrr/ eW4MykJxLeXJQxch9jK5+uHlv8+rFuw8kolpJ9ZgKEH5VLTJQMxnWF53V4obf2qIjMdFoPZEp6dud nwyEpjJMu1vweJMpmmgUCUpgscHevk8i9FVqkBSp1/fQPtokfwWucHpOqU3TE9yZY3vo7sFsuvn4S 9RlctlxfZEDvR7HKhCtl9/tHvPDwF9JF2bXUle3gT8IW9joSuDWtdVwPg64HQMgEfBE94PFRtxSVx v9WnVK3bz1yz353hP4ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXRVr-00HPMn-5a; Thu, 24 Mar 2022 17:44:43 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWFwN-007QQy-IY for hostap@lists.infradead.org; Mon, 21 Mar 2022 11:11:12 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1E73360AC6; Mon, 21 Mar 2022 11:11:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2349C340ED; Mon, 21 Mar 2022 11:11:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647861070; bh=vjR1mfEoizgJHLE9XNRzbcyzsQA2i43XItGGc5uzNYM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jDfP0AgOuWxJJiKsrBOW3Y3qKNVdQE0a2lbXdykjj8UdcpZl8j7ot9zB4wcR513Ge TPELJu7R00ZhkcavLWW5b0qLTstj3j/f7uTd1QF8dLCIeFfzyzIWP5rVmSEa2S722p K0uE+oWgtskt6c6Ps1V20d3ReSFlY/2vT+IGcZ4N1JYvNMb3A6YMkfyoS/bJrSpF/L iwcJw/rM2b6ENZSpsb1UHeFeZwNUtZfxOIjxCRVZZ0Ic1Wmab22T/STROtiaWlbCq+ ODfOTaYupCyV8RfK2Frf4iHNFy0SZb7QI++9DrTPb103P190vb2JiYyF4N9dur0qTy ooputGCo83o8A== From: Lorenzo Bianconi <lorenzo@kernel.org> To: j@w1.fi Cc: nbd@nbd.name, hostap@lists.infradead.org, lorenzo.bianconi@redhat.com, ryder.lee@mediatek.com, evelyn.tsai@mediatek.com, chui-hao.chiu@mediatek.com, john@phrozen.org Subject: [PATCH v3 3/5] bss coloring: disable BSS color during CCA Date: Mon, 21 Mar 2022 12:10:32 +0100 Message-Id: <30e92dd966c8f9b7d8191a87d86c7e20de546166.1647858924.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <cover.1647858924.git.lorenzo@kernel.org> References: <cover.1647858924.git.lorenzo@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220321_041111_670969_ECBEE5AF X-CRM114-Status: GOOD ( 11.58 ) X-Spam-Score: -5.4 (-----) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: John Crispin <john@phrozen.org> While we are doing CCA the bss color disable bit inside the he oper field needs to be set. Tested-by: Peter Chiu <chui-hao.chiu@mediatek.com> Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: John Crispin <john@phrozen [...] Content analysis details: (-5.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [2604:1380:4641:c500:0:0:0:1 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-Mailman-Approved-At: Thu, 24 Mar 2022 10:44:14 -0700 X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
Introduce 802.11ax bss coloring support
|
expand
|
diff --git a/src/ap/ieee802_11_he.c b/src/ap/ieee802_11_he.c index d2fb90164..db5fec9f3 100644 --- a/src/ap/ieee802_11_he.c +++ b/src/ap/ieee802_11_he.c @@ -200,7 +200,7 @@ u8 * hostapd_eid_he_operation(struct hostapd_data *hapd, u8 *eid) if (hapd->iface->conf->he_op.he_er_su_disable) params |= HE_OPERATION_ER_SU_DISABLE; - if (hapd->iface->conf->he_op.he_bss_color_disabled) + if (hapd->iface->conf->he_op.he_bss_color_disabled || hapd->cca_in_progress) params |= HE_OPERATION_BSS_COLOR_DISABLED; if (hapd->iface->conf->he_op.he_bss_color_partial) params |= HE_OPERATION_BSS_COLOR_PARTIAL;