Message ID | 20210910160504.1794332-11-Jerome.Pouiller@silabs.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-wireless-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25F9DC433F5 for <linux-wireless@archiver.kernel.org>; Fri, 10 Sep 2021 16:08:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 072F361207 for <linux-wireless@archiver.kernel.org>; Fri, 10 Sep 2021 16:08:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231319AbhIJQJR (ORCPT <rfc822;linux-wireless@archiver.kernel.org>); Fri, 10 Sep 2021 12:09:17 -0400 Received: from mail-mw2nam10on2082.outbound.protection.outlook.com ([40.107.94.82]:58752 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229682AbhIJQIF (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Fri, 10 Sep 2021 12:08:05 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MlAiNE2CCPS6dduMVvtj0Hg4brQKpkak5uhOs3FFJkJSe1ok7gvc2sG1hIlrsbrzGJlsGvZ/vitkL3PTTLMhWeveO0TspbNjrx/EoeY5yu8/bkiI04cPv2zlbDf3yBdvs33E5HnZgcm5tEdBwSKmGIBw8CsknahZhEAdvcUaJ5odlBSAIa56vfhGGsLCH7JhqkMw9i6HAmHkguhHD3nfgS9yTHpvkQIuQFYJ/Z9n+mwhv6K7tCLXRwWEorGwmoelfhSBzpJR2+/FxrgMvpn6GWy4CAWSBGb4qotv8XKlqmt1f9p5W9SBcwC36vvaxHuZxLKxZzH0ITF9/Ur+5ZnvIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=A18LMnOuxb9qak/i7j4FnpOPO3I3PNxrXWqfHesfWhU=; b=ke8laFruT92bwK7FCA7/yQjjkzMz3X+0h/QJYy1dgUInLrBEs4IjoJ0TLYNOY/zw2ci6ZWJVDYmcThdYx2u5qd3Ml8BgLgz62NfnV4HJtpmQqXEjdpFgiWXJ/FWsXjpoCIjnYsNP1YinVFS3WcHCJbZrY+4B5WTIDrueDahtvMdBrTkNH/dQ5umdXp772uEHHbBN7z53xxUY9O45SBhnNmusYamw1f3BVW7eqJMxmKWYEuigSGA7PbFplnwRoN2FD9/u3iy+anDcVSOXiAA/Yi/0XpQsslwvLBXLRlJSaovxZVGbFoFRoKYgWnaWiTUlIuiOtShu7mOHViXkyG6ZvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A18LMnOuxb9qak/i7j4FnpOPO3I3PNxrXWqfHesfWhU=; b=Iwy81M+5hC5ktpoqwunxLG/WtnFDpz+UYbwS9Mp51d6IMN5gDgLogKZT4LwkIWDDGZEXUB2eEoIdeZYijfllHtnYjRPHgggmh7k+hRIXLkoVL8/qu7XOO4Wlj3ApJt+TBoVxYcXYx+W19YNaP4TVf27Ios7npTWZqYXHMIdLfMw= Authentication-Results: driverdev.osuosl.org; dkim=none (message not signed) header.d=none; driverdev.osuosl.org; dmarc=none action=none header.from=silabs.com; Received: from SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) by SN6PR11MB3118.namprd11.prod.outlook.com (2603:10b6:805:dc::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Fri, 10 Sep 2021 16:05:52 +0000 Received: from SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd]) by SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd%7]) with mapi id 15.20.4500.017; Fri, 10 Sep 2021 16:05:52 +0000 From: Jerome Pouiller <Jerome.Pouiller@silabs.com> To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Kalle Valo <kvalo@codeaurora.org>, "David S . Miller" <davem@davemloft.net>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [PATCH 10/31] staging: wfx: fix support for CSA Date: Fri, 10 Sep 2021 18:04:43 +0200 Message-Id: <20210910160504.1794332-11-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210910160504.1794332-1-Jerome.Pouiller@silabs.com> References: <20210910160504.1794332-1-Jerome.Pouiller@silabs.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: SN4PR0601CA0006.namprd06.prod.outlook.com (2603:10b6:803:2f::16) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (2a01:e34:ecb5:66a0:9876:e1d7:65be:d294) by SN4PR0601CA0006.namprd06.prod.outlook.com (2603:10b6:803:2f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.15 via Frontend Transport; Fri, 10 Sep 2021 16:05:50 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 439380e2-1337-47ad-63bb-08d97474dcbc X-MS-TrafficTypeDiagnostic: SN6PR11MB3118: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <SN6PR11MB31183D6A4BEB406F6209F08993D69@SN6PR11MB3118.namprd11.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LvJAr5BK2gItl7nu+rM3OgRyWPs2aJo8opXbKQMdSC4LbTcm0PNyUpQ76zBj6Fuuy+jhZAxO4Qt5tvhoWg/qNozu09TWsTU0Sqh+cDOz43jnXkvWUffZxXVc4PzqBgTSpPXMipp4o8zL+hAz4QuatQayOEII/kPw5Kja+IxHEs6awLOMe8eN1XCFX8xJslyeUUBASskRrL9VncR5D2HMk8NzrtHcN2qqe13hWCL92hewlg6xq0Psc4pSJg7e0SM6izzO13cF4D7UsgmUR1YvUNMFFrmiCM11oFQ3XWsIWdIAl+XWVhtrGiwLBACRsJG5cF4ETA5FrPOoS2dOxKetr/Y0vtNfTxWpyMznK+qogdkCCDb6bB5SVEBHi1533o8QrUhMsH+1ThBrhRwW6xAjk1cddRHmXehLMURNHg51HgNEBM3K5LtusDZirtqqInzH7rAk4WEgWXcLY6bHZybLzAjWbUl9XzCBpmNrB/Du9l2i5g+BflQHVXqP1e3YaKTuMM2z5iA1Qp0JXXw//ZHDasXydjgrmpsdBBd2U8X3xtpXywkqXprrhaEwnyAbo+Vs1ydr2NzWbrQjM+qTjuTmbAYLtsHcdJ9Y+eU8dIqlo/Y93jAbLeCKClI9BrxkP68a2oqKa0lzg5mD6sakRfEalg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2718.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(366004)(376002)(346002)(39850400004)(396003)(4326008)(66476007)(107886003)(36756003)(186003)(316002)(6486002)(66556008)(8676002)(6666004)(86362001)(2906002)(54906003)(38100700002)(83380400001)(8936002)(66574015)(5660300002)(66946007)(1076003)(2616005)(52116002)(7696005)(478600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?zm+FGlBiOHdCfTHPCJty797ac?= =?utf-8?q?fDWscissUDVUhZ0mJt4CrcaMNxmZoBsS/vtFNEU8U90RCr8RqG4QLi2s?= =?utf-8?q?6vaS8put0KnACoZLyyv8i7aRoPi1fxWv1M5CQCCiN+d4jgIHA/FISZdh?= =?utf-8?q?3tHW0y5KswPF/uK7X+t7f/yr7m1UKcNByBfUCUelQtN81QL4ipI6EHcD?= =?utf-8?q?SnSqdS33IvoTSuIXrlfiDGv6QbPGu/OEBuiIQvjqx3VcmcumrvcH6nRi?= =?utf-8?q?G23BIdiHuLJv1tpGaX2uOluVRUdlJtIOwVX1jXcKNTPOk5kuIsJPxCB4?= =?utf-8?q?H181mJv7s6k/WVExSKXEhwk3AgWqU3I4/oZtYfPp33RB5pcFcurQgDj2?= =?utf-8?q?8Z6J5RROdq2x9/P2pfqXdhLRdRVVWilZ1bOcgZgKMYvTNFEsbWYYbUe/?= =?utf-8?q?aK6Zqo3ezb2+nOL24XIeAHOXeLgnd19z8cZ+kDbc5qIunnPD1D4/xl3e?= =?utf-8?q?+105BAppMpPcFTYUJWrUvbqS1P2bZlvOwxOnqKjOckaKluPn7b7bbItW?= =?utf-8?q?11YhLMYBiayP0ofKAbktvaNlTKX7daLLc0Mwm/fS6gYkatgIMwh+VKqY?= =?utf-8?q?uqmaT1MVEZmyz+iIRErsMKxAAauL5CbwZ8yqzDmyMRVh3bn/oNGBlm7A?= =?utf-8?q?1LpddfjuXlV6eNfK3iOavIZLXScftZPmcoHNZA9RZrx9Vzqzz3tSY4qc?= =?utf-8?q?PEv8e2tpOIC3tdQUhu5+wBXkwn2eKxTAGs0f51ySosqKhueMn98Beh/O?= =?utf-8?q?u7RsESIn4NWfmWK/gA8MVvK8fWyjxYWBFuJ0xFexhn2BJRka6lRQ7ghL?= =?utf-8?q?heftolMN7dboedYn7rKRLbCImnRvorBkfiOrNxlB3h0goK0nOOSK8Zkq?= =?utf-8?q?OYsPMYvGLT5qdY9muTdwCJQVKvCCjqSyQisa/Vsp61oVoRS1Zapm7QZb?= =?utf-8?q?vkQmgYRESwlpVNQZ3EJVsCTWdCuGIYAkjXezSTv2ux9lbTnhnK2pdvAJ?= =?utf-8?q?91sOxdrdQlPcuui5ab9Qp0vrwuOReXkP5eqN+3bG7qO/Qc9qi2QB2sC1?= =?utf-8?q?Xn6QtksIp1ho0lAewpb8/AfG9iuMDQqCjdynAbKGX0Z3ARO3iqWsmX3Y?= =?utf-8?q?fY47SLOaitK9TbU7DVXrWW0TNZH0J4D0MPe1xUzBrMNe4T6EsNwBK7eu?= =?utf-8?q?FktevI4HB8NTjBcoJZAlp2rvpk6GwcNxnKKXw5vlHUpqQwRs3FAfFWjO?= =?utf-8?q?I7lQj6WTFzarzRwbbsDwfzHKJCve19aiCihllpWBf3EIS/FNUpC24c9F?= =?utf-8?q?kivMfhAfA5FecGk4crRNxdkzGjE81w3t1ZtPz9sT3bjT8n/+Cs4DDjm5?= =?utf-8?q?ZVuN9NdFSSLP5Bp8GKPJ1xsFb3TK44nywvSOpt274jpYV3bBmETDS7Rj?= =?utf-8?q?X62jgrgnNPS/Rkp/re7H4NhtgTAkEOJm4WghPQo?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 439380e2-1337-47ad-63bb-08d97474dcbc X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2021 16:05:52.0336 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6PrEpHI64pzkXRRkGRSF2gvT4tQ1+DQPFT0ttDrBt06ofXRMd1t30CWkO+2o7xs5mzY5Evb/m4/Kmb3qIK+n1Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3118 Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
staging/wfx: usual maintenance
|
expand
|
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index 58446f78d648..464a67a9b41c 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -80,13 +80,18 @@ static void wfx_filter_beacon(struct wfx_vif *wvif, bool filter_beacon) .has_changed = 1, .no_longer = 1, .has_appeared = 1, + }, { + .ie_id = WLAN_EID_CHANNEL_SWITCH, + .has_changed = 1, + .no_longer = 1, + .has_appeared = 1, } }; if (!filter_beacon) { hif_beacon_filter_control(wvif, 0, 1); } else { - hif_set_beacon_filter_table(wvif, 3, filter_ies); + hif_set_beacon_filter_table(wvif, ARRAY_SIZE(filter_ies), filter_ies); hif_beacon_filter_control(wvif, HIF_BEACON_FILTER_ENABLE, 0); } }