Commit graph

8,363 commits

Author SHA1 Message Date
snandini
fda0d6e09e Release 5.2.0.55R
Release 5.2.0.55R

Change-Id: Id13430807ce03942e4e44484ebd0d6caf184f70b
CRs-Fixed: 774533
2017-12-01 13:39:59 -08:00
Yue Ma
b8b2946e3b qcacld-3.0: Remove unused PLD PCIe APIs
These APIs are replaced by the ones with device pointer.

Change-Id: Ic13409af5814dec65ac071236af780159624c147
CRs-fixed: 2151189
2017-12-01 13:39:58 -08:00
Dustin Brown
f4a6e0f6ad qcacld-3.0: Use try_get_ref API in hdd_vdev_create
hdd_vdev_create currently uses the unconditional vdev ref grabbing API,
wlan_objmgr_vdev_get_ref. While this may be the single valid use case
for the API outside of objmgr core, it is better to avoid using the
uncondional API outside of objmgr core at all. This sets a good example
for future consumers of the vdev ref APIs, and makes it easier to spot
incorrect usages of the unconditional API. In hdd_vdev_create, use
wlan_objmgr_vdev_try_get_ref and abort the vdev create operation if a
reference cannot be obtained.

Change-Id: Iafdcec9752b7189f8c74b8838b2d9261676184f9
CRs-Fixed: 2150258
2017-12-01 13:39:55 -08:00
Vignesh Viswanathan
4f75cf5ea5 qcacld-3.0: Fix buffer overread in wma_extscan_cached_results_event_handler
In function wma_extscan_cached_results_event_handler,
event->num_entries_in_page is received from the FW and is used in the
function wma_extscan_find_unique_scan_ids to calculate scan_ids_cnt
from src_rssi buffer. If the value of num_entries_in_page is greater
than the number of src_rssi buffers present, a buffer overread would
occur in the function wma_extscan_find_unique_scan_ids.

There is already a check in place to valudate num_entries_in_page in
the function wma_extscan_cached_results_event_handler however it is done
after the call of wma_extscan_find_unique_scan_ids.

Move the checks on num_entries_in_page before using it in the function
wma_extscan_cached_results_event_handler

Change-Id: Ib5e803589deb6ca074cb70326b9ce846d0754a73
CRs-Fixed: 2149720
2017-12-01 13:39:53 -08:00
CNSS_WLAN Service
2abd9f4957 Merge "Release 5.2.0.55Q" into wlan-cld3.driver.lnx.2.0 2017-11-30 08:25:33 -08:00
CNSS_WLAN Service
e8c9562fab Merge "qcacld-3.0: Converge on wmi event registration / unregistration" into wlan-cld3.driver.lnx.2.0 2017-11-30 08:25:32 -08:00
snandini
be959b9f27 Release 5.2.0.55Q
Release 5.2.0.55Q

Change-Id: I3a5c12beecb8517818216b256954977e5442455a
CRs-Fixed: 774533
2017-11-30 03:40:24 -08:00
Mukul Sharma
228223a52d qcacld-3.0: Converge on wmi event registration / unregistration
Converge on wmi event registration / unregistration method.

Change-Id: Ic52f1df596d0a62f13a478cb2898e508082f7c09
CRs-Fixed: 2148474
2017-11-30 03:40:23 -08:00
CNSS_WLAN Service
bad4030f50 Merge "Release 5.2.0.55P" into wlan-cld3.driver.lnx.2.0 2017-11-29 09:37:35 -08:00
CNSS_WLAN Service
d3634f092c Merge "qcacld-3.0: Fix buffer overwrite due to ssid_len in WMA handlers" into wlan-cld3.driver.lnx.2.0 2017-11-29 09:37:33 -08:00
CNSS_WLAN Service
56ac3763a6 Merge "qcacld-3.0: Fix buffer overflow in wma radio_tx_power_level_stats handler" into wlan-cld3.driver.lnx.2.0 2017-11-29 09:37:32 -08:00
CNSS_WLAN Service
9864bb46f8 Merge "Release 5.2.0.55O" into wlan-cld3.driver.lnx.2.0 2017-11-29 09:37:28 -08:00
CNSS_WLAN Service
5af4c71db2 Merge "qcacld-3.0: Enable D0WOW for pcie" into wlan-cld3.driver.lnx.2.0 2017-11-29 09:37:26 -08:00
CNSS_WLAN Service
2fc18552e3 Merge "qcacld-3.0: set modules_inprogress only when modules state is < 3" into wlan-cld3.driver.lnx.2.0 2017-11-29 09:37:25 -08:00
snandini
63016d8f2e Release 5.2.0.55P
Release 5.2.0.55P

Change-Id: I3c53b6eb6046a588997b2ebcfe7d9d6afc5d759d
CRs-Fixed: 774533
2017-11-29 09:26:18 -08:00
Vignesh Viswanathan
df0571af31 qcacld-3.0: Fix buffer overwrite due to ssid_len in WMA handlers
In multiple WMA event handler functions, ssid_len is used to copy
ssid from FW buffer to local buffer and ssid_len value is received
from the FW. If the ssid_len value exceeds SIR_MAC_MAX_SSID_LENGTH
then a buffer overwrite would occur.

