Graphe des révisions

15550 Révisions

Auteur SHA1 Message Date
nshrivas
866f5e543e Release 5.2.0.129V
Release 5.2.0.129V

Change-Id: I79148b988fea0761c9d5937fc512a39e56a692c0
CRs-Fixed: 774533
2019-04-08 15:35:56 -07:00
Pragaspathi Thilagaraj
6695ba9181 qcacld-3.0: Handle assoc IE update sent from userspace
The host driver handles update connect params sent from
userspace and updates the FILS auth type or FILS Erp info based
on the UPDATE_FILS_AUTH_TYPE(2) or UPDATE_FILS_ERP_INFO(1) bit
set in the changed flag.

Handle the association IE update sent from userspace also.
UPDATE_ASSOC_IE(bit 0) will be used to check if assoc IE needs
to be updated. This assoc IE should be sent to firmware. MBO IE
is updated as part of this IEs from the WNM action frame
received by the userspace when setting non preferred channel list
from the AP. If host driver fails to update these IEs to
firmware, MBO IE will not be sent in reassociation request frame
and MBO testcases will fail.

Parse the assoc IE into hdd_adapter->roam_profile. If
parse and validation is successful, copy the assoc IE into
csr_roam_session of the corresponding vdev. Send RSO update
command to firmware, with updated assoc IEs.

Also currently the driver registers update_connect_params
event only if FILS compile flag and UPDATE_CONNECT_PARAMS
flag is enabled. Exclude FILS flag check from this conditional
condition and check only for UPDATE_CONNECT_PARAMS.

Change-Id: I29fadebc9a7fc43937b805f0f041bb86ddf85cbd
CRs-Fixed: 2429665
2019-04-08 15:35:56 -07:00
nshrivas
bb7cf15f9f Release 5.2.0.129U
Release 5.2.0.129U

Change-Id: I57bd78b515b620498ca9fdfb715a806e285c513c
CRs-Fixed: 774533
2019-04-07 22:24:59 -07:00
Jianmin Zhu
465c348898 qcacld-3.0: Fix Wlan Tx failed when bt-coex for Rome
Current gTxChainMask1ss is 1 by default, only chain 1 can be used
by wifi when bt co-ex, if only chain0 exist or green AP switch to
1x1 mode, wifi tx will fail, connect will fail.

Add clear comment for gTxChainMask1ss to avoid confusing.
gTxChainMask1ss is only used by Rome, not by Helium and HST.

NOTE WELL: This change will have an adverse impact on products
which implicitly expect gTxChainMask1ss=1 behavior. Any such
products must update their INI file to add an explicit
"gTxChainMask1ss=1" entry.

Change-Id: I44f34f80200d057188a77f6f564a13c768fc727e
CRs-Fixed: 2426623
2019-04-07 22:24:58 -07:00
nshrivas
12924fc780 Release 5.2.0.129T
Release 5.2.0.129T

Change-Id: Idd472a413bdf655a43f6aa45bfe99128c6fc67a0
CRs-Fixed: 774533
2019-04-06 11:35:48 -07:00
Kiran Kumar Lokere
05a618572a qcacld-3.0: Set HE caps to testbed defaults for testbed
Set device HE capabilities to testbed defaults when device is
configured as testbed device.

Change-Id: I5b1d9eb6f0b576f18a5e4d77131354639b0ae2f0
CRs-Fixed: 2428156
2019-04-06 11:35:47 -07:00
Arif Hussain
50689083eb qcacld-3.0: Add support to send bcast capability to firmware
If both INI and FW capability is set,
enable capability flag in twt enable command.

Change-Id: I1c070256c4b672b09a1323665fc5a2f166f951fb
CRs-fixed: 2423752
2019-04-06 11:35:42 -07:00
nshrivas
937f0d1777 Release 5.2.0.129S
Release 5.2.0.129S

Change-Id: Ifd5d0d6f3aa2c2fbccde887b5a21ce6d8906ceed
CRs-Fixed: 774533
2019-04-06 01:54:34 -07:00
Liangwei Dong
b677b9e6ec qcacld-3.0: Update rmf enable flag
Set rmf enabled flag in lim based on crypto component info
for WLAN_CONV_CRYPTO_IE_SUPPORT feature enabled case.

Change-Id: Ibb07531d6073015d67df94e3666883a6785de476
CRs-Fixed: 2421470
2019-04-06 01:54:33 -07:00
Srinivas Girigowda
6177126e67 qcacld-3.0: Consolidate SIR_MAC_EID_* to WLAN_ELEMID_*
Remove the element ID macros defined in qcacld-3.0 and
replace it with the macros defined in qcacmn.

Change-Id: I01a38e3d6c4857eb48868a34e278366ad9d5d099
CRs-Fixed: 2427311
2019-04-06 01:54:29 -07:00
Arif Hussain
9946563033 qcacld-3.0: Fix compilation from wma cleanup
Some cleanup missing from below change, remove the same to fix
compilation issue.
"Ia5b290e3367a894646f138cfeedcb9ab3012e9be"

Change-Id: I5aea8b2c5a00df6c1f8eef6a106918763816fdd0
CRs-Fixed: 2430444
2019-04-06 01:54:24 -07:00
nshrivas
cc0be949cc Release 5.2.0.129R
Release 5.2.0.129R

Change-Id: I0ef0ab98e982fb8b66e7ab024206e70923a69c26
CRs-Fixed: 774533
2019-04-06 00:16:05 -07:00
Harprit Chhabada
74007cf168 qcacld-3.0: Check range for pcl_count in policy_mgr_trim_acs_channel_list
In policy_mgr_trim_acs_channel_list(), check the range for
pcl to ensure it is less than QDF_MAX_NUM_CHAN

Change-Id: I1326e229e93edef6ac5963c7cc48557cc22e76ba
CRs-Fixed: 2424007
2019-04-06 00:16:04 -07:00
Harprit Chhabada
be221e6ed9 qcacld-3.0: Populate CFG values in SAP module
Currently HDD is populating SAP configuration values and
sending it down to SAP module instead use the respective
MLME CFG public API's to get the configuration values.
Move following CFG values:
1. auto_channel_select_weight
2. reduced_beacon_interval
3. dfs_preferred_channel_location

Change-Id: Ic0936a9d96d0587d927ea4d906bd659969415847
CRs-Fixed: 2425524
2019-04-06 00:16:00 -07:00
Srinivas Girigowda
d462f3b993 qcacld-3.0: Multiple cleanup regarding access category
1. Replace TX_WMM_AC_NUM/OL_TX_NUM_WMM_AC with QCA_WLAN_AC_ALL
2. Replace SIR_QOS_NUM_AC_MAX with QCA_WLAN_AC_ALL
3. Replace WME_NUM_AC with QCA_WLAN_AC_ALL
4. Fix the typo sme_qos_u_pto_ac_map

CRs-Fixed: 2430527
Change-Id: Id2b4624d60a2bd7dd1471c65699ef0de1b88aecf
2019-04-06 00:15:56 -07:00
nshrivas
2973e69281 Release 5.2.0.129Q
Release 5.2.0.129Q

Change-Id: I62a6d5cf28a6e429c1e41b7590d37a42c901417e
CRs-Fixed: 774533
2019-04-05 15:59:51 -07:00
Sravan Kumar Kairam
d68f27cba8 qcacld-3.0: Add feature flag for nbuff replenish
Add new feature flag for nbuff replenish timer apis to
replace CONFIG_MCL flag.

Change-Id: Ibb65dd28b657085a20b6e3b036e6f96b4851481e
CRs-Fixed: 2421564
2019-04-05 15:59:51 -07:00
nshrivas
fb7c6e6c66 Release 5.2.0.129P
Release 5.2.0.129P

Change-Id: I748ed45c25bf85dcd3ed6686e88e1f376fbca75d
CRs-Fixed: 774533
2019-04-05 11:18:25 -07:00
Jeff Johnson
af5452884b qcacld-3.0: Replace typedef tSirWifiIfaceStat
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirWifiIfaceStat typedef does
not meet any of those criteria, so replace it (and the "tp" variant)
with a properly named struct.

