Commit Graph

8092 Commits

Author SHA1 Message Date
snandini
94f6164794 Release 5.2.0.54D
Release 5.2.0.54D

Change-Id: Ie3ce80124b88b7b90699fec5cbd39f56eb0a69b4
CRs-Fixed: 774533
2017-11-14 23:30:16 -08:00
Abhishek Singh
a92cf1eb8d qcacld-3.0: Fix memory leak in scan csr_scan_save_bss_description
csr_scan_save_bss_description allocate pCsrBssDescription which
is used to update the scan entry in scan module and after
update is done pCsrBssDescription is not freed.

Fix this by freeing pCsrBssDescription once entry is updated in
scan module.

Change-Id: I07f9bbea8fbf5b700203b03d8fd19a0871ea2881
CRs-Fixed: 2137082
2017-11-14 23:30:16 -08:00
Sandeep Puligilla
20aa0c714c qcacld-3.0: Process stop bss during the channel change
Stop bss request is dropped during the
channel change request and it is causing
IPA disconnect event not to sent to IPA
module.

Process stop bss during channel change
request so that IPA disconnect is sent
to IPA module.

Change-Id: I41bb3c0d5ba9f9e9b3a655b67d126ee34c777f4d
CRs-Fixed: 2134143
2017-11-14 23:30:13 -08:00
snandini
73b9909644 Release 5.2.0.54C
Release 5.2.0.54C

Change-Id: I319121ad42b372028ac9c753a3ea793709e28b83
CRs-Fixed: 774533
2017-11-14 21:27:46 -08:00
Dustin Brown
0e769d0284 qcacld-3.0: Include commits since checkout in build tag
Currently, only the Change-Id for HEAD is included in the build tag.
This can be problematic for builds which include hotfixes
(cherry-picks). Include the Change-Ids of every cherry-pick commit since
the last non-cherry-pick commit. This allows developers to quickly
identify the checkout point used to make the build, as well as any
hotfixes applied.

Change-Id: Ibe6259c2e0b46c820e0f1d73a12383e01c10abb8
CRs-Fixed: 2143443
2017-11-14 21:27:45 -08:00
Yue Ma
9e89e83b97 qcacld-3.0: Free the adapter runtime PM lock in error cases
Currently runtime PM lock for adapter is not freed in error cases
of hdd_open_adapter() which will result memory leak. Free it correctly
in the function for failure cases.

Change-Id: Ie325de8b2789c461d139dbea9001cbb0504bc024
CRs-fixed: 2142668
2017-11-14 21:27:43 -08:00
snandini
17eed3d034 Release 5.2.0.54B
Release 5.2.0.54B

Change-Id: Icf2b074badc89dae68dbafc536e93e5fa7380c2d
CRs-Fixed: 774533
2017-11-14 19:21:41 -08:00
Varun Reddy Yeturu
4d521c55ae qcacld-3.0: Remove unused function proc_set_req_internal
Remove the legacy function proc_set_req_internal which
is used as a handler for messages of type
WNI_CFG_SET_REQ or WNI_CFG_SET_REQ_NO_RSP.

Change-Id: If294329954f18c3890d977e7e9d4499b57ceba89
CRs-Fixed: 2140634
2017-11-14 19:21:40 -08:00
snandini
63cfd492e2 Release 5.2.0.54A
Release 5.2.0.54A

Change-Id: I404b2d10130c6507f8048259bc64c5959dc4db5a
CRs-Fixed: 774533
2017-11-14 18:04:24 -08:00
Bala Venkatesh
bc1b9eb34a qcacld-3.0: Add check for fils_config_info->key_nai_len
Add check for fils_config_info->key_nai_len to not exceed
FILS_MAX_KEYNAME_NAI_LENGTH . If it exceeds this length
then it causes out of bounds memory read issue for array keyname_nai

Change-Id: I9ea6386e91e5eaea6a14bb2d13f0e030072b1262
CRs-Fixed: 2139906
2017-11-14 18:04:23 -08:00
Tushnim Bhattacharyya
4a03db81ef qcacld-3.0: Remove the vdev reference count from set_hw_mode logic
Remove the vdev reference count logic from set_hw_mode request & response
path.

Change-Id: I4d57dab114c15e8b2389d5c261c451542f573996
CRs-Fixed: 2142770
2017-11-14 18:04:20 -08:00
Krunal Soni
2b906c85b7 qcacld-3.0: Remove unused WMA APIs
Remove unused WMA APIs which are not being used anymore.

