Commit Graph

17101 Commits

Author SHA1 Message Date
Kiran Kumar Lokere
b489e6be13 qcacld-3.0: Fix issue with 6GHz band cap configuration to FW
HE 6GHz band capabilities are copied from wrong byte offset hence
incorrect capabilities are configured to FW.

Fix the 6GHz band capability offset and size values while
configuring it to FW.

Change-Id: I0cc97610e32f3e5fbd64c6ed72d3591ae5127471
CRs-Fixed: 2645844
2020-03-27 04:59:06 -07:00
nshrivas
ce456fe70b Release 5.2.0.178G
Release 5.2.0.178G

Change-Id: I6302b2e803d81b5940b81dd87149cf9ba2746604
CRs-Fixed: 774533
2020-03-27 02:51:26 -07:00
bings
9e2de44e7f qcacld-3.0: Init channel avoidance in policy manager
Currenly only hdd initializes channel avoidance from platform.
Policy manager should also initialize channel avoidance from platform.

Change-Id: Iefcaae5ff4789d7d334ab2cab693f5dedfd2ca46
CRs-Fixed: 2645512
2020-03-27 02:51:26 -07:00
nshrivas
771ba6828c Release 5.2.0.178F
Release 5.2.0.178F

Change-Id: Ifdf05fb4a69a114e4ce5fdf5352abd2249740d53
CRs-Fixed: 774533
2020-03-26 18:26:02 -07:00
nshrivas
8df260c970 Release 5.2.0.178E
Release 5.2.0.178E

Change-Id: I0658ccc444cc1f4efa4037c05c8fc06bea1b97af
CRs-Fixed: 774533
2020-03-26 07:11:59 -07:00
sheenam monga
7475e4b3d7 qcacld-3.0: Add ini support to send ap tx power scoring
Introduce an INI "ap_tx_pwr_scoring" to indicate firmware about ap tx
power weightage so that firmware can use ap tx power weightage to
calculate candidate AP's score.

Change-Id: I8831c571162f044f4ae204ef0edfc59942f36837
CRs-Fixed: 2647115
2020-03-26 07:11:59 -07:00
nshrivas
7bd24ba60a Release 5.2.0.178D
Release 5.2.0.178D

Change-Id: I9be881b478656441247820f8af5d24d9ad409067
CRs-Fixed: 774533
2020-03-26 02:01:06 -07:00
Qun Zhang
43ddef92e8 qcacld-3.0: Add pointer NULL check in hdd_association_completion_handler()
Add pointer assoc_req and assoc_rsp NULL check before sending
connection status in hdd_connect_result().

Change-Id: Ia0ba2140e82abdaf3dde74035fec57f897d9e8a5
CRs-Fixed: 2642567
2020-03-26 02:01:06 -07:00
Qun Zhang
d5f72dfe5a qcacld-3.0: Add pointer mlme_obj NULL check before use
Add pointer mlme_obj NULL check before use in wma_vdev_start_resp_handler,
if NULL, return error directly.

Change-Id: If5826f6542786c136ad5f807adca578f36ab4919
CRs-Fixed: 2642567
2020-03-26 02:00:55 -07:00
Qun Zhang
278c3b465e qcacld-3.0: Add pointer sanity check for wma layer APIs
Add some pointer sanity check before use for wma layer APIs.

Change-Id: I9712864b58731d8e8a8908ada359a907ed4fed5b
CRs-Fixed: 2642567
2020-03-26 02:00:38 -07:00
Qun Zhang
d381f6c338 qcacld-3.0: Add pointer crypto_key NULL check before use
Add pointer crypto_key NULL check before use in
__wlan_hdd_cfg80211_set_default_key.

Change-Id: Ia15d2f0ac206c627c493b712fb1616a81e34d878
CRs-Fixed: 2642567
2020-03-26 01:59:39 -07:00
nshrivas
dbb477fc51 Release 5.2.0.178C
Release 5.2.0.178C

Change-Id: Ifb5b7e8f9abd03fb7d4c7bf3c8fd47f8979a92cb
CRs-Fixed: 774533
2020-03-26 00:08:20 -07:00
nshrivas
303a8cc721 Release 5.2.0.178B
Release 5.2.0.178B

Change-Id: Ic7b16a7ba76fb7dc49973e8f94087566c5950016
CRs-Fixed: 774533
2020-03-25 20:42:35 -07:00
sheenam monga
78ecf305e0 qcacld-3.0: Update wiphy parameters
Currently, For some targets driver does not support all
AKM suits but kernel supports all akm suits which causes
compatibility issue.

Fix is to update wiphy->iftype_akm_suites and
wiphy->num_iftype_alm_suites based on the akm suits supported
by driver.

Change-Id: I06cab4654e626bc34c6bb3f8ea5f9b9beb81c82b
CRs-Fixed: 2635797
2020-03-25 20:42:35 -07:00
nshrivas
c6b971c69d Release 5.2.0.178A
Release 5.2.0.178A

Change-Id: Ifacf18d51a33b17cfec3c1cc5e713afe1edf5d42
CRs-Fixed: 774533
2020-03-25 17:20:12 -07:00
Wu Gao
4425921c33 qcacld-3.0: Add HDD files for CFR component
Add host driver interface files for Channel frenquency response (CFR).

Change-Id: I8ac35befa797d8100b38210cd3831b9a78bb03f1
CRs-Fixed: 2637146
2020-03-25 17:20:12 -07:00
nshrivas
2a536beb66 Release 5.2.0.178
Release 5.2.0.178

Change-Id: I602d193ef0d947a0ad977a971d8e035b5d9280b1
CRs-Fixed: 774533
2020-03-25 15:25:13 -07:00
Karthik Kantamneni
06a63cafdd qcacld-3.0: Moselle changes for WHUNT simulation support
Add PLD layer and config changes for simulating
IPCI virtual device in WHUNT.

Change-Id: Ia07ce0884f0e5ffe9b4d23977476c1789390e1c9
CRs-Fixed: 2648150
2020-03-25 15:25:13 -07:00
nshrivas
f9bfc82285 Release 5.2.0.177Z
Release 5.2.0.177Z

Change-Id: I2cd090b874a119f93922909443d2d77bcad20679
CRs-Fixed: 774533
2020-03-25 11:34:03 -07:00
nshrivas
abbdec1adc Release 5.2.0.177Y
Release 5.2.0.177Y

Change-Id: I864202039da93c4c1ac74ce3569f66fac91f1cc7
CRs-Fixed: 774533
2020-03-25 08:58:27 -07:00
nshrivas
0a2e10a1b7 Release 5.2.0.177X
Release 5.2.0.177X

Change-Id: Ib97cf4e5f86d8e4b30cad2266012c9efdb7832c0
CRs-Fixed: 774533
2020-03-25 07:08:46 -07:00
Amruta Kulkarni
5da0deb270 qcacld-3.0: Add wrapper for blm_get_rssi_blacklist_threshold()
If FEATURE_BLACKLIST_MGR is enabled,
wlan_blm_get_rssi_blacklist_threshold()
would return CFG_BLACKLIST_RSSI_THRESHOLD value
else return value 0.

Change-Id: I0cf5a6561cc217412e3bc6e2a50b85985d1315d7
CRs-Fixed: 2648761
2020-03-25 07:08:45 -07:00
Qun Zhang
b4e2c33bab qcacld-3.0: Replace QDF_MAX_NUM_CHAN/POLICY_MGR_MAX_CHANNEL_LIST with NUM_CHANNELS
Currently QDF_MAX_NUM_CHAN/POLICY_MGR_MAX_CHANNEL_LIST aren't aligned with
NUM_CHANNELS, these unalignment may cause some potential OOB access.
So replace QDF_MAX_NUM_CHAN/POLICY_MGR_MAX_CHANNEL_LIST with NUM_CHANNELS
to keep unified.

Change-Id: Ib6c81a3979f2fd29ba1ec678f018a6704b599385
CRs-Fixed: 2644066
2020-03-25 07:08:36 -07:00
nshrivas
12d5bdc2e2 Release 5.2.0.177W
Release 5.2.0.177W

Change-Id: I60db9b7e71596675b639a0ec05988032935a34fd
CRs-Fixed: 774533
2020-03-24 19:57:07 -07:00
Liangwei Dong
1a4edd541e qcacld-3.0: Process request of send delba indication
Handle send delba indication from DP. It will help DP to
do aggregation tid management.

Change-Id: I18455107ef8d042644efc8ce549a104612eec05c
CRs-Fixed: 2637485
2020-03-24 19:57:06 -07:00
nshrivas
28c369d508 Release 5.2.0.177V
Release 5.2.0.177V

Change-Id: I3cb74c6d3ea0384a3b1a1ab2f6209d3f0ea4a9bf
CRs-Fixed: 774533
2020-03-24 18:13:43 -07:00
Jianmin Zhu
2fa866e49d qcacld-3.0: Assert for PMF peer isn't added to data path
During assoc of new peer on vdev 0 as vdev 1 has the same entry,
peer is removed from vdev 1 with trigger reason
eLIM_DUPLICATE_ENTRY. Once the peer deleted, it is added in
firmware and datapath on the new vdev 0.The add logic checks if
peer is non PMF, but here peer is PMF, then the peer is not
added to datapath and firmware. Assert will happen when deleting
it as entry is present in LIM but not in data path.

Fix: On deletion of peer on other vdev1, if peer is added in
lim on new vdev 0, add it in datapath and firmware even if it's
PMF peer.

Change-Id: I00241ae3886ae7541a68c4bc69b616dfe96948e5
CRs-Fixed: 2646623
2020-03-24 18:13:43 -07:00
nshrivas
4b67f8a0f6 Release 5.2.0.177U
Release 5.2.0.177U

