Graphe des révisions

8456 Révisions

Auteur SHA1 Message Date
Varun Reddy Yeturu
a48bc418c6 qcacld-3.0: Fix implicit enum conversion in csr_fetch_valid_ch_lst
Fix implicit conversion from enumeration type 'tSirRFBand'
to different enumeration type 'eCsrBand'

Currently 3 different types of enums exist to enumerate the
band type.Remove eCsrBand and tSirRfBand and
use tSirRFBand everywhere.

Change-Id: I1862c6d3a5daca7523870b7f0931ee4f20c7ce4f
CRs-Fixed: 2145080
2017-12-07 23:18:56 -08:00
Varun Reddy Yeturu
725185dead qcacld-3.0: Fix implicit conversion in lim_process_sme_req_messages.c
Fix implicit conversion from enumeration type
'enum eSirMacStatusCodes' to different enumeration type
'tSirResultCodes' in function __lim_process_sme_assoc_cnf_new().

Change-Id: I1179014e3a190427f6bbfcbc62a3b82f0b187a0f
CRs-Fixed: 2145080
2017-12-07 23:18:53 -08:00
Ashish Kumar Dhanotiya
c759836cff qcacld-3.0: Add regpair for country AR and CL
Regpair for country AR and CL are missing which results in a crash.
Add regpair for country AR and CL.

Change-Id: I219e92cc09d6237774f87f8d0a75d2ddea5d59ef
CRs-Fixed: 2154123
2017-12-07 23:18:51 -08:00
snandini
ef0a754b4a Release 5.2.0.56T
Release 5.2.0.56T

Change-Id: Iba1a572324c24b70b508ab323c575d8d4950f7b2
CRs-Fixed: 774533
2017-12-07 22:34:00 -08:00
Vignesh Viswanathan
b4471859c9 qcacld-3.0: Fix potential integer underflow in lim_parse_kde_elements
In function lim_parse_kde_elements, elem_len is obtained from the
assoc response IE buffer and is used to decrement rem_len in the
while loop. If the value of elem_len is greater than rem_len, an
integer underflow would happen to rem_len leading to buffer overread.
Also, if elem_len is greater than kde_list_len, a buffer overread
would occur when incrementing the temp_ie pointer.

Add sanity check to make sure elem_len is not greater than
kde_list_len or rem_len.

Change-Id: If126bb0e14b57f3594679b91d54cc0f1ffaa6f66
CRs-Fixed: 2152946
2017-12-07 22:33:59 -08:00
Varun Reddy Yeturu
448cb9dbb5 qcacld-3.0: Check for non zero length for FILS info
Check if the FILS information is valid by checking for
non-zero length for all the parameters and then proceed
with the connection

Change-Id: I8e24afd7e1d9f4b2107e7f6efc0455b40aecd087
CRs-Fixed: 2132562
2017-12-07 22:33:56 -08:00
snandini
749abd20ba Release 5.2.0.56S
Release 5.2.0.56S

Change-Id: I15f7ffa08bf13d501835f34e86bcebc7ff65725b
CRs-Fixed: 774533
2017-12-07 21:38:20 -08:00
Jingxiang Ge
6c9352f23f qcacld-3.0: Avoid pkt drop in DFS CAC for SAP dual band mode
When dual band mode for SAP is enabled from UI, the packet
for 2G SAP will be dropped before dfs cac finishes.

Adjust channel check to avoid pkt drop in lim_handle80211_frames.
  1 non-sbs mode, bypass 2g channel packet
  2 sbs mode, bypass non dfs channel packet

Change-Id: Ib292fa3d6366fd7ea045480f61ce1890ac8c320a
CRs-Fixed: 2132883
2017-12-07 21:38:19 -08:00
Vignesh Viswanathan
014096aad0 qcacld-3.0: Pass roam_info for SSID scan failure if FILS connection
Currenly for Scan for SSID failure case, roam_info is not passed to
hdd_association_completion_handler leading to driver not sending
FILS seq num info to the supplicant. This makes the supplicant to
trigger a full EAP connection instead of FILS in the next connect.

Pass roam_info from csr_scan_handle_search_for_ssid_failure to
hdd_association_completion_handler and populate and send FILS seq
number info to supplicant.

