Commit graph

18,577 commits

Author SHA1 Message Date
Nirav Shah
eaa8a1fefd qcacld-3.0: Enable Shadow register from PCIe block in QCN7605
QCN7605 has 2 set of shadow registers, WCSS block and PCIe block.
As PCIe shadow register are at power domain boundary, enabling
PCIe shadow register for QCN7605.
Also PCIe shadow register falls below 512KB, no need to use register
windowing which is required to get it access from IPA FW.

Change-Id: Ic0bbc2de4c3e32c4fb6453d273f0f29d19f3537c
CRs-Fixed: 2623851
2020-02-21 03:13:38 -08:00
nshrivas
3ca2a813e8 Release 5.2.0.172G
Release 5.2.0.172G

Change-Id: I95232c502c6abe32bd59f2845713c6e75ab07a68
CRs-Fixed: 774533
2020-02-21 01:44:59 -08:00
Surabhi Vishnoi
492308b08f qcacld-3.0: Add ini for FTM time sync component
Add ini config required for FTM time sync feature.

"enable_time_sync_ftm"- ini to enable/disable the feature.

"time_sync_ftm_mode" - ini to configure the burst/aggregated mode.
In burst mode the offset derived for each RTT frame is sent by
firmware, in aggregated mode only one offset is sent by firmware.

"time_sync_ftm_role" - ini to configure slave(STA)/master(SAP) role.

Change-Id: I6a06d6fdc4c7556c32ab2d28f1cbaa936b98a85b
CRs-Fixed: 2618654
2020-02-21 01:44:59 -08:00
nshrivas
639c7cc44a Release 5.2.0.172F
Release 5.2.0.172F

Change-Id: I686af02de2b1c0c4458133b372382580f640d095
CRs-Fixed: 774533
2020-02-20 21:35:41 -08:00
Liangwei Dong
9462dd670d qcacld-3.0: Fix incorrect channel change event
The ch_params of sap_ctx->csr_roamProfile is not populated
correctly during SAP channel switching.
Fix it and send channel change event to supplicant with
correct seg0/seg1 value.

Change-Id: I7ef82c6e79b970edfee58d9960e8c6b42fa91ef8
CRs-Fixed: 2594973
2020-02-20 21:35:41 -08:00
nshrivas
81a89c63c2 Release 5.2.0.172E
Release 5.2.0.172E

Change-Id: Idd77295bf1db31be0f7c28ad8b10f48a46b89df8
CRs-Fixed: 774533
2020-02-20 19:40:19 -08:00
Jeff Johnson
0ab57fee82 qcacld-3.0: Put a wrapper around wireless_send_event()
Function wireless_send_event() is only present in the kernel when
wireless extensions are enabled. In order to allow the driver to build
when wireless extensions are disabled, put a wrapper around that
function.

Note that this is only a partial solution to the problem since this
means that when wireless extensions are disabled that the event will
not be sent to userspace. A subsequent effort will need to evaluate
each event to see if a cfg80211-based notification mechanism is
already in place, and if not, if one needs to be added in order to
maintain the underlying functionality.

Change-Id: Icbdddf6735bdc5ffd1ee189b5fabfa67fcce59ea
CRs-Fixed: 2621699
2020-02-20 19:40:19 -08:00
Jeff Johnson
9453a8fc58 qcacld-3.0: Refactor wireless_handlers NULLing logic
Currently there is logic to set the net device wireless_handlers
pointer to NULL in both hdd_deinit_station_mode() and
hdd_deinit_ap_mode(). This is unnecessary duplication of code, and
worse, this is WEXT-specific logic that exists outside the
WEXT-specific source files. In order to address these issues refactor
the logic into a new function that is exposed by wlan_hdd_wext.h.

Change-Id: I0fab5a7f35941f282ddf2e286fb12bfb8c4c7c50
CRs-Fixed: 2620818
2020-02-20 19:39:57 -08:00
nshrivas
78acc21493 Release 5.2.0.172D
Release 5.2.0.172D

Change-Id: I3a4ab35cca0495acac6baa84a2970ee4093ee737
CRs-Fixed: 774533
2020-02-20 16:23:51 -08:00
Sourav Mohapatra
0d409ac1f0 qcacld-3.0: Add proper NULL check in wma_link_status_event_handler
Add proper NULL check for ht_info before accessing the structure. This
field is sent as a part of the event from FW and could be NULL.

Change-Id: I55dd7dcbe4ecdafe6a97ebcf2c7d9f08af30d8a2
CRs-Fixed: 2615175
2020-02-20 16:23:50 -08:00
Dundi Raviteja
56eec3d519 qcacld-3.0: Remove packet capture ini's in cds
Remove packet capture ini's in cds.

