Commit Graph

16510 Commits

Author SHA1 Message Date
nshrivas
a519b8be94 Release 5.2.0.141O
Release 5.2.0.141O

Change-Id: I24701865c157f80e0e110df481904cef18c1dc00
CRs-Fixed: 774533
2019-07-30 07:58:06 -07:00
jiad
b5d9cdb0ff qcacld-3.0: Support CNSS2 as dlkm
Support CNSS2 as kernel dynamic loadable module.

Change-Id: I2d341de8d7a1f23dbd9074b41606b59f64dbfa9b
CRs-Fixed: 2498780
2019-07-30 07:58:06 -07:00
nshrivas
46cabec27c Release 5.2.0.141N
Release 5.2.0.141N

Change-Id: Ib13a7c6b36eb45676ca0452ad98e71fc188bae00
CRs-Fixed: 774533
2019-07-30 02:43:47 -07:00
Alok Kumar
d6de641aa6 qcacld-3.0: Remove work create for peer_unmap_timer_handler
This is revert of Change-Id: I9a9554ef0aa9288bf5abe22cd2513d8cc41c29d4

When peer_unmap_timer_handler runs for multiple peers, same work
is INITed for multiple peers as this work is not per peer based.
This will update the work param i.e. peer gets updated each time,
which leads in deletion of wrong peer.

Remove the work INIT and scheduling of "peer_unmap_timer_work_function"
as cds_trigger_recover() has already taken care of atomic context.

Change-Id: Ida0a50f27cfe4c08763b359dab51c82e757ec100
CRs-Fixed: 2498498
2019-07-30 02:43:47 -07:00
nshrivas
c04843276d Release 5.2.0.141M
Release 5.2.0.141M

Change-Id: I72ac1424ac92d502ebd96b7b07f47b55ae1e669f
CRs-Fixed: 774533
2019-07-29 20:10:58 -07:00
Manikandan Mohan
4e66c9a73a qcacld-3.0: Move NAN cfg params init to PSOC open
NAN config param initialization from CFG component is done
during PSOC object created notification. But as per component
design it must be done at psoc open to avoid CFG component
not initialized case. Thus update nan component to reorganize
NAN cfg params init.

Change-Id: I9636b527b796202e55a57c28d604795a705de026
CRs-fixed: 2489286
2019-07-29 20:10:58 -07:00
nshrivas
2fa572f8ff Release 5.2.0.141L
Release 5.2.0.141L

Change-Id: I62e3203b1516f470121ab8ef82f071a1dcce1ad4
CRs-Fixed: 774533
2019-07-29 13:46:43 -07:00
wadesong
59e727ce43 qcacld-3.0: Add channel frequency into struct hdd_mon_set_ch_info
Add channel frequency(freq) into struct hdd_mon_set_ch_info and
populate its value where channel in the same structure is
populated.

Remove a few camel cases detected by checkpatch.

Change-Id: I5f0d64a88c054476739bc06887bffd37238b10fc
CRs-Fixed: 2496707
2019-07-29 13:46:42 -07:00
nshrivas
5affbce271 Release 5.2.0.141K
Release 5.2.0.141K

Change-Id: I7e47089d760368190922e337ef01e3a23cb61441
CRs-Fixed: 774533
2019-07-29 11:23:07 -07:00
Arun Kumar Khandavalli
88709de4cb qcacld-3.0: Create lim session for monitor mode for legacy targets
For the latest chipsets because of architecture change the
lim session for monitor mode is not required but for the
older chipsets using the mainline the lim session has to be created.
If the session is not created the channel setting to capture
the packets on the monitor interface fails.

Create the monitor session in lim for older targets.

