]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: add beacon function setting
authorChin-Yen Lee <timlee@realtek.com>
Fri, 14 Jun 2019 07:24:07 +0000 (15:24 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 05:08:55 +0000 (08:08 +0300)
commitadc6f0a0f24e4397d32d9cfb443b17a9cdc578c1
treefe3bf4b3b14571fc9126bb135e59353869fa6c4e
parentc7685a3770ceb6f6b93bc9c451e7de894d97cc9f
rtw88: add beacon function setting

Add beacon function setting routines for each hardware port.
If beacon function is not enabled, the hardware is not able
to synchronize with AP's beacon and can miss the beacons
under some scenarios such as PS mode.

For AP and Adhoc modes that require to send beacons, do not
update the TSF, otherwise the beacon interval may be affected.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/mac80211.c
drivers/net/wireless/realtek/rtw88/main.c
drivers/net/wireless/realtek/rtw88/main.h