mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00: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 <lachlan.hodges@morsemicro.com> Link: https://patch.msgid.link/20250617080610.756048-4-lachlan.hodges@morsemicro.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
2a8a6b7c4c
commit
037dc18ac3
1 changed files with 5 additions and 0 deletions
|
@ -1895,6 +1895,7 @@ static int sta_link_apply_parameters(struct ieee80211_local *local,
|
||||||
params->vht_capa ||
|
params->vht_capa ||
|
||||||
params->he_capa ||
|
params->he_capa ||
|
||||||
params->eht_capa ||
|
params->eht_capa ||
|
||||||
|
params->s1g_capa ||
|
||||||
params->opmode_notif_used;
|
params->opmode_notif_used;
|
||||||
|
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
@ -1973,6 +1974,10 @@ static int sta_link_apply_parameters(struct ieee80211_local *local,
|
||||||
params->eht_capa_len,
|
params->eht_capa_len,
|
||||||
link_sta);
|
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);
|
ieee80211_sta_init_nss(link_sta);
|
||||||
|
|
||||||
if (params->opmode_notif_used) {
|
if (params->opmode_notif_used) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue