cb9f351...
by
You-Sheng Yang
on 2020-06-04
Bug 1879633 : Support Qualcomm ath11k network adapter
4a9c105...
by
You-Sheng Yang
on 2020-06-04
UBUNTU: [Config] enable configs for ath11k
BugLink: https:/ /bugs.launchpad .net/bugs/ 1879633
Signed-off-by: You-Sheng Yang <email address hidden>
43bee26...
by
Carl Huang <email address hidden>
on 2020-04-24
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: I0585b9cbf38223 12223747877dccf f45879a5ccd
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= 89ba3eeb8abca0e 0be1cc7d6fa9cf0 4a0569ca6a )
Signed-off-by: You-Sheng Yang <email address hidden>
83c9b22...
by
Wen Gong <email address hidden>
on 2020-03-06
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: I9c1860a361b4f5 aa33500a8c82209 ed9cf1bb2af
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= 89ba3eeb8abca0e 0be1cc7d6fa9cf0 4a0569ca6a )
Signed-off-by: You-Sheng Yang <email address hidden>
291b289...
by
Wen Gong <email address hidden>
on 2020-04-10
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: I5df4702f1fe972 0c75a7b7f987a7b 8a5bff21a30
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= 89ba3eeb8abca0e 0be1cc7d6fa9cf0 4a0569ca6a )
Signed-off-by: You-Sheng Yang <email address hidden>
dee4783...
by
Wen Gong <email address hidden>
on 2020-03-27
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: I6592d6997d96be b4d9665c9f2e118 fa3a811c691
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= 89ba3eeb8abca0e 0be1cc7d6fa9cf0 4a0569ca6a )
Signed-off-by: You-Sheng Yang <email address hidden>
a0cdab5...
by
Wen Gong <email address hidden>
on 2020-03-26
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: Ie007e5bcdaf0a1 9ca1641e4b08f15 9bbc1faa7d0
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= 89ba3eeb8abca0e 0be1cc7d6fa9cf0 4a0569ca6a )
Signed-off-by: You-Sheng Yang <email address hidden>
2640652...
by
Wen Gong <email address hidden>
on 2020-03-26
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: Iea35bd48b68296 c69422e02cf5873 2d049a78485
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= 89ba3eeb8abca0e 0be1cc7d6fa9cf0 4a0569ca6a )
Signed-off-by: You-Sheng Yang <email address hidden>
1bbfee9...
by
Wen Gong <email address hidden>
on 2020-03-24
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: Iaf9e5713ec417b 7d999f217321f43 7d0d44a3192
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=89ba3eeb8abc a0e0be1cc7d6fa9 cf04a0569ca6a )
Signed-off-by: You-Sheng Yang <email address hidden>
c07dfc9...
by
Wen Gong <email address hidden>
on 2020-03-05
UBUNTU: SAUCE: ath11k: skip sending vdev down for channel switch
BugLink: https:/ /bugs.launchpad .net/bugs/ 1879633
The host driver currently sends vdev down to the firmware
before updating the channel context, which is followed by
a vdev restart command.
Sending vdev down is not required before sending a vdev
restart as the firmware internally does vdev down, when the
host sends a vdev restart command.
Hence skip the vdev down command sending when updating
the channel context.
Tested with QCA6390 PCIe with firmware
WLAN.HST. 1.0.1-01230- QCAHSTSWPLZ_ V2_TO_X86- 1.
Change-Id: I7ae15b65f9cd8b 28a90b464498a88 444dcaea536
Signed-off-by: Wen Gong <email address hidden>
(cherry picked from
https:/ /source. codeaurora. org/external/ sba/wlan_ patches/ plain/QCA6390_ ath11k/ M1/0069- ath11k- skip-sending- vdev-down- for-channel- switch. patch?id= 89ba3eeb8abca0e 0be1cc7d6fa9cf0 4a0569ca6a )
Signed-off-by: You-Sheng Yang <email address hidden>