mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-27 11:44:19 -05:00
wifi: iwlwifi: mld: disable RX aggregation if requested
The user can request to disable RX aggregations via the module parameter enable_11n. Honor this request and reject addba. Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250723094230.40746586ade7.Ibf5877df76ea2f1eee614166b3194843fd9898cd@changeid
This commit is contained in:
@@ -1918,6 +1918,10 @@ iwl_mld_mac80211_ampdu_action(struct ieee80211_hw *hw,
|
||||
|
||||
switch (action) {
|
||||
case IEEE80211_AMPDU_RX_START:
|
||||
if (!iwl_enable_rx_ampdu()) {
|
||||
ret = -EINVAL;
|
||||
break;
|
||||
}
|
||||
ret = iwl_mld_ampdu_rx_start(mld, sta, tid, ssn, buf_size,
|
||||
timeout);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user