mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
wifi: rtw89: enhance connection stability when triggering beacon loss
If the driver supports ack status reports of TX frames, mac80211 allows it to detect AP if it's alive and determine whether the client can maintain the connection by sending null-data. Therefore, refine the flow to let driver inform mac80211 to enable beacon loss work to track AP's status upon receiving beacon loss event. Signed-off-by: Dian-Syuan Yang <dian_syuan0116@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20251229030926.27004-13-pkshih@realtek.com
This commit is contained in:
parent
8c96752d99
commit
6a0b7392a6
|
|
@ -5253,10 +5253,10 @@ rtw89_mac_bcn_fltr_rpt(struct rtw89_dev *rtwdev, struct rtw89_vif_link *rtwvif_l
|
|||
if (start_detect)
|
||||
return;
|
||||
|
||||
ieee80211_connection_loss(vif);
|
||||
} else {
|
||||
rtw89_fw_h2c_set_bcn_fltr_cfg(rtwdev, rtwvif_link, true);
|
||||
ieee80211_beacon_loss(vif);
|
||||
}
|
||||
|
||||
rtw89_fw_h2c_set_bcn_fltr_cfg(rtwdev, rtwvif_link, true);
|
||||
return;
|
||||
case RTW89_BCN_FLTR_NOTIFY:
|
||||
nl_event = NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user