Change-Id: I4e0a4c3cb55a286b1c66424f6b3a61c020c522a0
CRs-Fixed: 2146342
2017-12-07 21:38:17 -08:00
Yun Park
b28dc14126 qcacld-3.0: Set PF_WAKE_UP_IDLE flag in the IPA Rx exception callback
Prevent CPU bottleneck caused by scheduling the user process running
on the same CPU with IPA worker thread.
Set PF_WAKE_UP_IDLE flag in the IPA Rx exception callback, to wake
user task to idle CPU.

Change-Id: Ifd5b917c46fff39febd7e98f4761c9e80000ea35
CRs-Fixed: 2131917
2017-12-07 21:38:14 -08:00
Deepak Dhamdhere
66bb63ddda qcacld-3.0: Fix QDF_TRACE() in ol_txrx_peer_remove_obj_map_entries
Save peer_ids[] array during cleanup and print it later, after
releasing peer_map_unmap_lock. It avoids usage of multiple QDF_TRACE()
calls inside critical region.

CRs-Fixed: 2027795
Change-Id: I77474f75d0889604e30ba637a04d39fddcaf754c
2017-12-07 21:38:12 -08:00
snandini
60d9627549 Release 5.2.0.56R
Release 5.2.0.56R

Change-Id: Ia633653f9900fdff56de9ed0bf1d183d5e8eea06
CRs-Fixed: 774533
2017-12-07 19:26:50 -08:00
Naveen Rawat
b0c5b6b6a0 qcacld-3.0: Statically allocate DPH hash table
DPH hash table is allocated for each session of depth equal to
max possible peers. This memory chunk goes upto 33KB in size and
may fail. Instead allocate the memory from BSS segment so that
run-time allocation is not needed.

Change-Id: I56d6adb7934faef1940ab8515fed30646f536ab2
CRs-fixed: 2149563
2017-12-07 19:26:50 -08:00
snandini
ad0871f518 Release 5.2.0.56Q
Release 5.2.0.56Q

Change-Id: Ia29834de42c4fcaf1961477b1a10b3f08a76fd3c
CRs-Fixed: 774533
2017-12-07 15:39:06 -08:00
Dustin Brown
bd68fe1638 qcacld-3.0: Destroy pdev as part of module stop
Currently, pdevs are created during module start, but are destroyed
when the driver is unloaded. This leads to situations where multiple
pdevs are created, but only one is destroyed. Move the pdev destroy
logic up into module stop to ensure every allocated pdev is properly
destroyed.

Change-Id: I0d9160ae75549b965bbfb4167c28b986c3dc3f12
CRs-Fixed: 2154041
2017-12-07 15:39:06 -08:00
Dustin Brown
44cde35fcc qcacld-3.0: Call new dispatcher enable/disable APIs
The dispatcher life-cycle functions have recently been split, resulting
in new dispatcher_enable and dispatcher_disable APIs. Call these APIs as
appropriate from HDD.

Change-Id: I807070e67811e9d5804a8ffa2d7f7db62efb0908
CRs-Fixed: 2153292
2017-12-07 15:39:03 -08:00
snandini
d49360af1c Release 5.2.0.56P
Release 5.2.0.56P

Change-Id: Ib603e8e0a154f5f654722edea27f18794acd0af7
CRs-Fixed: 774533
2017-12-07 13:27:12 -08:00
Rajeev Kumar
ec1194dc72 qcacld-3.0: Rename pmo_ucfg_* APIs to ucfg_pmo_* APIs
Rename pmo_ucfg_* API to ucfg_pmo_* to match existing
naming convention for component ucfg APIs.

Change-Id: I59491eff038709a883efb527168159a7e9e2ba2a
CRs-Fixed: 2145088
2017-12-07 13:27:12 -08:00
snandini
85c4715e04 Release 5.2.0.56O
Release 5.2.0.56O

Change-Id: I9607297dc05303baf7798e63d320cdb3ccf4c0b5
CRs-Fixed: 774533
2017-12-07 11:26:24 -08:00
Vignesh Viswanathan
06296aa111 qcacld-3.0: Fix clang errors in dot11f_get_packed_iersn
In function dot11f_get_packed_iersn, RSN_Cap is member of the structure
sDot11fIERSN and cannot be NULL.

