Commit Graph

17021 Commits

Author SHA1 Message Date
nshrivas
cb89f90348 Release 5.2.0.178Q
Release 5.2.0.178Q

Change-Id: Ia640ba33a68d0d42f3683ae77dbd71f3a3c03765
CRs-Fixed: 774533
2020-03-29 17:38:13 -07:00
nshrivas
5de60c69be Release 5.2.0.178P
Release 5.2.0.178P

Change-Id: Ic878fa958adc34f90c09ded7a23ab1b1abc11d9a
CRs-Fixed: 774533
2020-03-29 12:44:30 -07:00
Pragaspathi Thilagaraj
24c7af6849 qcacld-3.0: Add null check for frequency list in rrm scan done callback
When multiple measurement requests are received in a single beacon
report request, multiple iterative scans are triggered for each
request for the frequency list provided in the request. This results
in free of rrm context global frequency list by the second
request rrm scan in the iter measurement timer start failure path
and was accessed by the scan done callback of the 1st measurement
request.

Add null check for rrm context frequency list and also if the
timer is already running, send measurement done indication for
that request.

Change-Id: I149ba47872095228595cd52535fb76c422eefba7
CRs-Fixed: 2648618
2020-03-29 17:39:54 +05:30
nshrivas
eaac96d0a4 Release 5.2.0.178O
Release 5.2.0.178O

Change-Id: I693b0b075006b0d36eb9efe26881424be13d185d
CRs-Fixed: 774533
2020-03-29 01:28:52 -07:00
Yeshwanth Sriram Guntuka
dc0c05524a qcacld-3.0: Add support to collect EAPOL and DHCP stats
Add support to collect stats for EAPOL and DHCP packets.

Change-Id: Ibdf27a0ed2f23edca4952c63570d3f56af62b1ab
CRs-Fixed: 2650218
2020-03-29 01:28:52 -07:00
nshrivas
0dc16a1894 Release 5.2.0.178N
Release 5.2.0.178N

Change-Id: Ifed527c37143b1a026d5236e56b2966f334fc567
CRs-Fixed: 774533
2020-03-28 23:41:50 -07:00
Liangwei Dong
44acfe559b qcacld-3.0: Wait for EAP Failure frame tx done for P2P GO
In GO+STA MCC scenario, after GO and ref P2P client wps 8
ways EAP frame exchange, the GO will send EAP Failure to peer
to finish WPS and send disassoc frame to peer. The EAP Failure
frame is sent by data path, but the disassoc will go through
control path. In certain condition, the GO data path queue may
be in paused specially in MCC case, which may cause the disassoc
frame sent before EAP Failure frame. And that will finally result
to P2P connection failure.
To fix by checking EAP Failure tx pending before sending disassoc
to peer in GO case.

Change-Id: I1f4b19372066da7db4b2dda050ea7a2f4f737b17
CRs-Fixed: 2637298
2020-03-28 23:41:49 -07:00
nshrivas
564cbed6ff Release 5.2.0.178M
Release 5.2.0.178M

Change-Id: I7cff0e1fcbfcfa1562cbe770e40d91e101890ee5
CRs-Fixed: 774533
2020-03-28 10:41:27 -07:00
Tushnim Bhattacharyya
738552d241 qcacld-3.0: Use 6 mbps rate for 6Ghz mgmt frames
Extend 6 mbps rate usage for 6 Ghz management frames.

Change-Id: Idaff60865414dd8555877554f5626361e18f0c1f
CRs-Fixed: 2648909
2020-03-28 10:41:27 -07:00
nshrivas
f47707ef11 Release 5.2.0.178L
Release 5.2.0.178L

Change-Id: I1c6eb110b4a7bab9eb841bfa1bdb4345ea06b409
CRs-Fixed: 774533
2020-03-28 02:40:59 -07:00
Sravan Goud
021aad0312 qcacld-3.0: Request high bus bandwidth for monitor mode
Currently for monitor mode there is no bandwidth vote and
as a result voting level is none. So request high bus bandwidth
vote level for monitor mode.