Change-Id: I70f0e8c038d061cb201b52ce07097c68bcb93346
CRs-Fixed: 2428989
2019-04-05 11:18:25 -07:00
nshrivas
d969848189 Release 5.2.0.129O
Release 5.2.0.129O

Change-Id: I3d2d44a2ba05d1720ba3d1299b2185dabcdda18c
CRs-Fixed: 774533
2019-04-05 08:37:20 -07:00
Ajit Pal Singh
775bf3ae4b qcacld-3.0: pmo: Add API to get target suspend state
In USB devices even if the driver returns an error from bus_suspend,
still the kernel/platform goes into suspend as any error from USB
bus_suspend is ignored.
During suspend, if WoW or suspend was NACked by FW, we should not
send WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID, WMI_PDEV_RESUME_CMDID to disable
WoW or resume device (in the next system resume)
Add new PMO API to get target suspend state and use it to check if
device should be resumed.

Change-Id: Ic6be05f4f2d36ffe174774b6cd55c6da6b1ea1b8
CRs-Fixed: 2421591
2019-04-05 08:37:19 -07:00
nshrivas
4a1cce0625 Release 5.2.0.129N
Release 5.2.0.129N

Change-Id: I2ca82446ac09f581bb1ae86787f11ca21091b75d
CRs-Fixed: 774533
2019-04-05 03:33:22 -07:00
sheenam monga
0558eb5543 qcacld-3.0: Revert "RSN IE Update in case of BSS already started"
Currently, RSN IE is added to additional IE. Driver does not
generate additional IE .

This reverts commit I2a67156e66e255e7c007a5925cd81b859009114e.

Change-Id: I341897374736483742fa34585e2e8849d4a8a891
CRs-Fixed: 2427098
2019-04-05 03:33:22 -07:00
Abhishek Singh
7c1c7431da qcacld-3.0: Use peer to get the cipher to decide MIC length
Driver uses cipher stored in vdev to get the MIC length, which
may get updated if multiple peer(TDLS peer in STA case) get
connected to the vdev. Thus depending on latest peer cipher type
the MIC length will be calculated for all peers.

To fix store cipher info in peer and use it to calculate MIC length
for the frame.

Change-Id: I8afbf9a3bb43c294dbacbbaa7fa0746600937d11
CRs-Fixed: 2428482
2019-04-05 03:33:17 -07:00
nshrivas
4ada82983f Release 5.2.0.129M
Release 5.2.0.129M

Change-Id: I270eb7bfecef8e39bfdbe182e563b21a1a12bbd1
CRs-Fixed: 774533
2019-04-04 20:58:49 -07:00
Dustin Brown
4a93bb5ffc qcacld-3.0: Enable periodic work tracking
Enable periodic work tracking, recently added in
Id595ba05493ba196e497533ffb4f4e86e33df4b8.

Change-Id: Id33582bf91fe0947c38ee8296ee07d20c8056d98
CRs-Fixed: 2425536
2019-04-04 20:58:49 -07:00
Dustin Brown
c279631e26 qcacld-3.0: Enable delayed work tracking
Enable delayed work tracking, recently added in
Ie02c3577acd443e3f252b9b3a47207e5e2d5fe81.

Change-Id: I6bf718e3c7d9aa72681d0a0ffbabcb304968e229
CRs-Fixed: 2425533
2019-04-04 20:58:44 -07:00
Rajeev Kumar
f48aca2517 qcacld-3.0: Remove DSC VDEV OP enter/exit log
Remove DSC VDEV OP enter/exit log as it can flood
debug log messages.

Change-Id: I1302b77515abb8d8c4ce1f24e612d00bf23167a1
CRs-Fixed: 2427389
2019-04-04 20:58:40 -07:00
Dustin Brown
ee733ba448 qcacld-3.0: Enable qdf_tracker
Enable the recently added type, qdf_tracker, added in
I3247ace583108139dfb699ca077db3bdf5cfeace.

Change-Id: I8606552354a4aa7945d8e5847f07d4ff89854e95
CRs-Fixed: 2422959
2019-04-04 20:58:36 -07:00
nshrivas
eeb6a2fb64 Release 5.2.0.129L
Release 5.2.0.129L

