diff options
author | Ilan Peer <ilan.peer@intel.com> | 2023-03-29 11:12:01 +0300 |
---|---|---|
committer | iwlwifi publisher <> | 2023-06-16 10:17:05 +0000 |
commit | 1d5b70ef32b72694ed7741a7f20d58db39225fc5 (patch) | |
tree | ab8269ceb3c933fdf825b355454a87ac59e86fff | |
parent | fcc046224f7a83c46f91894e5488c93711e4de32 (diff) | |
download | backport-iwlwifi-1d5b70ef32b72694ed7741a7f20d58db39225fc5.tar.gz |
wifi: mac80211: Notify the low level driver on change in MLO valid links
Notify the low level driver when there is change in the valid links
links.
type=feature
ticket=jira:WIFI-279734
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Change-Id: I64238e0e892709a2bd4764b3bca93cdcf021e2fd
Reviewed-on: https://gerritwcs.ir.intel.com/c/iwlwifi-stack-dev/+/50892
tested: iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
automatic-review: iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Reviewed-by: Berg, Johannes <johannes.berg@intel.com>
x-iwlwifi-stack-dev: 3f683829f63889d6c965ab5a874650bb36b1a8d6
-rw-r--r-- | include/net/mac80211.h | 2 | ||||
-rw-r--r-- | net/mac80211/main.c | 3 | ||||
-rw-r--r-- | net/mac80211/mlme.c | 2 | ||||
-rw-r--r-- | versions | 2 |
4 files changed, 7 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 59c76cf181..b990618f28 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -341,6 +341,7 @@ struct ieee80211_vif_chanctx_switch { * @BSS_CHANGED_UNSOL_BCAST_PROBE_RESP: Unsolicited broadcast probe response * status changed. * @BSS_CHANGED_EHT_PUNCTURING: The channel puncturing bitmap changed. + * @BSS_CHANGED_MLD_VALID_LINKS: MLD valid links status changed. */ enum ieee80211_bss_change { BSS_CHANGED_ASSOC = 1<<0, @@ -376,6 +377,7 @@ enum ieee80211_bss_change { BSS_CHANGED_FILS_DISCOVERY = 1<<30, BSS_CHANGED_UNSOL_BCAST_PROBE_RESP = 1<<31, BSS_CHANGED_EHT_PUNCTURING = BIT_ULL(32), + BSS_CHANGED_MLD_VALID_LINKS = BIT_ULL(33), /* when adding here, make sure to change ieee80211_reconfig */ }; diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 53a3423788..032be56fc6 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -206,7 +206,8 @@ int ieee80211_hw_config(struct ieee80211_local *local, u32 changed) BSS_CHANGED_PS |\ BSS_CHANGED_IBSS |\ BSS_CHANGED_ARP_FILTER |\ - BSS_CHANGED_SSID) + BSS_CHANGED_SSID |\ + BSS_CHANGED_MLD_VALID_LINKS) void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata, u64 changed) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 75b1b70ed1..d6e27c5447 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -5820,6 +5820,8 @@ static void ieee80211_ml_reconf_work(struct wiphy *wiphy, if (ret) sdata_info(sdata, "Failed setting valid links\n"); + ieee80211_vif_cfg_change_notify(sdata, BSS_CHANGED_MLD_VALID_LINKS); + out: if (!ret) cfg80211_cqm_links_state_change_notify(sdata->dev, @@ -2,4 +2,4 @@ BACKPORTS_VERSION="(see git)" BACKPORTED_KERNEL_VERSION="(see git)" BACKPORTED_KERNEL_NAME="iwlwifi" BACKPORTS_BUILD_TSTAMP=__DATE__ \" \" __TIME__ -BACKPORTS_GIT_TRACKED="iwlwifi-stack-public:master:11310:21b56555" +BACKPORTS_GIT_TRACKED="iwlwifi-stack-public:master:11311:3f683829" |