Commit graph

8,229 commits

Author SHA1 Message Date
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
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
CNSS_WLAN Service
04e74c5ee7 Merge "qcacld-3.0: Fix memory double free" into wlan-cld3.driver.lnx.2.0 2017-11-25 05:27:03 -08:00
snandini
a014c700a8 Release 5.2.0.55H
Release 5.2.0.55H

Change-Id: If4864cfc5232e4535548dee7cc32cd4c115b6c18
CRs-Fixed: 774533
2017-11-25 05:20:25 -08:00
Bala Venkatesh
b9cf336a5a qcacld-3.0: Add INI to force the P2p-Go to 11n for 11AC
The existing INI gSapForce11NFor11AC forces both P2P-Go and  SAP to 11n for
11AC. Add gGoForce11NFor11AC to force SAP and GO separately.

Change-Id: I26dce96ec582bed0ff3c62bd5f06fc96e85f0ee4
CRs-Fixed: 2140051
2017-11-25 05:20:24 -08:00
CNSS_WLAN Service
e0d125d840 Merge "Release 5.2.0.55E" into wlan-cld3.driver.lnx.2.0 2017-11-24 05:33:57 -08:00
CNSS_WLAN Service
f065e7ec24 Merge "qcacld-3.0: Utilise new APIs for waiting on events" into wlan-cld3.driver.lnx.2.0 2017-11-24 05:33:55 -08:00
CNSS_WLAN Service
c5dc397fd6 Merge "Release 5.2.0.55D" into wlan-cld3.driver.lnx.2.0 2017-11-24 05:33:54 -08:00
CNSS_WLAN Service
adbb96be46 Merge "qcacld-3.0: Allow SAP to come up on DFS channel in SCC mode" into wlan-cld3.driver.lnx.2.0 2017-11-24 05:33:53 -08:00
CNSS_WLAN Service
1d4d6b6d44 Merge "Release 5.2.0.55C" into wlan-cld3.driver.lnx.2.0 2017-11-24 05:33:51 -08:00
CNSS_WLAN Service
3c64d5e6c2 Merge "qcacld-3.0: Handle SAP turn-off gracefully during SSR" into wlan-cld3.driver.lnx.2.0 2017-11-24 05:33:50 -08:00
snandini
2d2bd13d8c Release 5.2.0.55G
Release 5.2.0.55G

Change-Id: I6f278a48557bb9537eb6a2e227212edc98b34b61
CRs-Fixed: 774533
2017-11-24 04:02:06 -08:00
Vignesh Viswanathan
fc5bbedd4a qcacld-3.0: Fix buffer overread in wma_extscan_hotlist_match_event_handler
In function wma_extscan_hotlist_match_event_handler, numap and src_hotlist
are received from the FW. src_hotlist is pointer to the hostist data
and is looped for numap times and copied to the local buffer dest_hotlist.
If the value of numap is not equal to the number of src_hotlist data
present in the buffer, buffer overread would occur during memcpy.

Add check to validate the len of the buffer received from the FW is not
less than the size of fixparam struct + (numap * src_hostlist structure)

Change-Id: I2dc596f91bc49ccf0327062aa6732cd072d52085
CRs-Fixed: 2139436
2017-11-24 04:02:06 -08:00
snandini
a6a463da99 Release 5.2.0.55F
Release 5.2.0.55F

Change-Id: I8ad8501e57262fa393a5dff8824dacaec1ba5195
CRs-Fixed: 774533
2017-11-24 03:21:49 -08:00
Abhishek Singh
b6cdaf12e6 qcacld-3.0: Add new scoring logic with user configuration
Adds new scoring logic with user configuration

Change-Id: Ib41190b4f7ea620d6889ca63842ed8102c16c319
CRs-Fixed: 2144590
2017-11-24 03:21:48 -08:00
Liangwei Dong
c0b2e333be qcacld-3.0: Fix memory double free
The lim_deauth_tx_complete_cnf and
lim_disassoc_tx_complete_cnf are called in
data path softirq thread.
The lim_process_deauth_ack_timeout are
called in pe context in scheduler thread.
Both thread will call lim_send_deauth_cnf to
free lim.limDisassocDeauthCnfReq.pMlmDeauthReq.

Fix by posting WMA_DISASSOC_TX_COMP and
WMA_DEAUTH_TX_COMP to scheduler thread.
Let lim_disassoc_tx_complete_cnf and
lim_deauth_tx_complete_cnf run in correct
PE thread context.

Change-Id: I83a4ad741da46aa907603ae587c74042730b67bd
CRs-Fixed: 2143794
2017-11-24 03:21:45 -08:00
snandini
5ad8d872de Release 5.2.0.55E
Release 5.2.0.55E

Change-Id: Id1df7dc474ebb24106dd61855db1d7a6c98d5531
CRs-Fixed: 774533
2017-11-23 12:02:31 -08:00
Nachiket Kukade
0396b736a8 qcacld-3.0: Utilise new APIs for waiting on events
With current implementation in case of an SSR/PDR threads that are
waiting on events will only get purged after the wait timeout has
occurred, increasing the recovery time for the driver. Utilize new
APIs that maintain a list of events. In case of an SSR/PDR
forcefully set these events.