Change-Id: Ice4765c7eb697743b1dccc8a70be1b7ce766e037
CRs-Fixed: 2619322
2020-02-20 16:23:37 -08:00
Vulupala Shashank Reddy
4affa222c9 qcacld-3.0: Register tx and rx ops for packet capture component
Register tx and rx ops to send packet capture mode command and
to receive mgmt offload handler for packet capture component.

Change-Id: I70da00feff29399b98c5916eec17e26b62285db3
CRs-Fixed: 2619321
2020-02-20 16:23:28 -08:00
nshrivas
f07589a517 Release 5.2.0.172C
Release 5.2.0.172C

Change-Id: Ic9f914296c2e96c9a56960de77d0f639fd6542ed
CRs-Fixed: 774533
2020-02-20 12:24:29 -08:00
Pragaspathi Thilagaraj
741b279e55 qcacld-3.0: Populate correct channel to filter rrm scan result
The host driver start scan request on channels in the operating
class requested in the beacon report request. Starting from first
channel all channels are scanned one after another. The scan
request is sent in correct order of the channels in operating
class, but when filtering the scan results from the scan db, the
channel freqency is not indexed properly so first channel is sent
to the filter always. Due to this, always beacon report response
has only entries from first channel from the OP class.

Populate the correct channel frequency to filter the rrm scan
result.

Change-Id: I75461a4da99be9ef215f8c16258e0e21877fe362
CRs-Fixed: 2619363
2020-02-20 12:24:29 -08:00
nshrivas
4e1ca043ce Release 5.2.0.172B
Release 5.2.0.172B

Change-Id: Ic6ce7ee86bb6fe8b762727d6af92916deccafc84
CRs-Fixed: 774533
2020-02-20 06:39:07 -08:00
Manjunathappa Prakash
fa1ec29f1d qcacld-3.0: Get the required FISA TLVs back in fisa handling
FISA handling requires additional TLVs. dp_rx core handling
skips TLVs, recover back TLVs in FISA.

Change-Id: I6a4cbb91415facabae04e11d323b29673a7eade4
CRs-Fixed: 2618478
2020-02-20 06:39:07 -08:00
nshrivas
96fd066295 Release 5.2.0.172A
Release 5.2.0.172A

Change-Id: I37c85bd2c3839963fae14e1ea0c96a232cf09a6f
CRs-Fixed: 774533
2020-02-20 04:51:04 -08:00
Jingxiang Ge
ad6337f2b0 qcacld-3.0: Fix spin_lock deadlock issue for resume/wakeup
If resume and fw wakeup happens at the same time.
psoc_ctx->lock maybe doing bottom half operation for resume,
then wakeup interrupt comes on same cpu, the interrupt
handler will also acquire psoc_ctx->lock in
pmo_core_update_wow_initial_wake_up, which cause dead lock.

Using atomic for wow_initial_wake_up, so the interrupt handler
can avoid using spin_lock.

Change-Id: Id0e963a0924415e9660c57a1c1b776d3e609213d
CRs-Fixed: 2624899
2020-02-20 04:51:04 -08:00
Dundi Raviteja
9465ea0c01 qcacld-3.0: Add WMI EVENT handler for offloaded mgmt data
Register event handler for WMI_VDEV_MGMT_OFFLOAD_DATA_EVENTID
to handle offloaded management data.

Change-Id: I340d79b08f8453425092f4582059f184e0dfb625
CRs-Fixed: 2619319
2020-02-20 04:50:41 -08:00
Rakesh Pillai
adb5939c5a qcacld-3.0: Enable hal soc stats for lithium target
Enable the collection of hal stats for
lithium based targets.

Change-Id: Ibe2610b59ddc5c33d47925d6fc4d98b1a45e7050
CRs-Fixed: 2623835
2020-02-20 04:50:24 -08:00
nshrivas
9c5572c1b7 Release 5.2.0.172
Release 5.2.0.172

Change-Id: I18832c207f4b5337fa3689ed793ff23d64d65670
CRs-Fixed: 774533
2020-02-20 01:08:01 -08:00
gaurank kathpalia
f3d64f7ffa qcacld-3.0: Add support for NAN msg in kmsg
Add support for the following NAN messages in kmsg:-
1. NAN enable status
2. NAN, NDP match events
3. NDP channel info.
etc.

Change-Id: Icbf8f4ed05a7bd181a076d526dd2e01d70be6b05
CRs-Fixed: 2618835
2020-02-20 01:08:01 -08:00
Amruta Kulkarni
c537985832 qcacld-3.0: Set correct PPE Thresholds in HE Cap IE
In 6ghz, while sending broadcast/unicast probe req and assoc req
host should set correct values for PPE Thresholds in HE Cap IE

