projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1de640
)
mac80211: Add support for storing station EHT capabilities
author
Ilan Peer
<ilan.peer@intel.com>
Mon, 14 Feb 2022 16:30:03 +0000
(17:30 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 16 Feb 2022 14:44:19 +0000
(15:44 +0100)
When a station configuration is updated, also update the station
EHT capabilities.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Link:
https://lore.kernel.org/r/20220214173004.47213ffb23a8.I15c6c8430e1a0184b1322e40f1727ed4f17b04e2@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
patch
|
blob
|
history
diff --git
a/net/mac80211/cfg.c
b/net/mac80211/cfg.c
index 87a208089caf756efdad67db71c08ad8c29904f7..aa45627a42089d9e026289f1f1271a8cb6f70d74 100644
(file)
--- a/
net/mac80211/cfg.c
+++ b/
net/mac80211/cfg.c
@@
-1716,6
+1716,14
@@
static int sta_apply_parameters(struct ieee80211_local *local,
(void *)params->he_6ghz_capa,
sta);
+ if (params->eht_capa)
+ ieee80211_eht_cap_ie_to_sta_eht_cap(sdata, sband,
+ (u8 *)params->he_capa,
+ params->he_capa_len,
+ params->eht_capa,
+ params->eht_capa_len,
+ sta);
+
if (params->opmode_notif_used) {
/* returned value is only needed for rc update, but the
* rc isn't initialized here yet, so ignore it