Remove the NULL check for RSN_Cap in dot11f_get_packed_iersn
to fix Clang errors.

Change-Id: If334c66e6b84d9776b0f1f5c1e1969125d490f2f
CRs-Fixed: 2150438
2017-12-07 11:26:23 -08:00
snandini
ad9ddd8dff Release 5.2.0.56N
Release 5.2.0.56N

Change-Id: I2ef9b9713873078fd34e2d2ace43a53744876653
CRs-Fixed: 774533
2017-12-06 21:27:08 -08:00
Abhishek Singh
82571c8ec5 qcacld-3.0: Kbuild changes to add new scan files
Kbuild changes to add new scan files, as part of spliting the
filter and bss scoring logic.

Change-Id: Ic239035da1d9cf1478b79c695703b426855eb85f
CRs-Fixed: 2148890
2017-12-06 21:27:07 -08:00
Rajeev Kumar
089852ec1d qcacld-3.0: Detach OL TXRX vdev when WMI vdev delete fails
In SMMU enabld builds when system goes in low memory DMA MAP APIs
fails which causes WMI VDEV delete command send failure and as a
side effect WALN driver leaks the OL TXRX VDEV memory.

To fix OLTXRX VDEV memory leak call TXRX vdev deatch API in case
WMI VDEV delete fails  because of DMA MAP failure.

Change-Id: I3936a973a1398a2e22c9e4e1ca3cdb969309d61b
CRs-Fixed: 2154578
2017-12-06 21:27:05 -08:00
CNSS_WLAN Service
c1f02e3030 Merge "Release 5.2.0.56M" into wlan-cld3.driver.lnx.2.0 2017-12-06 18:34:20 -08:00
CNSS_WLAN Service
cbc1720cda Merge "qcacld-3.0: Disable roaming for OWE" into wlan-cld3.driver.lnx.2.0 2017-12-06 18:34:19 -08:00
CNSS_WLAN Service
cc66fdbbef Merge "qcacld-3.0: Add support for OWE" into wlan-cld3.driver.lnx.2.0 2017-12-06 18:34:18 -08:00
CNSS_WLAN Service
cbbbbf1622 Merge "qcacld-3.0: Add OWE IEs" into wlan-cld3.driver.lnx.2.0 2017-12-06 18:34:16 -08:00
CNSS_WLAN Service
c7d3393ba2 Merge "Release 5.2.0.56L" into wlan-cld3.driver.lnx.2.0 2017-12-06 15:31:18 -08:00
CNSS_WLAN Service
c4ae879dad Merge "qcacld-3.0: Check for NULL before dereferencing ll_stats result buffer" into wlan-cld3.driver.lnx.2.0 2017-12-06 15:31:16 -08:00
snandini
6e1669182c Release 5.2.0.56M
Release 5.2.0.56M

Change-Id: If3469bccc5044478fac5c014d97db58d3d7d056a
CRs-Fixed: 774533
2017-12-06 13:27:24 -08:00
Padma, Santhosh Kumar
9d896c2ef9 qcacld-3.0: Disable roaming for OWE
OWE is supported only for fresh connection. Hence, disable roaming
for OWE.

Change-Id: I234e167c11b21e800fed78218ba198b7a5acba5b
CRs-Fixed: 2141423
2017-12-06 13:27:24 -08:00
Padma, Santhosh Kumar
c69ce070a9 qcacld-3.0: Add support for OWE
Add AKM suite changes to support Opportunistic Wireless Encryption.
Also, add changes to populate OWE IE's if OWE AKM is present.

Change-Id: I3cf9e5b0a5980e4f535034127dbc4c6e54764da6
CRs-Fixed: 2141423
2017-12-06 13:27:21 -08:00
Padma, Santhosh Kumar
666f96e24d qcacld-3.0: Add OWE IEs
Add support for Opportunistic Wireless Encryption IEs