Change-Id: I1ec2d628dcc221a3c222882fd11419a656448dd0
CRs-Fixed: 2619289
2020-02-20 01:07:36 -08:00
nshrivas
aef431d82a Release 5.2.0.171Z
Release 5.2.0.171Z

Change-Id: Ic0ae3c29a5d9efe095e18a0405932216a9bdeeb3
CRs-Fixed: 774533
2020-02-19 23:40:19 -08:00
Zhang Qian
2b120fafb7 qcacld-3.0: Clear CONFIG_CLD_HL_SDIO_CORE
Disable CONFIG_CLD_HL_SDIO when CONFIG_ROME_IF is snoc.

Change-Id: I46b24782bf5a9d8cf2fbd63d633963f80c149e03
CRs-Fixed: 2624588
2020-02-19 23:40:19 -08:00
nshrivas
b158689678 Release 5.2.0.171Y
Release 5.2.0.171Y

Change-Id: Id977cc1b116305773c9efaac70c42c13f8168542
CRs-Fixed: 774533
2020-02-19 17:27:01 -08:00
Vevek Venkatesan
e8723d77a2 qcacld-3.0: enable SMMU S1 and METERING Features in IPA
Enable SMMU_S1 and METERING Features in IPA for all the
Helium based Adrastea targets, by default.

Change-Id: I2cefe6f137415f22f2005a1c6f2d29d23fe08fea
CRs-Fixed: 2624096
2020-02-19 17:27:01 -08:00
nshrivas
fe0ec61a5d Release 5.2.0.171X
Release 5.2.0.171X

Change-Id: I32fa1b941406afe95780a0bf51fc71b02c1047c5
CRs-Fixed: 774533
2020-02-19 14:50:40 -08:00
Liangwei Dong
f527bef80e qcacld-3.0: Get 160 BW related HE Caps IE from 5G MAC's HE Caps
5G 160M related HE Phy Caps comes from 5G MAC's HE Caps.
Change csr_revise_req_he_cap_per_band API to override the caps
with 5G MAC Caps if STA or SAP starts on non-2G channel.

Change-Id: I250385a64fdb4e043d150ed4e29cd07d10d00880
CRs-Fixed: 2620815
2020-02-19 14:50:40 -08:00
nshrivas
974e1f92d4 Release 5.2.0.171W
Release 5.2.0.171W

Change-Id: Idb77ef2ec5d77ad8b0922b7323f0edfb264ef242
CRs-Fixed: 774533
2020-02-19 12:53:53 -08:00
Ashish Kumar Dhanotiya
ad50c37877 qcacld-3.0: Update bit position of the supp mode in sta info
Currently there is no bit reserved to indicate the support
for 11bg/11abg 802.11 mode.
As per new requirement update the meaning of bit positions
in sta info structure to indicate all the required mode
information.

Change-Id: I37e72442f512020c25fec3ca66fb6facb50f92f2
CRs-Fixed: 2623453
2020-02-19 12:53:53 -08:00
Ashish Kumar Dhanotiya
ab0666a1bd qcacld-3.0: Reduce regulatory logging
As part of logging optimization, reduce the
logging from regulatory.

Change-Id: I5f8e5e752370db98ff7ffd935acc17d017f56e04
CRs-Fixed: 2623898
2020-02-19 12:53:39 -08:00
nshrivas
77573adcd9 Release 5.2.0.171V
Release 5.2.0.171V

Change-Id: I981cea3be4ee7e911d5bfb438cbb1894bcdefd90
CRs-Fixed: 774533
2020-02-19 11:31:05 -08:00
Amruta Kulkarni
1967ff92ff qcacld-3.0: Log enhancement for policy mgr
Enhance logs in policy mgr module to remove duplicate
or unwanted prints and keep only useful logs to debug.

Change-Id: Ifd585256955aceec29286d82838be0c588228c32
CRs-Fixed: 2614763
2020-02-19 11:31:04 -08:00
nshrivas
ac031354a0 Release 5.2.0.171U
Release 5.2.0.171U

Change-Id: I2643081b21f286f3e95dee5deb07701d04e4954a
CRs-Fixed: 774533
2020-02-19 08:43:11 -08:00
Dundi Raviteja
4a89130e93 qcacld-3.0: Process Mgmt Tx and Rx frames for pktcapture mode
Process management Tx and Rx frames for packet capture mode
and post frames to the mon thread.

Change-Id: I14c0a1cf8a8aa4d4a4e16ad6200715b875611c81
CRs-Fixed: 2619317
2020-02-19 08:43:11 -08:00
nshrivas
e146dd6013 Release 5.2.0.171T
Release 5.2.0.171T