Add sanity check for ssid_len against SIR_MAC_MAX_SSID_LENGTH in
multiple WMA handler functions

Change-Id: I9e4b1f88c275093b4912496cdb936cf54a8880a2
CRs-Fixed: 2149531
2017-11-29 09:26:18 -08:00
Vignesh Viswanathan
ad7eded05e qcacld-3.0: Fix buffer overflow in wma radio_tx_power_level_stats handler
In function wma_unified_radio_tx_power_level_stats_event_handler,
power_level_offset is received from the FW and is used to memcpy data
from FW to local tx_time_per_power_level for num_tx_power_levels length.
However tx_time_per_power_level is allocated only for
total_num_tx_power_levels length.
If the power_level_offset is greater than total_num_tx_power_levels, then
a buffer overwrite would occur.

Add sanity check to make sure power_level_offset does not exceed
total_num_tx_power_levels

Change-Id: Ia363512ee35bb0e30b137c20bf092238c2e356da
CRs-Fixed: 2149501
2017-11-29 09:26:15 -08:00
snandini
7ec4eb4141 Release 5.2.0.55O
Release 5.2.0.55O

Change-Id: I69e43a9a2218bab6d9a0076c56a9c92b836a9b4c
CRs-Fixed: 774533
2017-11-28 19:39:02 -08:00
Will Huang
3cd2b7c566 qcacld-3.0: Enable D0WOW for pcie
Enable FEATURE_WLAN_DOWOW for pcie.
This is for backward compatible with rome fw.

Change-Id: Ia2107ff6939666b4a0bd19d57149d17814f2dfb5
CRs-Fixed: 2070426
2017-11-28 19:39:01 -08:00
Arun Khandavalli
5a62a82f0f qcacld-3.0: set modules_inprogress only when modules state is < 3
check if the modules are enabled before setting the
start_modules_in_progress flag. In some scenario one
thread could be checking if the modules is enabled
by setting start_modules_inprogress flag, in the
other thread context some process reading this flag
can take a wrong decision resulting in
not expected output even though modules are properly enabled.

Hence, set the start_modules_inprogress only if
modules are not enabled.

CRs-Fixed: 2142855
Change-Id: I24345375bb1ad21d055ff934a72b3df4d815ea16
2017-11-28 19:38:57 -08:00
CNSS_WLAN Service
f1f9b65459 Merge "Release 5.2.0.55N" into wlan-cld3.driver.lnx.2.0 2017-11-28 07:37:41 -08:00
CNSS_WLAN Service
bd1a7f6d10 Merge "qcacld-3.0: Free the ies in case during the stop adapter" into wlan-cld3.driver.lnx.2.0 2017-11-28 07:37:40 -08:00
snandini
538fdc570d Release 5.2.0.55N
Release 5.2.0.55N

Change-Id: Ib5d4bea57a03307e52f97d3efe800100f598b4ae
CRs-Fixed: 774533
2017-11-28 07:26:19 -08:00
Arunk Khandavalli
96c122ff77 qcacld-3.0: Free the ies in case during the stop adapter
Reset the sap configuration ie while stopping the adapter in
the sap mode to avoid memory leak.

Change-Id: I5b47afe561430fcb3f508820bc74c28b56d28b3c
CRs-Fixed: 2123524
2017-11-28 07:26:19 -08:00
CNSS_WLAN Service
2bafb86cf6 Merge "Release 5.2.0.55M" into wlan-cld3.driver.lnx.2.0 2017-11-27 19:32:14 -08:00
CNSS_WLAN Service
41446a39e3 Merge "qcacld-3.0: Update 11AX - Draft 2 support - 1/2" into wlan-cld3.driver.lnx.2.0 2017-11-27 19:32:13 -08:00
CNSS_WLAN Service
1c93d6e931 Merge "Release 5.2.0.55L" into wlan-cld3.driver.lnx.2.0 2017-11-27 19:32:11 -08:00
CNSS_WLAN Service
20331995a9 Merge "qcacld-3.0: Remove dfs source from qcacld-3.2 project" into wlan-cld3.driver.lnx.2.0 2017-11-27 19:32:10 -08:00
snandini
942002f86a Release 5.2.0.55M
Release 5.2.0.55M

Change-Id: I0a57344be94e0c316df1c0a5213942a96886a137
CRs-Fixed: 774533
2017-11-27 19:21:15 -08:00
Naveen Rawat
40fb480580 qcacld-3.0: Update 11AX - Draft 2 support - 1/2
Update HE capability IE in frame parser as per Draft 2.

Change-Id: Iea32b9ff772f73d5f2ecbf638a0dda96cf17ce46
CRs-Fixed: 2130375
2017-11-27 19:21:14 -08:00
snandini
c313dd308a Release 5.2.0.55L
Release 5.2.0.55L

Change-Id: I452dc42c72bc155344bef495044130c38167dbb7
CRs-Fixed: 774533
2017-11-27 16:37:23 -08:00
Arif Hussain
110965e97b qcacld-3.0: Remove dfs source from qcacld-3.2 project
Remove unused dfs code from qcacld-3.2 project as dfs
code moved to cmn project.

