mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
3a2dd6b7ca
Driver needs to wait for firmware to restore hardware setting to active mode after leaving lps. After getting H2C from driver for leaving lps, firmware will issue null packet without PS bit to inform AP driver is active, and then restore REG_TCR Register if AP has receiced null packet. But the transmission of null packet may cost much more time in noisy environment. If driver does not wait for firmware, null packet with PS bit could be sent due to incorrect REG_TCR setting. And AP will be confused. In our test, 100ms is enough for firmware to send null packet to AP. If REG_TCR Register is still wrong after 100ms, we will modify it directly, force the PS bit to be cleared 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> |
||
---|---|---|
.. | ||
coex.c | ||
coex.h | ||
debug.c | ||
debug.h | ||
efuse.c | ||
efuse.h | ||
fw.c | ||
fw.h | ||
hci.h | ||
Kconfig | ||
mac80211.c | ||
mac.c | ||
mac.h | ||
main.c | ||
main.h | ||
Makefile | ||
pci.c | ||
pci.h | ||
phy.c | ||
phy.h | ||
ps.c | ||
ps.h | ||
reg.h | ||
regd.c | ||
regd.h | ||
rtw8822b_table.c | ||
rtw8822b_table.h | ||
rtw8822b.c | ||
rtw8822b.h | ||
rtw8822c_table.c | ||
rtw8822c_table.h | ||
rtw8822c.c | ||
rtw8822c.h | ||
rx.c | ||
rx.h | ||
sec.c | ||
sec.h | ||
tx.c | ||
tx.h | ||
util.c | ||
util.h |