Change-Id: Ide44201e91c2d92cddff66f563898015f9e28ca7
CRs-Fixed: 2498775
2019-07-29 11:23:06 -07:00
Ashish Kumar Dhanotiya
64b3fa9645 qcacld-3.0: Fix memory leak in driver dump
Currently when driver gets a command to dump the
driver info, it allocates the memory and retrieves
the information in that allocated memory. Maximum data
that can be copied to user space buffer is equal to
one PAGE_SIZE. In the command driver gets the size of
the data which user space wants to read, minimum of the
user space requested size or one PAGE_SIZE of the data
is copied to user space buffer and current position of
the driver buffer till which the data is copied is
updated to user space is also updated.

Driver copies the retrieved information to the user
space buffer as explained above and updates the position
pointer to the user space. In the next request driver
expects from user space to request the remaining data
from the updated position in last request, once all the
data is copied to user space, driver frees internally
allocated memory.

In case if driver does not get the request to read
remaining data after first request, it does not free
the memory. Current handling of this memory is done
in init domain after stop modules, but since this
memory is allocated in active domain, driver should free
the memory in active domain.
Since with current implementation memory allocated in
active domain is not freed in active domain, memleak is
getting detected.

To resolve above issue, move mem cleanup logic for
driver dump info command from init domain to active domain in stop
modules.

Change-Id: Idb4f35f0a599ad55eebe13348b68562fa401fd7e
CRs-Fixed: 2489877
2019-07-29 11:23:03 -07:00
nshrivas
9ec20d3e85 Release 5.2.0.141J
Release 5.2.0.141J

Change-Id: I20f4a332cf2286164f89c426a241872baa1ab5c4
CRs-Fixed: 774533
2019-07-29 09:55:32 -07:00
hqu
ed450ee3ec qcacld-3.0: Replace operationChannel for tagCsrRoamConnectedProfile
Replace operationChannel with op_freq for tagCsrRoamConnectedProfile
in files:
csr_api_roam.c
csr_api_scan.c
csr_neighbor_roam.c

Change-Id: Ibb8df79ed7ed4c837e569a7e320a705bbcf522e4
CRs-Fixed: 2497121
2019-07-29 09:55:32 -07:00
hqu
ea4d062c37 qcacld-3.0: Replace operationChannel for tagCsrRoamConnectedProfile
Replace operationChannel with op_freq for tagCsrRoamConnectedProfile
in files:
sme_api.c
csr_util.c
sme_qos.c
wlan_hdd_assoc.c

Change-Id: I299faea16b4ef2f058f1e9d1d5840b6b849ac95a
CRs-Fixed: 2497676
2019-07-29 09:55:28 -07:00
Min Liu
00956e8408 qcacld-3.0: Replace channel with freq in hdd_context
Replacing channel with freq in the following structures:

hdd_context: last_acs_channel_list -> last_acs_freq_list
sap_context: channelList -> freq_list
sap_acs_scan_complete_event: channellist -> freq_list

Change-Id: If04ba42831b5134952e0d71a18b207d0a6f3c5b2
CRs-Fixed: 2497615
2019-07-29 09:55:25 -07:00
nshrivas
81a5f427b2 Release 5.2.0.141I
Release 5.2.0.141I

Change-Id: I5889460896e2082499f7c02414ba68c6f5a67f33
CRs-Fixed: 774533
2019-07-29 06:29:33 -07:00
Rakshith Suresh Patkar
7d24ef494c qcacld-3.0: Enable SMMU S1 TRANSLATION for SM7150
Enable SMMU S1 TRANSLATION flag for SM7150

Change-Id: I5ad9b7fec096897b45e9297e42cb31ce3a204d0a
CRs-Fixed: 2425317
2019-07-29 06:29:32 -07:00
nshrivas
955b9dcc57 Release 5.2.0.141H
Release 5.2.0.141H

Change-Id: I8f1a7d4c8b6b59e5bdad4c7f0920665a0dba5255
CRs-Fixed: 774533
2019-07-28 23:45:53 -07:00
Wu Gao
e73c388139 qcacld-3.0: Enable log of direct buffer rx and spectral component
Set default log level mask for direct buffer rx and spectral comonent.