Change-Id: I952a8ce49d5e0a44aaa594e85a011a8224530c75
CRs-Fixed: 774533
2020-02-19 06:23:46 -08:00
Vulupala Shashank Reddy
5a60cebf6d qcacld-3.0: Send vdev param command to set pkt capture mode
Send vdev param command to FW for STA vdev to set the packet
capture mode. Send the command only if packet capture support
is enabled.

Change-Id: Ifed2431882b1f7d2869771e812daa5bcd5dc17e9
CRs-Fixed: 2619314
2020-02-19 06:23:46 -08:00
gaurank kathpalia
26f0276d8a qcacld-3.0: Combine and print channel for ACS and roam channels
Combine and print channel for ACS and roam channels, instead
of printing one channel at a time.

Change-Id: I398678e1843849bdf4f4c72f0315c626c97438a6
CRs-Fixed: 2623805
2020-02-19 06:23:25 -08:00
nshrivas
00726c641e Release 5.2.0.171S
Release 5.2.0.171S

Change-Id: Id15de4f068a282e159f2b0508d324748776ad478
CRs-Fixed: 774533
2020-02-19 03:33:20 -08:00
Manjunathappa Prakash
b1c5012090 qcacld-3.0: Update vdev in fisa_flow to takecare vdev change
Fisa flow in FT still exists even after vdev teardown. Same vdev
type is reinitialized with different vdev pointer.
So take care to update the fisa_flow vdev with current vdev.

Change-Id: Ib52c6d1ea5354532a42fd0065db740c96d78ebc6
CRs-Fixed: 2621691
2020-02-19 03:33:20 -08:00
Pragaspathi Thilagaraj
21f7c0c06f qcacld-3.0: Refactor 11kv logging
Add BTM Query/Request prefix for BTM debug prints and Neighbor
Req/Resp prefix for Neighbor report logging. If the time
received from the firmware is zero, it implies AP has not sent
the response for the neighbor req/btm query. So log this info
as well. When channel count is zero, log that no channel update
from AP.

Refactor 11kv logging for more details.

Change-Id: I10bb731ce410215eb48322a2f8ad9ed8723e5270
CRs-Fixed: 2623418
2020-02-19 03:33:02 -08:00
nshrivas
3b30f46791 Release 5.2.0.171R
Release 5.2.0.171R

Change-Id: I9d06727af2cb4e9b77ed345e6c77352d0d8279bc
CRs-Fixed: 774533
2020-02-18 10:45:02 -08:00
gaurank kathpalia
29aa34ddea qcacld-3.0: Disconnect after roam fails in NUD fail case
Extend ini value to disconnect from current AP
if roam failure happens after the NUD failure.

Change-Id: Id764c97b5c1748b1d513d85d4063868a1c77141b
CRs-Fixed: 2622087
2020-02-18 10:45:01 -08:00
nshrivas
8f5b9fbe84 Release 5.2.0.171Q
Release 5.2.0.171Q

Change-Id: Ieba1f83397f211380f38433ae2f645d71ceb8b5a
CRs-Fixed: 774533
2020-02-18 04:52:20 -08:00
Abhishek Singh
c332b3eba0 qcacld-3.0: Optimize CSA logs for SAP and STA
Optimize CSA logs for SAP and STA.

Change-Id: I1bd00821a2b8cbc41d530eda1aba1e7ecdd9cb7b
CRs-Fixed: 2623007
2020-02-18 04:52:20 -08:00
nshrivas
57a0dcfc5c Release 5.2.0.171P
Release 5.2.0.171P

Change-Id: I9d90945f12f60bd6a885cd1cc5244121c7b79090
CRs-Fixed: 774533
2020-02-18 03:27:32 -08:00
gaurank kathpalia
40e1f995bd qcacld-3.0: Fix log in lim_log_he_op
Fix logs in lim_log_he_op.

Change-Id: Ia41f0c674d15b6f0c412b8def2e813f03b3edce9
CRs-Fixed: 2623267
2020-02-18 03:27:32 -08:00
nshrivas
574365e6df Release 5.2.0.171O
Release 5.2.0.171O

Change-Id: Ib7987ea46d29ecbdcaf52bc40368ee893db4bbd0
CRs-Fixed: 774533
2020-02-18 01:53:50 -08:00
Abhishek Singh
6d5bac846a qcacld-3.0: Optimize logs in STA disconnect path
Optimize logs in STA disconnect path

Change-Id: I3534f3ab89ebbdd919c02120328013e42d2894f4
CRs-Fixed: 2623124
2020-02-18 01:53:50 -08:00