mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
mt_wifi: fix he assoc max bw
This commit is contained in:
parent
0e1af68761
commit
c16091f97e
11
package/mtk/drivers/mt_wifi/patches/018-fix-he-max-bw.patch
Normal file
11
package/mtk/drivers/mt_wifi/patches/018-fix-he-max-bw.patch
Normal 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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user