Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp227004iob; Thu, 28 Apr 2022 00:36:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBo/EPJZQytfFeMlNAnP3PHgsaCOIAYDWJn6kSrxv2MaPxMqNomkRdxQSxYIZhYtUoveXj X-Received: by 2002:a65:6543:0:b0:39d:5e6e:24c3 with SMTP id a3-20020a656543000000b0039d5e6e24c3mr27529456pgw.560.1651131378710; Thu, 28 Apr 2022 00:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651131378; cv=none; d=google.com; s=arc-20160816; b=jUIdcHXN2eZqv2JOluEVJFQG7pOlB//gkZhW2MkM9FmmEkdW5sE+YdCleOwjtmXhgI Zbna5ajUe66Dtp5FvQODIPdB6SKGQCok06JUAODwKEVaU+QXFs0PX0DS5nbVkNhNwz3Q J+42+ZCQ6qnzxd57enM5F/v3H6zQl2NlrlPnKNtMCviKZ6HnkB3UVn5RG2S3tPNNfi+G tpw2or/2ljjUsm25fKH1N2JSwLucgwHRVrVaQ4hMlIfYqTnW9Tv5NK2a34KYJS2xuFqW Td2kpZpp/h6NeBJ1c7WgyUX2q5WubQYCg9LLQCQ1Be035BN7pOWe3zwc3Z+y4wr/8IiF KHcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=UQpNpqIrjSeVdZUcM21FLZDR5si0G5vqvbA+lHXgzlw=; b=DaDOqJQuVTl3htOuDpJWXR0kjRSpyQ7jDDsHKHDNVHz8W8/WOT8J1ExlpfHfCmHluX h6lOlRxjsDl04pOxwKvkpYaeIrfFro/PLleQ8PEpaNCw1zxVfsD5/ov/mvMoNw2Q1iw3 N7B4Ikti92+6Emm6bxIPkt0H9hESoQFLXcAHBje9JS6jFHcYjuBfHLhNww/I+A9EiRzS IlMwx5Drwl7cuH2jg5TbXNPrKcHtspOR2Ct2FHLQ8hNuKsSMEaX08mlutvLlLP6pF/7p lpN7KsheRs3Fgk0H0VHuxsPKFkAEAnyX4g1aJOMrnpIAVCcXlnLn2I8Hls2hvla9J7SC EA1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=ad34HfV4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f9-20020a635109000000b003ab15d83edasi3884886pgb.591.2022.04.28.00.36.09; Thu, 28 Apr 2022 00:36:18 -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; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=ad34HfV4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242979AbiD1Fdh (ORCPT + 68 others); Thu, 28 Apr 2022 01:33:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbiD1Fdg (ORCPT ); Thu, 28 Apr 2022 01:33:36 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 834542F391 for ; Wed, 27 Apr 2022 22:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651123823; x=1682659823; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=UQpNpqIrjSeVdZUcM21FLZDR5si0G5vqvbA+lHXgzlw=; b=ad34HfV4TfjRkUWrxt7ucjKxU0lAl8wM+jG4MssI0rTBfxaUlu8zK0e1 +3fr4WZQWYtfBHA7hzDvZz1ipyoLsPVswDlm6O5fT0e5UuG7vLf5456Lm mFEH2RGboRLftXjUnLfHEtTPDmjPWqPAVUsYkBrXJvYJSdRLFxj0CwyAW 4=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 27 Apr 2022 22:30:22 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 22:30:22 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 27 Apr 2022 22:30:21 -0700 Received: from [10.50.63.106] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 27 Apr 2022 22:30:20 -0700 Message-ID: Date: Thu, 28 Apr 2022 11:00:01 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH] mac80211: Reset MBSSID parameters upon connection Content-Language: en-US To: Johannes Berg CC: References: <20220427182305.11703-1-quic_mpubbise@quicinc.com> From: Manikanta Pubbisetty In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 4/28/2022 12:41 AM, Johannes Berg wrote: > On Wed, 2022-04-27 at 23:53 +0530, Manikanta Pubbisetty wrote: >> Currently MBSSID parameters in struct ieee80211_bss_conf >> are not reset upon connection. This could be problematic >> with some drivers in a scenario where the device first >> connects to a non-transmit BSS and then connects to a >> transmit BSS of a Multi BSS AP. The MBSSID parameters >> which are set after connecting to a non-transmit BSS will >> not be reset and the same parameters will be passed on to >> the driver during the subsequent connection to a transmit >> BSS of a Multi BSS AP. >> >> For example, firmware running on the ath11k device uses the >> Multi BSS data for tracking the beacon of a non-transmit BSS >> and reports the driver when there is a beacon miss. If we do >> not reset the MBSSID parameters during the subsequent >> connection to a transmit BSS, then the driver would have >> wrong MBSSID data and FW would be looking for an incorrect >> BSSID in the MBSSID beacon of a Multi BSS AP and reports >> beacon loss leading to an unstable connection. >> >> Reset the MBSSID parameters upon every connection to solve this >> problem. > > Oops. Please add (or at least provide) a Fixes line though. > Sure Johannes, just sent V2 patch with the Fixes line added. Thanks, Manikanta