CRs-Fixed: 2132544
Change-Id: Icf272b2dc8772d6720a6dc605702c1c6cc84ac02
2017-11-14 18:04:17 -08:00
Sourav Mohapatra
fed6aa926b qcacld-3.0: Minimize race condition by moving mutex iface_change_lock
In the case when Load Driver and MODEM ssr triggered at same time,
the handling by wlan_hdd_purge_notifier lead to a page fault crash
as waitlist of mutex was empty.

Moved the initialization of iface_change_lock to reduce the probability
of the crash.

Change-Id: I069fcf3fa8a9443daa9d36518bceb9e575b57eb6
CRs-fixed: 2124520i
2017-11-14 18:04:14 -08:00
snandini
72df9ee8da Release 5.2.0.54
Release 5.2.0.54

Change-Id: Idb49cd49a25d2359b803ebf8e7d3144fe01f2f4f
CRs-Fixed: 774533
2017-11-14 11:27:41 -08:00
Abhishek Singh
34c0e6361c qcacld-3.0: Add ini support for rssi abs thresh for the candidate AP
The RSSI value of the candidate AP should be higher than rssi_abs_thresh
to roam to the AP. 0 means no absolute minimum RSSI is required.

The value sent to the firmware is the offset from the noise floor in dB.

Change-Id: Ic956a184ac9a241e310b5d46ee6c70b9d1962446
CRs-Fixed: 2118279
2017-11-14 11:27:40 -08:00
snandini
a3ff716a8a Release 5.2.0.53Z
Release 5.2.0.53Z

Change-Id: I550acbaeb5c5e222934e7aa875079d013e9cc765
CRs-Fixed: 774533
2017-11-14 01:42:25 -08:00
Dustin Brown
96cd9633f1 qcacld-3.0: Include change Ids in build tag
In order to assist in debugging efforts, include both CLD and CMN change
Ids in a build tag. Include the build tag as a part of the driver
version string.

Change-Id: I66d159a1594f71fdf33f3e4b4e6be4840d7e140a
CRs-Fixed: 2142704
2017-11-14 01:42:24 -08:00
snandini
ec9a3c9a9f Release 5.2.0.53Y
Release 5.2.0.53Y

Change-Id: I2f7ea8fe35f694b46b73b072d76a3ed9f4b63dd4
CRs-Fixed: 774533
2017-11-13 19:16:51 -08:00
Yun Park
65fb0c607c qcacld-3.0: Fix compilation error when IPA_OFFLOAD is disabled
Remove IPA_OFFLOAD feature flag from hdd_ipa header file inclusion.
This will use stub functions for IPA feature disblaed.

Change-Id: I105f637922eecda07c2d4500e004df337e37f87e
CRs-fixed: 2141143
2017-11-13 19:16:50 -08:00
snandini
15d0618efb Release 5.2.0.53X
Release 5.2.0.53X

Change-Id: I5f93e522c222095136cb8ece4a9ab8e3bb68ff20
CRs-Fixed: 774533
2017-11-13 17:27:09 -08:00
Yun Park
6c86a66373 qcacld-3.0: Remove kernel includes from datapath
To abstract kernel header inclusion, create new QDF APIs for all IPA
APIs and redirect all IPA API calls through QDF interfaces.

Change-Id: I7bff975ad7cb32fc128320c124633594471e0a1f
CRs-Fixed: 2098903
2017-11-13 17:27:08 -08:00
snandini
ab01fbb66a Release 5.2.0.53W
Release 5.2.0.53W

Change-Id: I46e3ba2e020a6005020dbe8bcba73ea0309738c6
CRs-Fixed: 774533
2017-11-13 13:26:39 -08:00
Kabilan Kannan
6894e6a121 qcacld-3.0: Remove the deprecated IOCTL in TDLS
IOCTL "WE_TDLS_CONFIG_PARAMS" is no longer used, and the code
related to the IOCTL can be removed.
Remove IOCTL "WE_TDLS_CONFIG_PARAMS" in the host driver

Change-Id: I5c873b9571228f0d2b4fcd4782267a2cc40fc20a
CRs-Fixed: 2120491
2017-11-13 13:26:38 -08:00
snandini
21c86b10bc Release 5.2.0.53V
Release 5.2.0.53V

Change-Id: I92b5ce9572fb694ffbee60c72b977b7c6ad252d6
CRs-Fixed: 774533
2017-11-13 11:39:17 -08:00
Vignesh Viswanathan
a451aa2cbd qcacld-3.0: Remove FILS related Key dumps
Remove the FILS KEK, PMK key dumps added earlier for dev validation

