OSDN Git Service

rtw89: send broadcast/multicast packets via HIQ if STAs are in sleep mode
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 7 Jan 2022 03:42:30 +0000 (11:42 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 28 Jan 2022 15:56:38 +0000 (17:56 +0200)
commit11d261f24be63fc409bb73172683e9249a97bbfb
treede1268a4a50f3a8f71e768c22a9190e978c71fad
parent283c3d886fdf0869698785113ae6f74094ef72ed
rtw89: send broadcast/multicast packets via HIQ if STAs are in sleep mode

If a packet we are going to send is broadcast/multicast and certain STAs
are in sleep mode, a flag IEEE80211_TX_CTL_SEND_AFTER_DTIM is added to
txinfo. Then, this kind of packets must be sent via HIQ instead of regular
AC queues, because they should be sent right after beacon.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220107034239.22002-11-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h