Wi-Fi/power save: fix the some mac issues of wifi power save

Some APs are configured to hide the SSID, the length field of the SSID element
in the Beacon frame is set to 0. This can cause incorrect parsing of the Beacon
by the Wi-Fi MAC hardware.

Some APs send two beacon frames with different BSSID in a TBTT cycle. After
correctly parsing the beacon of the associated AP, it continue to receive the
other beacon frame, which will cause the MAC to remain in a wait RX/TXING
state, blocking the Wi-Fi go to sleep.
This commit is contained in:
Li Shuai 2023-06-15 10:46:01 +08:00 committed by zhangyanjiao
parent d360cdbd15
commit 6900837cff
2 changed files with 2 additions and 2 deletions

View File

@ -1589,7 +1589,7 @@ hal_mac_is_low_rate_enabled = 0x400015cc;
hal_mac_tx_get_blockack = 0x400015d0;
/* hal_mac_tx_set_ppdu = 0x400015d4; */
ic_get_trc = 0x400015d8;
ic_mac_deinit = 0x400015dc;
/* ic_mac_deinit = 0x400015dc; */
ic_mac_init = 0x400015e0;
ic_interface_enabled = 0x400015e4;
is_lmac_idle = 0x400015e8;

View File

@ -1899,7 +1899,7 @@ hal_mac_is_low_rate_enabled = 0x400052a4;
hal_mac_tx_get_blockack = 0x400052b0;
/* hal_mac_tx_set_ppdu = 0x400052bc; */
ic_get_trc = 0x400052c8;
ic_mac_deinit = 0x400052d4;
/* ic_mac_deinit = 0x400052d4; */
ic_mac_init = 0x400052e0;
ic_interface_enabled = 0x400052ec;
is_lmac_idle = 0x400052f8;