mt_wifi: fix he assoc max bw

This commit is contained in:
hanwckf 2023-12-19 23:12:42 +08:00
parent 0e1af68761
commit c16091f97e

View File

@ -0,0 +1,11 @@
--- a/mt_wifi/embedded/mgmt/mgmt_he.c
+++ b/mt_wifi/embedded/mgmt/mgmt_he.c
@@ -2327,7 +2327,7 @@ VOID he_mode_adjust(struct wifi_dev *wde
if (peer->cap.ch_bw.he_ch_width & SUPP_160M_8080M_CW_IN_5G_BAND)
PeerMaxBw = BW_160;
if ((PeerMaxBw == BW_80) && (bw_from_opclass != NULL) && ((*bw_from_opclass) < BW_80))
- PeerMaxBw = BW_40;
+ PeerMaxBw = BW_80;
}
}