Change-Id: Idc74b0ec194954e08cce286a92e8b7a16d944178
CRs-Fixed: 2495231
2019-07-28 23:45:52 -07:00
nshrivas
039ec36e8d Release 5.2.0.141G
Release 5.2.0.141G

Change-Id: If4b77a6ed2bbebf071ace53216a1004a6636f50a
CRs-Fixed: 774533
2019-07-27 18:21:18 -07:00
hqu
7f10f558c4 qcacld-3.0: Define ext_vdev_ptr and ext_pdev_ptr with specific type
Define ext_vdev_ptr and ext_pdev_ptr with specific type, remove void
pointer usage for part of mlme code.

Change-Id: Ie71d59386224e4671bdae071aa7425a998d5e242
CRs-Fixed: 2488192
2019-07-27 18:21:17 -07:00
nshrivas
79f37e4573 Release 5.2.0.141F
Release 5.2.0.141F

Change-Id: I038b8592123cf95a9340bf36b7ba1deaeb875a54
CRs-Fixed: 774533
2019-07-27 13:42:14 -07:00
hqu
28f68df635 qcacld-3.0: Remove void pointer usage for part of DP code
Add code to use cdp_vdev instead of void pointer for
txrx_vdev and ol_tx_data.

Change-Id: I3d3b7cc8012981a7c883c8113d88fa387711d41e
CRs-Fixed: 2483388
2019-07-27 13:42:14 -07:00
nshrivas
ef4989b455 Release 5.2.0.141E
Release 5.2.0.141E

Change-Id: I4202f89d761dd28919af864fa88fb70046e089e0
CRs-Fixed: 774533
2019-07-27 09:53:18 -07:00
Jianmin Zhu
1ccdbccccc qcacld-3.0: Enable special 4 ports dual AGO plus dual STA
Enable following special 4 ports concurrency for HST:

(AGO+STA)(2.4G MAC SCC)+(AGO+STA)(5G MAC SCC).

Change-Id: I3bef824c5296a1c7b2f644abc24009463d8b2864
CRs-Fixed: 2496121
2019-07-27 09:53:17 -07:00
nshrivas
293b452619 Release 5.2.0.141D
Release 5.2.0.141D

Change-Id: I0b99d1473d8759f60c17d88f081a49f75715e36d
CRs-Fixed: 774533
2019-07-26 21:21:24 -07:00
Alan Chen
7d331618cd qcacld-3.0: Remove unit-test framework for Lithium
Do not enable unit-test framework by default for all Lithium
targets. Unit-test framework should only be enabled in debug builds.

Change-Id: I709d13ebb35302787377c8f36a8db0f04c2e794e
CRs-Fixed: 2498069
2019-07-26 21:21:23 -07:00
Jeff Johnson
8e9b88529a qcacld-3.0: Remove obsolete bExplicitCfg bitmap
The bExplicitCfg bitmap in struct hdd_config was originally used to
track which INI items had been explicitly configured from the INI
file. But now that the INI processing is distributed this bitmap is no
longer used, so remove it.

Change-Id: I101ffa82b3309209cdc2eea954d1467b68b6138d
CRs-Fixed: 2496393
2019-07-26 21:21:19 -07:00
nshrivas
006aac1f44 Release 5.2.0.141C
Release 5.2.0.141C

Change-Id: I74f05c17a9845e40d6187e1fb8e8d7c833984a85
CRs-Fixed: 774533
2019-07-26 20:10:00 -07:00
Jia Ding
70deca7f3b qcacld-3.0: Check IPA RX bridge device terminated
On MDM platform, low throughput is observed for SAP RX
terminated scenario. In case of SAP, SAP device itself
is added as a slave to the bridge device, which acts as
a router device.

For SAP RX terminated scenario, destination MAC address
of RX packets is the bridge device. However for WDI 3.0,
WLAN IPA has to check if destination MAC is a valid peer
for SAP intra-bss forwarding.