Change-Id: I764327643cc33a8c8a43e706426a89b4efd18f1d
CRs-Fixed: 774533
2020-03-24 16:37:46 -07:00
gaurank kathpalia
bcc6349b04 qcacld-3.0: Fix compilation failure
Fix compilation failure in hdd_update_wiphy_he_cap

Change-Id: I79820ab13af58c4bf0a5fa176accfa2cbdb28180
CRs-Fixed: 2647725
2020-03-24 16:37:46 -07:00
nshrivas
99159734a3 Release 5.2.0.177T
Release 5.2.0.177T

Change-Id: I68aac558869a50215d74e4f8a8855a623b3cc448
CRs-Fixed: 774533
2020-03-24 10:23:48 -07:00
Sourav Mohapatra
698d9392c3 qcacld-3.0: Add Q-Q feature 4K QAM (MCS12/MCS13) support
Add host driver support for MCS 12/13, a Q-Q PHY feature.
The following changes are being introduced as a part of this
 - Advertisement of the MCS 12/13 using the QCN IE
 - Interaction between the Host and the FW regarding the target and
   peer capabilities for the new features introduced.
 - The new data structures and variables to populate and use the feature
   capability
 - Routines to add and parse the IE.

Change-Id: I2b91a271d30b1230ef7bb14ee08d0b9da2706db4
CRs-Fixed: 2610277
2020-03-24 10:23:48 -07:00
nshrivas
8a345adcda Release 5.2.0.177S
Release 5.2.0.177S

Change-Id: I2303e24931f628f5265154a1dda0c7853a3090ff
CRs-Fixed: 774533
2020-03-24 06:42:38 -07:00
Kiran Kumar Lokere
1107eeeca6 qcacld-3.0: Fix amsdu support in addba for 6G connection
AMSDU support is advertised in addba for 2.4GHz HE connection and
for 5G connection.
Fix the band check to allow amsdu support for 6GHz connection.

Change-Id: Ia34c8b5c2944fb9fb9b8b906a602129cad07e2d1
CRs-Fixed: 2645853
2020-03-24 06:42:23 -07:00
nshrivas
5e06a86b81 Release 5.2.0.177R
Release 5.2.0.177R

Change-Id: Iee2d64522b14c2970b60c3d3e7835285203b4694
CRs-Fixed: 774533
2020-03-24 04:56:42 -07:00
bings
9e55b99378 qcacld-3.0: Notify channel info to kernel after channel switch
After channel switch, driver should indicate new operation channel to
kernel, otherwise wireless_dev->chandef still uses old channel whose
status may become disable when radar is detected in the old channel.

In hdd_chan_change_notify use frequency instead of channel number.
Notify channel information to kernel after channel switch.

Change-Id: I6dbf3d61978e4c35fe41b438397e635d62378719
CRs-Fixed: 2639076
2020-03-24 04:56:41 -07:00
nshrivas
1e0bcf66fa Release 5.2.0.177Q
Release 5.2.0.177Q

Change-Id: Ibb87af1619c01efddb756624cdca21d410880129
CRs-Fixed: 774533
2020-03-23 19:56:32 -07:00
nshrivas
94d3d69b77 Release 5.2.0.177P
Release 5.2.0.177P

Change-Id: I72a16ed9c361aabd213330be2129887a949a1fac
CRs-Fixed: 774533
2020-03-23 16:06:34 -07:00
nshrivas
9837e4687b Release 5.2.0.177O
Release 5.2.0.177O

Change-Id: I29ec4ce889ad4587299d8a3035808a1f0907d903
CRs-Fixed: 774533
2020-03-23 04:09:58 -07:00
Qun Zhang
6bb9513217 qcacld-3.0: Correct the peer_macaddr index to the expected value
valid_idx should be used instead of idx to check peer_macaddr
mac address.

Change-Id: Ifd761e4b9caa36d2a04b1dd3bcd75c7181b347f2
CRs-Fixed: 2644625
2020-03-23 04:09:58 -07:00
Ashish Kumar Dhanotiya
b994a75a34 qcacld-3.0: Allocate vdev private data along with vdev
Currently vdev private data osif_priv gets allocation
separately and requires to be de-alloc separately.
This de-alloc needs to be taken care at different places
based on the vdev create failure or whenever vdev is freed.
As vdev private data is associated to the vdev and needs to
be freed if vdev is not there, it is good to allocate this
private data along with vdev so that there is no need
to maintain allocation and de-allocation of vdev priv data
separately.

As part of this change alloc the vdev priv data along with
the vdev allocation as a single memory and free of the vdev priv
data will be taken care as part of vdev free.

Change-Id: I8d4b94cae564c7f2498f7b8cc8aa84a2edd6420d
CRs-Fixed: 2634998
2020-03-23 04:09:49 -07:00
nshrivas
87cb4c9f2f Release 5.2.0.177N
Release 5.2.0.177N

Change-Id: I30c98f6c0f497b9c6173d5b61a375e6950768f81
CRs-Fixed: 774533
2020-03-23 00:23:57 -07:00
Jianmin Zhu
d682eb4e28 qcacld-3.0: Compare mac id for ap-sta force scc
Consider SBS mode and 6GHZ, can't force scc only by band.
for example: 1 port on 5G, another on 6G,  they may be on same
MAC, may be not. Just compare mac id from connection list
directly.

Change-Id: I5bfc9cd14b058a6a4f402c0e2d2f9ae7da8287fb
CRs-Fixed: 2646499
2020-03-23 00:23:56 -07:00
nshrivas
3b987f3315 Release 5.2.0.177M
Release 5.2.0.177M

Change-Id: I5c145dada693edfda1387ee16fd45b7b3843623e
CRs-Fixed: 774533
2020-03-21 14:41:33 -07:00
bings
dc47aaaefd qcacld-3.0: Fix build error of prev_bssid of cfg80211_connect_params
prev_bssid of cfg80211_connect_params can only be accessed when there
is prev_bssid field in struct cfg80211_connect_params.

Change-Id: I370bb76e180b9eae1b34f8fd33e9551f6e42bf65
CRs-Fixed: 2642334
2020-03-21 14:41:33 -07:00
nshrivas
b8564a7861 Release 5.2.0.177L
Release 5.2.0.177L

Change-Id: I9affa7bccd3dcd8ca91fe1694257d8e2628736db
CRs-Fixed: 774533
2020-03-21 10:58:54 -07:00
Wu Gao
58262e7922 qcacld-3.0: Set wmi handle to pdev when saving pdev to wma handler
Spectral scan and CFR components failed in pdev open since no valid
wmi handle in pdev. This change sets wmi handle to pdev before calling
dispatcher pdev open in hdd layer.

Change-Id: I9461220b309f78e33770e423e24c97841b064a0f
CRs-Fixed: 2637140
2020-03-21 10:58:54 -07:00
nshrivas
faa5ad17a1 Release 5.2.0.177K
Release 5.2.0.177K

Change-Id: I3c4fa5f4945cbee239dcfa0873226dbe0a6c08b2
CRs-Fixed: 774533
2020-03-21 08:49:24 -07:00
Srinivas Girigowda
c7d8c585ee qcacld-3.0: Move sar related functions to wlan_hdd_sar_limits.c
Move sar related functions from wlan_hdd_cfg80211.c to
wlan_hdd_sar_limits.c.

Change-Id: I65f4e33469d5fc2dd09ae37fd0138b3d3d2c5f9d
CRs-Fixed: 2638028
2020-03-21 08:49:24 -07:00
nshrivas
cb8b11de04 Release 5.2.0.177J
Release 5.2.0.177J

Change-Id: Id2e9f1147c2e1dc0b6b28c8cbb540be4841826c6
CRs-Fixed: 774533
2020-03-21 07:08:54 -07:00
Jingxiang Ge
7cca7f52ae qcacld-3.0: Use workqueue for recovery when suspend/resume timeout
When suspend/resume timeout, it will trigger recovery,
current as it direcly trigger assert to fw, which will
take more time to dump ramdump, so DPM WD timer expired.

To avoid DPM WD timer expired, trigger ramdump in a
separate workqueue, so it will not block DPM WD timer.

Change-Id: I1a9349a05a37544329946270065037cd90172fc7
CRs-Fixed: 2645163
2020-03-21 07:08:53 -07:00
nshrivas
2f607373ab Release 5.2.0.177I
Release 5.2.0.177I

Change-Id: I0344ac14f48292fc94c4f6734edc9a4f4dab7158
CRs-Fixed: 774533
2020-03-21 05:31:25 -07:00
Pragaspathi Thilagaraj
6bfeae6ae4 qcacld-3.0: Set unicast key followed by broadcast key in FILS case
Host driver sets broadcast keys followed by unicast keys for
FILS connection. This results in the data packet sent before
unicast set key and peer pn was reset. Sending broadcast keys
first will allow firmware to enable WAL_PEER_ALLOW_DATA and
data tx could start without unicast keys being set. Due
to this TX packet will go unencrypted and TX will fail without
ACK from peer AP, peer pn will be set to 2, after this unicast
key got set and this resets the peer pn to 1. And when next
frame TX was done, pn check failed and firmware assert occured.

Set the unicast keys to firmware first followed by the broadcast
keys for FILS case.

Change-Id: Ia498709ac524e95b831cc7ccdd17e6fc7ae0b130
CRs-Fixed: 2633632
2020-03-21 05:31:25 -07:00
nshrivas
34040b2668 Release 5.2.0.177H
Release 5.2.0.177H

Change-Id: I6e048e7d6ef15cc032f23b8f915957942b631c59
CRs-Fixed: 774533
2020-03-21 02:03:03 -07:00
nshrivas
a33f3be692 Release 5.2.0.177G
Release 5.2.0.177G

