diff options
| author | Johannes Berg <[email protected]> | 2024-01-29 19:22:01 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-02-02 13:04:43 +0000 |
| commit | c289f5cd6978af1bd14c1b7c230aaa011e1b3b5d (patch) | |
| tree | c61da32821b052ede09acd6bc14f6c3080ca3137 /drivers/net/wireless/intel/iwlwifi/mvm/sta.c | |
| parent | wifi: iwlwifi: pcie: Add the PCI device id for new hardware (diff) | |
| download | kernel-c289f5cd6978af1bd14c1b7c230aaa011e1b3b5d.tar.gz kernel-c289f5cd6978af1bd14c1b7c230aaa011e1b3b5d.zip | |
wifi: iwlwifi: mvm: support SPP A-MSDUs
If the firmware has the necessary support, enable SPP A-MSDUs.
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Daniel Gabay <[email protected]>
Reviewed-by: Gregory Greenman <[email protected]>
Signed-off-by: Miri Korenblit <[email protected]>
Link: https://msgid.link/20240129211905.15e4570e471f.I87cf284d3b19bb9f5558f0f33afaace6d6492acb@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/sta.c')
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/sta.c b/drivers/net/wireless/intel/iwlwifi/mvm/sta.c index d57fcbe4f8ac..8ffbb8efda73 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/sta.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/sta.c @@ -3559,6 +3559,9 @@ static int iwl_mvm_send_sta_key(struct iwl_mvm *mvm, key_flags = cpu_to_le16(keyidx); key_flags |= cpu_to_le16(STA_KEY_FLG_WEP_KEY_MAP); + if (key->flags & IEEE80211_KEY_FLAG_SPP_AMSDU) + key_flags |= cpu_to_le16(STA_KEY_FLG_AMSDU_SPP); + switch (key->cipher) { case WLAN_CIPHER_SUITE_TKIP: key_flags |= cpu_to_le16(STA_KEY_FLG_TKIP); |
