Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp807774ybl; Fri, 6 Dec 2019 06:35:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzFFMFVfqzLADxefK4O4+2ajGJh+IFnCJEqhNDGhWrVJeUuHZuZkm7Os+2MBp4bOt2A4pyD X-Received: by 2002:aca:b204:: with SMTP id b4mr12630638oif.18.1575642913486; Fri, 06 Dec 2019 06:35:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575642913; cv=none; d=google.com; s=arc-20160816; b=IXXFJ7rEzJ7KMe5Y0CjSLaUbqUsQ98K6ataD5nm0lvVA7bzY1mF5HOZXEJ9OLfC2tE YanDh9CxLHxeCFdzAET080T6A5CIUT1LcovyXhERQxlh/4yWx2bgDLcUc1e9Ng8NInkh fT1MzMFzOqYbwn7Pgm15lYxL5GLGlSsk8TmEpAB/2xfAaWJuLzfiDI6xGtuPlSCbLG0Q Lxh3ImovNcsc2jgJ7E5ptpmCFJU78lOjoVRMqx+rB7NG2w7bpqxTG0K7ELPqYKr6yVGn 2/7KLXHWTBD4zlbFjqFxOWD1VWILV/7jYivMBaWlzqJndmCDeSipJtivN2GGnPQU3XTO ibtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=047PSyI6fOtuPGI81kVtDzMG4kL/3WNBMrtcF52OBR4=; b=YV4gz2/JzlPY0c9KHA9cZkxs4/KmRNQyokHbIl8tkdZZcXvOYpK0DZHxsB3avxcILu fDPMC7XG4/IYcyAfA11h49VhK/z4AnCsSqOdxm56zmUnsmel0SHdZEegtoIgeiB3GotL CqLeCb8fvtLFY6EOvxNeogT9MQ/mwQN9fda+1Br2wxu5/vCfAdku8Gmtwp++mqnDo4f6 7I9fht1qCDmGL2ShEhzUz2SOLlyvYN3GIwiKox4bFCjE/U/mzwt1v1X6N7zcc92z0a9w 3FOcaFOBNYRS4A/0tOK6cA/Db0/yRKCZCUbl/CjZt1mVEJ3cxFmIazfTL5Ayzo/vAi8M wZ5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185si4626544oie.52.2019.12.06.06.35.02; Fri, 06 Dec 2019 06:35:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726365AbfLFOeJ (ORCPT + 99 others); Fri, 6 Dec 2019 09:34:09 -0500 Received: from nbd.name ([46.4.11.11]:36446 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbfLFOeI (ORCPT ); Fri, 6 Dec 2019 09:34:08 -0500 Received: from tmo-101-57.customers.d1-online.com ([80.187.101.57] helo=bertha.datto.lan) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1idEgH-0004Lm-L3; Fri, 06 Dec 2019 15:34:05 +0100 From: John Crispin To: Johannes Berg , Kalle Valo Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, John Crispin Subject: [PATCH 5/7] mac80211: drop now unused bss_color element Date: Fri, 6 Dec 2019 15:33:59 +0100 Message-Id: <20191206143401.4080-5-john@phrozen.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191206143401.4080-1-john@phrozen.org> References: <20191206143401.4080-1-john@phrozen.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org With all users of bss_color converted we can drop the old element. Driver code should now use the new he_bss_color struct. Signed-off-by: John Crispin --- include/net/mac80211.h | 2 -- net/mac80211/mlme.c | 1 - 2 files changed, 3 deletions(-) diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 994686443553..9a67fd2cfe4b 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -496,7 +496,6 @@ struct ieee80211_ftm_responder_params { * This structure keeps information about a BSS (and an association * to that BSS) that can change during the lifetime of the BSS. * - * @bss_color: 6-bit value to mark inter-BSS frame, if BSS supports HE * @htc_trig_based_pkt_ext: default PE in 4us units, if BSS supports HE * @multi_sta_back_32bit: supports BA bitmap of 32-bits in Multi-STA BACK * @uora_exists: is the UORA element advertised by AP @@ -610,7 +609,6 @@ struct ieee80211_ftm_responder_params { */ struct ieee80211_bss_conf { const u8 *bssid; - u8 bss_color; u8 htc_trig_based_pkt_ext; bool multi_sta_back_32bit; bool uora_exists; diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 319d43f4082b..bc602d460b73 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -3371,7 +3371,6 @@ static bool ieee80211_assoc_success(struct ieee80211_sub_if_data *sdata, } if (bss_conf->he_support) { - bss_conf->bss_color = bss_conf->he_bss_color.color = le32_get_bits(elems.he_operation->he_oper_params, IEEE80211_HE_OPERATION_BSS_COLOR_MASK); -- 2.20.1