Commit 037dc18a authored by Lachlan Hodges's avatar Lachlan Hodges Committed by Johannes Berg
Browse files

wifi: mac80211: add support for storing station S1G capabilities



When a station configuration is updated, update the stations
S1G capabilities.

Signed-off-by: default avatarLachlan Hodges <lachlan.hodges@morsemicro.com>
Link: https://patch.msgid.link/20250617080610.756048-4-lachlan.hodges@morsemicro.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 2a8a6b7c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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) {