Change-Id: I9423e6213a9a0d06b150194158b018505a6a2449
CRs-Fixed: 774533
2020-03-20 17:05:48 -07:00
Alok Kumar
c99a7e3cb0 qcacld-3.0: Add API to get adapter based netif queue history
Currently, netif queue history is displayed for each adapter
by iterating over adapter list in the HDD context. But, this
iteration is not safe when unregistration of netdev going in
parallel in other thread. In case the adapter is removed, the
iteration will result in NULL pointer dereference.

Avoid iterating over adapter list, add call newly added API, which
is adapter based, to get netif queue history. When iteration over
adapter list is needed, call hdd_for_each_adapter_dev_held API.

Change-Id: I45fd8cd80cf21931ee352d612b10752ef0837c06
CRs-Fixed: 2639882
2020-03-20 17:05:47 -07:00
bings
83c7c370d1 qcacld-3.0: Fix build error when WLAN_SUPPORT_RX_FISA defined
Fix print format in core/dp/txrx3.0/dp_fisa_rx.c
Both cds_ieee80211_common_i.h and net/ieee80211_radiotap.h define
IEEE80211_CHAN_*, so only one header is needed in wlan_hdd_tx_rx.c

Change-Id: Ie9c3a7ea04e9b71acf96f007515a7ae6c0def938
CRs-Fixed: 2644359
2020-03-20 17:05:31 -07:00
nshrivas
11ec38deb4 Release 5.2.0.177F
Release 5.2.0.177F

Change-Id: Ie7ebebe1578759f5863333d040f94501f90fc23b
CRs-Fixed: 774533
2020-03-20 06:02:13 -07:00
Bapiraju Alla
51ab1164a1 qcacld-3.0: Synchronize sta_info access in host driver
Currently there is no synchronized access for sta_info. Because of this
memory use after free is getting triggered.

To resolve this, use a reference count for sta_info to check whether it
is in use or not before freeing.

Change-Id: I696461a1f53f4cc4739963f3f97ada31d3fa15f3
CRs-Fixed: 2637074
2020-03-20 06:02:13 -07:00
nshrivas
bcadcc00c3 Release 5.2.0.177E
Release 5.2.0.177E

Change-Id: I1a9e8130936fe10805df72444879786283b7a05a
CRs-Fixed: 774533
2020-03-20 04:19:30 -07:00
hqu
86ee15fa07 qcacld-3.0: Use vdev_id to get vdev in sap_channel_sel
In SAP on/off stress test, when hostapd call hdd_start_adapter
to create vdev, vdev2 will be created while vdev1 doesn't be
deleted physically even if vdev1 is already destroyed logically,
then hostapd issue acs operation, currently use mac address to
get vdev in sap_channel_sel, because vdev2 is using the same mac
address as vdev1 and vdev1 is still in vdev_list at this point,
so will find vdev1 firstly but will return failure due to vdev1 is
WLAN_OBJ_STATE_LOGICALLY_DELETED status, then will cause acs fail.

Fix is to use vdev_id to get vdev in sap_channel_sel.

Change-Id: I89ae3e847b725c2b64331536bc7c1de3fffce0bd
CRs-Fixed: 2640850
2020-03-20 04:19:30 -07:00
nshrivas
cbe685b29e Release 5.2.0.177D
Release 5.2.0.177D

Change-Id: I6c0dfc6a0804b37b74e467bac93f01dad13a69f3
CRs-Fixed: 774533
2020-03-20 02:31:53 -07:00
gaurank kathpalia
62d52296d5 qcacld-3.0: Handle vdev stop req failure and delete BSS peer
Handle vdev stop req failure and delete BSS peer and move the
VDEV SM to init state.

Change-Id: I48044d153a281aedfeeb90bc97c9772dea0ca284
CRs-Fixed: 2644218
2020-03-20 02:31:53 -07:00
nshrivas
b90e1cf831 Release 5.2.0.177C
Release 5.2.0.177C

Change-Id: I172431391d2d58d04265b7b6e714718a48fe947a
CRs-Fixed: 774533
2020-03-20 00:15:11 -07:00
nshrivas
aea89ba371 Release 5.2.0.177B
Release 5.2.0.177B

Change-Id: Ic773680c7c76e3af6302882844b53f437229676f
CRs-Fixed: 774533
2020-03-19 22:24:40 -07:00
Abhishek Ambure
6236deab41 qcacld-3.0: Optimize LFR logs
Optimize LFR3 logs.

Change-Id: I13067dfa504dd9310eff48b138916da2791cb270
CRs-Fixed: 2643684
2020-03-19 22:24:40 -07:00
nshrivas
de142f1e10 Release 5.2.0.177A
Release 5.2.0.177A

Change-Id: I52dcfb566a721f7da7193247de4333c7057c9b85
CRs-Fixed: 774533
2020-03-19 20:41:40 -07:00
Srinivas Dasari
5ab63299b9 qcacld-3.0: cleanup NAN/NDP logging
Few NAN/NDP logs are redundant in the current logging infra.
Optimize the same and add few necessary logs.

Change-Id: Ie261db317af48955a16269539948ff1596c4bbcb
CRs-Fixed: 2644418
2020-03-19 20:41:40 -07:00
Kiran Kumar Lokere
ad569a7582 qcacld-3.0: Disable broadcast probe response for HE testbed device
Disable broadcast probe response in HE testbed device defaults.

Change-Id: I8302ac8d59fa1ecc294305e5b1225b3dc2201282
CRs-Fixed: 2632322
2020-03-19 20:41:25 -07:00
nshrivas
6d4d11ac64 Release 5.2.0.177
Release 5.2.0.177

Change-Id: I3dd7434ac111f054f96e24bede454f6ddc9d4f9c
CRs-Fixed: 774533
2020-03-19 17:39:24 -07:00
nshrivas
ae1b4d6765 Release 5.2.0.176Z
Release 5.2.0.176Z

Change-Id: I3affbfce9a7990448d2972f3d55191a1631aefb5
CRs-Fixed: 774533
2020-03-19 16:01:11 -07:00
Kiran Kumar Lokere
294723f410 qcacld-3.0: Correct 160/80p80MHz mcs map in HE Cap IE
Check the supported bandwidth capability bits to set the
160MHz and 80p80MHz mcs map in HE capabilities that are
configured to FW.

Change-Id: If7ff882a99650f9771b77dc28adf9ebcbf64a00c
CRs-Fixed: 2625166
2020-03-19 16:01:11 -07:00
Rachit Kankane
66b4b30bcf qcacld-3.0: Return LL stats resp in caller context
Return response for Link Layer stats command in caller
thread's context.

Change-Id: I8a6a0b21d7915cd21422dbef9b87fa17d99fb244
CRs-Fixed: 2619295
2020-03-19 16:00:55 -07:00
gaurank kathpalia
95068d734f qcacld-3.0: Ignore roaming in progress in start bss
Currently the hotspot fail happens if the roaming is in
progress because of the check in start bss.
Ignore it and just do disable roaming to the FW.
If the roaming was in progress, it would disable it,
or it would do a disconnect if the EAPOL was in progress.
This is done to enable the hotspot as connect would be
taken care by the supplicant automatically, but the hotspot
needs user intervention.

Change-Id: I0030f9affe60c064d490795be92ae035923738aa
CRs-Fixed: 2640136
2020-03-19 16:00:42 -07:00
nshrivas
2ce1af98e3 Release 5.2.0.176Y
Release 5.2.0.176Y

Change-Id: I3bf93151fd73fe8c57fcd356bd552edd4e0d97ee
CRs-Fixed: 774533
2020-03-19 14:19:56 -07:00
Amar Singhal
84a912a96c qcacld-3.0: Fix memory leak for beacon
While processing beacon, fix memory leak.

Change-Id: I9245632f95d60c99b320ae8582e29e84c70a6e8e
CRs-Fixed: 2638014
2020-03-19 14:19:56 -07:00
Sourav Mohapatra
ba099643cb qcacld-3.0: Return success for sched_scan_stop
Presently in the driver, the function __cfg80211_stop_sched_scan
clears rdev->sched_scan_req only when the sched_scan_stop returns
success. If it returns a failure, then its next invocation due to the
clean up of the second interface will have the dev pointer corresponding
to the first one leading to incorrect memory access.

To resolve this issue, return 0 for stop_sched_scan irrespective of the
return status.

Change-Id: I129e3e9c6d9f6a688d0aa97be120ba9731e8df37
CRs-Fixed: 2623160
2020-03-19 14:19:41 -07:00
nshrivas
b23dcc75d3 Release 5.2.0.176X
Release 5.2.0.176X

Change-Id: I823db089f971ecebb4765d3602145e0bcc23473c
CRs-Fixed: 774533
2020-03-19 12:41:56 -07:00
Amruta Kulkarni
d7c24f8a19 qcacld-3.0: Add support to handle assoc reject based on rssi
When AP rejects assoc request based on poor rssi
host will put the AP in blacklist mgr list, only when
rssi value improves by threshold value,should the
STA try to connect to AP.

Change-Id: I78009b89ea07afdd5f3381973a9eb7ec1f73d1b5
CRs-Fixed: 2632015
2020-03-19 12:41:56 -07:00
nshrivas
dff30b1fbc Release 5.2.0.176W
Release 5.2.0.176W

Change-Id: I7129fc0b502c583e9da32b49a8c4d59b063925b6
CRs-Fixed: 774533
2020-03-19 10:45:05 -07:00
Jianmin Zhu
159c7d8bad qcacld-3.0: Check whether SAP need restart
If there is no STA/P2P CLI on same MAC of SAP/P2P GO,
SAP/P2P Go needn't switch channel to force scc.

Change-Id: I529a57f73f529e41b8c0097fccabbe3e0e516993
CRs-Fixed: 2643106
2020-03-19 10:45:05 -07:00
Vulupala Shashank Reddy
53fff0890d qcacld-3.0: Don't add monitor mode if no interface is up
Check if any interface is up and if no interface is up
do not add monitor mode.

