linux_dsm_epyc7002/drivers/net/wireless/realtek/rtw88
Zong-Zhe Yang 001a3c902f rtw88: coex: Fix ACL Tx pause during BT inquiry/page.
Add a set of logic with corresponding coexistence parameters to
handle the situation under BT inquiry/page.

We will set PSTDMA while WL-Busy + BT inquiry/page to separate
WL/BT slots. PSTDMA can protect WL data rate and BT performance.

If WL-Busy + BT inquiry/page and there was BT device paired,
We will set the mechanism to 4Slot PSTDMA.
In 4Slot PSTDMA, the paired devices can perform more smoothly
and prevent some issues trigger from insufficient data.

And to avoid A2DP glitch or disconnection, we will adjust ACL
data priority higher than inquiry/page.

In addition, we found sometimes BT inquiry/page still working
last for seconds after BT had notified inquiry/page finished.
It will lead to A2DP glitch cause of ACL data, inquiry/page
priority toggled. To fix the corner, we add a timer to remain
the inquiry/page status.

And we found WL busy/idle threshold is too sensitive,
it will keep switching in some weak network environment and
coexistence mechanism will switch between TDMA and PSTDMA.

The very frequently switching may destroyed not only the
handshake with AP, but BT performance. And it will trigger
some unexpected error.

