Commit Graph

18976 Commits

Author SHA1 Message Date
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
Pragaspathi Thilagaraj
4281eb0f89 qcacld-3.0: Increase roam failure reason buffer size
Increase the roam failure reason string buffer size to
60 from 50.
Also add reason string for roam failure reason.

Change-Id: I42f4332463e4063aa0dee39631ca31965db12b62
CRs-Fixed: 2647260
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
3a8d34c8cb qcacld-3.0: Make sure NULL pm_ctx pointer not be accessed before initialization
Make sure NULL pm_ctx pointer not be accessed before initialization.
Before initialization, __policy_mgr_check_sta_ap_concurrent_ch_intf
return directly when meet error condition.

Change-Id: I4a96ca7c18d7c524969b8ea95d3bc717cfb0862c
CRs-Fixed: 2642567
2020-03-26 02:00:29 -07:00
Qun Zhang
4229b0ba4f qcacld-3.0: Add pointer str1 NULL check before use
Add pointer str1 NULL check before use in mlme_acs_parse_weight_list()
in case user side has wrong configuration.

Change-Id: I7a1552e417a7571d138a2c1c526aa2f9d0015529
CRs-Fixed: 2642567
2020-03-26 02:00:20 -07:00
Qun Zhang
7ed7929ac0 qcacld-3.0: Make sure pointer wasn't dereferenced after being freed
Make sure pointer wasn't dereferenced after being freed, so when
fwol_obj is freed, the function should return directly.

Change-Id: I69c23d2366b2ea0ff1caca9798bdc22063221a9c
CRs-Fixed: 2642567
2020-03-26 02:00:00 -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
Naman Padhiar
ea010535c6 qcacld-3.0: Enable FEATURE_HAL_DELAYED_REG_WRITE based on target
Feature HAL_DELAYED_REG_WRITE for hastings family is enbale based
on MSM_PCI flag. But MSM_PCI flag could be set for MSM where
hastings is not connected.
To make this feature exclusive for hastings family enable it based
on target flag.

Change-Id: I9896b3c9a61a3192638ef8413a7eef12dbd6906c
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
Nisha Menon
87339e1de9 qcacld-3.0: Support ipa stats quota for sta + sap offload
Support ipa stats quota for sta + sap offload in Lahaina+HSP.

Change-Id: I224cf0d1a3e924e02f7e8f2ea5affe0d0a0461a5
CRs-Fixed: 2648696
2020-03-25 11:34:02 -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
Jinwei Chen
6544ac0f66 qcacld-3.0: enable macro DP_RX_SPECIAL_FRAME_NEED
enable macro DP_RX_SPECIAL_FRAME_NEED

Change-Id: I5d4768d19ab4b4d2cab3a767bdad9e16706500d9
CRs-Fixed: 2638527
2020-03-25 08:58:26 -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
Sandeep Singh
2ded622993 qcacld-3.0: Avoid softlink creation for ini
In ODM specific targets false softlink is getting created for
ini file from vendor partition. Correct softlink for ini on odm
specific targets is created from odm partition. So, Avoid softlink
creation for ini from vendor partition on ODM specific targets.

Change-Id: I2ddf7d8b67d90106686c6a8118d0109fb8be72af
CRs-Fixed: 2641694
2020-03-24 06:42:37 -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
Abhishek Ambure
2a5240c50c qcacld-3.0: Change INI "sta_disble_roam" type to UINT
As each bit of INI "sta_disable_roam" represents an interface on which
if the connection is present, disable station roaming.

Hence to use all the bits of "sta_disable_roam" INI, change type to
UINT.

Change-Id: Ife4bb31acf89ddbe744bdad376a8a6f5a733b92c
CRs-Fixed: 2647036
2020-03-23 19:56:32 -07:00