Change-Id: I9c9e50e4a2cb2f12b754215473ac124005fdd683
CRs-Fixed: 774533
2019-04-04 19:21:27 -07:00
Yeshwanth Sriram Guntuka
86c3dcc99a qcacld-3.0: Free active RRM current req on STA roaming
Scan on channels triggered as part of active mode RRM
beacon report request fails on receiving roaming
indication from firmware due to get_session_id_from_bssid
failure. So current req in RRM PE context will not be freed
and as a result all subsequent beacon report requests will
fail.

Fix is to free current req in RRM PE context on scan
req failure due to STA roaming to a different AP.

Change-Id: Ib911ddcc7538bb5f3711647bb83a1978d1a1af73
CRs-Fixed: 2419044
2019-04-04 19:21:26 -07:00
nshrivas
31303d9ed0 Release 5.2.0.129K
Release 5.2.0.129K

Change-Id: I8e49df16a60c3f0569e0aa80e4478e8fdb7a5b65
CRs-Fixed: 774533
2019-04-04 17:35:39 -07:00
Jeff Johnson
e94ccd0d66 qcacld-3.0: Rename sme_config_params member csrConfig
The Linux Coding Style frowns upon mixed-case names so rename
csrConfig in struct sme_config_params to be in compliance.

Change-Id: I451d728c79608041effed09adb199a357c97c0b5
CRs-Fixed: 2428992
2019-04-04 17:35:39 -07:00
Jeff Johnson
dd821156a1 qcacld-3.0: Replace typedef tCsrConfigParam
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tCsrConfigParam typedef does
not meet any of those criteria, so replace it with a reference to the
underlying struct.

Further note the Linux Coding Style frowns upon mixed-case names so in
conjunction rename the underlying struct to be in compliance.

Change-Id: If6f07ced0a8f92ddf06bc40a042efd6584df147b
CRs-Fixed: 2428991
2019-04-04 17:35:33 -07:00
Jeff Johnson
0fd2f4d169 qcacld-3.0: Remove remaining legacy SME TDLS typedefs
As a result of TDLS componentization the following SME TDLS typedefs
are no longer used, so remove them:
- tSmeTdlsPeerCapParams
- eSmeTdlsPeerState
- tSmeTdlsPeerStateParams
- sme_tdls_chan_switch_params

Change-Id: I6e857aedcbfe7c422425076aeac8c9b882be7513
CRs-Fixed: 2428990
2019-04-04 17:35:28 -07:00
nshrivas
bab0252ef6 Release 5.2.0.129J
Release 5.2.0.129J

Change-Id: I89a3bb04c92004e3c5fa7a9c94b8e6a0a6eeb3dc
CRs-Fixed: 774533
2019-04-04 08:51:22 -07:00
Liangwei Dong
271784b734 qcacld-3.0: Use correct struct type tSetBssKeyParams
When CRYPTO_SET_KEY_CONVERGED enabled, the set bss key
will use tSetBssKeyParams in wma_send_set_key_rsp.

Change-Id: Ief0c822c637ac06dc241a682c060f19bb946fea2
CRs-Fixed: 2402889
2019-04-04 08:51:22 -07:00
Liangwei Dong
a44d55b68a qcacld-3.0: Use converged pmkid cache
When WLAN_CONV_CRYPTO_IE_SUPPORT enabled, pmkid should be
saved to crypto component by crypto API. Otherwsie RSN ie
construction will have no pmkid info to add to rsn ie buf.

Change-Id: I8643aca794dcb42323d3d051e7a15a0597167ed6
CRs-Fixed: 2402775
2019-04-04 08:51:17 -07:00
hqu
dd904c8e39 qcacld-3.0: Fix possible NULL pointer dereference in os_if_nan_legacy_req()
In function os_if_nan_legacy_req(), if qdf_mem_malloc() call return NULL,
this will result in nan_req NULL pointer dereference.

Fix is to add NULL pointer check for nan_req before using.