Currently in intra-bss forwarding, dp_find_peer_by_addr()
is used to look up if destination MAC address is a valid
peer. Issue is that in dp_find_peer_by_addr() peer
spinlock is grabbed via qdf_spin_lock_bh. IPA RX is in
process context and qdf_spin_lock_bh turns to spin_lock_bh,
which hurts netif_rx badly.

Fix is to check if RX packet is bridge device terminated
in IPA component module so as to bypass intra-bss
forwarding logic and to make the RX path BH lockless.

Note that if there's a BH lockless API to check if
destination MAC address is a valid peer, this check will
not be necessary.

Change-Id: I00fca3e75ae55ae1d2f591fddd00e49dfb634c5c
CRs-Fixed: 2494442
2019-07-26 20:09:59 -07:00
nshrivas
d8b0be110b Release 5.2.0.141B
Release 5.2.0.141B

Change-Id: I20a50ed6412c2ff54eea3baa40ff318f888fd30d
CRs-Fixed: 774533
2019-07-26 18:21:47 -07:00
hqu
ff302a9f4a qcacld-3.0: Define void * data members of cp_stats with specific type
Define void * data members of cp_stats with specific type, remove void
pointer usage for part of cp stats code.

Change-Id: Iace37c0a546909b865d5185830a2e02b5b39b7d8
CRs-Fixed: 2492544
2019-07-26 18:21:46 -07:00
nshrivas
0cc5aa05e9 Release 5.2.0.141A
Release 5.2.0.141A

Change-Id: I8b3b71380e8e8f2b9ed0765a4fbc30256f6041ea
CRs-Fixed: 774533
2019-07-26 17:03:43 -07:00
Varuneshwar Petlozu
dbe255ce1e qcacld-3.0: Stop the psoc idle timer during the con mode change
During con mode change the driver will perform pld idle shutdown
and restart and if the interface change timer is running which
results in duplicate of idle stop queueing.

To resolve this, add psoc idle timer stop during the con mode change.

Change-Id: I7befefd2cb996d6b3e0b4ee92ecb15e615d33e30
CRs-Fixed: 2491208
2019-07-26 17:03:43 -07:00
gaurank kathpalia
e8369890b1 qcacld-3.0: Fill primary and secondary channel in case of ACS fail
Currently the driver does not update the ACS primary channel,
and secondary channel (in case of 40, 80MHZ) in scan fail
cases or all the channels in the particular band for which ACS came
were unsafe, SRD, DFS, indoor etc., which leads to
SAP bringup fail.

Fix is to update the primary, secondary channels in case of
scan, or select channel fail.

Change-Id: I66ce390f89bf69ee0695526fccbd2d412e0edf87
CRs-Fixed: 2450028
2019-07-26 17:03:39 -07:00
nshrivas
52bce9bbbe Release 5.2.0.141
Release 5.2.0.141

Change-Id: Ia57987ce0baa6aea6af2074949075b2b68b53c49
CRs-Fixed: 774533
2019-07-26 15:46:29 -07:00
Wu Gao
492f1ad990 qcacld-3.0: Attach direct buffer rx component
Attach direct buffer rx component when get FW ready event.

Change-Id: Ia0cc03bf201d6b6d7864bf044c631174b254d557
CRs-Fixed: 2495238
2019-07-26 15:46:28 -07:00
nshrivas
60e0cc33ae Release 5.2.0.140Z
Release 5.2.0.140Z

Change-Id: Ic16a7dd2eec805600d7488bb04bf23e596a42710
CRs-Fixed: 774533
2019-07-26 12:15:59 -07:00
hqu
5b714ef5f5 qcacld-3.0: Replace operationChannel with op_freq for csr_roam_profile
Replace operationChannel with op_freq for csr_roam_profile in all files.

