File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 2
2
/*
3
3
* EHT handling
4
4
*
5
- * Copyright(c) 2021-2024 Intel Corporation
5
+ * Copyright(c) 2021-2025 Intel Corporation
6
6
*/
7
7
8
8
#include "ieee80211_i.h"
@@ -76,6 +76,13 @@ ieee80211_eht_cap_ie_to_sta_eht_cap(struct ieee80211_sub_if_data *sdata,
76
76
link_sta -> cur_max_bandwidth = ieee80211_sta_cap_rx_bw (link_sta );
77
77
link_sta -> pub -> bandwidth = ieee80211_sta_cur_vht_bw (link_sta );
78
78
79
+ /*
80
+ * The MPDU length bits are reserved on all but 2.4 GHz and get set via
81
+ * VHT (5 GHz) or HE (6 GHz) capabilities.
82
+ */
83
+ if (sband -> band != NL80211_BAND_2GHZ )
84
+ return ;
85
+
79
86
switch (u8_get_bits (eht_cap -> eht_cap_elem .mac_cap_info [0 ],
80
87
IEEE80211_EHT_MAC_CAP0_MAX_MPDU_LEN_MASK )) {
81
88
case IEEE80211_EHT_MAC_CAP0_MAX_MPDU_LEN_11454 :
You can’t perform that action at this time.
0 commit comments