mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
wifi: iwlwifi: mld: always allow mimo in NAN
The mimo field of the sta command is badly named. It really carries the initial SMPS value as it is in the association request of the client station (when we are the AP). In NAN we don't have this information, just mark SMPS as disabled. Link: https://patch.msgid.link/20260527230313.abd136be474e.I9eb663d953b482236345ffbcb611f28facea83c1@changeid Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
This commit is contained in:
parent
3ea44b983a
commit
44e9ece99e
|
|
@ -538,6 +538,12 @@ int iwl_mld_add_modify_sta_cmd(struct iwl_mld *mld,
|
|||
break;
|
||||
}
|
||||
|
||||
/* In NAN, there is no association request so no initial SMPS info */
|
||||
if (mld_sta->vif->type == NL80211_IFTYPE_NAN_DATA) {
|
||||
cmd.mimo = cpu_to_le32(1);
|
||||
cmd.mimo_protection = cpu_to_le32(0);
|
||||
}
|
||||
|
||||
iwl_mld_fill_ampdu_size_and_dens(link_sta, is_6ghz,
|
||||
&cmd.tx_ampdu_max_size,
|
||||
&cmd.tx_ampdu_spacing);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user