From: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> Hardwares suuported by rtw88 are not able to support vif beacon filter. Reporting this confuses mac80211's connection monitor mechanism. Leave the beacon check for mac80211, and it will decide to trigger keep-alive when beacons missed. Otherwise the connection monitor can only rely on the data packets, and the corresponding timer is set to 30 seconds, which is too long. If we let mac80211 count the beacon, the connection can be detected in seven TUs. Signed-off-by: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> --- drivers/net/wireless/realtek/rtw88/mac80211.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw88/mac80211.c b/drivers/net/wireless/realtek/rtw88/mac80211.c index 39529af..66b2b02 100644 --- a/drivers/net/wireless/realtek/rtw88/mac80211.c +++ b/drivers/net/wireless/realtek/rtw88/mac80211.c @@ -121,7 +121,6 @@ static int rtw_ops_add_interface(struct ieee80211_hw *hw, u32 config = 0; u8 port = 0; - vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER; rtwvif->port = port; rtwvif->vif = vif; rtwvif->stats.tx_unicast = 0; -- 2.7.4