~vicamo/+git/ubuntu-kernel:bug-1885862/add-8821ce/unstable

Last commit made on 2020-08-04
Get this branch:
git clone -b bug-1885862/add-8821ce/unstable https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1885862/add-8821ce/unstable
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

0aef90f... by You-Sheng Yang

[DONOTSUBMIT] update modules

79c8da1... by You-Sheng Yang

Bug 1885862: Add in-tree Realtek 8821CE wireless module support

bea7c54... by You-Sheng Yang

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>

b4b2433... by Wei Yongjun <email address hidden>

rtw88: 8821c: make symbol 'rtw8821c_rtw_pwr_track_tbl' static

The sparse tool complains as follows:

drivers/net/wireless/realtek/rtw88/rtw8821c.c:1374:32: warning:
 symbol 'rtw8821c_rtw_pwr_track_tbl' was not declared. Should it be static?

This variable is not used outside of rtw8821c.c, so this commit
marks it static.

Fixes: 3a4312828ce1 ("rtw88: 8821c: add power tracking")
Reported-by: Hulk Robot <email address hidden>
Signed-off-by: Wei Yongjun <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit 9de6959f8584064de8c1d7392e3a6bb50a4a9c18)
Signed-off-by: You-Sheng Yang <email address hidden>

0d3bd77... by Tzu-En Huang <email address hidden>

rtw88: 8821c: Add 8821CE to Kconfig and Makefile

Since 8821C code is ready, we can build it.

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 f745eb9ca5bf823bc5c0f82a434cefb41c57844e)
Signed-off-by: You-Sheng Yang <email address hidden>

5a8377e... by Tzu-En Huang <email address hidden>

rtw88: single rf path chips don't support TX STBC

Since single rf path chips don't support TX SPBC, tell mac80211
to not advertise it.

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 d47e7371b23a0401cf284181e83a1819e9b22623)
Signed-off-by: You-Sheng Yang <email address hidden>

55f2822... by Tzu-En Huang <email address hidden>

rtw88: 8821c: add beamformee support

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>

db6a299... by Tzu-En Huang <email address hidden>

rtw88: 8821c: add power tracking

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>

feb5d65... by Tzu-En Huang <email address hidden>

rtw88: 8821c: add cck pd settings

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>