Commit graph

8,950 commits

Author SHA1 Message Date
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
Krunal Soni
8d184fa082 qcacld-3.0: (Part-1) Refactor open & close session logic in SME 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 SME module which could
serve as stepping stone for SAP module and HDD module changes.

CRs-Fixed: 2147968
Change-Id: If39d191084a9f3f58b88f36d71cf42878a43b484
2017-11-22 17:41:20 -08:00
Krunal Soni
5943765644 qcacld-3.0: Rename few SAP APIs & introduce the new wrapper APIs
wlansap_open(), wlansap_close(), wlansap_start(), and wlansap_stop()
APIs are not doing what their names' suggest. Rename these APIs such
a way that they reflect the true meaning of it.

Introduce two new APIs to create and destroy the sap context.

CRs-Fixed: 2147974
Change-Id: Ie0475df480d1b19e796ddf3b639de3078a5a61a0
2017-11-22 17:41:17 -08:00
snandini
29a6c24adf Release 5.2.0.55
Release 5.2.0.55

Change-Id: I4d4d91d054bb765f6b69d122f7acd33032550cbc
CRs-Fixed: 774533
2017-11-22 15:21:41 -08:00
Orhan K AKYILDIZ
983e3d14fe qcacld-3.0: Sanity check on tx len before sending
Check length of the data passed in the hw tx desc and
assert it is not zero-length.
This will make it then easy to debug it on host side.

Change-Id: I7d77ac5ee6f5a4992c4a91b9d5661d207732862f
CRs-Fixed: 2136638
2017-11-22 15:21:40 -08:00
CNSS_WLAN Service
72173a406f Merge "Release 5.2.0.54Z" into wlan-cld3.driver.lnx.2.0 2017-11-22 05:53:06 -08:00
CNSS_WLAN Service
56e50fd125 Merge "qcacld-3.0: Fix a memory leak in mac" into wlan-cld3.driver.lnx.2.0 2017-11-22 05:53:04 -08:00
CNSS_WLAN Service
7aff5a4495 Merge "Release 5.2.0.54Y" into wlan-cld3.driver.lnx.2.0 2017-11-22 05:53:03 -08:00
CNSS_WLAN Service
860b1afd67 Merge "qcacld-3.0: remove tcp_adv_win_scale setting from lro init" into wlan-cld3.driver.lnx.2.0 2017-11-22 05:53:01 -08:00
CNSS_WLAN Service
0cd4a99fd1 Merge "qcacld-3.0: Make the set HW mode & NSS update independent of each other" into wlan-cld3.driver.lnx.2.0 2017-11-22 05:53:00 -08:00
snandini
959fee9459 Release 5.2.0.54Z
Release 5.2.0.54Z

Change-Id: I59a6b07b2ac326e431d8e304d46b1ef56233aa44
CRs-Fixed: 774533
2017-11-22 05:40:57 -08:00
Jiachao Wu
0db14ff877 qcacld-3.0: Fix a memory leak in mac
Memory will leak when pe_handle_mgmt_frame receive data frame
and FEATURE_WLAN_ESE undefine.

Change-Id: I2b3165d7209931e8de5049cd69bf3a3bb48dafd6
CRs-Fixed: 2147025
2017-11-22 05:40:56 -08:00
CNSS_WLAN Service
6dd58aa889 Merge "Release 5.2.0.54X" into wlan-cld3.driver.lnx.2.0 2017-11-22 05:14:09 -08:00
CNSS_WLAN Service
0ef8148616 Merge "qcacld-3.0: Fix 11d scan timer initialization issue" into wlan-cld3.driver.lnx.2.0 2017-11-22 05:14:07 -08:00
snandini
1e59f7b167 Release 5.2.0.54Y
Release 5.2.0.54Y

Change-Id: I8d5f38c11bc161eceb3b13503bb6d8a7f662677c
CRs-Fixed: 774533
2017-11-22 01:53:16 -08:00
Mohit Khanna
4bfe97fab9 qcacld-3.0: remove tcp_adv_win_scale setting from lro init
Currently during lro enablement (hdd_lro_enable), we reset tcp delack by
sending a message to cnss-daemon (hdd_reset_tcp_delack). This function
is also resetting tcp_adv_win_scale param. This ignores the ini param
gTcpAdvWinScaleEnable.
If gTcpAdvWinScaleEnable is set to "0", the WLAN driver should not
manipulte tcp_adv_win_scale system parameter.
Remove tcp_adv_win_scale manipulation from hdd_reset_tcp_delack
function.

