mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 14:53:11 +01:00
wifi: mac80211: add support for storing station S1G capabilities
When a station configuration is updated, update the stations S1G capabilities. Signed-off-by: Lachlan Hodges <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
1 parent
2a8a6b7c4c
commit
037dc18ac3
1 file changed
+5
@@ -1895,6 +1895,7 @@ static int sta_link_apply_parameters(struct ieee80211_local *local,
|
||||
params->vht_capa ||
|
||||
params->he_capa ||
|
||||
params->eht_capa ||
|
||||
params->s1g_capa ||
|
||||
params->opmode_notif_used;
|
||||
|
||||
switch (mode) {
|
||||
@@ -1973,6 +1974,10 @@ static int sta_link_apply_parameters(struct ieee80211_local *local,
|
||||
params->eht_capa_len,
|
||||
link_sta);
|
||||
|
||||
if (params->s1g_capa)
|
||||
ieee80211_s1g_cap_to_sta_s1g_cap(sdata, params->s1g_capa,
|
||||
link_sta);
|
||||
|
||||
ieee80211_sta_init_nss(link_sta);
|
||||
|
||||
if (params->opmode_notif_used) {
|
||||
|
||||
Reference in new issue
Block a user