From patchwork Wed May 18 20:39:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aloka Dixit X-Patchwork-Id: 574206 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AAB6C433F5 for ; Wed, 18 May 2022 20:39:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242621AbiERUjh (ORCPT ); Wed, 18 May 2022 16:39:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242611AbiERUjg (ORCPT ); Wed, 18 May 2022 16:39:36 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D4682AE32 for ; Wed, 18 May 2022 13:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1652906376; x=1684442376; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Q3/pgzK6nPGY0Z3XztoYLYmWOmXxY3aI4MYh5jivHDg=; b=AuY1Er8+cNLvB6CDqtlI7JPAB4U3mtaKhzIepUq3fRe7E/ZhuGWbK69U 5XVjIP5IzUWavR0gI1GjIM6+EaZZtExLGA2XP3PqfCMv7m7cisSXWd2Rh xXgGyjtupj7m8npSBJKiEyj/9jOmhm55vuPKM4oZ9R363c7qfBikfy0C+ k=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 18 May 2022 13:39:36 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 13:39:35 -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, 18 May 2022 13:39:35 -0700 Received: from alokad-linux.qualcomm.com (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, 18 May 2022 13:39:35 -0700 From: Aloka Dixit To: , CC: Aloka Dixit Subject: [PATCH v6 0/3] Additional processing in NL80211_CMD_SET_BEACON Date: Wed, 18 May 2022 13:39:19 -0700 Message-ID: <20220518203922.26417-1-quic_alokad@quicinc.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org FILS discovery and unsolicited broadcast probe response transmissions are configured as part of NL80211_CMD_START_AP, however both stop after userspace uses the NL80211_CMD_SET_BEACON command as these attributes are not processed as part of this command. - Modify the local variable in nl80211_set_beacon() and input parameter to rdev_change_beacon() from type struct cfg80211_beacon_data to type struct cfg80211_ap_settings to support the new processing. - Modify ieee80211_change_beacon() to reflect the new input parameter type. - Modify driver specific functions pointed by change_beacon to reflect the new input parameter type. - Add the missing implementation in nl80211 and mac80211 to process FILS discovery and unsolicited broadcast probe response configuration. Aloka Dixit (3): cfg80211: modify prototype for change_beacon nl80211: additional processing in NL80211_CMD_SET_BEACON mac80211: additional processing in ieee80211_change_beacon drivers/net/wireless/ath/ath6kl/cfg80211.c | 4 +- drivers/net/wireless/ath/wil6210/cfg80211.c | 3 +- .../broadcom/brcm80211/brcmfmac/cfg80211.c | 4 +- .../net/wireless/marvell/mwifiex/cfg80211.c | 3 +- .../wireless/microchip/wilc1000/cfg80211.c | 4 +- .../net/wireless/quantenna/qtnfmac/cfg80211.c | 4 +- include/net/cfg80211.h | 2 +- net/mac80211/cfg.c | 34 +++++++++--- net/wireless/nl80211.c | 28 ++++++++-- net/wireless/rdev-ops.h | 2 +- net/wireless/trace.h | 52 +++++++++++-------- 11 files changed, 94 insertions(+), 46 deletions(-) base-commit: 9335156ac0e174721921c404bd173526c8509124