Change-Id: I2e1218a14881f597885334c0a195758ed35c5e5b
CRs-Fixed: 2644285
2020-03-19 10:44:45 -07:00
nshrivas
5dedd644e6 Release 5.2.0.176V
Release 5.2.0.176V

Change-Id: I1e40802ffc69d11dd65381f58a6ab0755be16d03
CRs-Fixed: 774533
2020-03-19 07:47:33 -07:00
Jingxiang Ge
e4f1f2a0e5 qcacld-3.0: Fix double create mibstats_lock issue
mibstats_lock is a global variable, current it init
per adapter, so it will fail when init at 2nd time.

Make sure it only create once.

Change-Id: Ia8a57d049fabe311d5b353b5aa612ffa225cbc61
CRs-Fixed: 2643396
2020-03-19 07:47:32 -07:00
nshrivas
e92d543e2e Release 5.2.0.176U
Release 5.2.0.176U

Change-Id: Ib0228027354f053267982628fa0f6578963b39e4
CRs-Fixed: 774533
2020-03-19 05:47:11 -07:00
Pragaspathi Thilagaraj
fd8e907571 qcacld-3.0: Strip the privacy headers of protected deauth/disassoc frames
In pe_disconnect_callback(), while processing deauth/disassoc
frame received after emergency deauth roaming failure, the
reason code is extracted before stripping the ccmp iv, mic trailer
from the unicast frame and mmie is not stripped in case of broadcast
deauth frame. This results in incorrect reason code passed to
userspace.

Strip the ccmp iv, mic trailer from unicast deauthentication/
disassociation frame and strip the mmie from the broadcast
deauthentication/disassociation frame.

Change-Id: I07d7b4515471150d74d796ed6da2f87a928e6e35
CRs-Fixed: 2634822
2020-03-19 05:47:11 -07:00
nshrivas
96824c337f Release 5.2.0.176T
Release 5.2.0.176T

Change-Id: I86d9a45d466e23a48f759423e51fb4c6670bdf09
CRs-Fixed: 774533
2020-03-19 01:36:09 -07:00
bings
23c2312e08 qcacld-3.0: Do not call wlan_reg_legacy_chan_to_freq for freq
sap_ctx->csr_roamProfile.op_freq is already channel frequency.
Do not call wlan_reg_legacy_chan_to_freq for it.

Change-Id: I20ce4eb8852087175c0fae4a7a9dd5e3168e1f24
CRs-Fixed: 2643218
2020-03-19 01:36:09 -07:00
Manjunathappa Prakash
9d37c64121 qcacld-3.0: Enable SMMU S1 for Lahaina platform
Enable IPA SMMU S1 translation feature flag for
Lahaina target.
asm/dma-iommu.h file is removed in latest 5.4 kernel,
resulting in include failure. Remove as it is unused
for version 5.4 and above.

Change-Id: Ie2147f2fc2debad4d700fae5414d1d3becb28f13
CRs-Fixed: 2638580
2020-03-19 01:35:53 -07:00
nshrivas
b4a87f73a9 Release 5.2.0.176S
Release 5.2.0.176S

Change-Id: I26e7efba8044fb24a8340e7b3a6b573693fc6d73
CRs-Fixed: 774533
2020-03-18 15:37:45 -07:00
Abhishek Ambure
09fbde6405 qcacld-3.0: Add interface index for roam scan ch list event
To specify interface index in vendor event for sub command
QCA_NL80211_VENDOR_SUBCMD_UPDATE_STA_INFO_INDEX, pass wdev pointer
to cfg80211_vendor_event_alloc().

Change-id: Ied973df111359bbab44e2c1de0888a67e1497034
CRs-Fixed: 2644349
2020-03-18 15:37:45 -07:00
Vevek Venkatesan
02f5dfc5d7 qcacld-3.0: add pld_smmu_unmap support for BENGAL
Add support for pld_smmu_unmap and enable it for
BENGAL target.

Change-Id: I7f6d6f965b7664342bca29b49f05f8eb62737a0c
CRs-Fixed: 2642663
2020-03-18 15:37:21 -07:00
Dundi Raviteja
25a77e7f71 qcacld-3.0: Process pkt_capture APIs based on packet capture mode
Process pkt_capture APIs only if packet capture mode is present.

Change-Id: Ibf08e550a829c266fd108c0023c016ab36728589
CRs-Fixed: 2640309
2020-03-17 23:27:58 -07:00
nshrivas
a14d64d378 Release 5.2.0.176R
Release 5.2.0.176R

Change-Id: Idf97394e3eee470baa6ddd343d19dba2a4ca7bff
CRs-Fixed: 774533
2020-03-17 14:46:02 -07:00
Abhishek Ambure
d365b8c8ef qcacld-3.0: Fix function type for stop_roaming_callback
This fixes a CFI failure in lim_handle_csa_offload_msg.

Change-Id: Ia4f20b7674902f47c6682ae56be8ba872c8176c5
CRs-Fixed: 2643343
2020-03-17 14:46:01 -07:00
nshrivas
b6f98d7551 Release 5.2.0.176Q
Release 5.2.0.176Q

Change-Id: Iade4682ef4a18246ec04ff8ef1ceadaaa908f7f6
CRs-Fixed: 774533
2020-03-17 11:46:55 -07:00
Ashish Kumar Dhanotiya
79d116ce7e qcacld-3.0: Do not start unsolicited timer back to back
Currently there is no check to not start unsolicited timer
if its callback is already in process. If once this timer
expires and callback is invoked, and if this timer again
tries to start before the callback completes there is no
check to prevent this timer from starting.

As the callback of the previous timer expiry is already in
progress, there is no need to start the unsolicited timer
again. To address this issue a check is added before starting
the unsolicited timer to validate if the callback is still
in progress.

CRs-Fixed: 2635740
Change-Id: Ib008562be22356c3a286fab49a61f99d6867c54e
2020-03-17 11:46:54 -07:00
nshrivas
aa8827cfc4 Release 5.2.0.176P
Release 5.2.0.176P

Change-Id: Ia9bcad30f61c164931155295fe8f55ed40374d24
CRs-Fixed: 774533
2020-03-17 09:15:28 -07:00
Naman Padhiar
ba8266612e qcacld-3.0: Add PLD wrapper for idle restart/shutdown
Add PLD wrapper for idle restart/shutdown callbacks for WCN6750.

Change-Id: I068c4bcfc06f68db43bfbe8c788dccfb2cf5489c
CRs-Fixed: 2642710
2020-03-17 09:15:28 -07:00
sheenam monga
a89f7ed3a3 qcacld-3.0: Validate number of bytes before memory allocation
Currently, In function hdd_get_roam_scan_ch_cb memory
is allocated for event response buffer for invalid len.

Fix is to add a validation check for len before alloction
of memory to avoid memory allocation for invalid len.

Change-Id: I14cffdace868fc19358322c36dd2589d7845b8fa
CRs-Fixed: 2640114
2020-03-17 09:15:22 -07:00
nshrivas
b90da07418 Release 5.2.0.176O
Release 5.2.0.176O

Change-Id: I28bef95b52f2a78ca3258b4a8d259d7bc5bdc370
CRs-Fixed: 774533
2020-03-17 05:14:05 -07:00
Liangwei Dong
ead166aef9 qcacld-3.0: Log optimization of hdd_validate_context
Limit logs in hdd context validation during SSR
and Load/unload.

Change-Id: I89cd609309b40dcb57a05cf72fae8690ab00db58
CRs-Fixed: 2640760
2020-03-17 05:14:05 -07:00
nshrivas
30f2b7e243 Release 5.2.0.176N
Release 5.2.0.176N

Change-Id: I240dee34706a667c3e0c2f68332556e988e9bf80
CRs-Fixed: 774533
2020-03-17 01:05:30 -07:00
Kiran Kumar Lokere
b1a2e9a659 qcacld-3.0: Set WEP in addba resp from addba req for NAN
PMF capability information is not available in NAN peer station
data structure as host does not get full capability information
of NAN peer hence WEP bit is not set in addba response frame for
received addba request frames with WEP set.

Set the WEP bit in addba response frame if the received addba request
frame has WEP bit and it is from NAN peer station.

Change-Id: I9f0a02492b3087d0fd53a7bdde273601913ee2ca
CRs-Fixed: 2638789
2020-03-17 01:05:30 -07:00
nshrivas
90914c55b7 Release 5.2.0.176M
Release 5.2.0.176M

Change-Id: I3600d761690c22ee3bc4a02c3052a164295931e5
CRs-Fixed: 774533
2020-03-16 17:23:17 -07:00
Alan Chen
3c7aab4c49 qcacld-3.0: Add dummy vendor command policy attribute
Kernel 5.2+ is checking vendor policy attribute even for GET commands.
Add dummy policy attribute to following GET vendor commands:
	QCA_NL80211_VENDOR_SUBCMD_GET_HE_CAPABILITIES
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_DIAG_STATS
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_CAP_INFO
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_STATUS
	QCA_NL80211_VENDOR_SUBCMD_NUD_STATS_GET
	QCA_NL80211_VENDOR_SUBCMD_MONITOR_RSSI
	QCA_NL80211_VENDOR_SUBCMD_GET_SAR_LIMITS
	QCA_NL80211_VENDOR_SUBCMD_GET_FW_STATE

Change-Id: I354b2de86909142ed3db0fb4a4d1545ac2b37d55
CRs-Fixed: 2639687
2020-03-16 17:23:03 -07:00
nshrivas
c2003a4640 Release 5.2.0.176L
Release 5.2.0.176L