To prevent the frequently switching, we add a timer to delay
the status change while WL busy switch to idle.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200715023324.8600-1-yhchuang@realtek.com
2020-07-15 12:14:01 +03:00
..
bf.c rtw88: 8821c: add beamformee support 2020-07-15 12:08:14 +03:00
bf.h rtw88: 8723d: add beamform wrapper functions 2020-04-21 15:59:18 +03:00
coex.c rtw88: coex: Fix ACL Tx pause during BT inquiry/page. 2020-07-15 12:14:01 +03:00
coex.h rtw88: coex: Fix ACL Tx pause during BT inquiry/page. 2020-07-15 12:14:01 +03:00
debug.c rtw88: 8723d: Add power tracking 2020-05-13 18:48:44 +03:00
debug.h rtw88: support wowlan feature for 8822c 2020-01-26 17:37:03 +02:00
efuse.c rtw88: extract: export symbols used in chip functionalities 2020-05-18 15:16:15 +03:00
efuse.h rtw88: set power trim according to efuse PG values 2020-04-21 16:00:21 +03:00
fw.c rtw88: extract: export symbols used in chip functionalities 2020-05-18 15:16:15 +03:00
fw.h rtw88: handle C2H_CCX_TX_RPT to know if packet TX'ed successfully 2020-05-06 11:34:31 +03:00
hci.h rtw88: kick off TX packets once for higher efficiency 2020-03-23 19:29:58 +02:00
Kconfig rtw88: 8821c: Add 8821CE to Kconfig and Makefile 2020-07-15 12:08:16 +03:00
mac80211.c rtw88: fix EAPOL 4-way failure by finish IQK earlier 2020-05-29 20:36:05 +03:00
mac.c rtw88: extract: export symbols used in chip functionalities 2020-05-18 15:16:15 +03:00
mac.h rtw88: 8723d: Organize chip TX/RX FIFO 2020-04-23 07:47:26 +03:00
main.c rtw88: coex: Fix ACL Tx pause during BT inquiry/page. 2020-07-15 12:14:01 +03:00
main.h rtw88: coex: Fix ACL Tx pause during BT inquiry/page. 2020-07-15 12:14:01 +03:00
Makefile rtw88: 8821c: Add 8821CE to Kconfig and Makefile 2020-07-15 12:08:16 +03:00
pci.c rtw88: pci: disable aspm for platform inter-op with module parameter 2020-07-15 12:10:34 +03:00
pci.h rtw88: extract: remove the unused after extracting 2020-05-18 15:16:21 +03:00
phy.c rtw88: extract: export symbols used in chip functionalities 2020-05-18 15:16:15 +03:00
phy.h rtw88: 8723d: Add power tracking 2020-05-13 18:48:44 +03:00
ps.c rtw88: use shorter delay time to poll PS state 2020-01-26 17:42:56 +02:00
ps.h rtw88: raise LPS threshold to 50, for less power consumption 2019-11-06 19:55:37 +02:00
reg.h rtw88: 8821c: add basic functions 2020-07-15 12:06:51 +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
rtw8723d_table.c rtw88: 8723d: Add mac/bb/rf/agc/power_limit tables 2020-04-21 15:59:21 +03:00
rtw8723d_table.h rtw88: 8723d: Add mac/bb/rf/agc/power_limit tables 2020-04-21 15:59:21 +03:00
rtw8723d.c rtw88: coex: Fix ACL Tx pause during BT inquiry/page. 2020-07-15 12:14:01 +03:00
rtw8723d.h rtw88: coex: 8723d: set antanna control owner 2020-05-29 20:36:02 +03:00
rtw8723de.c rtw88: extract: make 8723d an individual kernel module 2020-05-18 15:16:20 +03:00
rtw8723de.h rtw88: extract: make 8723d an individual kernel module 2020-05-18 15:16:20 +03:00
rtw8821c_table.c rtw88: 8821c: add basic functions 2020-07-15 12:06:51 +03:00
rtw8821c_table.h rtw88: 8821c: add basic functions 2020-07-15 12:06:51 +03:00
rtw8821c.c rtw88: 8821c: add beamformee support 2020-07-15 12:08:14 +03:00
rtw8821c.h rtw88: 8821c: add power tracking 2020-07-15 12:08:12 +03:00
rtw8821ce.c rtw88: 8821c: add basic functions 2020-07-15 12:06:51 +03:00
rtw8821ce.h rtw88: 8821c: add basic functions 2020-07-15 12:06:51 +03:00
rtw8822b_table.c rtw88: use rtw_phy_pg_cfg_pair struct, not arrays 2019-10-31 10:03:48 +02:00
rtw8822b_table.h rtw88: 8822b: add RFE type 3 support 2019-10-31 10:03:47 +02:00
rtw8822b.c rtw88: coex: Fix ACL Tx pause during BT inquiry/page. 2020-07-15 12:14:01 +03:00
rtw8822b.h rtw88: add phy_info debugfs to show Tx/Rx physical status 2019-10-24 08:46:25 +03:00
rtw8822be.c rtw88: extract: make 8822b an individual kernel module 2020-05-18 15:16:19 +03:00
rtw8822be.h rtw88: extract: make 8822b an individual kernel module 2020-05-18 15:16:19 +03:00
rtw8822c_table.c rtw88: 8822c: update phy parameter tables to v50 2020-05-04 12:46:14 +03:00
rtw8822c_table.h rtw88: 8822c: update phy parameter tables to v50 2020-05-04 12:46:14 +03:00
rtw8822c.c rtw88: coex: Fix ACL Tx pause during BT inquiry/page. 2020-07-15 12:14:01 +03:00
rtw8822c.h rtw88: set power trim according to efuse PG values 2020-04-21 16:00:21 +03:00
rtw8822ce.c rtw88: 8822ce: add support for device ID 0xc82f 2020-07-15 12:11:06 +03:00
rtw8822ce.h rtw88: extract: make 8822c an individual kernel module 2020-05-18 15:16:18 +03:00
rx.c rtw88: extract: export symbols used in chip functionalities 2020-05-18 15:16:15 +03:00
rx.h rtw88: Don't set RX_FLAG_DECRYPTED if packet has no encryption 2019-10-04 16:45:01 +03:00
sec.c rtw88: fill zeros to words 0x06 and 0x07 of security cam entry 2020-05-13 18:48:52 +03:00
sec.h rtw88: add deep PS PG mode for 8822c 2019-10-02 07:33:49 +03:00
tx.c rtw88: handle C2H_CCX_TX_RPT to know if packet TX'ed successfully 2020-05-06 11:34:31 +03:00
tx.h rtw88: handle C2H_CCX_TX_RPT to know if packet TX'ed successfully 2020-05-06 11:34:31 +03:00
util.c rtw88: extract: export symbols used in chip functionalities 2020-05-18 15:16:15 +03:00
util.h rtw88: support wowlan feature for 8822c 2020-01-26 17:37:03 +02:00
wow.c rtw88: associate reserved pages with each vif 2020-03-23 19:29:42 +02:00
wow.h rtw88: Add wowlan net-detect support 2020-01-26 17:37:05 +02:00