linux/drivers/net/wireless/realtek/rtw88
Chin-Yen Lee 3a2dd6b7ca rtw88: check firmware leave lps successfully
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>
2019-10-04 16:44:54 +03:00
..
coex.c rtw88: not to control LPS by each vif 2019-10-02 07:33:42 +03:00
coex.h rtw88: 8822c: add SW DPK support 2019-09-13 18:03:19 +03:00
debug.c rtw88: fix seq_file memory leak 2019-09-06 17:10:33 +03:00
debug.h rtw88: add deep power save support 2019-10-02 07:33:46 +03:00
efuse.c
efuse.h
fw.c rtw88: add deep PS PG mode for 8822c 2019-10-02 07:33:49 +03:00
fw.h rtw88: add deep PS PG mode for 8822c 2019-10-02 07:33:49 +03:00
hci.h rtw88: add deep power save support 2019-10-02 07:33:46 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mac80211.c rtw88: remove misleading module parameter rtw_fw_support_lps 2019-10-02 07:33:50 +03:00
mac.c rtw88: remove redundant flag check helper function 2019-10-02 07:33:39 +03:00
mac.h
main.c rtw88: remove misleading module parameter rtw_fw_support_lps 2019-10-02 07:33:50 +03:00
main.h rtw88: remove misleading module parameter rtw_fw_support_lps 2019-10-02 07:33:50 +03:00
Makefile rtw88: add BT co-existence support 2019-08-06 15:42:13 +03:00
pci.c rtw88: add deep power save support 2019-10-02 07:33:46 +03:00
pci.h
phy.c rtw88: remove redundant flag check helper function 2019-10-02 07:33:39 +03:00
phy.h rtw88: add dynamic cck pd mechanism 2019-09-13 18:03:21 +03:00
ps.c rtw88: check firmware leave lps successfully 2019-10-04 16:44:54 +03:00
ps.h rtw88: check firmware leave lps successfully 2019-10-04 16:44:54 +03:00
reg.h rtw88: check firmware leave lps successfully 2019-10-04 16:44:54 +03:00
regd.c rtw88: update tx power limit table to RF v20 2019-06-27 20:24:27 +03:00
regd.h rtw88: update tx power limit table to RF v20 2019-06-27 20:24:27 +03:00
rtw8822b_table.c rtw88: use txpwr_lmt_cfg_pair struct, not arrays 2019-08-06 15:24:53 +03:00
rtw8822b_table.h
rtw8822b.c rtw88: select deep PS mode when module is inserted 2019-10-02 07:33:48 +03:00
rtw8822b.h
rtw8822c_table.c rtw88: 8822c: add SW DPK support 2019-09-13 18:03:19 +03:00
rtw8822c_table.h rtw88: 8822c: add SW DPK support 2019-09-13 18:03:19 +03:00
rtw8822c.c rtw88: add deep PS PG mode for 8822c 2019-10-02 07:33:49 +03:00
rtw8822c.h rtw88: 8822c: add SW DPK support 2019-09-13 18:03:19 +03:00
rx.c rtw88: not to enter or leave PS under IRQ 2019-10-02 07:33:41 +03:00
rx.h
sec.c rtw88: add deep PS PG mode for 8822c 2019-10-02 07:33:49 +03:00
sec.h rtw88: add deep PS PG mode for 8822c 2019-10-02 07:33:49 +03:00
tx.c rtw88: not to enter or leave PS under IRQ 2019-10-02 07:33:41 +03:00
tx.h
util.c
util.h