Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp999359ybl; Fri, 13 Dec 2019 07:58:33 -0800 (PST) X-Google-Smtp-Source: APXvYqwPP3othmz5GB7rBFfHAB4PiCFISVCtCMJbwssxoelGNBpydYgR5TBbM7gHQAmIUR34LXLp X-Received: by 2002:a9d:1ca:: with SMTP id e68mr16204653ote.102.1576252713307; Fri, 13 Dec 2019 07:58:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576252713; cv=none; d=google.com; s=arc-20160816; b=rmY9r3SxNfMdqR9YIagaJ3jT4LxyFMcdJqOMS+J2Vu8nkVKxHBXl9pGIwpiwJzKOik kEkH6p86w+J2dCazvDGUFkDA+RBbA8vCIJAHXfPSDbR3AyF5ATIW0r+5F5ig9x9BX0/G Ne+uvUXI8IwtZCs9JekVs/uQJSLxCcPFXTkKgyIarA/aY03JGWRi5ur1WgLLA6nhl+eg R8uguawEwf98gIk1K1WRKpL2t4s7d1Y/RFp6GY14cTuxdk8AzesYzBhqtRyavj9txwZR yMRhVzQ/NNm0taDJYHVoFFxulXtmI6/yo6BoWb/L0QGqy3aZUj4YNhxA9HMt4xwXxO1O LNRQ== 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=fb106CvSnqE4HCt2vbF9HZnIZlqCuwqfxOTQ3vl7EfZ61cFCV7qVBqxo62GigL0LJ2 EMfvjPUcnc+1q8qViGapuySu+EJRGiBMhtv19dCCFVhToTeqSGDTjM3C2NPtgd1t3+16 urBTNsRAW7z+QBOM1eKFKOaI+dpO6TIYd85Vg1WNBCrwcTA6ipyT5eCCeJLTesf/yP7X aH6qLRGDqmpgi/xbMcauZ9IBE2nMm4Rih4d+umdytaSdKf4Uzi/bE0LvgaB08N3YAhs/ PFyY5x+R1SZyRET/djbLWZNfeBjBzPxd5fR44QNfapWoLIOHhwFISCC7rfRmTnhRp68o Otig== 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 c66si5214666oig.265.2019.12.13.07.58.22; Fri, 13 Dec 2019 07:58:33 -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 S1728029AbfLMP6O (ORCPT + 99 others); Fri, 13 Dec 2019 10:58:14 -0500 Received: from nbd.name ([46.4.11.11]:56226 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727993AbfLMP6O (ORCPT ); Fri, 13 Dec 2019 10:58:14 -0500 Received: from pd95fd344.dip0.t-ipconnect.de ([217.95.211.68] helo=bertha.fritz.box) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1ifnKV-00073u-DD; Fri, 13 Dec 2019 16:58:11 +0100 From: John Crispin To: Johannes Berg , Kalle Valo Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, John Crispin Subject: [PATCH v2 5/7] mac80211: drop now unused bss_color element Date: Fri, 13 Dec 2019 16:58:00 +0100 Message-Id: <20191213155802.25491-5-john@phrozen.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191213155802.25491-1-john@phrozen.org> References: <20191213155802.25491-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