Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3343767pxv; Mon, 28 Jun 2021 02:27:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvR06qxDpDe7D1mvu0XPmkgswpl/chrTvj62FhnyS7rUSSMAQBZDnsDvKtN2U807XRW/3+ X-Received: by 2002:a50:fd0a:: with SMTP id i10mr31266104eds.251.1624872429086; Mon, 28 Jun 2021 02:27:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624872429; cv=none; d=google.com; s=arc-20160816; b=sXQ85i/rhvA6RQ6n9euAzbdFE8pOoHf2GGMXxhl6kfWV9wpLgQIvo1W1pn8bY8l0D1 uuZ00RYxliqj7vQPSkbD5M5X3ceL44z+UhrU/jM47GjNhQJNdgZB9xUGD6MuqsDH3FHV Gica+NQR7UE8tsw1xxRCeKSfowMtewCWooodQUoJ5Ixnujcs69Gq4xOONwH8ns4ggkr4 P9tmDBt1E/3h5uYTeW5aNtB11a9Xd3XuXwgT0PFa1K1CDQWnv46hGxZSbHIJ/9eedumZ UYAWdyJKh385LBycInl0K9XO1SXU9GbuAxlgkgOqsxmelH7Hf7gfWcUCt/OqUB6OZL3b bUmg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=7jCjbbxRdnp8I08oGufbfSXTRSc0huJrv8PKF+tKGVU=; b=KVdU1L5sElrUQ/B4GavPUjrnZRIHNOZgi6bZ0Cs8tL2KFoy6lj1SaKjNAhmMnVFdjP 3DVgPIIkAYP+j/wkAmmRM5kVbBEQ0a26cAThzae0hywDYSGX4I38qAojrAShAhT1KXUS +SsfdKDQKk4e6AN3Lke+7D1i1bwGgHcdFHmlPr1NTMYcq3xpUje7G/qZca697gVfjVMC N9VRTbA93BmJ/FvSWbW81sfLie4uWiz2rXDiKAv3sMCEA2OdQmq7u3ZmV3pEhiFvsOA8 cUFIXcbVmYaEt6+YSc6NPzjw86ErHUTKo7SinYoO1EfuM9z7F0o1zM4I9/DAzeJlD0nS vk2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YrZEeKDE; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q18si16357786edi.368.2021.06.28.02.26.42; Mon, 28 Jun 2021 02:27:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YrZEeKDE; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232348AbhF1J3A (ORCPT + 99 others); Mon, 28 Jun 2021 05:29:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:55714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231935AbhF1J27 (ORCPT ); Mon, 28 Jun 2021 05:28:59 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C178D619C5; Mon, 28 Jun 2021 09:26:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624872394; bh=urTj5dT7eLSg2/Eb6rEYIU8Q10veZ0td/1X9wCZvsSw=; h=From:To:Cc:Subject:Date:From; b=YrZEeKDETvUxXW6xA88HPsurI1qHmZrHO0fc5ELH9aWe1k2mvV5oZAUifnocyTHYz R17r3t9/5/maFw0K2lRHpcpHN7jRDH9myNA5TFQTOfkZ6CYIdsQgkrQZIF8tDz/jrI m5uEzx/SAtvzJIh9pZWW+s6q3FGnmXT6xcM5PYzZol0T0jYDHwkbTcAdZq2C86LrqY 6O216TK/wVkTLGPhcfkDB/WnAOjdQc6EElRC5W3Q/JdMdf/+oQ6SopdzbkHAEyfuhC slwK/xtEKJL2q0RNsZ+3iXw1zfz8g4q4UGnRMiZEScKbrU/uiDho5wGa4X0UfbJNGv CrbfUFBGmP4bQ== From: Lorenzo Bianconi To: johannes@sipsolutions.net Cc: john@phrozen.org, nbd@nbd.name, lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, ryder.lee@mediatek.com Subject: [PATCH v8 mac80211-next 0/3] mac80211: add BSS color change support Date: Mon, 28 Jun 2021 11:26:19 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This series adds support for BSS color collission detection and change. Changes since v7: - always notify the driver about bss change in ieee80211_color_change_finalize() - add mt7915 bss color support Changes since v6: - rebase on top of mac80211-next - fix check_patch issues - alloc nlattr tb array dynamically in nl80211_color_change - move NL80211_ATTR_CNTDWN_OFFS_BEACON and NL80211_ATTR_CNTDWN_OFFS_PRESP in NL80211_ATTR_COLOR_CHANGE_ELEMS as nested attributes - remove unused definitions - remove mbss series dependency - remove ath11k code John Crispin (2): nl80211: add support for BSS coloring mac80211: add support for BSS color change Lorenzo Bianconi (1): mt76: mt7915: introduce bss coloring support .../net/wireless/mediatek/mt76/mt7915/init.c | 1 + .../net/wireless/mediatek/mt76/mt7915/main.c | 26 ++ .../net/wireless/mediatek/mt76/mt7915/mcu.c | 84 +++++-- .../net/wireless/mediatek/mt76/mt7915/mcu.h | 21 +- .../wireless/mediatek/mt76/mt7915/mt7915.h | 2 + include/net/cfg80211.h | 92 +++++++ include/net/mac80211.h | 29 +++ include/uapi/linux/nl80211.h | 43 ++++ net/mac80211/cfg.c | 234 +++++++++++++++++- net/mac80211/ieee80211_i.h | 11 + net/mac80211/iface.c | 2 + net/mac80211/tx.c | 25 +- net/wireless/nl80211.c | 157 ++++++++++++ net/wireless/rdev-ops.h | 13 + net/wireless/trace.h | 46 ++++ 15 files changed, 736 insertions(+), 50 deletions(-) -- 2.31.1