~vicamo/+git/ubuntu-kernel:bug-1885862/support-8821CE/oem-5.6

Last commit made on 2020-06-24
Get this branch:
git clone -b bug-1885862/support-8821CE/oem-5.6 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/support-8821CE/oem-5.6
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

c08c01f... by You-Sheng Yang

Bug 1884513: Add Realtek 8821CE wireless module support

44a7359... by You-Sheng Yang

UBUNTU: [Config] enable Realtek 8821c/8821ce as modules

Signed-off-by: You-Sheng Yang <email address hidden>

e6de9ed... 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>

d730d0e... 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>

0fa103b... 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>

446bb24... 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>

86e9ab5... 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>

299290e... by Tzu-En Huang <email address hidden>

rtw88: 8821c: add phy calibration

In order to get a better TX EVM, do calibration after association.

The calibration needed for 8821c is the IQK, which is done in the
firmware. Implement the rtw_chip_ops::phy_calibration() to trigger
firmware to calibrate.

Signed-off-by: Tzu-En Huang <email address hidden>
Signed-off-by: Yan-Hsuan Chuang <email address hidden>

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

rtw88: 8821c: add false alarm statistics

False alarm statistics can be used to adjust the RX gain. This
helps the driver to adapt to different circumstances.

Implement rtw_chip_ops::false_alarm_statistics() for 8821c.

Signed-off-by: Tzu-En Huang <email address hidden>
Signed-off-by: Yan-Hsuan Chuang <email address hidden>

448eca0... by Tzu-En Huang <email address hidden>

rtw88: 8821c: add query rx desc support

Some RX packets contain also information about environment status.

Implement rtw_chip_ops::query_rx_desc() for 8821c. Parse the RX
descriptor which describes the current condition of the received
packet.

Signed-off-by: Tzu-En Huang <email address hidden>
Signed-off-by: Yan-Hsuan Chuang <email address hidden>