Change-Id: I7ad8a6b40a9d0b65b79518200ad1394f19f6d5a5
CRs-Fixed: 2495331
2019-07-26 12:15:58 -07:00
nshrivas
15f071a531 Release 5.2.0.140Y
Release 5.2.0.140Y

Change-Id: I0bcd983d415087b0759dcc921bf2c44396d99822
CRs-Fixed: 774533
2019-07-26 10:46:39 -07:00
Jingxiang Ge
ce7c547b92 qcacld-3.0: Replace channel with freq in hdd_connection_info
Replace channel with freq in hdd_connection_info

Change-Id: I0831e9cdc5cf39c7cdd6b35928fac23e4f582539
CRs-Fixed: 2495115
2019-07-26 10:46:38 -07:00
nshrivas
62ec5a7017 Release 5.2.0.140X
Release 5.2.0.140X

Change-Id: Ib9c87fa5e2cdf4608e1c2a3b2b672d95ed89470a
CRs-Fixed: 774533
2019-07-26 06:12:21 -07:00
Jianmin Zhu
5ce64f48cd qcacld-3.0: Replace channel list with freq list
Add freq_list in tagCsrChannelInfo to replace ChannelList
Add APIs to translate between channel list and freq list

Change-Id: I2f086d9371e2ec928bbb47aa2be91d65a206f4d6
CRs-Fixed: 2492624
2019-07-26 06:12:21 -07:00
nshrivas
f0622230dc Release 5.2.0.140W
Release 5.2.0.140W

Change-Id: I345cbfc3b2d517802ab9b6aa1b768ec095f4e68b
CRs-Fixed: 774533
2019-07-26 03:02:16 -07:00
Bala Venkatesh
79de9b5f88 qcacld-3.0: Allow probe responses in extenal scan
Currently, only beacons are transmitted to upper layers
in case of external scan. Allow probe responses as well
in external scan.

Change-Id: I23860c761eab82073821274d2c3125487e3abde4
CRs-Fixed: 2494767
2019-07-26 03:02:15 -07:00
Lin Bai
6b0efbae45 qcacld-3.0: vdev_id misused when handling DEAUTH ind
When STA receives DEAUTH ind event from target, vdev_id will be
mis-used as PE session ID when invoking lim_tear_down_link_with_ap.

Also enhanced related log for more useful info.

Change-Id: I755e0e170c36205ef20a21955546cc36437c1be4
CRs-Fixed: 2491669
2019-07-26 03:02:11 -07:00
nshrivas
9664a3d902 Release 5.2.0.140V
Release 5.2.0.140V

Change-Id: Ib7863d0e0b2948b3c5d61386513440c86db9f1e6
CRs-Fixed: 774533
2019-07-25 05:09:13 -07:00
Min Liu
f97d28b552 qcacld-3.0: Fix vdev_id when resetting APF packet filter
In hdd_set_reset_apf_offload, vdev_id is not assigned before
sending reset packet filter command.

Change-Id: If8c9297f19e19eba01b4415144304b9f744a5de9
CRs-Fixed: 2496035
2019-07-25 05:09:13 -07:00
nshrivas
e979c2c500 Release 5.2.0.140U
Release 5.2.0.140U

Change-Id: Ibfa41a7b748b7baca587d6c63960b8979259b488
CRs-Fixed: 774533
2019-07-25 02:40:49 -07:00
Chaoli Zhou
b11e18a0a4 qcacld-3.0: Export max IPA interface numbers
As for Rome, currently it usually just only support two
IPA interfaces offload, if use the default value 3, which
will cause the IPA pipe setup failure issue. So export
the max IPA interface numbers, and it's better to set
the appropriate value from build file according to
different requirement for different chipset and platform.
Meanwhile, it support SMMU on the sa415 platform, so
enable SMMU for it.

Change-Id: I2de31bcb4d38f5e7964d2cbdc2fc6f143eef510d
CRs-Fixed: 2480627
2019-07-25 02:40:48 -07:00