Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp269151rwb; Wed, 28 Sep 2022 02:23:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5r/PJFxK8rPBsTC9bI+/dD4xJfIQzZeykNeDWTcZqcO9wBySz8HH+AxUIr7IjQtfxej/qZ X-Received: by 2002:a17:906:1e08:b0:73d:c724:4876 with SMTP id g8-20020a1709061e0800b0073dc7244876mr26216032ejj.62.1664357009949; Wed, 28 Sep 2022 02:23:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664357009; cv=none; d=google.com; s=arc-20160816; b=a1+pc3LyGhx2t44MXQoiPiDh+DBj5ymDdiAAzhSGwMX4enQQK/lgz86Gl518iFPasv 1oIC8PLjj+KFSihDq4rD1dqe4eIBckNx+ygz1z9K4A2+AHPrGKOLds+g0KZrC20G/pj6 WssUOyDQYv+iFTR7qDrlII+kghNguGDhBH5Qz2L2kGhYQyXXTms5ou8JhXn4azITt/7q /zN7cDZ3DptPb3diAP1Uw3mit+FWH5UaX9iGm2DfxwQGGdC0CsH/SN0zmINAqSa1O3n4 4/YeeBMAKTRDxlT9R2DNyGJHtON91dms5un9Fi3syHOMF0LtHHv4BG8zYqhGfwBpCPW2 KozQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :mailrelay-external-outbound:dkim-signature; bh=SjcU17FoBc+LnDM9uIEvK0OPuB+DcB5SqyRxGv8LNac=; b=Ya8O85Lwu80lbawuxGwEthZYicQ+bIDKwttJ7HIsIYWMGkjb9zwJwbtWaBUTdX6+wR Ttk8yBkmWH3LoG/BT/pKYc5iwrskgvEBz8KTfjzOrpePaqq5ZILFxRaxAelNDHEdavHe yhxi7nf5Hpm8YPXmLuLP1AIEjgDz3LcHXS3w9xFoGuIzBtGqtAB8eB8vIdJMoQuyhH12 eiKRbr9IXzD/iS8DYPy3x8kXW7OOzXHEswTXI6QmIGKXtlX0fon2tpX/XuUuTeR02kKy 0FJqPow3u/g7k8QwGYgWQMVnsXKRjk6HgY6vySShi5X6HZayf9l3iiKEKY7YUUI8sQbz IAPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infineon.com header.s=IFXMAIL header.b=JIr0B92m; 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=fail (p=NONE sp=NONE dis=NONE) header.from=infineon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i20-20020a170906699400b00781b67df7f6si3743087ejr.167.2022.09.28.02.23.14; Wed, 28 Sep 2022 02:23:29 -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=fail header.i=@infineon.com header.s=IFXMAIL header.b=JIr0B92m; 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=fail (p=NONE sp=NONE dis=NONE) header.from=infineon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233655AbiI1JWj (ORCPT + 59 others); Wed, 28 Sep 2022 05:22:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233550AbiI1JWh (ORCPT ); Wed, 28 Sep 2022 05:22:37 -0400 Received: from smtp3.infineon.com (smtp3.infineon.com [217.10.52.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B952E65252 for ; Wed, 28 Sep 2022 02:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infineon.com; i=@infineon.com; q=dns/txt; s=IFXMAIL; t=1664356957; x=1695892957; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dSDEEGa+65xEGgP6h5ur372keMKGXcD6vkN/ELng4yc=; b=JIr0B92mHCzHEYgFokaTf57Wm833pvyX3l5rGrZ8etF8HpB7SgZpXOSu dup+3R7KsSwxVXAYAMB/te7RItSiUBYNC5DJfhkEbDJfy/s58mpE0EbDR oU7ro9vAZ7Xa0wpWqzhFwmhqC92TgRSd5Cdas6LJXxMMspSSFuA/E4sdF k=; X-SBRS: None X-IronPort-AV: E=McAfee;i="6500,9779,10483"; a="2235077" X-IronPort-AV: E=Sophos;i="5.93,351,1654552800"; d="scan'208";a="2235077" Received: from unknown (HELO mucxv002.muc.infineon.com) ([172.23.11.17]) by smtp2.infineon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2022 11:22:36 +0200 Received: from MUCSE812.infineon.com (MUCSE812.infineon.com [172.23.29.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mucxv002.muc.infineon.com (Postfix) with ESMTPS for ; Wed, 28 Sep 2022 11:22:36 +0200 (CEST) Received: from MUCSE804.infineon.com (172.23.29.30) by MUCSE812.infineon.com (172.23.29.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Wed, 28 Sep 2022 11:22:35 +0200 Received: from mailrelay-cypress4.infineon.com (172.23.18.56) by SMTP-MailRelay1.infineon.com (172.23.29.5) with Microsoft SMTP Server id 15.2.986.29; Wed, 28 Sep 2022 11:22:34 +0200 mailrelay-external-outbound: True X-IronPort-AV: E=McAfee;i="6500,9779,10483"; a="261078447" X-IronPort-AV: E=Sophos;i="5.93,351,1654552800"; d="scan'208";a="261078447" Received: from unknown (HELO mail.spansion.com) ([10.248.30.8]) by mailrelay-cypress4.infineon.com with ESMTP; 28 Sep 2022 11:22:34 +0200 Received: from inf2.aus.cypress.com (10.248.80.6) by BIZ-EXHT102.spansion.com (10.248.30.8) with Microsoft SMTP Server id 14.3.498.0; Wed, 28 Sep 2022 04:22:32 -0500 Received: from iot-wlan-dev-u03.aus.cypress.com (iot-wlan-dev-u03 [10.248.81.193]) by inf2.aus.cypress.com (Postfix) with ESMTP id ABCE91004E1; Wed, 28 Sep 2022 04:22:32 -0500 (CDT) Received: by iot-wlan-dev-u03.aus.cypress.com (Postfix, from userid 27991) id 9B10A9807EB; Wed, 28 Sep 2022 04:22:32 -0500 (CDT) From: Ian Lin To: CC: , , , , , , Subject: [PATCH v2 3/4] brcmfmac: fix CERT-P2P:5.1.10 failure Date: Wed, 28 Sep 2022 04:22:22 -0500 Message-ID: <20220928092223.22673-4-ian.lin@infineon.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20220928092223.22673-1-ian.lin@infineon.com> References: <20220928092223.22673-1-ian.lin@infineon.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_NONE 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 From: Double Lo This patch fix CERT-P2P:5.1.10 failure at step 18 Group formation failed due to chip is under dump survey. Decrease the dump survery duration to pass this certification case. Signed-off-by: Double Lo Signed-off-by: Chi-hsien Lin Signed-off-by: Ian Lin --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c index 9f2f2a990f20..12a1135662e9 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -89,7 +89,7 @@ #define BRCMF_PS_MAX_TIMEOUT_MS 2000 /* Dump obss definitions */ -#define ACS_MSRMNT_DELAY 100 +#define ACS_MSRMNT_DELAY 80 #define CHAN_NOISE_DUMMY (-80) #define OBSS_TOKEN_IDX 15 #define IBSS_TOKEN_IDX 15 @@ -7786,7 +7786,7 @@ brcmf_cfg80211_dump_survey(struct wiphy *wiphy, struct net_device *ndev, SURVEY_INFO_TIME_BUSY | SURVEY_INFO_TIME_RX | SURVEY_INFO_TIME_TX; - brcmf_dbg(INFO, "OBSS dump: channel %d: survey duraion %d\n", + brcmf_dbg(INFO, "OBSS dump: channel %d: survey duration %d\n", ieee80211_frequency_to_channel(chan->center_freq), ACS_MSRMNT_DELAY); brcmf_dbg(INFO, "noise(%d) busy(%llu) rx(%llu) tx(%llu)\n", -- 2.25.0