Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1144100rwb; Thu, 19 Jan 2023 07:09:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXvYRuQ4C2r5gdytiZlhfk0sfHZ9WJ2iA/cXEvx0cmq8Wr11izWF0m2KwTu4cC/k6DzXOAnV X-Received: by 2002:a62:3181:0:b0:58d:90aa:6039 with SMTP id x123-20020a623181000000b0058d90aa6039mr10017258pfx.32.1674140976147; Thu, 19 Jan 2023 07:09:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674140976; cv=none; d=google.com; s=arc-20160816; b=RH71utSyr5PqwHvJXfW00EmUMQdzWevPGhl6Pe5iYF33qeBsIO2m6X0viJRMgCcW6S jQESxY6Z79r4N7bdD6gRGh1WfUcvg7xTlx/L0tF0q5bpCBpfKNUh8T7+O2UTApYcEBAl UhSwVcA4I+PC4eHy9jjieUxQeQxogVc6Snf8mGCn8o4I1oD0SF4qgml9S8RXIDSUpYes Wp/vxIgUg7xJixhK12YKCsunuVT0dYGcfgThsHn/iyDm0ANtqMy7YZahPsiUjmJt86EN nbc8DeEyhNI2XQ0stsHlFfxshQpHpEj3jnUugkI95VsAvS6ul/mFVmXzfPb7+qbf6LWY Rh6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id; bh=ZlNbdp3QpCr1TjeSn0zKV8ufWfIahUfqmgMxf+tuNyQ=; b=uDJqKO39lizYqEzzCENsPOtpMbpHmJGk9XszqYKuwuWi5pPklV6ug3Uj5yiOM7jyme 8JmUAHE9pIKop9xt65uCJJK/ubtWW1kIauesHbti/GjsPahvT7/OqbkcxDZScNcgFjJP 6cWBmL556rMrR7mFiUJo5uyPQocwZ7MwkyJ+Khm/mwd3OR+CHAYhYaLu+Vq6g6bBsCsE 8WOoBsuYl6obj9eaMjVD/EwvDi/SQ+/c1cuV+vbdjaqqqSbKeHqxKya9oE3Dh+cVhcST t+mj/9EwMD4WsQ3kXLoEpfWB+Sd13zfuWZPnIHtZ58q0JcGNnkY0AFjFSaK7K5pJnbQF 9kkQ== 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 eb9-20020a056a004c8900b0058de9248492si4506327pfb.88.2023.01.19.07.09.27; Thu, 19 Jan 2023 07:09:36 -0800 (PST) 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 S230400AbjASO6N (ORCPT + 63 others); Thu, 19 Jan 2023 09:58:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230527AbjASO6L (ORCPT ); Thu, 19 Jan 2023 09:58:11 -0500 X-Greylist: delayed 309 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 19 Jan 2023 06:58:09 PST Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C672247EF3 for ; Thu, 19 Jan 2023 06:58:09 -0800 (PST) Received: from [192.168.0.203] ([151.127.53.97]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.103]) with ESMTPSA (Nemesis) id 1MTzve-1pAEpA2DTu-00R2wF; Thu, 19 Jan 2023 15:52:46 +0100 Message-ID: <1609a645-3e23-7e37-9aa1-94f970e481e2@green-communications.fr> Date: Thu, 19 Jan 2023 15:52:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH 1/2] nl80211: add support to enable/disable bss color collision detection Content-Language: fr, en-US To: Johannes Berg , Rameshkumar Sundaram , ath11k@lists.infradead.org Cc: linux-wireless@vger.kernel.org References: <20221226083328.29051-1-quic_ramess@quicinc.com> <20221226083328.29051-2-quic_ramess@quicinc.com> <74c57dc34af10537f98f5bb9b6ce80e5676e09b0.camel@sipsolutions.net> From: Nicolas Cavallari In-Reply-To: <74c57dc34af10537f98f5bb9b6ce80e5676e09b0.camel@sipsolutions.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:HHBEj0U4WXgOh3ukuJSMwstGODz3ephBJOC5ByETGYIfJ8RUnuv mTnX23rMJ1dW27IT4pu4tEjNWyXqrekRq7/loOX7ZQ6ihk/SGXfhNk41d+0J95Xjp1vnROM 8CVCrZG2i2OiL2tCYtw3EEm0bNa5av7QUsv2NWbjabDZCWu5o2iBvNmjZKr/CXGo9TXTEDf I2TcYvOCA5LWr41UQLPDQ== UI-OutboundReport: notjunk:1;M01:P0:mSiwyjdmb+c=;QDCLMCDxALx4n8ibZvmIytVJwML XjAx/++6So73JYDg77L6qgSA69tC3w4MdX1UObn95NhfW4xbanauLMw649NNDafDqf6cA2eZM aQXwjwgOLpeyXd0jNGGpwuxPsdQPIquD/1/x0ifsDvGNbc+hecr4O33qW0lUL5GroLbqmD0Pa o1tSGmaWATEbZWOD6pmd1jK2zXO0y9GwkReWEbsZGTWqEaHumQ8gfVhzdHACwofDvNidGSe4b Uffpk7KrlEhTRgPO6EOlmq1W7zeNSFCG//Fha6uRoV50c3J/600/pKwvtqhvdEvpItxDCb1kH XnoSYa8AJHsZfsXU7lPLpqOT6QY2LNP8Ia692iT7ZGYbZnriRgCjYd1CkkvJWvLY93sPWYO08 HSprqUvfPndmtMxn9VL/7Buq/ZkOWl8TGV1djlBuoqhtHL0Ctgbd8oQkmSX5R4Qq9UX4UJzo6 W7Z63u75XomBmG7wHgR8JVo9O4lfD8LW/Z70yyQzzkY0lfISiA307ctAMRL/iFs6mfKIzOY6J /QPcY+kP8UnRoB7bmLGLIWIrhhvS6gL0IBkVXRL/R0hQu68nSoGshKB0rrTCgF0QTl2duzCTE 0o3OxAKRwhTWZzJz5J0bxsYHBpVK+uE0NWqMJCmte7SxSYTcNDkmDdn/bJblVp+Y5WRgl58PO y3N99XTgv+AamSya9MMWqO4fwqu9cYaWig8kSWfxqQ== X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 On 19/01/2023 15:02, Johannes Berg wrote: > On Mon, 2022-12-26 at 14:03 +0530, Rameshkumar Sundaram wrote: >> As per 802.11ax-2021, STAs shall process BSS Color Change Announcement >> (BCCA) from AP and switch to new color, but some STAs aren't processing >> BCCA from AP and not doing color switch, causing them to drop data >> frames from AP post color change. >> >> Provide an option to disable color collision detection and therefore >> not to do BCCA to mitigate the same from AP. If it's required in case >> where STA supports BCCA handling, then it can enabled in AP using this >> option. >> > > You should probably split this into cfg80211 and mac80211. > > Also, this doesn't really seem to make a lot of _sense_ since nothing in > the kernel actually acts on detection of a color collision - hostapd is > acting on that. > > So since you can easily make hostapd ignore the event, why do you even > need this? This may not be related, but the software color collision detection sends a netlink message for every colliding frame and it can hose up the system if the other network is very active. Also, cfg80211_bss_color_notify() complains that the wdev lock isn't held.