~vicamo/+git/ubuntu-kernel:bug-1849075/ALSA-hda-realtek-Move-some-alc236-pintbls-to-fallbac/oem-osp1-bionic

Last commit made on 2019-11-22
Get this branch:
git clone -b bug-1849075/ALSA-hda-realtek-Move-some-alc236-pintbls-to-fallbac/oem-osp1-bionic 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-1849075/ALSA-hda-realtek-Move-some-alc236-pintbls-to-fallbac/oem-osp1-bionic
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

dc4d85c... by You-Sheng Yang

Bug 1849075: ALSA: hda/realtek - Move some alc236 pintbls to fallback table

47a3bc9... by Hui Wang

ALSA: hda/realtek - Move some alc236 pintbls to fallback table

We have a new Dell machine which needs to apply the quirk
ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, try to use the fallback table
to fix it this time. And we could remove all pintbls of alc236
for applying DELL1_MIC_NO_PRESENCE on Dell machines.

Signed-off-by: Hui Wang <email address hidden>

a4166e7... by Hui Wang

ALSA: hda/realtek - Move some alc256 pintbls to fallback table

We have a new Dell machine which needs to apply the quirk
ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, try to use the fallback table
to fix it this time. And we could remove all pintbls of alc256
for applying DELL1_MIC_NO_PRESENCE on Dell machines.

Signed-off-by: Hui Wang <email address hidden>

84efca0... by Timo Aaltonen

UBUNTU: Ubuntu-oem-osp1-5.0.0-1030.34

Signed-off-by: Timo Aaltonen <email address hidden>

601a606... by Kai-Heng Feng

UBUNTU: [Config] CONFIG_RTW88_8723DE=y

BugLink: https://bugs.launchpad.net/bugs/1780590

Enable Realtek 8723DE Wireless LAN.

Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>

4646c21... by Ping-Ke Shih

UBUNTU: SAUCE: rtw88: add ciphers to suppress error message

BugLink: https://bugs.launchpad.net/bugs/1780590

Though hardware isn't implement CCMP-256, GCMP and GCMP-256, it's possible
to fallback to use software de-/en-cryption implemented by mac80211.

Without adding these chipers, kernel log will show something if we connect
to a WPA3 enterprise AP, likes
  wlan0: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-524)

Change-Id: I0593008f2c971f66dd4c772d976a207bb5cd0e5b
Signed-off-by: Ping-Ke Shih <email address hidden>
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>

c9fc716... by Ping-Ke Shih

UBUNTU: SAUCE: rtw88: sar: dump sar information via debugfs

BugLink: https://bugs.launchpad.net/bugs/1780590

To know detail of SAR information, we add a debugfs entry to dump the raw
content written in ACPI, and also dump the translated data (real number in
decimal). The output looks like

  Customer ID: 0x5048
  WiFiEnable: 0x1
  Total SAR Table Count: 3
  Current SAR Table Index: (02 02 02 02)

  Dump RWRD SAR RAW DATA. (Total Count: 60)
  01: 0e 0c 0c 0c 0c 0e 0c 0c 0c 0c 0e 0c 0c 0c 0c 12 10 10 12 12
  02: 08 03 03 03 03 08 03 03 03 03 08 03 03 03 03 12 10 10 12 12
  03: 04 ff ff ff ff 04 ff ff ff ff 04 ff ff ff ff 12 10 10 12 12

  Show SAR PowerLimit:
  2.4G Antenna 0: [14.0] dBm
  2.4G Antenna 1: [14.0] dBm

  5G Antenna 0: [11.500, 11.500, 11.500, 11.500, ] dBm
  5G Antenna 1: [11.500, 11.500, 11.500, 11.500, ] dBm

  Dump Geo-SAR Table RAW DATA. (Total Count: 30)
  geo-0: 10 04 08 01 01 0f 04 0c 01 01
  geo-1: 0c 02 06 03 03 06 04 08 03 03
  geo-2: 10 03 03 03 03 0f 03 03 03 03

  Show Geo-SAR PowerLimit:
  2G Geo Table Index: 1
  5G Geo Table Index: 1

  2GHz:
  Max Power: [16.0] dBm
  Ant-0 delta value: [1.0] dB
  Ant-1 delta value: [3.0] dB

  5GHz:
  Max Power: [13.0] dBm
  Ant-0 delta value: [2.0] dB
  Ant-1 delta value: [4.0] dB

Change-Id: Iea86d50ac67f63eb7cbf7eda5aed9c2516808d19
Signed-off-by: Ping-Ke Shih <email address hidden>
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>

7221603... by Ping-Ke Shih

UBUNTU: SAUCE: rtw88: sar: add sar_work to poll if RWSI changed

BugLink: https://bugs.launchpad.net/bugs/1780590

RWSI is used to tell driver operating mode is changed. For example, a
notebook PC can also play as a tablet. Driver detects RWSI in period of
10 seconds, and reconfigure SAR power limit if RWSI values are changed.

Change-Id: Ie7bb721aae72a055e1b64b079176d544abbfbe40
Signed-off-by: Ping-Ke Shih <email address hidden>
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>

c0e98b2... by Ping-Ke Shih

UBUNTU: SAUCE: rtw88: sar: apply RWRD/RWSI/RWGS tables to tx power limit

BugLink: https://bugs.launchpad.net/bugs/1780590

We apply four frequency ranges to calculate TX power, though RWRD defines
five ranges. RWGS is used to adjust SAR power limit value and define the
upper bound corresponding to geography.

Signed-off-by: Ping-Ke Shih <email address hidden>
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>

66b22f5... by Ping-Ke Shih

UBUNTU: SAUCE: rtw88: sar: add basic parser of RT tables

BugLink: https://bugs.launchpad.net/bugs/1780590

Three tables RWRD, RWSI and RWGS are defined to support SAR power limit
proposed by Realtek. RWRD describes main power limit values that can support
more than one mode, tablet, lid close and etc. RWSI is used to indicate
which mode is operating, so driver must apply SAR power limit corresponding
to the mode. Since each country (geography) has some different SAR power
limit values, RWGS is introduced to adjust power limit mentioned in RWRD
if stack hints driver that regulatory domain is changed.

RWRD contains customer ID, SAR enable, table count and SAR power limit.
With different customer ID, the formats of RWRD, RWSI and RWGS are
different, such as the number of fields in table and precision of power
limit value (in Q-notation). By now, two customer IDs are supported, RT
and HP. 'table count' indicates total number of tables corresponding to
operating modes, and selected by WRSI.

To valid RWSI and RWGS tables, we check if read length and sizeof() are
equal. But these checking statements depend on RWRD's ID are little
verbose, use two predefined values, rwsi_sz and rwgs_sz, would be easy
to understand the code.

Change-Id: I49526fc1871143f9fdb86c50c44d5a40d68cefdb
Signed-off-by: Ping-Ke Shih <email address hidden>
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>