~vicamo/+git/ubuntu-kernel:bug-1879633/ath11k-qca6390-bringup/M1/oem-5.6-debug

Last commit made on 2020-07-02
Get this branch:
git clone -b bug-1879633/ath11k-qca6390-bringup/M1/oem-5.6-debug 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-1879633/ath11k-qca6390-bringup/M1/oem-5.6-debug
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

2cb744a... by You-Sheng Yang

UBUNTU: [Config] enable CONFIG_ATH11K_DEBUG

944b06e... by You-Sheng Yang

Bug 1879633: Support Qualcomm ath11k network adapter

06728e0... by You-Sheng Yang

UBUNTU: [Config] enable configs for ath11k

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

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

283b6af... by Carl Huang <email address hidden>

UBUNTU: SAUCE: ath11k: support MAC address randomization in scan

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

The driver reports the random_mac_addr capability to upper layer
based on the service bit firmware reported. Driver sets the
spoofed flag in scan_ctrl_flag to firmware if upper layer has
enabled this feature in scan request.

Tested QCA6390 on X86 platform.

Change-Id: I0585b9cbf3822312223747877dccff45879a5ccd
Signed-off-by: Carl Huang <email address hidden>
(cherry picked from
https://source.codeaurora.org/external/sba/wlan_patches/plain/QCA6390_ath11k/M1/0076-ath11k-support-MAC-address-randomization-in-scan.patch?id=89ba3eeb8abca0e0be1cc7d6fa9cf04a0569ca6a)
Signed-off-by: You-Sheng Yang <email address hidden>

3b8cdbe... by Wen Gong <email address hidden>

UBUNTU: SAUCE: ath11k: [fix conflict in mac.c] add support for hardware rfkill

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

When hardware rfkill is enabled in the firmware it will report the
capability via using WMI_TLV_SYS_CAP_INFO_RFKILL bit in the WMI_SERVICE_READY
event to the host. ath10k will check the capability, and if it is enabled then
ath10k will set the GPIO information to firmware using WMI_PDEV_SET_PARAM. When
the firmware detects hardware rfkill is enabled by the user, it will report it
via WMI_RFKILL_STATE_CHANGE_EVENTID. Once ath10k receives the event it will
send wmi command WMI_PDEV_SET_PARAM to the firmware to enable/disable the radio
and also notifies cfg80211.

We can't power off the device when rfkill is enabled, as otherwise the
firmware would not be able to detect GPIO changes and report them to the
host. So when rfkill is enabled, we need to keep the firmware running.

Tested with QCA6390 PCIe with firmware
WLAN.HST.1.0.1-01230-QCAHSTSWPLZ_V2_TO_X86-1.

Change-Id: I9c1860a361b4f5aa33500a8c82209ed9cf1bb2af
Signed-off-by: Wen Gong <email address hidden>
(cherry picked from
https://source.codeaurora.org/external/sba/wlan_patches/plain/QCA6390_ath11k/M1/0075-ath11k-fix-conflict-in-mac.c-add-support-for-hardwar.patch?id=89ba3eeb8abca0e0be1cc7d6fa9cf04a0569ca6a)
Signed-off-by: You-Sheng Yang <email address hidden>

bc57121... by Wen Gong <email address hidden>

UBUNTU: SAUCE: ath11k: enable pkt log default for QCA6390

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

When ath11k set HTT_H2T_MSG_TYPE_PPDU_STATS_CFG to firmware by default
when start, firmware not report HTT_T2H_MSG_TYPE_PPDU_STATS_IND without
pkt log enable.

Tested with QCA6390 PCIe with firmware
WLAN.HST.1.0.1-01230-QCAHSTSWPLZ_V2_TO_X86-1.

Change-Id: I5df4702f1fe9720c75a7b7f987a7b8a5bff21a30
Signed-off-by: Wen Gong <email address hidden>
(cherry picked from
https://source.codeaurora.org/external/sba/wlan_patches/plain/QCA6390_ath11k/M1/0074-ath11k-enable-pkt-log-default-for-QCA6390.patch?id=89ba3eeb8abca0e0be1cc7d6fa9cf04a0569ca6a)
Signed-off-by: You-Sheng Yang <email address hidden>

0b258cf... by Wen Gong <email address hidden>

UBUNTU: SAUCE: ath11k: add regdb.bin download for regdb offload

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

Add download regdb.bin before board data file to firmware, regdb.bin
will updated frequently according to regdomain update.

Tested with QCA6390 PCIe with firmware
WLAN.HST.1.0.1-01230-QCAHSTSWPLZ_V2_TO_X86-1.

Change-Id: I6592d6997d96beb4d9665c9f2e118fa3a811c691
Signed-off-by: Wen Gong <email address hidden>
(cherry picked from
https://source.codeaurora.org/external/sba/wlan_patches/plain/QCA6390_ath11k/M1/0073-ath11k-add-regdb.bin-download-for-regdb-offload.patch?id=89ba3eeb8abca0e0be1cc7d6fa9cf04a0569ca6a)
Signed-off-by: You-Sheng Yang <email address hidden>

568bdd5... by Wen Gong <email address hidden>

UBUNTU: SAUCE: ath11k: [fix conflict in core.h] add mutex to protected 11d scan

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

When send more than 1 time of 11d scan start to firmware without 11d
scan stop, firmware will crash. Add mutex to protected ath11k's
vdev_id_11d_scan.

Tested with QCA6390 PCIe with firmware
WLAN.HST.1.0.1-01230-QCAHSTSWPLZ_V2_TO_X86-1.

Change-Id: Ie007e5bcdaf0a19ca1641e4b08f159bbc1faa7d0
Signed-off-by: Wen Gong <email address hidden>
(cherry picked from
https://source.codeaurora.org/external/sba/wlan_patches/plain/QCA6390_ath11k/M1/0072-ath11k-fix-conflict-in-core.h-add-mutex-to-protected.patch?id=89ba3eeb8abca0e0be1cc7d6fa9cf04a0569ca6a)
Signed-off-by: You-Sheng Yang <email address hidden>

3a58ac4... by Wen Gong <email address hidden>

UBUNTU: SAUCE: ath11k: add 11d scan offload support

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

Add handler for WMI_11D_NEW_COUNTRY_EVENTID, WMI_11D_SCAN_START_CMDID,
WMI_11D_SCAN_STOP_CMDI.

Tested with QCA6390 PCIe with firmware
WLAN.HST.1.0.1-01230-QCAHSTSWPLZ_V2_TO_X86-1.

Change-Id: Iea35bd48b68296c69422e02cf58732d049a78485
Signed-off-by: Wen Gong <email address hidden>
(cherry picked from
https://source.codeaurora.org/external/sba/wlan_patches/plain/QCA6390_ath11k/M1/0071-ath11k-add-11d-scan-offload-support.patch?id=89ba3eeb8abca0e0be1cc7d6fa9cf04a0569ca6a)
Signed-off-by: You-Sheng Yang <email address hidden>

a75c033... by Wen Gong <email address hidden>

UBUNTU: SAUCE: ath11k: add handler for WMI_SET_CURRENT_COUNTRY_CMDID

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

For the NL80211_REGDOM_SET_BY_USER hint from cfg80211, it set the new
alpha2 to ath11k, for AP based platforms, WMI_SET_INIT_COUNTRY_CMDID
is used to send to firmware, for STA platforms, it use another wmi
WMI_SET_CURRENT_COUNTRY_CMDID.

Tested with QCA6390 PCIe with firmware
WLAN.HST.1.0.1-01230-QCAHSTSWPLZ_V2_TO_X86-1.

Change-Id: Iaf9e5713ec417b7d999f217321f437d0d44a3192
Signed-off-by: Wen Gong <email address hidden>
(cherry picked from
https://source.codeaurora.org/external/sba/wlan_patches/plain/QCA6390_ath11k/M1/0070-ath11k-add-handler-for-WMI_SET_CURRENT_COUNTRY_CMDID.patch?id=89ba3eeb8abca0e0be1cc7d6fa9cf04a0569ca6a)
Signed-off-by: You-Sheng Yang <email address hidden>