Change-Id: Ifb5b11c3f775654e31248ea5b91da0df6aebe6a9
CRs-Fixed: 2141423
2017-12-06 13:27:18 -08:00
CNSS_WLAN Service
2f4e54cd98 Merge "Release 5.2.0.56K" into wlan-cld3.driver.lnx.2.0 2017-12-06 12:33:09 -08:00
CNSS_WLAN Service
76ab9d0b83 Merge "qcacld-3.0: Define HE Ops cfg_params" into wlan-cld3.driver.lnx.2.0 2017-12-06 12:33:07 -08:00
CNSS_WLAN Service
e0832c3abe Merge "Release 5.2.0.56J" into wlan-cld3.driver.lnx.2.0 2017-12-06 12:33:05 -08:00
CNSS_WLAN Service
b910c4de0d Merge "qcacld-3.0: Restrict PLD event as per the driver state" into wlan-cld3.driver.lnx.2.0 2017-12-06 12:33:04 -08:00
CNSS_WLAN Service
0640ea4412 Merge "Release 5.2.0.56I" into wlan-cld3.driver.lnx.2.0 2017-12-06 12:33:02 -08:00
CNSS_WLAN Service
b99ca180d8 Merge "qcacld-3.0: Always send assoc req/rsp" into wlan-cld3.driver.lnx.2.0 2017-12-06 12:33:00 -08:00
CNSS_WLAN Service
3cf1251026 Merge "qcacld-3.0: Change default value of gEnableTDLSScan" into wlan-cld3.driver.lnx.2.0 2017-12-06 12:32:59 -08:00
CNSS_WLAN Service
9c693905ff Merge "qcacld-3.0: indicate tkip mic error to protocol layer" into wlan-cld3.driver.lnx.2.0 2017-12-06 12:32:58 -08:00
snandini
bcdc943cee Release 5.2.0.56L
Release 5.2.0.56L

Change-Id: I5166fa47c1f36568366d537c6f6b156d52882ced
CRs-Fixed: 774533
2017-12-06 11:38:00 -08:00
Srinivas Girigowda
91d726c140 qcacld-3.0: Check for NULL before dereferencing ll_stats result buffer
Check for NULL before dereferencing ll_stats result buffer.

Change-Id: Ie33b372a0231b8fdbe363d9537723f7f991cc4ac
CRs-Fixed: 2153520
2017-12-06 11:38:00 -08:00
snandini
8725cc4f6d Release 5.2.0.56K
Release 5.2.0.56K

Change-Id: I44d9eeef448d0946b3afc8a66e2f49a60c076a54
CRs-Fixed: 774533
2017-12-06 09:26:34 -08:00
Naveen Rawat
59e715325d qcacld-3.0: Define HE Ops cfg_params
Define HE Ops cfg_param

Change-Id: I4b8edbb2feda3e3ca3318fa0b516b9a952632246
CRs-Fixed: 2145508
2017-12-06 09:26:33 -08:00
snandini
38e6e9d5f7 Release 5.2.0.56J
Release 5.2.0.56J

Change-Id: Iea53a5a2a8a33422cbedde05c3d348be99582d4f
CRs-Fixed: 774533
2017-12-06 07:45:11 -08:00
Kabilan Kannan
d48b01664d qcacld-3.0: Restrict PLD event as per the driver state
PLD event try to clean up the driver data structures
which is not even initialized.
Restrict the PLD event, if the driver is loading and
not initialized.

Change-Id: I914adac8efc080d01f3ccd43d024427770f9018f
CRs-Fixed: 2147359
2017-12-06 07:45:10 -08:00
snandini
38784ced1d Release 5.2.0.56I
Release 5.2.0.56I

Change-Id: I7c8d203d1d0eab6a2b4c61a9633d8b76910a8e7a
CRs-Fixed: 774533
2017-12-06 06:56:53 -08:00
Padma, Santhosh Kumar
22614a04b6 qcacld-3.0: Always send assoc req/rsp
Currently driver sends rsn ie request and response as part
of connect results update. Instead, send assoc request and
assoc response always which will anyways have rsn ie request
and response. Supplicant needs assoc response to proceed
for OWE based connection.

Change-Id: I7f022248a6ad2ad835826c94ccdfaccd5d6090bc
CRs-Fixed: 2141429
2017-12-06 06:56:53 -08:00
Bala Venkatesh
8c2c9712a3 qcacld-3.0: Change default value of gEnableTDLSScan
Change the value of CFG_TDLS_SCAN_ENABLE_DEFAULT to 1.

Change-Id: I51710ef88e14c02f48677b5fd271710b98e6eff1
CRs-Fixed: 2153756
2017-12-06 06:56:50 -08:00