wifi: rtw88: Fix AP mode incorrect DTIM behavior
authorPo-Hao Huang <phhuang@realtek.com>
Fri, 16 Jun 2023 12:55:36 +0000 (20:55 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 21 Jun 2023 09:41:45 +0000 (12:41 +0300)
commit076f786a0ae14a81f40314b96a2d815e264bc213
treeb78422755fd172bb60f8228b416cf28b20f74900
parent88b9d8e6cf9cf89be50ca2ee6cb9b3180b432172
wifi: rtw88: Fix AP mode incorrect DTIM behavior

Broadcast and multicast packets in high queue should be transmitted
all at once during DTIM. But without proper settings, hardware fails
to recognize that there are multiple packets and fetches only one.
Fix this by signaling hardware with more data bit set when there are
packets in the high queue.

Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230616125540.36877-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/mac80211.c
drivers/net/wireless/realtek/rtw88/reg.h
drivers/net/wireless/realtek/rtw88/tx.c
drivers/net/wireless/realtek/rtw88/tx.h
drivers/net/wireless/realtek/rtw88/usb.c