UBUNTU: [Config] build CONFIG_RTW88_8821C/CONFIG_RTW88_8821CE as modules
Signed-off-by: You-Sheng Yang <email address hidden>
f161974...
by
Ping-Cheng Chen <email address hidden>
rtw88: 8821c: coex: add functions and parameters
Without this patch, RTL8821CE will not have coex support,
and will crash the system because of the NULL pointers
for the coex functions.
While RTL8822C series are WiFi + BT combo chips, it needs
the co-existence mechanism for the device to work on both
WiFi and BT without interfering each other. And the coex
support has already been added before, most of the mechanisms
are implemented. The driver should just add corresponding
functions to operate on different types of chips and its
coex parameters.
Fixes: f745eb9ca5bf ("rtw88: 8821c: Add 8821CE to Kconfig and Makefile")
Signed-off-by: Ping-Cheng Chen <email address hidden>
Signed-off-by: Tzu-En Huang <email address hidden>
Signed-off-by: Yan-Hsuan Chuang <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit 7b080e085943eb9b2862a04b0450afe17e286a21)
Signed-off-by: You-Sheng Yang <email address hidden>
Beamforming is used for directional signal transmission/reception.
Beamformee plays the role for signal reception, and makes the RX
performance better in middle distance range.
Implement beamformee related callbacks for 8821c.
Since 8821c only support 1ss rate, nc_index in beamformee setting
needs to be adjusted based on the capability.
Signed-off-by: Tzu-En Huang <email address hidden>
Signed-off-by: Yan-Hsuan Chuang <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit 5f4eab883c6a0abd9e071ba3ebe0c03043ceda7c)
Signed-off-by: You-Sheng Yang <email address hidden>
The TX power requires to be adjusted based on the thermal value.
The actual power will decrease if the thermal value raised, and
will increase if the thermal value lowered. Driver comapres the
thermal value, as moving averages. If it changes over a limit,
driver will modify the TX power index to compensate.
Implement rtw_chip_ops::pwr_track() for 8821c.
Signed-off-by: Tzu-En Huang <email address hidden>
Signed-off-by: Yan-Hsuan Chuang <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit 3a4312828ce13e1645fd3af76e4314a2623b3361)
Signed-off-by: You-Sheng Yang <email address hidden>
CCK PD can reduce the number of false alarm of the CCK rates.
It dynamically adjusts the power threshold and CS ratio.
The values are compared to the values of the previous level, if
the level is changed, set new values of power threshold and CS
ratio.
Implement rtw_chip_ops::cck_pd_set() for 8821c.
Signed-off-by: Tzu-En Huang <email address hidden>
Signed-off-by: Yan-Hsuan Chuang <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit 11fcb119a758e1e03ec77e20b386f4b93ae06601)
Signed-off-by: You-Sheng Yang <email address hidden>