Change-Id: I678042156bbd920e4c0e6bfb929fa76e717f609f
CRs-Fixed: 774533
2020-03-16 13:51:42 -07:00
Abhishek Ambure
a3bade0523 qcacld-3.0: Update nan_separate_iface_support before WMI_INIT_CMD
Host uses target_resource_config structure's "nan_separate_iface_support"
while copying resource configs in WMI_INIT_CMD.
Value of "nan_separate_iface_support" is set to 1, if firmware capability
"vdev creation allowed = 1" and "ini gEnableNanSupport = 1".

Host updates "nan_separate_iface_support" while processing an event
"WMI_READY_EVENTID" which comes after WMI_INIT_CMD send to firmware.
To update proper value of "nan_separate_iface_support" in resource
configs of WMI_INIT_CMD, host updates "nan_separate_iface_support"
while processing an event "WMI_SERVICE_READY_EXT_EVENTID".

Change-Id: I677d9e39e20646dd4ce945f166b86947d82751e2
CRs-Fixed: 2642139
2020-03-16 13:51:42 -07:00
nshrivas
0b681262a3 Release 5.2.0.176K
Release 5.2.0.176K

Change-Id: Idd6f212c9aee07cd2ed38d8e990fbbaf96042232
CRs-Fixed: 774533
2020-03-16 10:02:58 -07:00
Sourav Mohapatra
4140e8bfa8 qcacld-3.0: Remove cds_trigger_recovery where not needed
Currently in the driver there are places from where recovery is
initiated. Some of those are not required as logic around them has
changed.

Remove those cds_trigger_recovery from places where it is not needed.

Change-Id: Ia5a0fa60101e1c9f44077daa83c4a20d18893c0a
CRs-Fixed: 2628691
2020-03-16 10:02:57 -07:00
nshrivas
edf975c0b3 Release 5.2.0.176J
Release 5.2.0.176J

Change-Id: I48f620f85c7c68e4b7ebf12ea54ca1cd52421c46
CRs-Fixed: 774533
2020-03-16 08:04:56 -07:00
Ashish Kumar Dhanotiya
cc9761c613 qcacld-3.0: Update max values of INIs related to SAR
Currently MAX values of INIs gSarSafetyReqRespTimeout
and gSarSafetyReqRespRetry leads the callback api
to execute for more than 10 seconds which is not as per
driver's scheduler design.
To avoid above issue update above INI values to limit
the execution of the callback api to execute for less
then 10 seconds.

Change-Id: Icdeaf360754b2e86119251cd66c4e8f107f08d98
CRs-Fixed: 2637653
2020-03-16 08:04:56 -07:00
nshrivas
e728a9b967 Release 5.2.0.176I
Release 5.2.0.176I

Change-Id: Ic9941d42f3d3ede0c4aa4cc4de3d7478f4282907
CRs-Fixed: 774533
2020-03-16 03:47:07 -07:00
Jingxiang Ge
84efe29b2b qcacld-3.0: Enhance log in wlan_hdd_pm_qos_notify
Print runtime_pm_prevented info.

Change-Id: Ica1d626fea4c87fe53f6f6c4a78da7d52331ffba
CRs-Fixed: 2641631
2020-03-16 03:47:06 -07:00
nshrivas
5b1bb59d2a Release 5.2.0.176H
Release 5.2.0.176H

Change-Id: I71d6fb311ea6419c8651b9be9874a53dcf814050
CRs-Fixed: 774533
2020-03-14 16:37:42 -07:00
Paul Zhang
21363751ad qcacld-3.0: Add policy attribute for ll_stats_clr
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for the following
vendor command that is being registered in the driver
	QCA_NL80211_VENDOR_SUBCMD_LL_STATS_CLR

Change-Id: I5d29cc624021d489b641045e52d71db86cf3a09b
CRs-Fixed: 2634435
2020-03-14 16:37:42 -07:00
nshrivas
b423d79dd2 Release 5.2.0.176G
Release 5.2.0.176G

Change-Id: Icae098ab5929f2c678aa749cabee2c39783d895c
CRs-Fixed: 774533
2020-03-14 11:07:55 -07:00
Wu Gao
98706f176b qcacld-3.0: Enable CFR log
This is part of adding channel frequency response. Enable debug log of
CFR component.

Change-Id: I0186129270c181c26b836b56545ef64507308808
CRs-Fixed: 2637183
2020-03-14 11:07:55 -07:00
nshrivas
14e0845787 Release 5.2.0.176F
Release 5.2.0.176F

Change-Id: I78950cee86bec81aa49f97c51e8c2c1c919c4c11
CRs-Fixed: 774533
2020-03-14 09:14:20 -07:00
Alan Chen
7ea116f3b0 qcacld-3.0: Add policy attribute to BTC_CHAIN_MODE
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.4 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_BTC_CHAIN_MODE

Change-Id: I6c6f0757df879def054862b7da09c8d7e856ff86
CRs-Fixed: 2635056
2020-03-14 09:14:20 -07:00
nshrivas
d3c640bcaa Release 5.2.0.176E
Release 5.2.0.176E

Change-Id: I7a7a121918df8a90b92549d868aaf81147a34052
CRs-Fixed: 774533
2020-03-14 05:16:53 -07:00
Jianmin Zhu
4116e09ba4 qcacld-3.0: Fill vdev mlme bss channel for all vdev mode
In vdev start response handler, if vdev start success, copy
desire channel to bss channel for all mode: STA, AP, IBSS etc.

Change-Id: Ie0767952bc3831235adcece5ba59ad0f32ee76fe
CRs-Fixed: 2640898
2020-03-14 05:16:45 -07:00
nshrivas
105e48a36d Release 5.2.0.176D
Release 5.2.0.176D

Change-Id: I6629fd533d7eb89c9185c9d724a23b342b5c8800
CRs-Fixed: 774533
2020-03-14 03:24:11 -07:00
Alan Chen
00f4aa9f64 qcacld-3.0: Add policy attribute to SPECTRAL_SCAN subcommands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.4 requirement add policy to following vendor
commands as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_START
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_STOP
	QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_CONFIG

Change-Id: I2c7f4e6b41d341aac7b0984838c72f33a1e1ac5e
CRs-Fixed: 2634094
2020-03-14 03:24:11 -07:00
nshrivas
549b4a5b7f Release 5.2.0.176C
Release 5.2.0.176C

Change-Id: I2f63f740e1daeabe8ecf24bd4a3131d92746b8bf
CRs-Fixed: 774533
2020-03-14 01:39:54 -07:00
Srinivas Dasari
de0a8bedb3 qcacld-3.0: Define a dummy API for hdd_cleanup_ndi when NAN is disabled
Define a dummy API for hdd_cleanup_ndi to avoid "Unknown symbol"
error while loading driver when WLAN_FEATURE_NAN is not enabled.

Change-Id: Ib0d07c5ac7e57cf93e3a20eb6d12c50106939335
CRs-Fixed: 2640856
2020-03-14 01:39:54 -07:00
nshrivas
4df6d4263a Release 5.2.0.176B
Release 5.2.0.176B

Change-Id: Iadea19a2bbdbf38ec8f09ccc5060268b5915c6b7
CRs-Fixed: 774533
2020-03-13 23:50:00 -07:00
Jingxiang Ge
b5caac2e85 qcacld-3.0: Create debugfs file for crash_inject
Create crash_inject file to replace iwpriv cmd.

file path: /sys/kernel/debug/wlan_xx/crash_inject
           wlan_xx is adapter name

Change-Id: Iad8b52bd67345b47717a776759ad6156d654bb93
CRs-Fixed: 2636352
2020-03-13 23:50:00 -07:00
nshrivas
389250b911 Release 5.2.0.176A
Release 5.2.0.176A

Change-Id: Icfbc91d8c40e172acc11428e7429f3149be06c81
CRs-Fixed: 774533
2020-03-13 21:56:38 -07:00
hqu
8925227821 qcacld-3.0: Fix wrong conversion for op_freq
Channel to frequency conversion is unnecessary in function
sap_is_conc_sap_doing_scc_dfs, issue is introduced by
'Change-Id: Ifa62248169ad7b8ff1c62cab44c92d99a8db0e45'.

Fix is to set ch_freq with op_freq directly, no need to convert.

Change-Id: I2e21956833c18240045c85bfb0837ca058069ff5
CRs-Fixed: 2639443
2020-03-13 21:56:37 -07:00
nshrivas
649fab7b87 Release 5.2.0.176
Release 5.2.0.176

Change-Id: Id7f0bbc4835ae4e0fa2af83f47b90e6938d9eb24
CRs-Fixed: 774533
2020-03-13 19:22:15 -07:00
Abhishek Ambure
48b790c62d qcacld-3.0: Add INI support to disable STA roaming
Use INI "sta_disable_roam" to disable roaming on STA interface if
connection on other interfaces ex. p2p, ndp comes up. Each bit of
the INI "sta_disable_roam" represents an interface.
ex. LFR3_STA_ROAM_DISABLE_BY_P2P BIT(0)
    LFR3_STA_ROAM_DISABLE_BY_NAN BIT(1)

As INI "sta_disable_roam" is generic for all the interfaces, cleanup
for INI "p2p_disable_roam" done.

Change-Id: Icd05a97c640ca07978d9960a33de036ed6fe38df
CRs-Fixed: 2637555
2020-03-13 19:22:14 -07:00
nshrivas
1fda6dc171 Release 5.2.0.175Z
Release 5.2.0.175Z

Change-Id: Ice6aa6e5a6a73e87f0559ccd3614f0e51859a5db
CRs-Fixed: 774533
2020-03-13 17:28:31 -07:00
sheenam monga
604dad7dc0 qcacld-3.0: Revert dot11 parser changes for beacon report err vsie
Use manual parser instead of dot11 frame parser for beacon
report err vsie