Change-Id: I7651bedfe45615c3eeafdf66e8c9c40d0f9812b4
CRs-Fixed: 2142419
2017-11-13 11:39:17 -08:00
snandini
2131dcd8e1 Release 5.2.0.53U
Release 5.2.0.53U

Change-Id: I8cf611e352f55e370f4f5d0ceeaa1a811cb43a06
CRs-Fixed: 774533
2017-11-13 07:26:23 -08:00
Poddar, Siddarth
3703303f59 qcacld-3.0: Add ini support to enable/disable data stall detection
Add ini support to enable/disable WIFI data stall
detection feature. By default gEnableDataStallDetection
ini set to 0.

CRs-Fixed: 2124762
Change-Id: I2d9cd3fe0092aeb29c37cded2e5245c9f816ec08
2017-11-13 07:26:23 -08:00
snandini
77a56d4d8c Release 5.2.0.53T
Release 5.2.0.53T

Change-Id: I518e73b8ffb773be6528ee39903dde65927727dc
CRs-Fixed: 774533
2017-11-13 03:42:17 -08:00
Yeshwanth Sriram Guntuka
3134a1b41f qcacld-3.0: Remove incorrect comment in ini description
Remove incorrect comment in broadcast probe response
ini description.

Change-Id: I74b390a7b0d2f767a18b41f2ef067cb25f322ba9
CRs-Fixed: 2141422
2017-11-13 03:42:17 -08:00
Vignesh Viswanathan
32761e468e qcacld-3.0: Add support to enable/disable FILS runtime
Currently, FILS feature is enabled with ini parameter
[is_fils_enabled] at init time. This change adds support
to enable disable FILS from vendor command.

Change-Id: I0c84d777a6259c96233a4777f184ddf6f7bc58af
CRs-Fixed: 2121214
2017-11-13 03:42:13 -08:00
snandini
9ab0bbcaf2 Release 5.2.0.53S
Release 5.2.0.53S

Change-Id: I2a00ed4eb8e7bab75dc9204ce8b3c6cf8b9675e2
CRs-Fixed: 774533
2017-11-12 11:26:49 -08:00
Vignesh Viswanathan
04f8795b03 qcacld-3.0: Add sanity check for key_nai_length to prevent int underflow
In function csr_update_fils_params_rso, fils_info->key_nai_length
is used to calculate username_length and then subsequently to
calculate realm_len. If the value of key_nai_length received from
the framework is 0, the value of username_length would also be 0
thereby making realm_len as -1. However since realm_len is uint32,
the int value would underflow to a very large value leading to crash
at qdf_mem_copy.

Add sanity check to return if the value of key_nai_length is 0
or if the pointer to keyname_nai is NULL.

Change-Id: I9bfaa8f3be608bd90a0cd818be6627c9f12217c8
CRs-Fixed: 2141458
2017-11-12 11:26:48 -08:00
snandini
568b6890ac Release 5.2.0.53R
Release 5.2.0.53R

Change-Id: Ia68d566a2eaef1fc9d288321b5316b0ed34384b1
CRs-Fixed: 774533
2017-11-10 17:40:53 -08:00
Abhishek Singh
a394b6cd72 qcacld-3.0: Add changes to handle scan req structure change
Add support changes to fix compilation failure due to change in
scan req structure due to wide band scan changes in scan module.

Change-Id: I9ae1584fa3289fd97c5adf8708db731ae91848ab
CRs-Fixed: 2137835
2017-11-10 17:40:53 -08:00
Lin Bai
556a192ff5 qcacld-3.0: Useless info sent by hdd_send_wlan_tp_ind
The gerrit which separates TcpDelAck and TcpAdvWinScale, is involving
the regression issue, that API hdd_send_wlan_tp_ind will send
useless info to upper.
Need set flag and rx_level members properly in indication.

CRs-Fixed: 2141612
Change-Id: I85082e2513f843edaec8365e0abddf572112c535
2017-11-10 17:40:50 -08:00
snandini
ea46709a2e Release 5.2.0.53Q
Release 5.2.0.53Q

Change-Id: I095829fa7847a384d19c928b28aa0ffc41d7685f
CRs-Fixed: 774533
2017-11-10 11:43:44 -08:00
Dustin Brown
dca3969c63 qcacld-3.0: Return failure from hdd_wlan_start_modules
hdd_wlan_start_modules returns success for many error paths. For each
error path in hdd_wlan_start_modules, return an appropriate error code
to the caller to improve error handling.

