wifi: rtw89: support WMM-PS in P2P GO mode
authorDian-Syuan Yang <dian_syuan0116@realtek.com>
Thu, 22 Sep 2022 01:04:34 +0000 (09:04 +0800)
committerKalle Valo <kvalo@kernel.org>
Sat, 24 Sep 2022 12:36:28 +0000 (15:36 +0300)
commit71392bb249d83e2d6914e3bca1c76666c0d28628
tree32c68bf9de53cded1824654101df67f27809b332
parent487b7b70250c06760ebbd803b9c545a2600a9a47
wifi: rtw89: support WMM-PS in P2P GO mode

To handle a connected client using WMM-PS, the P2P GO also need to enable
this power save mechanism.

We add WIPHY_FLAG_AP_UAPSD flag to support it and define maximum number
of buffered frames the WMM GO may deliver to the WMM client.

Signed-off-by: Dian-Syuan Yang <dian_syuan0116@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/20220922010435.12167-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c