Change-Id: I55f954f3ed34b1d3c0e44e9db34fec1a15c80932
CRs-Fixed: 2619659
2020-03-13 17:28:31 -07:00
Will Huang
573db4b40c qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

QCA_NL80211_VENDOR_SUBCMD_DO_ACS
QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES

Change-Id: I56d685cf3d7bab8f758d52b2e5d3c0a735accb26
CRs-Fixed: 2635226
2020-03-13 17:28:16 -07:00
nshrivas
17ff6bd3ef Release 5.2.0.175Y
Release 5.2.0.175Y

Change-Id: I9fc49e3f50c3fd75736410aa19cf9bd048a1dfe4
CRs-Fixed: 774533
2020-03-13 15:31:43 -07:00
Paul Zhang
3e231a9fd2 qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver
	QCA_NL80211_VENDOR_SUBCMD_ROAMING
	QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY
	QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY
	QCA_NL80211_VENDOR_SUBCMD_NAN
	QCA_NL80211_VENDOR_SUBCMD_STATS_EXT

Change-Id: Ie2fb541d45ecc04dc5d3f80a3af9060c390ae7f5
CRs-Fixed: 2634373
2020-03-13 15:31:43 -07:00
Ashish Kumar Dhanotiya
489e2ae31e qcacld-3.0: Update correct MCS parameters in wiphy
Currently MCS parameters are not getting correctly in
wiphy which results in incorrect capabilities for iw list
command output.

To resolve above issue, update MCS parameters correctly in
wiphy band capabilities.

CRs-Fixed: 2633314
Change-Id: I830ad50aa4842bd2a79c97ed7b11b82c35148ff0
2020-03-13 15:31:29 -07:00
nshrivas
fcbf75cb84 Release 5.2.0.175X
Release 5.2.0.175X

Change-Id: I5439bcee9085b5358e3d4b2819be9077094788af
CRs-Fixed: 774533
2020-03-13 10:37:03 -07:00
Sourav Mohapatra
7c0a28545f qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands [2]
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

	QCA_NL80211_VENDOR_SUBCMD_GET_CONCURRENCY_MATRIX
	QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_CONFIGURATION
	QCA_NL80211_VENDOR_SUBCMD_TDLS_GET_CAPABILITIES
	QCA_NL80211_VENDOR_SUBCMD_OFFLOADED_PACKETS
	QCA_NL80211_VENDOR_SUBCMD_MONITOR_RSSI

Change-Id: Ia67c9c1d4839e5061f25971578830714abcd66ff
CRs-Fixed: 2633596
2020-03-13 10:37:02 -07:00
nshrivas
d1a5a9897f Release 5.2.0.175W
Release 5.2.0.175W

Change-Id: I04d09693203968bcacdbe75e439cb7f03ba1df66
CRs-Fixed: 774533
2020-03-13 08:38:44 -07:00
Sourav Mohapatra
bde029b861 qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands [3]
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

	QCA_NL80211_VENDOR_SUBCMD_SETBAND
	QCA_NL80211_VENDOR_SUBCMD_SCAN_DONE
	QCA_NL80211_VENDOR_SUBCMD_OTA_TEST
	QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_SCALE
	QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_SCALE_DECR_DB
	QCA_NL80211_VENDOR_SUBCMD_ACS_POLICY
	QCA_NL80211_VENDOR_SUBCMD_STA_CONNECT_ROAM_POLICY
	QCA_NL80211_VENDOR_SUBCMD_SET_SAP_CONFIG
	QCA_NL80211_VENDOR_SUBCMD_TSF
	QCA_NL80211_VENDOR_SUBCMD_WISA
	QCA_NL80211_VENDOR_SUBCMD_GET_STATION
	QCA_NL80211_VENDOR_SUBCMD_P2P_LISTEN_OFFLOAD_START
	QCA_NL80211_VENDOR_SUBCMD_P2P_LISTEN_OFFLOAD_STOP
	QCA_NL80211_VENDOR_SUBCMD_SAP_CONDITIONAL_CHAN_SWITCH

Change-Id: Ibc9ec144eac63a8dab19e01c1718d17ea5cabb35
CRs-Fixed: 2633912
2020-03-13 08:38:44 -07:00
Sourav Mohapatra
2c0cc5f4bc qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

	QCA_NL80211_VENDOR_SUBCMD_GET_SUPPORTED_FEATURES
	QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES
	QCA_NL80211_VENDOR_SUBCMD_GET_LOGGER_FEATURE_SET
	QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_INFO
	QCA_NL80211_VENDOR_SUBCMD_GET_BUS_SIZE
	QCA_NL80211_VENDOR_SUBCMD_NO_DFS_FLAG
	QCA_NL80211_VENDOR_SUBCMD_LL_STATS_SET
	QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION
	QCA_NL80211_VENDOR_SUBCMD_NAN_EXT
	QCA_NL80211_VENDOR_SUBCMD_NDP
	QCA_NL80211_VENDOR_SUBCMD_SCANNING_MAC_OUI
	QCA_NL80211_VENDOR_SUBCMD_WIFI_LOGGER_START
	QCA_NL80211_VENDOR_SUBCMD_LL_STATS_GET
	QCA_NL80211_VENDOR_SUBCMD_ROAM
	QCA_NL80211_VENDOR_SUBCMD_PACKET_FILTER
	QCA_NL80211_VENDOR_SUBCMD_ND_OFFLOAD
	QCA_NL80211_VENDOR_SUBCMD_GW_PARAM_CONFIG
	QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_SET_KEY
	QCA_NL80211_VENDOR_SUBCMD_GET_RING_DATA
	QCA_NL80211_VENDOR_SUBCMD_TRIGGER_SCAN

Change-Id: I714c8b21a95144f7ed8ff4c6e038782e469edf3d
CRs-Fixed: 2621308
2020-03-13 08:38:24 -07:00
nshrivas
20bb090a9e Release 5.2.0.175V
Release 5.2.0.175V

Change-Id: Icb707dc152043a7a0d5a9a7e83297e6093ed3504
CRs-Fixed: 774533
2020-03-13 06:47:03 -07:00
Jinwei Chen
bfe5d6b90c qcacld-3.0: fix skb leak possibility due to no failure handling
fix skb leak possibility due to no failure handling.

Change-Id: I0bd1e4cacdb408010057e35127a1ce9758c2e9c7
CRs-Fixed: 2627321
2020-03-13 06:47:03 -07:00
nshrivas
ed622d6dea Release 5.2.0.175U
Release 5.2.0.175U

Change-Id: Ide1517aed97cfbedd9fae4f1a4e017b6adad5cd0
CRs-Fixed: 774533
2020-03-11 20:34:49 -07:00
Vevek Venkatesan
d0f3e3ae0c qcacld-3.0: reduce stack size during ipa_setup
Reduce stack size by allocating pipe_in memory
dynamically during ipa_setup.

Change-Id: I33692b5a5dd920a2784fab4294af84d827cb092b
CRs-Fixed: 2638947
2020-03-11 20:34:49 -07:00
nshrivas
0ffeda98ea Release 5.2.0.175T
Release 5.2.0.175T

Change-Id: Id5a64ec4165e819282c998be598335f9e19961cb
CRs-Fixed: 774533
2020-03-11 19:08:36 -07:00
nshrivas
4902d34386 Release 5.2.0.175S
Release 5.2.0.175S

Change-Id: Id1b3ca5082d4945ef4103b5dfb24ed7f20a8eae8
CRs-Fixed: 774533
2020-03-11 11:03:59 -07:00
nshrivas
b07d87e7ea Release 5.2.0.175R
Release 5.2.0.175R

Change-Id: I6e05fab71c175a08ca4e5decefac9ae3737511d2
CRs-Fixed: 774533
2020-03-11 09:36:23 -07:00
Arun Kumar Khandavalli
68c99e72e7 qcacld-3.0: Send vdev delete to firmware on notification
Presently vdev delete is sent to firmware 1st and the object manager
vdev delete is deleted after all the references are released.
With this change the vdev delete is sent to firmware when all the
references are released and the vdev delete is sent to firmware via
the object manager vdev delete notification.

Change-Id: I67bea0d2b2a0d2d9eb4602e5d0b8bbdcafdd4d26
CRs-Fixed: 2618278
2020-03-11 09:36:23 -07:00
nshrivas
1877eb82a3 Release 5.2.0.175Q
Release 5.2.0.175Q

Change-Id: Iacaf08ede13d10c754563bea6b0d912f057cfa79
CRs-Fixed: 774533
2020-03-11 05:23:14 -07:00
Jingxiang Ge
2131384024 qcacld-3.0: Fix sta_info use after free in hdd_softap_stop_bss
In hdd_softap_deregister_sta, cdp_clear_peer may return fail
as peer has been deleted in other path, but the free of sta_info
will be continue.
So in hdd_softap_stop_bss, it will still access mac address
from sta_info, which will cause use after free.

Fix:
   Even cdp_clear_peer return failure, it is expected, so only
   log but not return failure to caller function.
   In hdd_softap_stop_bss, remove mac address info log as in
   hdd_softap_deregister_sta, there has been enough log for
   each failure case.

Change-Id: Id06c78cb8d215488eb34d8412359ac2d684756d5
CRs-Fixed: 2637287
2020-03-11 05:23:14 -07:00
nshrivas
69ae181848 Release 5.2.0.175P
Release 5.2.0.175P

Change-Id: I662a98fab9e1d90f04bdacccd8f45ce856607a33
CRs-Fixed: 774533
2020-03-11 03:49:01 -07:00
nshrivas
df11b0d352 Release 5.2.0.175O
Release 5.2.0.175O