Change-Id: I8ce9e9f9fa556606cf5e8d389905c39ff7198f2c
CRs-Fixed: 2423772
2019-04-04 08:51:13 -07:00
nshrivas
899d7a97d0 Release 5.2.0.129I
Release 5.2.0.129I

Change-Id: I5f98ebfa9b9419246e757ce301870a093de915e3
CRs-Fixed: 774533
2019-04-04 03:36:45 -07:00
Abhishek Singh
2913bd11f5 qcacld-3.0: Select def chan if no chan is safe in ACS chan list
If no channel is safe in ACS channel list, select default channel
instead of returning start failure for SAP.

Change-Id: I974a573f5000720a62e58aaff5a71412c2fae7bf
CRs-Fixed: 2424847
2019-04-04 03:36:44 -07:00
nshrivas
1b1f22d5db Release 5.2.0.129H
Release 5.2.0.129H

Change-Id: I1095648b3525de4ae389175fecf3cfe6eeb8903c
CRs-Fixed: 774533
2019-04-04 01:52:23 -07:00
Rakshith Suresh Patkar
5e1fdeec4d qcacld-3.0: Add check for wlan_suspended in __hdd_tx_timeout
When scheduler thread is suspended, it will not process
any messages until it is resumed. If messages are posted
to scheduler thread when it is suspended, it will lead
to KP due to scheduler buffer becoming full.

Add check for hdd_ctx->hdd_wlan_suspended in __hdd_tx_timeout
before posting any message to scheduler.

Change-Id: Ic0bc6ec0dda23e2a6eaf59adb21f0bca5f2707df
CRs-Fixed: 2428339
2019-04-04 01:52:22 -07:00
Rakshith Suresh Patkar
3c0d283987 qcacld-3.0: Enable SMMU S1 TRANSLATION for TRINKET
Enable SMMU S1 TRANSLATION flag for TRINKET

Change-Id: I95b42e712d2db7805b8e38ccc67acb56ad6f24e0
CRs-Fixed: 2423359
2019-04-04 01:52:18 -07:00
nshrivas
91675f36ff Release 5.2.0.129G
Release 5.2.0.129G

Change-Id: I12ee8c2f5b9b5b844841d08877e91cb106a1c826
CRs-Fixed: 774533
2019-04-03 23:52:42 -07:00
Arif Hussain
5393734002 qcacld-3.0: Remove unused code from wma
Remove unused members from wma_txrx_node,
t_wma_handle structures and related code.

Change-Id: Ia5b290e3367a894646f138cfeedcb9ab3012e9be
CRs-Fixed: 2412738
2019-04-03 23:52:41 -07:00
nshrivas
65acfc134a Release 5.2.0.129F
Release 5.2.0.129F

Change-Id: Ia35c46e63f86113f4bfb63c672df6b99ea02e6a0
CRs-Fixed: 774533
2019-04-03 20:27:56 -07:00
Harprit Chhabada
a9ff69cd95 qcacld-3.0: Populate CFG values in SAP module
Currently HDD is populating SAP configuration values and
sending it down to SAP module instead use the respective
MLME CFG public API's to get the configuration values.

Move following CFG values:
1. sap_chanswitch_beacon_cnt
2. sap_chanswitch_mode
3. protEnabled
4. chan_switch_hostapd_rate_enabled
5. tx_leakage_threshold
6. ht_capab
7. UapsdEnable
8. obssProtEnabled

Change-Id: Id62492d5374b9a3f8ab9cbf57e474cc9f78a791d
CRs-Fixed: 2411126
2019-04-03 20:27:55 -07:00
nshrivas
567a868cf2 Release 5.2.0.129E
Release 5.2.0.129E

Change-Id: If080a068bb1e25d9c470235672499f7a0bdfb740
CRs-Fixed: 774533
2019-04-03 11:22:46 -07:00
Venkata Sharath Chandra Manchala
702be3e4f1 qcacld-3.0: Handle memory allocation for rx threads appropriately
Avoid allocating and initializing memory for rx threads when
in monitor mode as they are not used.

Change-Id: I7521697e3f7033e85fad0b416d8a34aab28755d5
CRs-Fixed: 2424812
2019-04-03 11:22:46 -07:00