CRs-Fixed: 2034097
Change-Id: I98769273059a8b874845a98873d9d4fcab52ad79
2017-11-22 01:53:16 -08:00
Tushnim Bhattacharyya
eab33ddd6f qcacld-3.0: Make the set HW mode & NSS update independent of each other
Typically set hw mode & Nss update happens at the same time. Since the
order of these 2 actions may not be same always, make them independent
of each other.

Change-Id: I652ad08e16680991535e0f064c7b5996f4f58792
CRs-Fixed: 2145006
2017-11-22 01:53:13 -08:00
CNSS_WLAN Service
628c67ed57 Merge "Release 5.2.0.54W" into wlan-cld3.driver.lnx.2.0 2017-11-21 14:30:29 -08:00
CNSS_WLAN Service
222d4a2155 Merge "qcacld-3.0: Fix target_type is incorrect in the hdd_context" into wlan-cld3.driver.lnx.2.0 2017-11-21 14:30:28 -08:00
snandini
49e1f3dc53 Release 5.2.0.54X
Release 5.2.0.54X

Change-Id: I77dceb31952e7361f21199e5d7f41749d4d611f3
CRs-Fixed: 774533
2017-11-21 13:41:15 -08:00
Abhinav Kumar
37ad327fd2 qcacld-3.0: Fix 11d scan timer initialization issue
In csr_issue_11d_scan API, driver initializes the timer of "scan_11d_cmd"
with "scan_cmd" timer param instead of "scan_11d_cmd" timer. So when this
timer is stopped/started timer API throws an error as its uninitialized
timer for 11d scan command.

Fix is to pass correct parameter scan_11d_cmd->u.scanCmd.csr_scan_timer
in function csr_issue_11d_scan in order to initialize timer for 11d scan.

Change-Id: I848c70eae45890dfc7b3b327cf649e0eac41d982
CRs-Fixed: 2143243
2017-11-21 13:41:14 -08:00
snandini
69ac861690 Release 5.2.0.54W
Release 5.2.0.54W

Change-Id: I762ada173ab716efef9378a616eea904b4296247
CRs-Fixed: 774533
2017-11-21 05:22:09 -08:00
Tiger Yu
086b6995fe qcacld-3.0: Fix target_type is incorrect in the hdd_context
The target_type is incorrect in the hdd_context.
Call hdd_wlan_update_target_info after calling bmi_download_firmware,
which will get target_info from the target.

Change-Id: I0fa9834f4adb1fccfbb0d450e2026188bc2be942
CRs-Fixed: 2146174
2017-11-21 05:22:08 -08:00
CNSS_WLAN Service
322e2dad31 Merge "Release 5.2.0.54V" into wlan-cld3.driver.lnx.2.0 2017-11-21 02:30:06 -08:00
CNSS_WLAN Service
4241c144ae Merge "qcacld-3.0: Fix memory leak in SME beacon report request" into wlan-cld3.driver.lnx.2.0 2017-11-21 02:30:05 -08:00
snandini
20b9a0fd4d Release 5.2.0.54V
Release 5.2.0.54V

Change-Id: I06f64335ca2fb5460eeb8b21a7bcd0d58c76e419
CRs-Fixed: 774533
2017-11-21 02:17:05 -08:00
Kabilan Kannan
62d962f25c qcacld-3.0: Fix memory leak in SME beacon report request
In sme_rrm_process_beacon_report_req_ind() function
Memory is not freed for error condition, and it
causes leak in the system
Release the memory for all error
conditions.

Change-Id: Ie4447a8f347e2feeb91155cd36872c6a69307db3
CRs-fixed: 2144032
2017-11-21 02:17:05 -08:00
CNSS_WLAN Service
d9f973d0c0 Merge "Release 5.2.0.54U" into wlan-cld3.driver.lnx.2.0 2017-11-20 23:35:26 -08:00
CNSS_WLAN Service
33e02753ab Merge "qcacld-3.0: Create PMF timer when PEER associates in PMF mode" into wlan-cld3.driver.lnx.2.0 2017-11-20 23:35:25 -08:00
CNSS_WLAN Service
89d423d7f0 Merge "Release 5.2.0.54T" into wlan-cld3.driver.lnx.2.0 2017-11-20 23:35:24 -08:00