Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2189791rwd; Thu, 15 Jun 2023 23:56:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ylEyGTbMxXq24b3yg4KflY2yOrDrCSTa4QNM3Zw96aI0HDVI+320An/VqeaZaMH4ElAoa X-Received: by 2002:a17:902:e54d:b0:1ae:35b8:d5ae with SMTP id n13-20020a170902e54d00b001ae35b8d5aemr1611674plf.19.1686898608123; Thu, 15 Jun 2023 23:56:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686898608; cv=none; d=google.com; s=arc-20160816; b=eBEEqwgC61W4E0DqWSwdl8XD/0ca4pLkb1e4w0OI3gmnGRu84fFZ8dFGRyRMCx4FFb c6agLY8jfU6lGlybkG6aqlKeo/8ruUNMP2QVn/Rbl5gLIkdyzFOALDLX1RzbixHI0Vq6 7V0KKXtXIDG5nwIpaZt10O5qR4zN80ibWe/xdEE9O3gjrFB5XRt8MJgKzXSGH/3NEnks nNTXkyMIz3KxgkFelXxKD+optXiCcw91KQpgxWjR7zTq5mINoUBxCUVk5zLDTbGqolsv DtkuZtoef49Q8hB7f/A0mxsutsYDWCGMePy8OE73YOJ3A1WdhhtnaMIt6eBUy0X6pSQM YTHw== 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 :dkim-signature; bh=OwQhfQE0JS7onVPOUNo32Fs8700JswvJLnfaPMUcoj0=; b=D+p2fVrqpyjOR22I9CpYR9jS/WCkYf3gBOdzc9bLB9osRTuRLwdsND1lk5Pw/utqQD S5UK0wB8nf3e3C48EcI41s2veQFsFRaTmsWxxdxLjl8Rw2fpVrKuPMqK71vde3I4rp2E X7yQG8lAAY1hsi1GhKVsca7a6nKTgNaKepYhYzIneI22osU7WQOexo66a7j+bAe4/Fa0 FFAa9cxopwoUiKGlLf6jqrAbHgrkkRlFyr/D/mERloz2S6g0u66LnZMfHpEinXc/BJpX UUfcTAki9NoN6hgFpAroT3YuPpt0DZv0myLF2ExmOJ5rmK64uJQxvWcpkdBweLYtfSVK /xpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HoJvrRi8; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t24-20020a170902b21800b001b5006b87c0si4465528plr.139.2023.06.15.23.56.40; Thu, 15 Jun 2023 23:56:48 -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=@intel.com header.s=Intel header.b=HoJvrRi8; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241978AbjFPGyn (ORCPT + 61 others); Fri, 16 Jun 2023 02:54:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241709AbjFPGyi (ORCPT ); Fri, 16 Jun 2023 02:54:38 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 308101FF5 for ; Thu, 15 Jun 2023 23:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686898478; x=1718434478; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MfgXk0Qpnzmjj1AtNwDZHSZL+YVHc3MLcB69TfsTHNs=; b=HoJvrRi8FewHCA9xyQVqKC2fDIFSwuzeW0Rwok76dky2f/bTGeNpDWWB a0pYgCquxNJi7HpngFhcpkyp0DJETq/VMRb2r+wUAIC2p512m3RhaBdGP WgJ52QSNeA7NxtASpVVI4dP4FjbA8Vd9+4tSPTuEOC8atMsYDQelKG24U kAsRCgmoik+IFRs7CY72wLtVh8I9IDjGdHTyFfB+l/a015YwIQXrhzYXH NxysaYtrKT+VVZxgBliMU1Zwj+nybwePPRxNbsM7eFubGQVNkjpzvKgNA ZSs9qDxeiUfHAt95rW1PwLZ6K+ZWZuaPGiF24iuCHQrAaGnRzOhbqIn8o A==; X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="425078825" X-IronPort-AV: E=Sophos;i="6.00,246,1681196400"; d="scan'208";a="425078825" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2023 23:54:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="802720045" X-IronPort-AV: E=Sophos;i="6.00,246,1681196400"; d="scan'208";a="802720045" Received: from ereznaim-mobl.ger.corp.intel.com (HELO ggreenma-mobl2.intel.com) ([10.214.237.118]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2023 23:54:36 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Benjamin Berg , Gregory Greenman Subject: [PATCH 06/20] wifi: mac80211: stop passing cbss to parser Date: Fri, 16 Jun 2023 09:53:55 +0300 Message-Id: <20230616094948.66d2605ff0ad.I7cdd1d390e7b0735c46204231a9e636d45b7f1e4@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230616065409.633290-1-gregory.greenman@intel.com> References: <20230616065409.633290-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: Benjamin Berg In both of these cases (config_link, prep_channel) it is not needed to parse the MBSSID data for a nontransmitted BSS. In the config_link case the frame does not contain any MBSSID element and inheritance rules are only needed for the ML STA profile. While in the prep_channel case the IEs have already been processed by cfg80211 and are already exploded. Signed-off-by: Benjamin Berg Signed-off-by: Gregory Greenman --- net/mac80211/mlme.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 738822b82d3e..171ba9d237c2 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -4709,7 +4709,6 @@ static int ieee80211_prep_channel(struct ieee80211_sub_if_data *sdata, bool is_5ghz = cbss->channel->band == NL80211_BAND_5GHZ; struct ieee80211_bss *bss = (void *)cbss->priv; struct ieee80211_elems_parse_params parse_params = { - .bss = cbss, .link_id = -1, .from_ap = true, }; -- 2.38.1