Change-Id: I49d10b8eb6e2197944f07e31c01146c0ac4e70f6
CRs-Fixed: 774533
2020-03-11 01:46:34 -07:00
Alan Chen
cc46ff0ae5 qcacld-3.0: Add policy attribute to SET_TRACE_LEVEL
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.4 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_SET_TRACE_LEVEL

Change-Id: Ifbeba29b5c3c7783217ed5f2352286e5537753e6
CRs-Fixed: 2633340
2020-03-11 01:46:34 -07:00
nshrivas
11c6811a81 Release 5.2.0.175N
Release 5.2.0.175N

Change-Id: Idebf0966b87a6fce1b348b0b55932cdbcf14d2c9
CRs-Fixed: 774533
2020-03-10 18:54:49 -07:00
Pragaspathi Thilagaraj
1fd88f59f3 qcacld-3.0: Try association with the same BSS on receiving assoc reject
For SAE connection, if sta has a PMKID cached from previous
full SAE authentication and uses it for the open authentication
with the AP and if the AP rejects the association with invalid
pmkid (53), then the STA tries association with next AP. This
could result in association with a low score candidate.

Retry association with same AP, with full SAE authentication,
if AP rejects association with reason code invalid pmkid. Limit
the retry count to 1 per AP.

Change-Id: I5b26822ff9bbeea51de1b80852d5d325d28bf17f
CRs-Fixed: 2625987
2020-03-10 18:54:49 -07:00
Pragaspathi Thilagaraj
1229e319b0 qcacld-3.0: Delete pmk entry from crypto table on assoc reject
Currently when association reject with reason code 53(invalid
pmkid) is received from the AP, then we delete the pmksa entry
for that AP from csr_session, but with converged crypto component,
the entry needs to be deleted from the crypto pmk table.
Else when associating to the same AP again, driver will use the
stale pmk for the AP again.

Delete the pmk entry from crypto pmk table when association
reject is received from AP with reason code 53.

Change-Id: I54f4a7ee7e02d35e0560bfad9fe2e3466aaa361d
CRs-Fixed: 2636570
2020-03-10 18:54:34 -07:00
nshrivas
db1f08d4a2 Release 5.2.0.175M
Release 5.2.0.175M

Change-Id: I793bbe52693608580f220a89846df27793d3fcbe
CRs-Fixed: 774533
2020-03-10 14:44:37 -07:00
gaurank kathpalia
23e479b963 qcacld-3.0: Add more info in connect prints
Add more info in connect prints.

Change-Id: Id467afbf4e9920c81d8bb37f29451faa97e93546
CRs-Fixed: 2638385
2020-03-10 14:44:37 -07:00
nshrivas
6a3402d87f Release 5.2.0.175L
Release 5.2.0.175L

Change-Id: I487025674619f595e9dd9e11909239a03b03c30e
CRs-Fixed: 774533
2020-03-10 09:20:32 -07:00
Guisen Yang
a3c54de471 qcacld-3.0: Move sme_get_roam_scan_ch() out of FEATURE_WLAN_ESE
A unknown symbol sme_get_roam_scan_ch() error will happen when
probing wlan module without the enablement of FEATURE_WLAN_ESE.
Move the definition of sme_get_roam_scan_ch() out of the body
of FEATURE_WLAN_ESE.

Change-Id: Ie39133778b6e569d40ee05bffff5c27343f1507a
CRs-Fixed: 2634396
2020-03-10 09:20:32 -07:00
nshrivas
4dc74ab301 Release 5.2.0.175K
Release 5.2.0.175K

Change-Id: I151fb97999c51968b2524ca9c009760355721f6a
CRs-Fixed: 774533
2020-03-10 02:01:20 -07:00
nshrivas
8bba4f0a61 Release 5.2.0.175J
Release 5.2.0.175J

Change-Id: I1b8dde9699f847a038a3dd491ea8c980474252a7
CRs-Fixed: 774533
2020-03-10 00:19:23 -07:00
Jingxiang Ge
ba6213b1b6 qcacld-3.0: Add policy attribute for tdls/supported_feature
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.
To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

    QCA_NL80211_VENDOR_SUBCMD_TDLS_ENABLE
    QCA_NL80211_VENDOR_SUBCMD_TDLS_DISABLE
    QCA_NL80211_VENDOR_SUBCMD_TDLS_GET_STATUS
    QCA_NL80211_VENDOR_SUBCMD_GET_SUPPORTED_FEATURES

Change-Id: I4ad3d952d2af8f1d7f37179f9c92b0e77fc2eb23
CRs-Fixed: 2635755
2020-03-10 00:19:23 -07:00
nshrivas
0d364672c5 Release 5.2.0.175I
Release 5.2.0.175I

Change-Id: I2aae98d4c93fe86d947078bf78c08957226762da
CRs-Fixed: 774533
2020-03-09 22:45:28 -07:00
nshrivas
fbac72826d Release 5.2.0.175H
Release 5.2.0.175H

Change-Id: Ieadb2aea4beb70ddc547f037f05e24aa9d60b912
CRs-Fixed: 774533
2020-03-09 20:57:32 -07:00
Lincoln Tran
4cb4b007a1 qcacld-3.0: Add ini to pass xLNA bypass config to FW
Add new ini CFG_SET_SAP_XLNA_BYPASS under fw_offload to allow host
to pass config to FW. WMI_PDEV_PARAM_SET_SAP_XLNA_BYPASS makes the
SAP xLNA bypass configureable.

Change-Id: Ie501005f3035f14b3f23cdd260f401a6af81b798
CRs-fixed: 2632088
2020-03-09 20:57:16 -07:00
nshrivas
9ca81c3f90 Release 5.2.0.175G
Release 5.2.0.175G

Change-Id: Ib6caa198c84ef03e2b89500255969d23adc8cfd6
CRs-Fixed: 774533
2020-03-09 12:45:03 -07:00
Naman Padhiar
580e5e989d qcacld-3.0: Correction in SMMU mapping and interrupt registeration
Add pld wrapper for interrupt registration and SMMU map for
WCN6750.

Change-Id: Iea7130f3462b4d1fb2bf0dde147f7e5f51c491b4
2020-03-09 12:45:03 -07:00
nshrivas
3667f24544 Release 5.2.0.175F
Release 5.2.0.175F

Change-Id: I212417765db614b4110be215eb17e486ce4a22c6
CRs-Fixed: 774533
2020-03-09 09:55:16 -07:00
Tushnim Bhattacharyya
6f4fcbc18d qcacld-3.0: update ch_width in lim_tdls_update_hash_node_info
Update ch_width for tdls peer in dph hash table inside
lim_tdls_update_hash_node_info.

Change-Id: Iaa07015a01e1e6b483d8544c7f66c1e4276273ac
CRs-Fixed: 2636050
2020-03-09 09:55:16 -07:00
Jingxiang Ge
a6a955d19f qcacld-3.0: Add debugfs for unit_test_host/unit_test_target
These debugfs files are to replace wext cmd setUnitTestCmd
/unit_test/wlan_suspend/wlan_resume.

unit_test_host:
    /sys/kernel/debug/wlan_xx/unit_test_host
    wlan_xx is driver name
unit_test_target:
    /sys/kernel/debug/wlan_xx/unit_test_target
    wlan_xx is adapter name
wlan_suspend:
    /sys/kernel/debug/wlan_xx/wlan_suspend
    wlan_xx is adapter name
wlan_resume:
    /sys/kernel/debug/wlan_xx/wlan_resume
    wlan_xx is adapter name

Change-Id: I1ddf44b47a3f0d2e11ff74022dc1a26888da974c
CRs-Fixed: 2631424
2020-03-09 09:54:51 -07:00
nshrivas
b84b7473cf Release 5.2.0.175E
Release 5.2.0.175E

Change-Id: I49932687123b77550f64668e7c06a934d3df9738
CRs-Fixed: 774533
2020-03-09 05:47:00 -07:00
Bapiraju Alla
4a668d9d24 qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

QCA_NL80211_VENDOR_SUBCMD_GET_WAKE_REASON_STATS
QCA_NL80211_VENDOR_SUBCMD_OCB_SET_CONFIG
QCA_NL80211_VENDOR_SUBCMD_OCB_SET_UTC_TIME
QCA_NL80211_VENDOR_SUBCMD_OCB_START_TIMING_ADVERT
QCA_NL80211_VENDOR_SUBCMD_OCB_STOP_TIMING_ADVERT
QCA_NL80211_VENDOR_SUBCMD_OCB_GET_TSF_TIMER
QCA_NL80211_VENDOR_SUBCMD_DCC_GET_STATS
QCA_NL80211_VENDOR_SUBCMD_DCC_CLEAR_STATS
QCA_NL80211_VENDOR_SUBCMD_DCC_UPDATE_NDL
QCA_NL80211_VENDOR_SUBCMD_LINK_PROPERTIES

Change-Id: I1fa51d2fdf75a20098fe651769352d69d8fbd48c
CRs-Fixed: 2633726
2020-03-09 05:47:00 -07:00
Bapiraju Alla
621e688bb8 qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

QCA_NL80211_VENDOR_SUBCMD_GET_HW_CAPABILITY
QCA_NL80211_VENDOR_SUBCMD_LL_STATS_EXT

Change-Id: I33498d0980e96d7aca6c1cf3da8941654d2d6380
CRs-Fixed: 2633925
2020-03-09 05:46:44 -07:00
nshrivas
5df979042c Release 5.2.0.175D
Release 5.2.0.175D

Change-Id: Ibe7015397d50dd56963f175fb69db7c255ea11db
CRs-Fixed: 774533
2020-03-08 23:58:15 -07:00
Srinivas Dasari
ef993fd575 qcacld-3.0: Stop bus_bw timer as part of stop_adapter for NDI
bus_bw timer start happens when first NDP is connected and
stop happens when last peer is departed indication is received
from firmware. But as part of driver unload, driver issues
stop_bss and firmware doesn't send any NDP END indication after
receiving this. So the timer started as part of first NDP confirm
is not stopped.
Try to stop the timer after processing the sme_disconnect which
is issued as part of stop_adapter for NDI mode.