Change-Id: I21a8e5a39df9241544ef53baf42d3aa0ba434636
CRs-Fixed: 2133649
2017-11-27 16:37:22 -08:00
CNSS_WLAN Service
0af55f9961 Merge "Release 5.2.0.55K" into wlan-cld3.driver.lnx.2.0 2017-11-27 13:44:34 -08:00
CNSS_WLAN Service
311ffd93aa Merge "qcacld-3.0: Change local variables to dynamic in lim_process_auth_frame" into wlan-cld3.driver.lnx.2.0 2017-11-27 13:44:33 -08:00
snandini
594c87a324 Release 5.2.0.55K
Release 5.2.0.55K

Change-Id: I4dd435744017b51d20ee2875bff040216af88145
CRs-Fixed: 774533
2017-11-27 13:33:34 -08:00
Naveen Rawat
def4e79bc3 qcacld-3.0: Change local variables to dynamic in lim_process_auth_frame
Propagation from qcacld-2.0 to qcacld-3.0.

Change local variables to dynamic in lim_process_auth_frame as stack frame
over 1024 bytes may cause build failure in 32 bit platforms.

Change-Id: I83cf5ab24693e0ce012894d808ac79bf37fa9a08
CRs-Fixed: 2147286
2017-11-27 13:33:34 -08:00
CNSS_WLAN Service
422992f411 Merge "Release 5.2.0.55J" into wlan-cld3.driver.lnx.2.0 2017-11-27 13:03:11 -08:00
CNSS_WLAN Service
a9fd9d5f2c Merge "qcacld-3.0: Validate kek_len in wlan_hdd_save_gtk_offload_params" into wlan-cld3.driver.lnx.2.0 2017-11-27 13:03:10 -08:00
CNSS_WLAN Service
0fb707d571 Merge "Release 5.2.0.55I" into wlan-cld3.driver.lnx.2.0 2017-11-27 13:03:08 -08:00
CNSS_WLAN Service
d45ff6885e Merge "qcacld-3.0: Fix kernel disconnect indication mismatch issue" into wlan-cld3.driver.lnx.2.0 2017-11-27 13:03:06 -08:00
snandini
13ff919d60 Release 5.2.0.55J
Release 5.2.0.55J

Change-Id: Ie2390bcd8365eaca9cd1146a02be76bec17cefcb
CRs-Fixed: 774533
2017-11-27 12:51:53 -08:00
Jeff Johnson
e1f2b0e66a qcacld-3.0: Validate kek_len in wlan_hdd_save_gtk_offload_params
Although the kek_len should have already been validated before the
function is called, update wlan_hdd_save_gtk_offload_params() to limit
kek_len to the maximum allowed value before using it to copy the kek.

Change-Id: I0676521171343c6fe58afcdc31477f555598c490
CRs-Fixed: 2140033
2017-11-27 12:51:52 -08:00
snandini
f6c8932422 Release 5.2.0.55I
Release 5.2.0.55I

Change-Id: If24a93ce7aa116a1becda110ff832e6869548107
CRs-Fixed: 774533
2017-11-27 03:33:56 -08:00
Jingxiang Ge
cc7e1f4855 qcacld-3.0: Fix kernel disconnect indication mismatch issue
While stop interface by "ifconfig wlan0 down" in connection
status, in wlan_hdd_try_disconnect, the disconnect indication
doesn't send to kernel, wdev->current_bss in kernel will not
be null; In nl80211_trigger_scan, it will check wdev->current_bss,
it will return if it is not NULL, which causes scan fail, and
this is a very low ratio issue.

Add disconnect indication to kernel.

Change-Id: I5f652b49c87ff2fb5c7f34dd3a826307fb3bb7e1
CRs-Fixed: 2128100
2017-11-27 03:33:55 -08:00
CNSS_WLAN Service
62d055b3e3 Merge "Release 5.2.0.55H" into wlan-cld3.driver.lnx.2.0 2017-11-25 05:27:11 -08:00
CNSS_WLAN Service
24785e2b02 Merge "qcacld-3.0: Add INI to force the P2p-Go to 11n for 11AC" into wlan-cld3.driver.lnx.2.0 2017-11-25 05:27:10 -08:00
CNSS_WLAN Service
4507b40e53 Merge "Release 5.2.0.55G" into wlan-cld3.driver.lnx.2.0 2017-11-25 05:27:09 -08:00
CNSS_WLAN Service
27df3ffecc Merge "qcacld-3.0: Fix buffer overread in wma_extscan_hotlist_match_event_handler" into wlan-cld3.driver.lnx.2.0 2017-11-25 05:27:07 -08:00
CNSS_WLAN Service
1496659497 Merge "Release 5.2.0.55F" into wlan-cld3.driver.lnx.2.0 2017-11-25 05:27:06 -08:00
CNSS_WLAN Service
91f2de4311 Merge "qcacld-3.0: Add new scoring logic with user configuration" into wlan-cld3.driver.lnx.2.0 2017-11-25 05:27:05 -08:00