Change-Id: Id4e6e84a8b833689df1f0a80fba6c25bdc1da857
CRs-Fixed: 2141141
2017-11-10 11:43:43 -08:00
snandini
08e2f8aa1b Release 5.2.0.53P
Release 5.2.0.53P

Change-Id: Ic30dafb60a4c54b6b12e6f94fd60c24d089028ce
CRs-Fixed: 774533
2017-11-10 09:38:50 -08:00
Yeshwanth Sriram Guntuka
2ba6fe9132 qcacld-3.0: Add ini to configure different OCE features
Add ini support to configure different OCE features
which is sent as bitmap to firmware via vdev_set_param
command.

Change-Id: I2c679a6fe902e1b41ba984ed2255eee02ed29549
CRs-Fixed: 2121585
2017-11-10 09:38:49 -08:00
snandini
58f40085c8 Release 5.2.0.53O
Release 5.2.0.53O

Change-Id: I36579f7dfb827be08aca0d99296c055b25d5be2d
CRs-Fixed: 774533
2017-11-10 07:56:09 -08:00
wadesong
ae4ffd1f24 qcacld-3.0: Populate proper return value on failure
1) Function return value is not checked after cds recovery work init,
which may result in improper status to be returned. Return an error
status code if cds recovery work init job is not successful so caller
can know something abnormal happened, such as memory allocation failure.

2) Return value should be checked immediately after invoking cds_init
to make sure no improper init happens.

Change-Id: Ic01436f075f9e1b0a96d3daa6902b598f5f6657e
CRs-Fixed: 2133200
2017-11-10 07:56:08 -08:00
snandini
cc5fab2c5b Release 5.2.0.53N
Release 5.2.0.53N

Change-Id: I4c6036ef9e810a4cca9cd3290e5655cf1a43e0d8
CRs-Fixed: 774533
2017-11-10 04:08:00 -08:00
Alok Kumar
bf47b995b8 qcacld-3.0: Replace instances of unadorned %p
Replace instances of unadorned %p which violates security guidelines.

Change-Id: Ic090b7e3702e8bf6caff7f54d101efabd9284f15
CRs-Fixed: 2133310
2017-11-10 04:07:59 -08:00
snandini
7c26f0295e Release 5.2.0.53M
Release 5.2.0.53M

Change-Id: I28a97ca5423f05f6163cd55d9ee6b5befece441d
CRs-Fixed: 774533
2017-11-10 02:55:30 -08:00
Kabilan Kannan
bfa9220002 qcacld-3.0: Fix ref count leak in set hw mode function
In set hw mode function, Vdev reference count is not
freed in all error paths, and it causes leak in
the system.
Release the vdev ref count in all error handling
path.

Change-Id: Ib63a00c1cb601937925b49064719078b7e9a57d1
CRs-Fixed: 2140442
2017-11-10 02:55:29 -08:00
snandini
040aeec14b Release 5.2.0.53L
Release 5.2.0.53L

Change-Id: I83149492cdfa560909860943b3b8bb0c6268eae9
CRs-Fixed: 774533
2017-11-10 00:27:43 -08:00
Jeff Johnson
c1e6278e02 qcacld-3.0: Use enum QDF_OPMODE
Change "qcacmn: Rename enum tQDF_ADAPTER_MODE" (qca-wifi-host-cmn
Change-Id I20f1b6d1a0ab4b8fe6a85cefdff96a49e2f4652c) renamed enum
tQDF_ADAPTER_MODE to QDF_OPMODE. Update all references to use the
new name.

Change-Id: Ic6f663dac11a100f168b2626c7c0fbcaccbfca4f
CRs-Fixed: 2141065
2017-11-10 00:27:42 -08:00
Jeff Johnson
80c1b19913 qcacld-3.0: Fix style issues in wlan_hdd_lro.h
The checkpatch script identified multiple Linux coding style issues in
wlan_hdd_lro.h, so fix them.

Change-Id: I1e419f86db33f36c7af4f25b0e61f79a2890d27b
CRs-Fixed: 2141064
2017-11-10 00:27:39 -08:00
snandini
d2b92e3039 Release 5.2.0.53K
Release 5.2.0.53K

Change-Id: I56669f08ef637fd38315f917b935318174b3a56d
CRs-Fixed: 774533
2017-11-09 23:42:51 -08:00
Arif Hussain
da9ba08e4a qcacld-3.0: lim_utils: Replace instances of unadorned %p
Replace instances of unadorned %p in lim_utils.

Change-Id: Ie322c66ab70346757032ae97ee546bad67d1bb00
CRs-Fixed: 2133308
2017-11-09 23:42:50 -08:00