Also, in STA+NDI concurrency scenario, bus bandwidth timer is
stopped on STA disconnection since hdd_any_adapter_is_assoc
checks only for other active STA or SAP. Add an NDI active
check so that timer is not stopped when NDPs are present on
an NDI.

Change-Id: Ibec447846fefad153261830c34bf2fa914636c7a
CRs-Fixed: 2625586
2020-03-08 23:58:14 -07:00
nshrivas
ff3fcbfa29 Release 5.2.0.175C
Release 5.2.0.175C

Change-Id: I4f9dd0cc7dbf816deadd37289e179cecd43c2e4c
CRs-Fixed: 774533
2020-03-07 14:32:55 -08:00
Min Liu
fd0c7f1208 qcacld-3.0: Add policy attribute to hdd_wiphy_vendor_commands
According to new changes in kernel 5.4 version onwards, driver has to
provide the policy for a NL command to ve verified against while
registering wiphy to the kernel.

To accommodate these changes, add policy for all the following
vendor commands that are being registered in the driver

QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_START
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_STOP
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_GET_VALID_CHANNELS
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_GET_CAPABILITIES
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_GET_CACHED_RESULTS
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_SET_BSSID_HOTLIST
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_RESET_BSSID_HOTLIST
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_SET_SIGNIFICANT_CHANGE
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_RESET_SIGNIFICANT_CHANGE
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_PNO_SET_LIST
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_PNO_SET_PASSPOINT_LIST
QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_PNO_RESET_PASSPOINT_LIST

Change-Id: I664e59564642c25fad931aca37cbc696b0c53b49
CRs-Fixed: 2635225
2020-03-07 14:32:55 -08:00
nshrivas
e2124e159c Release 5.2.0.175B
Release 5.2.0.175B

Change-Id: I7fa9ed05c4b6f652ea19c6dafda7bdee48ec4b7d
CRs-Fixed: 774533
2020-03-07 03:19:45 -08:00
Srinivas Girigowda
802283bd11 qcacld-3.0: Add policy attribute to SUBCMD_GET_CHAIN_RSSI
According to new changes in kernel 5.2 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.2 requirement add policy to following vendor
command as part of this change:
    QCA_NL80211_VENDOR_SUBCMD_GET_CHAIN_RSSI

Change-Id: Id1d1f1ee339bcef83b714e33cc174f886fee5ce6
CRs-Fixed: 2634263
2020-03-07 03:19:45 -08:00
nshrivas
7289d17503 Release 5.2.0.175A
Release 5.2.0.175A

Change-Id: I49374abb08a60c71844414ccdfcfb17ef0fa0c61
CRs-Fixed: 774533
2020-03-07 01:45:36 -08:00
Jianmin Zhu
3fa522c495 qcacld-3.0: Fill vdev mlme bss channel just after vdev start
Copy desire channel to vdev mlme bss channel after vdev start,
several APIs used bss channel before it is filled, issue happens
like wrong max tx power is set.

Change-Id: Ib46b5b9eebc2000d703dc542c97f85281c0f376c
CRs-Fixed: 2636775
2020-03-07 01:45:36 -08:00
Srinivas Girigowda
51b1536f7a qcacld-3.0: Add policy attribute to SUBCMD_EXTERNAL_ACS
According to new changes in kernel 5.2 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.2 requirement add policy to following vendor
command as part of this change:
    QCA_NL80211_VENDOR_SUBCMD_EXTERNAL_ACS

Change-Id: If2e7aec3d6f6d98168e0ceededea8d86db7078d9
CRs-Fixed: 2634255
2020-03-07 01:45:07 -08:00
nshrivas
8dcd27c0b8 Release 5.2.0.175
Release 5.2.0.175

Change-Id: I03dfb703fa2868d510b1c81a514af9da2276e20f
CRs-Fixed: 774533
2020-03-06 23:41:20 -08:00
Liangwei Dong
93c03dad7f qcacld-3.0: Flush pmksa cache for SAP when SAP stop
In certain case, the active SAP interface will be deleted by
__wlan_hdd_del_virtual_intf by upper layer. In that case,
we need to flush pmksa in SAP PMKID cache.

Change-Id: I9a152df7a4c27aef82664f039fbca18259d6b63a
CRs-Fixed: 2635424
2020-03-06 23:41:20 -08:00
nshrivas
5d219dda31 Release 5.2.0.174Z
Release 5.2.0.174Z

Change-Id: Ie5acaeaf83779e73195e480392625c4c5d9e7819
CRs-Fixed: 774533
2020-03-06 22:06:39 -08:00
Abhinav Kumar
d47cc6f4eb qcacld-3.0: Log enhancement for PNO scan
Remove unwanted prints for PNO scan.

Change-Id: I1223086b2987e9687ee814647437dcecda351da7
CRs-Fixed: 2636639
2020-03-06 22:06:39 -08:00
nshrivas
dbbec865b3 Release 5.2.0.174Y
Release 5.2.0.174Y

Change-Id: I0b0ede979aaa71329591f0dbaee5274fa5eb4a00
CRs-Fixed: 774533
2020-03-06 20:33:44 -08:00
Ashish Kumar Dhanotiya
919239acdb qcacld-3.0: Check for vendor vht ie to fill assoc ind param
Currently there is no check for vendor vht ie in lim fill
assoc indication param api. If a station fills its vhtcaps
in vendor vht ie in assoc request, lim does not fill
vhtcaps information in assoc indication params from
station's assoc request and it results in invalid caps info
in assoc indication to upper layers.

To avoid this issue, add a check to look for vendor vht caps
before copy of the vht caps to assoc indication from assoc
request.

Change-Id: If80136d9a923d23b7db3ebec1d49e6e4012e6dd2
CRs-Fixed: 2633003
2020-03-06 20:33:43 -08:00
nshrivas
c9b88383e2 Release 5.2.0.174X
Release 5.2.0.174X

Change-Id: I9dc4a752ce0801436e82c8f0a287960eb85bd812
CRs-Fixed: 774533
2020-03-06 18:51:43 -08:00
Ashish Kumar Dhanotiya
50250837e4 qcacld-3.0: Reset qdf event before wait
Currently sar safety request response event is not getting
reset before it starts wait for completion in sar
unsolicited timer callback which may cause issues if this
event gets complete multiple times.

To avoid above issue, reset the sar safety request response
event before it starts wait for completion.

CRs-Fixed: 2634885
Change-Id: I47b8abd6e960acc4dd9eef43faebe7e34203c380
2020-03-06 18:51:43 -08:00
Surabhi Vishnoi
f4bee3a7c5 qcacld-3.0: Update the occupied channel list after CSA
Currenlty the occupied channel list is not updated with the new
channel to which STA gets connected after CSA. This leads to non
updation of the scan_list in firmware with the new occupied
channel. So firmware goes for a full scan instead of partial scan
in case of roam scan trigger.

To mitigate this issue, update the occupied channel list with the
new channel after CSA, which will lead to updation of scan list in
firmware.

Change-Id: I21e9bdd3474ecd23e49aabf27c2a9978b158c2ce
CRs-Fixed: 2632943
2020-03-06 18:51:22 -08:00
nshrivas
46c1ef256d Release 5.2.0.174W
Release 5.2.0.174W

Change-Id: I833f648a1aa980b21f29fd2c3970eb34b7a09ad3
CRs-Fixed: 774533
2020-03-06 16:38:55 -08:00
nshrivas
58fdcd1530 Release 5.2.0.174V
Release 5.2.0.174V

Change-Id: I81920256ffad0761bb7e0ee2ce0dfa1ac6e3da5c
CRs-Fixed: 774533
2020-03-06 08:36:24 -08:00
Surabhi Vishnoi
85d94fc4b9 qcacld-3.0: Clear ftm_time_sync offset on disconnect and add bssid in sysfs
The Qtime offset derived with a connected AP (master) are not
cleared on disconnect. This leads to storage of stale offset
values. So clear the stale Qtime offset values on disconnection.

Currently there is no information in ftm_time_sync sysfs entry
regarding which BSSID the Qtime offset values are derived.
Add the BSSID info in the sysfs entry.

Change-Id: Iac47bccffae005602469a658e5ca0bc9008ac4b4
CRs-Fixed: 2629822
2020-03-06 08:36:24 -08:00
nshrivas
60de8cadbd Release 5.2.0.174U
Release 5.2.0.174U

Change-Id: Ie7bc9656fab7f0d06f94d916e0f3f62b88ccb657
CRs-Fixed: 774533
2020-03-06 05:29:57 -08:00
Srinivas Girigowda
1129ba43a7 qcacld-3.0: Add policy attribute to SUBCMD_SET_SAR_LIMITS
According to new changes in kernel 5.2 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.2 requirement add policy to following vendor
command as part of this change:
    QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS

Change-Id: Ic02df66a2937aa3e1fd6b6193fbe31b7b4141ba4
CRs-Fixed: 2634250
2020-03-06 05:29:57 -08:00
Srinivas Girigowda
c58548360f qcacld-3.0: Add policy attribute to SUBCMD_CONFIGURE_TDLS
According to new changes in kernel 5.2 version onwards, driver has to
provide the policy for a NL command to be verified against while
registering wiphy to the kernel.

To satisfy kernel 5.2 requirement add policy to following vendor
command as part of this change:
	QCA_NL80211_VENDOR_SUBCMD_CONFIGURE_TDLS

Change-Id: I181d9d5c4160847d4d1be98f2ce5fa2627b3972a
CRs-Fixed: 2634233
2020-03-06 05:29:35 -08:00