Change-Id: I83b4f576a65f8da5762288ac8dfccdef7d05d82a
CRs-Fixed: 2045156
2017-11-23 12:02:30 -08:00
snandini
126c307eb0 Release 5.2.0.55D
Release 5.2.0.55D

Change-Id: I733472511df19257396002826fb2ac1ee956f64d
CRs-Fixed: 774533
2017-11-23 11:22:13 -08:00
Ganesh Kondabattini
4a7f5b9d9d qcacld-3.0: Allow SAP to come up on DFS channel in SCC mode
Allow SAP to come up on DFS channel in STA+SAP concurrency mode
only when g_sta_sap_scc_on_dfs_chan enabled in ini file and also
disable chan_switch_hostapd_rate_enabled when force SCC is enabled.

CRs-Fixed: 2133958
Change-Id: Id1333a49d0538eb4ccfaf3c8498e9ca06671de02
2017-11-23 11:22:12 -08:00
CNSS_WLAN Service
4926477b77 Merge "Release 5.2.0.55B" into wlan-cld3.driver.lnx.2.0 2017-11-23 10:08:15 -08:00
CNSS_WLAN Service
85dc329e68 Merge "qcacld-3.0: Enable qdf_debug_domain support" into wlan-cld3.driver.lnx.2.0 2017-11-23 10:08:13 -08:00
snandini
d402202fb8 Release 5.2.0.55C
Release 5.2.0.55C

Change-Id: I116e685cd23e47afe39009947a0973d0626cfd06
CRs-Fixed: 774533
2017-11-23 07:20:45 -08:00
Hanumanth Reddy Pothula
74a97d4ada qcacld-3.0: Handle SAP turn-off gracefully during SSR
There is a possibility of user to turn-off SAP while SSR is
in progress, leading framework to show SAP as turn-off though
SAP is still beaconning, after succsessful SSR.
Changes are done to make sure driver and framework are in sync.

Change-Id: Ic3cd1eebb23482e9cebf04683533face178698b4
CRs-Fixed: 2137646
2017-11-23 07:20:44 -08:00
CNSS_WLAN Service
9841ecd99c Merge "Release 5.2.0.55A" into wlan-cld3.driver.lnx.2.0 2017-11-23 03:47:33 -08:00
CNSS_WLAN Service
11116a9421 Merge "qcacld-3.0: (Part-3) Refactor open and close session logic in HDD module" into wlan-cld3.driver.lnx.2.0 2017-11-23 03:47:32 -08:00
CNSS_WLAN Service
f69f2a154a Merge "qcacld-3.0: (Part-2) Refactor open and close session logic in SAP module" into wlan-cld3.driver.lnx.2.0 2017-11-23 03:47:30 -08:00
CNSS_WLAN Service
96410d1d6d Merge "qcacld-3.0: (Part-1) Refactor open & close session logic in SME module" into wlan-cld3.driver.lnx.2.0 2017-11-23 03:47:29 -08:00
CNSS_WLAN Service
5c801f496d Merge "qcacld-3.0: Rename few SAP APIs & introduce the new wrapper APIs" into wlan-cld3.driver.lnx.2.0 2017-11-23 03:47:28 -08:00
CNSS_WLAN Service
2492bf9c0a Merge "Release 5.2.0.55" into wlan-cld3.driver.lnx.2.0 2017-11-23 03:47:26 -08:00
CNSS_WLAN Service
d9b0e4f8df Merge "qcacld-3.0: Sanity check on tx len before sending" into wlan-cld3.driver.lnx.2.0 2017-11-23 03:47:24 -08:00
snandini
41ed422ead Release 5.2.0.55B
Release 5.2.0.55B

Change-Id: I37113dd3ac38369dc969ddde394ea7f917d5ec31
CRs-Fixed: 774533
2017-11-22 19:21:26 -08:00
Dustin Brown
21a761d385 qcacld-3.0: Enable qdf_debug_domain support
Enable the new resource tracking debug domain feature in the Kbuild.

Change-Id: Icc1170f5a7a4c643289917ce9cf13fe5332cabf5
CRs-Fixed: 2144303
2017-11-22 19:21:26 -08:00
snandini
322e2d158c Release 5.2.0.55A
Release 5.2.0.55A

Change-Id: I7f70fce2c6da28f709b308da9d487cd172bb1a16
CRs-Fixed: 774533
2017-11-22 17:41:26 -08:00
Krunal Soni
b51eec7368 qcacld-3.0: (Part-3) Refactor open and close session logic in HDD module
Current open and close session APIs mainly defined in HDD, SME, and SAP
modules are not proper. They require some design changes to maintain the
consistency.

In order to achieve the goal of making symmetrical design for open
and close session logic, refactor existing API in HDD module.

CRs-Fixed: 2147971
Change-Id: Icdf8b0f99bc9fb828f7c68a32e5d25652baa8a17
2017-11-22 17:41:26 -08:00
Krunal Soni
b5d18ae94b qcacld-3.0: (Part-2) Refactor open and close session logic in SAP module
Current open and close session APIs mainly defined in HDD, SME, and SAP
modules are not proper. They require some design changes to maintain the
consistency.

In order to achieve the goal of making symmetrical design for open and
close session logic, refactor existing API in SAP module.

CRs-Fixed: 2147969
Change-Id: Iccc5ddd2b14ec2b27e6746a211edd10ec06ad434
2017-11-22 17:41:23 -08:00