Change-Id: I3efb755c80dadc07b5f672c18d9bae862eac378f
CRs-Fixed: 2643405
2020-03-28 02:40:59 -07:00
nshrivas
fb5421cf4a Release 5.2.0.178K
Release 5.2.0.178K

Change-Id: I6bd3264ba8dc44d2162fc15e8bde6a35ec36a957
CRs-Fixed: 774533
2020-03-27 21:09:00 -07:00
Gururaj Pandurangi
71a63998bf qcacld-3.0: Cleanup instances of CFG_MAX_TX_POWER
Remove max_tx_power from wlan_mlme_power struct
and ini_tx_power from lim_max_tx_pwr_attr struct
and all their instances.

Change-Id: I982a15b71b64d368b623128e04f09a8f3bf4f5ec
CRs-Fixed: 2645922
2020-03-27 21:09:00 -07:00
nshrivas
c257f188fc Release 5.2.0.178J
Release 5.2.0.178J

Change-Id: I5d47627c9e23f86f0205e1b0875c08fc6a504163
CRs-Fixed: 774533
2020-03-27 10:18:31 -07:00
Sourav Mohapatra
c836d39181 qcacld-3.0: Add conversion for new hang reasons
As a part of requirement, new hang reason codes were added to the
upstream.

Add the corresponding internal hang reason code mapping for the
upstreamed enum.

Change-Id: I55b44f9f51d5f9e7dd0be7461f1f0040ecdda4c3
CRs-Fixed: 2650294
2020-03-27 10:18:31 -07:00
Sourav Mohapatra
264f8d60d2 qcacld-3.0: Incorporate the new hang reason codes
As a part of requirement, there are new hang reasong codes added to the
qdf_hang_reason. Use those reason codes to trigger recovery at the
respective scenarios.

Change-Id: I4718012673ca206cb2f1112471f2b0d70caa6452
CRs-Fixed: 2630952
2020-03-27 10:18:10 -07:00
Sourav Mohapatra
9eb8bc01a0 qcacld-3.0: Modify cds_trigger_recovery as per modified QDF framework
The QDF framework for triggering self recovery is undergoing changes to
include support for multiple psoc driver. As the MCL host is still
multiple psoc agnostic, create dummy wrappers over the
cds_trigger_recovery so as to maintain compatibility with modified
qdf_trigger_self_recovery

Change-Id: I42163879c3e786a2b9ab2f9f5785be5531754e77
CRs-Fixed: 2617709
2020-03-27 10:17:47 -07:00
nshrivas
2e96bdbdf7 Release 5.2.0.178I
Release 5.2.0.178I

Change-Id: Ida4dd1897d8671b7b546fef7a873a5f59dbba90d
CRs-Fixed: 774533
2020-03-27 08:10:40 -07:00
Pankaj Singh
7bb841afbd qcacld-3.0: Add wait for vdev up operation completion in Monitor mode
During set channel request for monitor mode vdev start is triggered.
The vdev operation is completed only when vdev up is send to FW.
Wlan driver does not wait for completion of the vdev up operation
and after posting set channel request context is returned to supplicant.
Supplicant sends vdev stop operation for montior mode which results in
vdev up command sending to FW after vdev stop.

Fix, is to wait for completion of vdev up operation, then return the
context to supplicant.

change-ID: I33d7f9f85848b74d1206cff145e27ca2d96580a0
CRs-Fixed: 2627239
2020-03-27 08:10:35 -07:00
nshrivas
bf6b873f91 Release 5.2.0.178H
Release 5.2.0.178H

Change-Id: I7968df682548e5f5e7de40a9fd588920c3988e7b
CRs-Fixed: 774533
2020-03-27 04:59:06 -07:00
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