Commit Graph

4774 Commits

Author SHA1 Message Date
Srinivas Girigowda
3ad735a4d6 qcacld-3.0: Reduce the log spam in wma_main.c
Move the logs to appropriate log levels to reduce
the log spam in wma_main.c

Change-Id: Iec3959a1cb4b63601b2a586c0cc264b589dd5b8e
CRs-Fixed: 2014745
2017-04-26 14:49:47 +05:30
Srinivas Girigowda
67044ad2fb qcacld-3.0: Map hdd_info() log level to QDF_TRACE_LEVEL_INFO
Map hdd_info() log level to QDF_TRACE_LEVEL_INFO.

Change-Id: Ifc23dafd59a7cf59e2ec1c33b4b61fcb74f9c5d2
CRs-Fixed: 2014745
2017-04-26 14:43:01 +05:30
Srinivas Girigowda
2d43f36768 qcacld-3.0: Replace sms_log() with sme_* log levels in sme_rrm.c
Replace sms_log() with sme_* appropriate log levels in sme_rrm.c.

Change-Id: I692b4fd47321a511735c2834e102e94e5fcf7d7e
CRs-Fixed: 2020798
2017-04-26 14:39:42 +05:30
snandini
0fe3a6cdea Release 5.2.0.24C
Release 5.2.0.24C

Change-Id: Ie07a20dbea66097d27cfcc1dff77c63d8e636a5a
CRs-Fixed: 774533
2017-04-26 01:54:49 -07:00
Nishank Aggarwal
c2be3d120c qcacld-3.0: Replace lim_log() with pe_* log levels in lim_sta_hash_api.c
Replace lim_log() with pe_* appropriate log levels in lim_sta_hash_api.c

Change-Id: I6868cd1d5c70d05477e48727267ad1f36df8f54a
CRs-Fixed: 1093093
2017-04-26 11:59:43 +05:30
Nishank Aggarwal
2dfc519b86 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_auth_frame.c
Replace lim_log() with pe_* appropriate log levels in lim_process_auth_frame.c

Change-Id: I689e0e2ca0f8299f44fe32f345466104e976f15b
CRs-Fixed: 1093093
2017-04-26 11:58:15 +05:30
Nishank Aggarwal
c7c659229c qcacld-3.0: Replace lim_log() with pe_* log levels in lim_session.c
Replace lim_log() with pe_* appropriate log levels in lim_session.c

Change-Id: Ie035ded5406801cbe5526b4059187a3496c50b06
CRs-Fixed: 1093093
2017-04-26 11:51:54 +05:30
Nishank Aggarwal
2abedf32ee qcacld-3.0: Replace lim_log() with pe_* log levels in lim_p2p.c
Replace lim_log() with pe_* appropriate log levels in lim_p2p.c

Change-Id: I57cba2ebe3f3aafa29225434187877fcb9b92d55
CRs-Fixed: 1093093
2017-04-26 11:48:05 +05:30
Nishank Aggarwal
6928ac4de9 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_roam_timer_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_roam_timer_utils.c

Change-Id: I1cd044428a2754f602b79cc74227f572e6343882
CRs-Fixed: 1093093
2017-04-26 11:42:45 +05:30
Nishank Aggarwal
0402b43189 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_utils.c

Change-Id: I84bf4456c15c9e702c217100894a15f5f2adfc61
CRs-Fixed: 1093093
2017-04-26 11:42:45 +05:30
Nishank Aggarwal
e11ec7bf37 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_ibss_peer_mgmt.c
Replace lim_log() with pe_* appropriate log levels in lim_ibss_peer_mgmt.c

Change-Id: I280870f1f7c639cc0599a639bf91910a8159aa56
CRs-Fixed: 1093093
2017-04-26 11:42:45 +05:30
Nishank Aggarwal
2d6162bbed qcacld-3.0: Replace lim_log() with pe_* log levels in lim_send_sme_rsp_messages.c
Replace lim_log() iwith pe_* appropriate log levels in lim_send_sme_rsp_messages.c

Change-Id: I178e13c1fa14ef1c72a2353f0c3694773cd5a613
CRs-Fixed: 1093093
2017-04-26 11:42:44 +05:30
Nishank Aggarwal
4744414a64 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_assoc_rsp_frame.c
Replace lim_log() with pe_* appropriate log levels in lim_process_assoc_rsp_frame.c

Change-Id: Ic58d38990c2df16d985cb286ac17890867390162
CRs-Fixed: 1093093
2017-04-26 11:42:44 +05:30
Nishank Aggarwal
42ff119175 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_send_frames_host_roam.c
Replace lim_log() with pe_* appropriate log levels in lim_send_frames_host_roam.c

Change-Id: I12cb4a54617dade06628c2f01029904782824a7a
CRs-Fixed: 1093093
2017-04-26 11:42:44 +05:30
Srinivas Girigowda
4505ec1a94 qcacld-3.0: Remove cfg_log() & obsolete file cfg_debug.c
Remove cfg_log() & obsolete file cfg_debug.c.

Change-Id: I7dde73cb3365f0e6e458c4fdcb2442602769ef66
CRs-Fixed: 1093093
2017-04-26 11:42:44 +05:30
Srinivas Girigowda
9ffddb1dc8 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_types.h
Replace lim_log() with pe_* appropriate log levels in lim_types.h

Change-Id: If9995b020cc6b71a98defc5f1d7a94c524529c60
CRs-Fixed: 1093093
2017-04-26 11:42:44 +05:30
Srinivas Girigowda
6c9c1d3cb4 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_roam_timer_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_roam_timer_utils.c

Change-Id: Idfe0bb03c460bffff287879504a23d23b43df790
CRs-Fixed: 1093093
2017-04-26 11:42:44 +05:30
Srinivas Girigowda
4bc512bfcc qcacld-3.0: Replace lim_log() with pe_* log levels in lim_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_utils.c

Change-Id: I5382ccd3f4aedea70f9e5883a50f3449ef9f07c6
CRs-Fixed: 1093093
2017-04-26 11:42:44 +05:30
Srinivas Girigowda
5f46839a2f qcacld-3.0: Replace lim_log() with pe_* log levels in lim_prop_exts_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_prop_exts_utils.c

Change-Id: I9ec230d074dc241406f5f009d4b0253e1db6713b
CRs-Fixed: 1093093
2017-04-26 11:42:44 +05:30
Srinivas Girigowda
39ac6d753c qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_tdls.c
Replace lim_log() with pe_* appropriate log levels in lim_process_tdls.c

Change-Id: I7da304a5146facd99651452467448df9884174c3
CRs-Fixed: 1093093
2017-04-26 11:42:44 +05:30
Srinivas Girigowda
15b355eaa4 qcacld-3.0: Replace lim_log() with pe_* in lim_process_sme_req_messages.c
Replace lim_log() with pe_* appropriate log levels in
lim_process_sme_req_messages.c

Change-Id: I30b302e68b191f95a242c44dd3e9ad3b5793abd7
CRs-Fixed: 1093093
2017-04-26 11:42:44 +05:30
Srinivas Girigowda
7034a8b279 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_send_management_frames.c
Replace lim_log() with pe_* appropriate log levels in lim_send_management_frames.c

Change-Id: Ibed6bc4436626b23d6650442c4cf94cd18e70087
CRs-Fixed: 1093093
2017-04-26 11:42:44 +05:30
snandini
d938892be6 Release 5.2.0.24B
Release 5.2.0.24B

Change-Id: Ifcb938f666b13aa7f5efa872efcce953717daf3a
CRs-Fixed: 774533
2017-04-25 13:02:30 -07:00
Abhishek Singh
158fe252bc qcacld-3.0: Remove user configured params from converged scan filter
Some user configured params are passed in filter during scan request.
Move them in scan params and update them from user config.

Change-Id: I71beb41c947ede742345821a983bb202575547b9
CRs-Fixed: 2013212
2017-04-25 13:02:29 -07:00
snandini
2971acf5b6 Release 5.2.0.24A
Release 5.2.0.24A

Change-Id: I085e4f3ccba0427811e2f49e19a41dd0d2b57c6e
CRs-Fixed: 774533
2017-04-25 10:20:53 -07:00
Manjunathappa Prakash
102562da74 qcacld-3.0: No need to hold flow_pool_lock in vdev pool_map_handler
ol_tx_flow_pool_map_handler() need not hold the lock to call pause_cb.
pause_map_lock will takecare of any contention between pause and unpause.

Change-Id: I1adcfc156db55946d3a647269ecc2c09ea7981ce
CRs-Fixed: 2037277
2017-04-25 10:20:53 -07:00
snandini
d4a7789c6f Release 5.2.0.24
Release 5.2.0.24

Change-Id: Ia1a8028351342727cbc9eccb654c1607fbd9839e
CRs-Fixed: 774533
2017-04-25 09:31:35 -07:00
Abhishek Singh
900c6f56bd qcacld-3.0: Move runtime suspend logic for scan to common code
Move runtime suspend logic for scan to common code

Change-Id: Ie2d96156ab698aa4993ea308ae933725c97a94c2
CRs-Fixed: 2035673
2017-04-25 09:31:34 -07:00
snandini
677afdda69 Release 5.2.0.23Z
Release 5.2.0.23Z

Change-Id: If348274af4629a2bbcfcb6bc53482da1a9240acb
CRs-Fixed: 774533
2017-04-25 05:56:16 -07:00
Padma, Santhosh Kumar
16dacfbec2 qcacld-3.0: Get CCA from firmware
Requirement is to get CCA from frmware when connection fails due to
assoc/auth/probe response timeout.

Change-Id: I062343ed065d7b0c38b9e3b24ecfa9851b9b1537
CRs-Fixed: 2018594
2017-04-25 05:56:15 -07:00
snandini
e91a3e4980 Release 5.2.0.23Y
Release 5.2.0.23Y

Change-Id: Iea9402508b5a5b1aaf3141ec25baa39ecccf82d7
CRs-Fixed: 774533
2017-04-25 04:56:13 -07:00
Zhang Qian
ca38fb13b5 qcacld-3.0: Add peer ps change and TX failure indication
qcacld-2.0 to qcacld-3.0 propagation

This change indicates Peer STA's power state change and TX
failure to NL80211.

Vendor command QCA_NL80211_VENDOR_SUBCMD_LL_STATS_EXT(127)
is introduced by this change.

Change-Id: Iaa1c14e5cdc5a7d04beebbff1149daf871f9ef5a
CRs-fixed: 1048388
2017-04-25 04:56:13 -07:00
snandini
7c99d070da Release 5.2.0.23X
Release 5.2.0.23X

Change-Id: I90bfc73f969ba6ca4aea4c442d2385aa8b853165
CRs-Fixed: 774533
2017-04-25 02:41:46 -07:00
Ganesh Kondabattini
b8f0dc3f57 qcacld-3.0: Validate hdd ctx
Use of wlan_hdd_validate_context is returning failure when driver load/unload
is in progress. Instead of using wlan_hdd_validate_context, we can check for
NULL pointer to validate hdd ctx in tdls disconnection callback.

Change-Id: I650aa1d4c81d5c275bb3d4266b9365b595cf0ad5
CRs-Fixed: 2036314
2017-04-25 02:41:45 -07:00
snandini
dbbcf8f0f7 Release 5.2.0.23W
Release 5.2.0.23W

Change-Id: I25b8cdec4403099c6b50daac415c05aa9d6b7f26
CRs-Fixed: 774533
2017-04-25 01:08:47 -07:00
Arif Hussain
cd1516322d qcacld-3.0: Use dfs component support
Remove legacy dfs api’s and use dfs component.

Change-Id: Ia0fa016b174ef4b50e2cc339e4e476ec65642dbf
CRs-Fixed: 2021357
2017-04-25 01:08:44 -07:00
snandini
7f6bfb552f Release 5.2.0.23V
Release 5.2.0.23V

Change-Id: I8697d055e0cc68a3af83c43ba1b3bac434acbbea
CRs-Fixed: 774533
2017-04-24 23:31:19 -07:00
Nitesh Shah
621132d764 qcacld-3.0: Show peer in getTdlsPeers only if STA is associated
qcacld-2.0 to qcacld-3.0 propagation

If the STA is previously associated with AP and has TDLS peers,
then getTdlsPeers will show the peers even after STA is
disassociated.

Thus, the fix is to show the peers only if the STA is in
connected state.

Change-Id: I8686ae3b8bb007b58942cdbd8873e48f227fe443
CRs-Fixed: 2037534
2017-04-24 23:31:18 -07:00
snandini
09312847d2 Release 5.2.0.23U
Release 5.2.0.23U

Change-Id: I1cb096acf7e858e9d82ca6a3715ba0297d1363d7
CRs-Fixed: 774533
2017-04-22 00:10:45 -07:00
Sandeep Puligilla
09a19a4aca qcacld-3.0: Vendor scan returns wrong status to NL
Vendor scan request api is returning EINVAL instead of EBUSY.

Update vendor scan code to send valid return status.

Change-Id: I45f2e76315a508f7f3339464fad934d940411b38
CRs-Fixed: 2024110
2017-04-22 00:10:44 -07:00
snandini
3b30212b67 Release 5.2.0.23T
Release 5.2.0.23T

Change-Id: I3072718a3edbbf80a7f52159f1b8e62a9fb4aa3d
CRs-Fixed: 774533
2017-04-21 23:27:51 -07:00
Mukul Sharma
ed92f2f5fa qcacld-3.0: Add ini/ioctl support for WOW data inactivity timeout
Add ini/ioctl support for data inactivity timeout for wow mode.

Change-Id: I47bbdeeecf2689ef68e76bc1810229da9da40016
CRs-Fixed: 2034525
2017-04-21 23:27:50 -07:00
snandini
7f07e19c4a Release 5.2.0.23S
Release 5.2.0.23S

Change-Id: Iabf5cc944de86a660e4f1c6b224807dffbebe1ed
CRs-Fixed: 774533
2017-04-21 19:31:16 -07:00
Nishank Aggarwal
9348dcb989 qcacld-3.0: Suppress frequent log from dmesg
Currently in wlan_hdd_tdls_ct_process_peers()
"link_status 0 tdls_support 0" is coming frequently
in dmesg due to low log level which leads to crash.
Fix is to change the log level to debug.

Change-Id: I9e110e2c7f45b2372990d5a1d3879ed9a1aab8c2
CRs-Fixed: 1093093
2017-04-21 19:31:15 -07:00
snandini
90105e8235 Release 5.2.0.23R
Release 5.2.0.23R

Change-Id: I0da9d4a3d837cc1b82c8ebbe3c3bb5d245c7a7e7
CRs-Fixed: 774533
2017-04-21 18:48:40 -07:00
Orhan K AKYILDIZ
4c878ed845 qcacld-3.0: Support > 32 bit paddrs in rx_hash
Currently, rx-hash calculation and hash look-up is performed only on
lower 32 bits. On some systems with a particular memory map, we have
observed that one could have buffers coming from memory map regions
that only differ at the higher (>32) bits.
For such systems, make sure that the hash entry storage and comparison
operations are done on the whole paddr range.

Change-Id: I279f673ee465a811d20606b260be084f984135d5
CRs-Fixed: 2024095
2017-04-21 18:48:39 -07:00
Orhan K AKYILDIZ
a652a60b37 qcacld-3.0: Add paddr support for 32-bit host arch
Add support for 32-bit host architecture where dma_addr_t
is 32 bits and  bus addresses are of 64 bits on MAC and IPA.

Change-Id: Id4a4763ed388973297c63df290b578effdc5b284
CRs-Fixed: 2006548
2017-04-21 18:48:37 -07:00
Orhan K AKYILDIZ
3d926d8698 qcacld-3.0: Allocate rx_buf_debug from BSS
As kernel was complaining an order-5 (2^5 * page-size(=8K)) allocation,
change the allocation of rx_buf_debug memory debug structure to be done
from BSS instead.

Change-Id: I78658f2f723d230cc6443c0897a6a4b31c753849
CRs-Fixed: 2011052
2017-04-21 18:48:35 -07:00
Mohit Khanna
c68622e61b qcacld-3.0: Enhance htt_rx_ring_fill_n processing
Enhance htt_rx_ring_fill_n by:
- Start timer in case the function is not able to find memory to fill rx
  buffers.
- Handle case where one stream can starve the other stream by constantly
  adding to the debt.

CRs-Fixed: 2001325
Change-Id: Idff33d9c28daaf7a00334134459a3633f5ccde7c
2017-04-21 18:48:33 -07:00
Orhan K AKYILDIZ
4900e1d357 qcacld-3.0: Fix 32-bit crash on markings
The offending code did not get the order of operations right.
It was: shift 16, cast 64,shift 16 and should have been:
cast, shift 16, shift 16.

CRs-Fixed: 2000844
Change-Id: I65cf4aaf0c20535070eb63b15d77b8c3c7dcb4e4
2017-04-21 18:48:30 -07:00
Orhan K AKYILDIZ
c8c27be649 qcacld-3.0: Add detection of non-posted rx buffers
Add detection of non posted RX buffers from FW (rx_in_order_ind msgs)
by marking the higher(16) unused bits of the 64-bit physical addresses.
On reception, if the paddr received does not have the markings, assert,
otherwise clean the markings and proceed.

Duplicate rx-buffers will be detected in the FW.

CRs-Fixed: 2000844
Change-Id: I9c50cce182a12f3edd3c5b2606836d62f684f816
2017-04-21 18:48:28 -07:00
Orhan K AKYILDIZ
fdd74de850 qcacld-3.0: Debug enhancements for rx_buffer history
Add the following:
- Global cumulative counters for posted and received.
- CPU for each individual records
- Counters for refill timer starts
- iwpriv support (dumpStats 10) to dump the counters

CRs-Fixed: 2001331
Change-Id: I66a8a818ffa0b2522358bab404c92a3cdaa603f7
2017-04-21 18:48:26 -07:00
Orhan K AKYILDIZ
adf0610a93 qcacld-3.0: Fix rx_starvation on multiple-rx case
In case of parallel rx execution, fill_count was being updated
by multiple threads and this was causing fill_count to be incorrect
in parallel rx execution cases. This was causing rx ring to be under
filled and in time was causing rx starvation (data stall).

Fix this by:
- making sure that we always fill the right number of buffers based
  on the msdu_count in the in_order_indication message.
- making sure that only one execution thread fills the ring
- making sure that the lock holder (filling the ring) does not
  run too long by introducing a max fill limit, in which case the
  filler will give up and the contender (the other rx execution
  thread) takes the lock and fills the ring itself.

CRs-Fixed: 1103851

Change-Id: I59ee2903d51877afc112a1a76b7a5529f1c6a5c0
2017-04-21 18:48:24 -07:00
Orhan K AKYILDIZ
ba81c51032 qcacld-3.0: Fix USR variant build error
There was a typo in USR variant of the DEBUG_RX_RING_BUFFER
featured code, which caused a symbol not defined in the header
file, triggering an implicit function definition warning/error.

Fixed typo.

CRs-Fixed: 1104718
Change-Id: I6573904add1453d8c3765f030349a214b058e2c0
2017-04-21 18:48:22 -07:00
Orhan K AKYILDIZ
0278cd0977 qcacld-3.0: Change peer ref count accounting
Make sure that peer is deleted at every path where
the ref-count is decremented and it reaches zero.

Change-Id: Ibaaae1e66855ebbd285b3647f9b862e823b6f335
CRs-Fixed: 1094439
2017-04-21 18:48:20 -07:00
Orhan K AKYILDIZ
0c1b6bfae8 qcacld-3.0: Enhance rx_ring buffer history
Enhance rx ring buffer history to include both post and recv
time-stamps. Add a new event for alloc-index updates.

Change-Id: I061afdcda5d2d41c016be9d3b12e5c4a1cda0c65
CRs-Fixed: 1098656
2017-04-21 18:48:18 -07:00
snandini
efddbe0671 Release 5.2.0.23Q
Release 5.2.0.23Q

Change-Id: Ia85456e0d9675e0a10b45016d6eea9852a204bb7
CRs-Fixed: 774533
2017-04-21 15:54:54 -07:00
Sachin Ahuja
ee62b547b0 qcacld-3.0: Remove the wait from the module_init
Changes are done in wifi hal to syncronize the driver
probing.
Remove the wait from module init as the wait is now
done in dev node write handler for syncronization.

Change-Id: I8664d70c60731889fdbe2ad90df9ce9219747ae9
CRs-Fixed: 2034178
2017-04-21 15:54:53 -07:00
snandini
efced364df Release 5.2.0.23P
Release 5.2.0.23P

Change-Id: I3b79f7d5b9cce5fbc71a67f4640335a62e1800a3
CRs-Fixed: 774533
2017-04-21 15:12:42 -07:00
Nishank Aggarwal
8935e442a8 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_assoc_req_frame.c
Replace lim_log() with pe_* appropriate log levels in
lim_process_assoc_req_frame.c

Change-Id: Ic0c990b49394cce9028c43b7d46d82c0e30e43e1
CRs-Fixed: 1093093
2017-04-21 15:12:41 -07:00
Nishank Aggarwal
524ee9a803 qcacld-3.0: Replace lim_log() with pe_* log levels in lim/lim_api.c
Replace lim_log() with pe_* appropriate log levels in lim/lim_api.c

Change-Id: I1e7fcdf793543fb3817a8dc4e79576332e08ab3e
CRs-Fixed: 1093093
2017-04-21 15:12:39 -07:00
Nishank Aggarwal
51a803f332 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_ser_des_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_ser_des_utils.c

Change-Id: Ia795a46a9dd0f1f0e09395d9e99c593c93ccf491
CRs-Fixed: 1093093
2017-04-21 15:12:37 -07:00
Nishank Aggarwal
8971366808 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_scan_result_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_scan_result_utils.c

Change-Id: I43d8b8a3f689fbba6a8668befb38ca59df754e9f
CRs-Fixed: 1093093
2017-04-21 15:12:34 -07:00
Nishank Aggarwal
f0e344b870 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_timer_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_timer_utils.c

Change-Id: I618c78f07a78e82b02b4f509832859c62ed1bc0f
CRs-Fixed: 1093093
2017-04-21 15:12:32 -07:00
Nishank Aggarwal
be2cb792e1 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_prop_exts_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_prop_exts_utils.c

Change-Id: Ifbc46dd1d3afd6add9256207e140b030ddd5d5bb
CRs-Fixed: 1093093
2017-04-21 15:12:30 -07:00
Nishank Aggarwal
15a3345ef3 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_beacon_frame.c
Replace lim_log() with pe_* appropriate log levels in lim_process_beacon_frame.c

Change-Id: I99539fc78b927c0448d18b15d18de433d8da6133
CRs-Fixed: 1093093
2017-04-21 15:12:27 -07:00
Nishank Aggarwal
6440d744a2 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_mlm_host_roam.c
Replace lim_log() with pe_* appropriate log levels in lim_process_mlm_host_roam.c

Change-Id: I5285ff21e6dd5316213ad7bcd60f12d3386366c8
CRs-Fixed: 1093093
2017-04-21 15:12:25 -07:00
Nishank Aggarwal
2f2ac288d3 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_probe_req_frame.c
Replace lim_log() with pe_* appropriate log levels in lim_process_probe_req_frame.c

Change-Id: Id3593f7f7584acf5b01d4c2e99931f9f7660fc56
CRs-Fixed: 1093093
2017-04-21 15:12:22 -07:00
Nishank Aggarwal
8b805bbda3 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_ft.c
Replace lim_log() with pe_* appropriate log levels in lim_ft.c

Change-Id: If52ade6e8b228edc29b64ad32c2659655f8073c3
CRs-Fixed: 1093093
2017-04-21 15:12:20 -07:00
Nishank Aggarwal
fb8ddce67b qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_disassoc_frame.c
Replace lim_log() with pe_* appropriate log levels in lim_process_disassoc_frame.c

Change-Id: I51c4c4f4d41277e125ce77ed6c02bf7c49cc8da4
CRs-Fixed: 1093093
2017-04-21 15:12:17 -07:00
Nishank Aggarwal
e6aa210ead qcacld-3.0: Replace lim_log() with pe_* log levels in lim_sme_req_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_sme_req_utils.c

Change-Id: I61c23148b78a2a6386d373f6a5e21cf59c942577
CRs-Fixed: 1093093
2017-04-21 15:12:15 -07:00
Nishank Aggarwal
ba7c9c2310 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_admit_control.c
Replace lim_log() with pe_* appropriate log levels in lim_admit_control.c

Change-Id: I8f207e62b75b20b9255a649d04144aac3594c2a9
CRs-Fixed: 1093093
2017-04-21 15:12:12 -07:00
Nishank Aggarwal
d3d7046e99 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_action_frame.c
Replace lim_log() with pe_* appropriate log levels in lim_process_action_frame.c

Change-Id: I9ad548077d08fd37fc4299e01b18a59a3823e0a4
CRs-Fixed: 1093093
2017-04-21 15:12:10 -07:00
Nishank Aggarwal
3dd69fc5ca qcacld-3.0: Replace lim_log() with pe_* log levels in lim_session_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_session_utils.c

Change-Id: I00d73f63b13ec3e5264d4783729c11e1a10f8b6b
CRs-Fixed: 1093093
2017-04-21 15:12:07 -07:00
Nishank Aggarwal
550931aecb qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_tdls.c
Replace lim_log() with pe_* appropriate log levels in lim_process_tdls.c

Change-Id: I986b664afb95d630fcbdb0e7aeef7fa4fe504718
CRs-Fixed: 1093093
2017-04-21 15:12:05 -07:00
snandini
8042fba78e Release 5.2.0.23O
Release 5.2.0.23O

Change-Id: I6b2ddd0689aed4241959f9a2bf015116e328a7df
CRs-Fixed: 774533
2017-04-21 14:30:07 -07:00
Hanumanth Reddy Pothula
63e25afa4e qcacld-3.0: Reduce time to wait for external threads completion
Presently, during unload, driver waits for max of 40sec if there are
any external threads. But if driver unload won't happen within 30sec
framework's watchdog kills system server, leading to device reboot.
Also this may lead to driver not to print external threads which got
stuck in driver.

To mitigate this issue reduce wait for external threads completion
to 20sec from 40sec.

Change-Id: I35cfb0ec20a7d4584196243ec0b1167b5eaa6bf0
CRs-Fixed: 2030112
2017-04-21 14:30:06 -07:00
Sandeep Puligilla
2ee22f46d0 Release 5.2.0.23N
Release 5.2.0.23N

Change-Id: Ie650a06898f5a8951b22d389652d91372e90d0f5
CRs-Fixed: 774533
2017-04-21 04:10:51 -07:00
Nishank Aggarwal
0c2c34abc6 qcacld-3.0: Replace cfg_log() with pe_* log levels in cfg_send_msg.c
Replace cfg_log() with pe_* appropriate log levels in cfg_send_msg.c

Change-Id: I2a3cc5443e83741424b192bdd5273b94554e0937
CRs-Fixed: 1093093
2017-04-21 04:10:50 -07:00
Nishank Aggarwal
47a303a9c3 qcacld-3.0: Replace cfg_log() with pe_* log levels in cfg_proc_msg.c
Replace cfg_log() with pe_* appropriate log levels in cfg_proc_msg.c

Change-Id: I2576b089d57ae804289308f503632dd12857c305
CRs-Fixed: 1093093
2017-04-21 04:10:48 -07:00
Nishank Aggarwal
2d766df0b2 qcacld-3.0: Replace cfg_log() with pe_* log levels in cfg_api.c
Replace cfg_log() with pe_* appropriate log levels in cfg_api.c

Change-Id: I710a5c182114f0815e1e51d7c99ac511f3c4d2fe
CRs-Fixed: 1093093
2017-04-21 04:10:45 -07:00
Nishank Aggarwal
abfd70bde1 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_ft.c, lim_process_auth_frame.c,
and lim_process_probe_req_frame.c

Change-Id: I4bc6c34fb91845b9b1d9be76f09ec63c2f363d11
CRs-Fixed: 1093093
2017-04-21 04:10:43 -07:00
Nishank Aggarwal
ff7d4236eb qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_sta_hash_api.c

Change-Id: I24b33db3ba1fb0fdca342f81518ded4467b951ec
CRs-Fixed: 1093093
2017-04-21 04:10:42 -07:00
Sandeep Puligilla
0df222fc6e Release 5.2.0.23M
Release 5.2.0.23M

Change-Id: I532d5baf791b24aa92b710ae7b5931148c6e0634
CRs-Fixed: 774533
2017-04-21 03:15:23 -07:00
Ashish Kumar Dhanotiya
2b4fd75ee9 qcacld-3.0: The driver is not honoring NL80211_CHAN_WIDTH_20_NOHT
When driver sets the channel banwidth, if HT and VHT are disabled
then kernel sets the width to NL80211_CHAN_WIDTH_20_NOHT. Currently
driver is not honoring this.

To resolve this issue add support for NL80211_CHAN_WIDTH_20_NOHT.

Change-Id: I98be22003bf88128ba39a0d2de43c2b3f3e5e2f0
CRs-Fixed: 2035625
2017-04-21 03:15:23 -07:00
Sandeep Puligilla
fab206c7ae Release 5.2.0.23L
Release 5.2.0.23L

Change-Id: I5767b6d7d42638fe52b9fdc3c11d0905e3cd9c43
CRs-Fixed: 774533
2017-04-20 23:46:07 -07:00
Kiran Kumar Lokere
f089a3a738 qcacld-3.0: Fix the pdev reference leak during unload
WMA pdev reference clear is called after the wma close hence
wma handle is NULL and pdev refernce is not cleared.
Clear the pdev reference during WMA close procedure

Change-Id: I6c4caa21e9329f5d7542d114763cd6ae8931a604
CRs-Fixed: 2008013
2017-04-20 21:54:16 -07:00
Sandeep Puligilla
5b115e5260 Release 5.2.0.23K
Release 5.2.0.23K

Change-Id: Ia99d42bcfe654760dce1d2bc5b6174658ba7c408
CRs-Fixed: 774533
2017-04-20 17:10:20 -07:00
Kiran Kumar Lokere
a3de226328 qcacld-3.0: Replace regulatory apis with reg component apis
Replace the legacy regulatory apis with regulatory component
public service apis

Change-Id: Ifd8c93fc8f57116cfc432b853248b35fd7ed1b94
CRs-Fixed: 2008013
2017-04-20 17:10:19 -07:00
Sandeep Puligilla
7ca90b7d9e Release 5.2.0.23J
Release 5.2.0.23J

Change-Id: I572174a0ac2ac2b83b3a4f245ddec974126c7730
CRs-Fixed: 774533
2017-04-20 16:26:10 -07:00
Kabilan Kannan
1c1c40276e qcacld-3.0: TDLS UMAC legacy changes
Add legacy changes to enable TDLS UMAC component.

Change-Id: I3ddfe988cf09a6c37e51256d6040527571c75353
CRs-Fixed: 2035617
2017-04-20 16:26:09 -07:00
Kabilan Kannan
f56f9d5960 qcacld-3.0: Add legacy changes for TDLS UMAC component
Add changes in hdd and mlme modules to support TDLS UMAC
component.

Change-Id: I9e8514e73cebaef566444c9c89e2db2609962b4c
CRs-Fixed: 2035617
2017-04-20 16:26:07 -07:00
Sandeep Puligilla
e185916e95 Release 5.2.0.23I
Release 5.2.0.23I

Change-Id: Iff823b94611bfb6fa883b9a4bc14263ccb8d835f
CRs-Fixed: 774533
2017-04-20 11:33:26 -07:00
Krunal Soni
074dd2c690 qcacld-3.0: Don't open or close sap session internally
There are few instances in current driver code, where SAP's
session is getting opened or closed internally by SAP module
which is wrong. It should come from HDD module.

Resolve above mentioned issue by following:
1) allocating and opening sap session through wlansap_open and
   wlansap_start APIs respectively.
2) freeing and closing sap session through wlansap_close and
   wlansap_stop APIs respectively.

Remove all other instances of sap_open_session and
sap_close_session.

Change-Id: I9ac9f68c9cd1f8c856b6228d4e3b32d3310c936a
CRs-Fixed: 2036385
2017-04-20 11:33:25 -07:00
Krunal Soni
b01de79ea7 qcacld-3.0: Refactor sap_open_session & sap_close_session APIs
Divide sap_open_session in to two parts. One where sme_open_session
is happening and the other one where sap context is getting initialized
to some values.

Divide sap_close_session in to three parts. One where sme_close_session
is happening, another where sap context is getting reset, and the
remaining one where global dfs parameters are getting reset.

Change-Id: I3126acbf4174261938c1f1ff19637bce87d7bddf
CRs-Fixed: 2036385
2017-04-20 11:33:23 -07:00
Kiran Kumar Lokere
43a3e86aa1 qcacld-3.0: Populate country code from regulatory obj
Populate the country code from regulatoy component to
advertise in IEs.

Change-Id: I79357dc0c4f700dbfde40adc1c6f411723abd85d
CRs-Fixed: 2008013
2017-04-20 10:04:56 -07:00
Kiran Kumar Lokere
798de7e0ab qcacld-3.0: Regulatory component logging changes
Add support for regulatory component logging

Change-Id: Icabe6bbdfe7cc2809cdf3c1ebd2577d27747bb96
CRs-Fixed: 2008013
2017-04-20 10:01:43 -07:00
Sandeep Puligilla
6dc7117426 Release 5.2.0.23H
Release 5.2.0.23H

Change-Id: If639630fdf72d03b599a622ab7ed1038c921fe14
CRs-Fixed: 774533
2017-04-20 08:55:02 -07:00
Hanumanth Reddy Pothula
e87621b5ab qcacld-3.0: Add ini param to control active BPF for MC/BC packets
Add new ini parameter, gActiveMcBcBpfMode, to control active BPF
mode for MC/BC packets. By default its value is set disable.
Also, rename ini param name to gActiveUcBpfMode from gActiveBpfMode
and respective cfg variable name to active_uc_bpf_mode from
active_bpf_mode.

Change-Id: I1a42351585c34e7b6da8c26af9ac7b7abe0c0322
CRs-Fixed: 2032699
2017-04-20 08:55:02 -07:00
Sandeep Puligilla
0acaa63c66 Release 5.2.0.23G
Release 5.2.0.23G

Change-Id: I057d91a62cb9f320d29ee1a9c0386428f000dd06
CRs-Fixed: 774533
2017-04-20 04:20:56 -07:00
Nishank Aggarwal
d5941bb9c6 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_roam_timer_utils.c and
lim_send_sme_rsp_messages.c

Change-Id: Iaf0a163e2031482388b6356bb236b3fbdd18997e
CRs-Fixed: 1093093
2017-04-20 04:20:56 -07:00
Nishank Aggarwal
ed4c1c5254 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_process_assoc_req_frame.c and
lim_process_mlm_host_roam.c

Change-Id: Ie38bd037fa1533459c2825c998acb240dd8f7b25
CRs-Fixed: 1093093
2017-04-20 04:20:54 -07:00
Nishank Aggarwal
7f49419e74 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_process_action_frame.c and
lim_sme_req_utils.c

Change-Id: Iedcd860d93812c5e4b85e18c64bfe8885c5d0b19
CRs-Fixed: 1093093
2017-04-20 04:20:52 -07:00
Nishank Aggarwal
c4fc78439f qcacld-3.0: Reduce the log spam in lim_p2p.c
Move the logs to appropriate log levels to reduce the
log spam in lim_p2p.c

Change-Id: I9b42fe28d561593811127632f361774db5ba8759
CRs-Fixed: 1093093
2017-04-20 04:20:50 -07:00
Nishank Aggarwal
e59eb3955e qcacld-3.0: Reduce the log spam in lim_utils.c
Move the logs to appropriate log levels to reduce
the log spam in lim_utils.c

Change-Id: Ic9d885cc42a474c5f54dbb8bf86303f9f25194fd
CRs-Fixed: 1093093
2017-04-20 04:20:49 -07:00
Nishank Aggarwal
46bd31a712 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_prop_exts_utils.c and
lim_send_management_frames.c

Change-Id: Icd2f0d4643416aba13c18cf1eff7c74c7645bb6e
CRs-Fixed: 1093093
2017-04-20 04:20:47 -07:00
Nishank Aggarwal
514f2636f0 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_process_disassoc_frame.c

Change-Id: Ie1de4d2815130eb22704adddb1389f21e7ce54bb
CRs-Fixed: 1093093
2017-04-20 04:20:45 -07:00
Nishank Aggarwal
8d4c720cd8 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_send_frames_host_roam.c and
lim_api.c

Change-Id: Iaaa63ec8be4354d721eafe6c3ca83bf3d1dc4ae9
CRs-Fixed: 1093093
2017-04-20 04:20:44 -07:00
Srinivas Girigowda
37bc351147 qcacld-3.0: Reduce the log spam in lim_process_tdls.c
Move the logs to appropriate log levels to reduce
the log spam in lim_process_tdls.c

Change-Id: If90d0ec42793c72e730a9a8052eba39512502a9a
CRs-Fixed: 1093093
2017-04-20 04:20:42 -07:00
Srinivas Girigowda
8590a5f425 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce the
log spam in lim_admit_control.c and lim_ibss_peer_mgmt.c

Change-Id: I985906e53205f57d97e594f501146773e7ba2a7e
CRs-Fixed: 1093093
2017-04-20 04:20:40 -07:00
Srinivas Girigowda
387016dbcc qcacld-3.0: Reduce the log spam in sme_rrm.c
Move the logs to appropriate log levels to reduce
the log spam in sme_rrm.c

Change-Id: I16a7ab4e33eaa06275294d583938c156383cf68a
CRs-Fixed: 1093093
2017-04-20 04:20:38 -07:00
Srinivas Girigowda
caaad37679 qcacld-3.0: Reduce the log spam in nan, p2p and qos files
Move the logs to appropriate log levels to reduce
the log spam in nan_api.c, p2p_api.c and sme_qos.c

Change-Id: I577977fb4455a44699215ac0ea8f1819b77deef0
CRs-Fixed: 1093093
2017-04-20 04:20:36 -07:00
Srinivas Girigowda
2db365c42a qcacld-3.0: Reduce the log spam in csr files
Move the logs to appropriate log levels to reduce the
log spam in csr_neighbor_roam.c, csr_roam_preauth.c,
csr_tdls_process.c and csr_util.c

Change-Id: I7fa474658e7f538bf79883abf5e2d52f94332e0c
CRs-Fixed: 1093093
2017-04-20 04:20:34 -07:00
Nishank Aggarwal
2b8fc8acfc qcacld-3.0: Reduce the log spam in csr_host_scan_roam.c
Move the logs to appropriate log levels to reduce
the log spam in csr_host_scan_roam.c

Change-Id: I00db47bb70471ae7b4ce8f3975627a5d1efcefcc
CRs-Fixed: 1093093
2017-04-20 04:20:33 -07:00
Nishank Aggarwal
1bd0ae84ca qcacld-3.0: Change default value of BT coex log
Change default value of module Id and debug log
level for BT coex log.

Change-Id: I6f3be9f94629ea55e9c736e12e83c45b2f1c3a7f
CRs-Fixed: 2026668
2017-04-20 04:20:31 -07:00
Sandeep Puligilla
8bed7de1bc Release 5.2.0.23F
Release 5.2.0.23F

Change-Id: Ifbf6a82f14d28dd9ced21bb36447b3d32a1f1e38
CRs-Fixed: 774533
2017-04-20 01:32:56 -07:00
Abhishek Singh
7e5e934a88 qcacld-3.0: Fix mem leak in wma_post_cfg_msg and psnr req
Fix mem leak in wma_post_cfg_msg by handling failure cases.
Also free psnr req during ssr when wma close happens.

Change-Id: I780ebb837db060cc8d6ff9a8fd77ebe3c77067cf
CRs-Fixed: 2033047
2017-04-20 01:32:55 -07:00
Sandeep Puligilla
18a2a6969c Release 5.2.0.23E
Release 5.2.0.23E

Change-Id: Id63fd7df5c518f66f1260c5d7114a00167889d3f
CRs-Fixed: 774533
2017-04-20 00:46:35 -07:00
Sreelakshmi Konamki
0e9fb9a075 qcacld-3.0: Change log level for frequent logs
In pe_drop_pending_rx_mgmt_frames(), Change frequently seen logs
log_level from LOGE to LOG1.

Change-Id: I6a7e27eb7de7dd0e37a4ad2fea0b143493d831a1
CRs-Fixed: 2027882
2017-04-20 00:46:35 -07:00
Sen, Devendra
e424c93f90 qcacld-3.0: Remove repeated host diag events
Remove inappropriate diag events which sending the same event id twice.

Change-Id: I9b79aec476ec5feecd975a52ac8ff2ee0be68753
CRs-Fixed: 2028543
2017-04-20 00:46:33 -07:00
Sandeep Puligilla
4040aac905 Release 5.2.0.23D
Release 5.2.0.23D

Change-Id: Ie9eb53a1282e2ff27a6c784c2502a52388c8c70f
CRs-Fixed: 774533
2017-04-20 00:05:04 -07:00
Frank Liu
d4b2fa05e2 qcacld-3.0: TDLS module converge
Enable TDLS module

Change-Id: I5c898deddddfc5d1646a07e34dce03813b55ff1b
CRs-Fixed: 2011330
2017-04-20 00:05:04 -07:00
Sandeep Puligilla
fc3959f443 Release 5.2.0.23C
Release 5.2.0.23C

Change-Id: I85e06a498d31d62f9a95e735cee9837a2266056f
CRs-Fixed: 774533
2017-04-19 23:20:44 -07:00
Zhang Qian
a6e9c10043 qcacld-3.0: Add monitor for peer PS change and TX fail
qcacld-2.0 to qcacld-3.0 propagation

Once a peer sta's power state changes, fw will send
WMI_PEER_STA_PS_STATECHG_EVENTID to host. Once there
is TX failure on air, HTT_T2H_MSG_TYPE_TX_COMPL_IND
with an unsuccess status will be received by host.

These two kinds of messages from FW will be transferred
into SME message and sent to HDD layer.

Change-Id: If37798bcd06fb8c3f7a2690e77a572b41d7b266f
CRs-fixed: 1048388
2017-04-19 23:20:43 -07:00
Sandeep Puligilla
b2cfec6832 Release 5.2.0.23B
Release 5.2.0.23B

Change-Id: Ie7a5de0a19aef57f4c6ee4f8f4b010015a3453c4
CRs-Fixed: 774533
2017-04-19 18:55:13 -07:00
Manikandan Mohan
2e803a0136 qcacld-3.0: Cleanup IPA resource init function
Move IPA one time initialization items to hdd_ipa_init and have only
pipe specific configuration in hdd_ipa_ol_init. Also move IPA UC
specific reinitializaion to IPA SSR handlers.

Change-Id: I1a502a1b7f926a3037e4ca35a24b1c341077dff6
CRs-fixed: 2006661
2017-04-19 18:55:12 -07:00
Sandeep Puligilla
9028ee53d1 Release 5.2.0.23A
Release 5.2.0.23A

Change-Id: Ib87d1b387e717e0658f748b085b06b446db034ec
CRs-Fixed: 774533
2017-04-19 17:44:16 -07:00
Yue Ma
45a05d5d95 qcacld-3.0: Fix kernel check patch errors and warnings for BMI
Fix msm-4.9 kernel check patch errors and warnings for BMI module.

Change-Id: I2eb1f179ca2a1ae9ceac7b314d252bd410d9eef9
CRs-fixed: 2034077
2017-04-19 17:44:16 -07:00
Sandeep Puligilla
d2d0d853db Release 5.2.0.23
Release 5.2.0.23

Change-Id: I478e87b9c94f1c108d24be725169f911bdda6546
CRs-Fixed: 774533
2017-04-19 15:20:43 -07:00
Dustin Brown
24593f23d2 qcacld-3.0: Allocate memory for NLO match wake event
A recent change to the Network Listen Offload (NLO) match wake event
handler creates and uses a pointer without allocating any memory for
it. Allocate memory for the nlo_event structure before use in the
NLO match wake event handler.

Change-Id: I29ed111e08c8a2d3cd8f8b5e9ca5332a502f9c1a
CRs-Fixed: 2035239
2017-04-19 15:20:42 -07:00
Dustin Brown
ecb7eb913a qcacld-3.0: Refactor WoW wake event handler
In preparation for moving WoW wake event and stats handling to PMO,
refactor the current WoW wake event handler.

Change-Id: Ic401d7e2541aa33cb17fbd5c3ed4fde82cbf1cdc
CRs-Fixed: 2030369
2017-04-19 15:20:41 -07:00
Sandeep Puligilla
0aef644d86 Release 5.2.0.22Z
Release 5.2.0.22Z

Change-Id: Idbefc0fe1d76345604ce2090d65228e665671829
CRs-Fixed: 774533
2017-04-19 14:40:43 -07:00
Ravi Joshi
106ffe0f1e qcacld-3.0: Configure callback function for monitor mode traffic
Configure HDD callback function to process packets received in
monitor mode for lithium based chipsets.

Change-Id: I8c742a10c00e667736400a064f17bbb7144521e4
CRs-Fixed: 1113187
2017-04-19 14:40:43 -07:00
Sandeep Puligilla
1ee07ca464 Release 5.2.0.22Y
Release 5.2.0.22Y

Change-Id: Icc2a527f26f2d3a722ee396c60d89570e93cab0a
CRs-Fixed: 774533
2017-04-19 13:57:25 -07:00
Dhanashri Atre
ab7c9cb8a9 qcacld-3.0: Fix double free of the network buffer
Ensure the skb is submitted to the network stack only once.

Change-Id: If3f358971f2980f0ca05c98177c998b7d59200ab
CRs-Fixed: 2035230
2017-04-19 13:57:24 -07:00
Sandeep Puligilla
ed29e09a16 Release 5.2.0.22X
Release 5.2.0.22X

Change-Id: Id61efe89ec22f713c1b79d661f6b0e4e3f16c0d5
CRs-Fixed: 774533
2017-04-19 12:33:07 -07:00
Abhishek Singh
9100cc8c2f qcacld-3.0: Fix logic to calculate max number of NSS supported
Logic to calculate max chainmask supported is used to calculate
max NSS and thus when NSS passed is 2 the firmware was sent value
3 which is causing firmware crash as max NSS supported is 2.

To fix, added logic that if NSS is greater than WMA_MAX_NSS(2) make
it WMA_MAX_NSS.

Change-Id: Ic7ff541b60434c0ce501d245462cd45e62dd9403
CRs-Fixed: 2033675
2017-04-19 12:33:06 -07:00
Abhishek Singh
471652b272 qcacld-3.0: Indicate failure to HDD if HW mode change timesout
If HW mode change timeout happens during connect req in CSR,
the status received by HDD is success and it assumes connect is
queued and does not reset the HDD state. This lead to subsequent
scan failures.

To fix, return failure status to HDD if HW mode change timesout.
Also avoid sending QDF status to supplicant as part of connect
failure.

Change-Id: I49d189ad75a585d894b5e819190c2dc3d9cc1453
CRs-fixed: 2031149
2017-04-19 12:33:04 -07:00
Sandeep Puligilla
2d83f2c972 Release 5.2.0.22W
Release 5.2.0.22W

Change-Id: Id486160959368763cdc3b5ffaf2881ecdba4ae9a
CRs-Fixed: 774533
2017-04-19 10:58:35 -07:00
Sachin Ahuja
dddd263d8f qcacld-3.0: Add wait for timeout in state ctrl param
Currently wait for timeout happens in module_init which blocks
the driver loading in case of static driver

To mitigate this issue, wait is added in state ctrl param for DLKM,
static and load once and unload never driver types.

Change-Id: I1c2e427df3faa3cf68295868f6d98746e481987f
CRs-Fixed: 2012813
2017-04-19 14:14:14 +05:30
Sandeep Puligilla
0c68e22cac Release 5.2.0.22V
Release 5.2.0.22V

Change-Id: Iceecf1a58c5d7c3f2bbfaaa6aba2e144fef854e5
CRs-Fixed: 774533
2017-04-19 00:32:35 -07:00
Srinivas Girigowda
f5b000d16e qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_mlm_req_messages.c
Replace lim_log() with pe_* appropriate log levels in lim_process_mlm_req_messages.c

Change-Id: I8b8de77c3660883e2ac74df003b65bc8a4fc2079
CRs-Fixed: 1093093
2017-04-19 00:32:35 -07:00
Srinivas Girigowda
2751e4d0ac qcacld-3.0: Replace lim_log() with pe_* log levels in parser_api.c
Replace lim_log() with pe_* appropriate log levels in parser_api.c

Change-Id: I20412f59b977b6790b6a1a79a958802f64910e4e
CRs-Fixed: 1093093
2017-04-19 00:32:33 -07:00
Srinivas Girigowda
a0ffeca59c qcacld-3.0: Replace lim_log() with pe_* log levels in dph_hash_table.c
Replace lim_log() with pe_* appropriate log levels in dph_hash_table.c

Change-Id: I5e41c8e6ceacff0804a673670d5cfd28c08ec8b2
CRs-Fixed: 1093093
2017-04-19 00:32:31 -07:00
Srinivas Girigowda
19b944f854 qcacld-3.0: Replace lim_log() with pe_* log levels in rrm_api.c
Replace lim_log() with pe_* appropriate log levels in rrm_api.c

Change-Id: I7d40c0c11a542c4a751808a77c65b121efef8032
CRs-Fixed: 1093093
2017-04-19 00:32:29 -07:00
Srinivas Girigowda
dfd2120d20 qcacld-3.0: Replace lim_log() with pe_* log levels in nan_datapath.c
Replace lim_log() with pe_* appropriate log levels in nan_datapath.c

Change-Id: I872af42af1033a1860579ec2317b82656c05a0ab
CRs-Fixed: 1093093
2017-04-19 00:32:28 -07:00
Srinivas Girigowda
d0a72f9b5c qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_cfg_updates.c
Replace lim_log() with pe_* appropriate log levels in lim_process_cfg_updates.c

Change-Id: I5fca7d8bd71aefaaa293bfe9c636cdd6639c4581
CRs-Fixed: 1093093
2017-04-19 00:32:26 -07:00
Srinivas Girigowda
08d546691c qcacld-3.0: Replace lim_log() with pe_* log levels in lim_link_monitoring_algo.c
Replace lim_log() with pe_* appropriate log levels in lim_link_monitoring_algo.c

Change-Id: I84c7847e6d28458a5ec2f2fa1a6c35cd57a80573
CRs-Fixed: 1093093
2017-04-19 00:32:24 -07:00
Srinivas Girigowda
6760da8560 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_security_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_security_utils.c

Change-Id: I4b52da67bd09af2719144cf501d89a11bafc5201
CRs-Fixed: 1093093
2017-04-19 00:32:22 -07:00
Srinivas Girigowda
1da5ce0c8c qcacld-3.0: Replace lim_log() with pe_* log levels in lim_ft_preauth.c
Replace lim_log() with pe_* appropriate log levels in lim_ft_preauth.c

Change-Id: I5c80d09f7d158ecec5af64ac41501d550ad98342
CRs-Fixed: 1093093
2017-04-19 00:32:20 -07:00
Sandeep Puligilla
900c39e6ec Release 5.2.0.22U
Release 5.2.0.22U

Change-Id: Ic9641bac0d919806cbc63f606422773a497ec97b
CRs-Fixed: 774533
2017-04-18 23:11:53 -07:00
Himanshu Agarwal
871f5793ff qcacld-3.0: Reduce log level for some LRO related prints
LRO mgr can have maximum of 10 LRO descriptors which means
that it can support maximum of 10 different flows. So, if more
than 10 flows are in progress simulataneously, LRO descriptor
could not be allocated for some of the flows and prints are
coming in kmsg to indicate this for every packet of those flows.
This is causing watchdog bark.

Reducing log level from error to debug to avoid watchdog bite.

Change-Id: I21c79be25035a5359b2390adbeb73a55f09db073
CRs-Fixed: 2034235
2017-04-18 23:11:53 -07:00
Sandeep Puligilla
e28bc907cc Release 5.2.0.22T
Release 5.2.0.22T

Change-Id: I3abd64756de4d28e707136e4ea80384f9664b4c2
CRs-Fixed: 774533
2017-04-18 17:49:19 -07:00
Rajeev Kumar
cf7bd801e5 qcacld-3.0: Initialize scheduler_msg on stack before posting message
Initialize scheduler_msg on stack before posting using scheduler API
such that un-used fields in message structure are initialized to 0.

Change-Id: I1f46416f15c1b81273e1b32798937c05bcf176a9
CRs-Fixed: 2034770
2017-04-18 17:49:18 -07:00
Sandeep Puligilla
04980d268c Release 5.2.0.22S
Release 5.2.0.22S

Change-Id: I646f7e646074d9f83a27b445f63a4fe692b9f25b
CRs-Fixed: 774533
2017-04-18 15:15:54 -07:00
Pramod Simha
0d3b936d94 qcacld-3.0: Changing DBS query method from DP
Changing the method DP queries WMA regarding
DBS capability. Now his call will be made through
policy manager.

Change-Id: I32cd92f022cdfcffa8659344731223fefc6efc23
CRs-Fixed: 2025317
2017-04-18 15:15:53 -07:00
Sandeep Puligilla
2dba42e770 Release 5.2.0.22R
Release 5.2.0.22R

Change-Id: I5b696b94b4ac00925b454c5afd4f4f876d44c9c5
CRs-Fixed: 774533
2017-04-18 12:25:24 -07:00
Yun Park
52b2b991c7 qcacld-3.0: Change HDD IPA to comply with the refactored SKB CB
This change refactors IPA private data stored in skb control block,
which size is reduced to 32 bits.
Owner id is changed to 1 bit, to flag if the owner is IPA.
Callback function pointer is removed by adding the callback into cdf.
Skb control block priv data is reduced to 16 bits by storing the index
to the Tx descriptor list added in HDD.

Change-Id: I0eec0636794da3b4729b8be825afe6a1275915a4
CRs-Fixed: 982728
2017-04-18 12:25:24 -07:00
Sandeep Puligilla
8536f36974 Release 5.2.0.22Q
Release 5.2.0.22Q

Change-Id: I77c186673d3e22eda01948fd478e4e1428b8fcf4
CRs-Fixed: 774533
2017-04-18 11:45:42 -07:00
Krunal Soni
fea068027c qcacld-3.0: Fix the issues reported by static analysis tool
Fix the issues reported by static analysis tool for SME and WMA
modules. Following is the summar of issues which are fixed,
1) Get the csr session first and then validate the session to avoid
   un-necessary session dereferencing.
2) If scan_info structure is null then return immediately else
   populate scan_info structure properly.
3) Valid the mac context before deferencing it.
4) Validate the roam_req, wma, synch_event pointers before deferencing
   them.

Change-Id: I522812b5c35dd540c38064e49e39ed75fb7d3e18
CRs-Fixed: 2032854
2017-04-18 11:45:41 -07:00
Sandeep Puligilla
f6f905fd0a Release 5.2.0.22P
Release 5.2.0.22P

Change-Id: Ie8e078b459e1f92abefbe4e207619e389585ba8e
CRs-Fixed: 774533
2017-04-18 10:55:03 -07:00
Yun Park
f01f6e2a49 qcacld-3.0: Correct return value when ol_txrx_pdev_post_attach fails
When ol_txrx_pdev_post_attach fails, the return values are not
correctly set, and this could cause several issues.
Fix to assign return values correcly.

Change-Id: I43fb97bbdb10e019e02bf289f5b4995461eb75db
CRs-Fixed: 1113222
2017-04-18 10:55:02 -07:00
Yun Park
16a7826b01 qcacld-3.0: Check adapter is not NULL when receiving IPA_RECEIVE event
Check adapter is not NULL when receiving IPA_RECEIVE event,
to avoid null dereference when the interface is already cleaned up.

Change-Id: Ic9240811f42edd4f495cb4eabe1268d24851d6d9
CRs-Fixed: 2001132
2017-04-18 10:55:01 -07:00
Sandeep Puligilla
8ead055f47 Release 5.2.0.22O
Release 5.2.0.22O

Change-Id: I899dcc05d42aab1797feac75d08093f05a65bbdb
CRs-Fixed: 774533
2017-04-18 07:05:59 -07:00
Ravi Kumar Bokka
794fd71719 qcacld-3.0: Enable HW broadcast filter
Add ini to param to enable/disable HW filter for bc
(except arp) frame

Change-Id: I5aaa962cf9610d7f6a1922e4593748b64e32cd49
CRs-Fixed: 1113544
2017-04-18 07:05:59 -07:00
Sandeep Puligilla
31c046736d Release 5.2.0.22N
Release 5.2.0.22N

Change-Id: Ib4c240f8639b8e30828a90255e92d50692bcddbe
CRs-Fixed: 774533
2017-04-18 06:22:18 -07:00
Abhishek Singh
c4a864b9ab qcacld-3.0: Set fProbeRsp to proper value during roam sync indication
BSS's fProbeRsp is not set during roam sync indication and thus
the frame is always indicated as beacon to kernel. If AP has hidden
SSID, this will be dropped by kernel in confusion that something
is wrong as the AP has hidden ssid but the beacon frame indicated
by driver have ssid.

Thus to fix this set BSS's fProbeRsp to proper value.

Change-Id: Id3521fe792573cb819b91269047a119a9346d7b2
CRs-Fixed: 2034849
2017-04-18 06:22:17 -07:00
Sandeep Puligilla
08769c7ecb Release 5.2.0.22M
Release 5.2.0.22M

Change-Id: I0557b01e438dfc42ae8beca2ba49d161f9fae482
CRs-Fixed: 774533
2017-04-18 04:28:58 -07:00
Ashish Kumar Dhanotiya
7ebf569e16 qcacld-3.0: Failed to set SHORT GI 160MHZ
Driver fails to set the Guard interval 160MHz.

There is an invalid check to set the guard interval 160MHz using the
current supported chanel BW. To address this issue, add appropriate
check to set the GI 160MHz.

Change-Id: Ie0c41aea0c44a24c86ddf312cf120cbda175dad5
CRs-Fixed: 2028647
2017-04-18 04:28:57 -07:00
Sandeep Puligilla
b7411ceaec Release 5.2.0.22L
Release 5.2.0.22L

Change-Id: Ia3d1de74ada9db44e7de3de6d6c8797440f80337
CRs-Fixed: 774533
2017-04-18 03:07:40 -07:00
Abhishek Singh
6f56d21a01 qcacld-3.0: Cleanup the legacy Scan cache
Cleanup the legacy scan cache code as it is moved to common
scan component.

Change-Id: I6f6710450ff692f4722ccb6d704871f50178680c
CRs-Fixed: 2033079
2017-04-18 03:07:39 -07:00
Sandeep Puligilla
77edd5674f Release 5.2.0.22K
Release 5.2.0.22K

Change-Id: Ica4d1380884c2f316140540faec163d3a4e486b0
CRs-Fixed: 774533
2017-04-18 02:25:52 -07:00
Rajeev Kumar
37d478b289 qcacld-3.0: Initialize scheduler_msg on stack before posting message
Initialize scheduler_msg on stack before posting using scheduler API
such that un-used fields in message structure are initialized to 0.

Change-Id: I4acd098ca1e975ad6ffed58d1a84c70078e2dca6
CRs-Fixed: 2034770
2017-04-18 02:25:51 -07:00
Sandeep Puligilla
39d727454c Release 5.2.0.22J
Release 5.2.0.22J

Change-Id: I0b72678c573aac71e1b97934ea98f7ee9d6f52d4
CRs-Fixed: 774533
2017-04-18 01:37:23 -07:00
Zhang Qian
e9fd14b726 qcacld-3.0: Add attribute for propagation absolute delay
qcacld-2.0 to qcacld-3.0 propagation

A new 32-bit NL80211 vendor attribute is added to configure propagation
absolute delay for 2G/5G band (unit in us).

Change-Id: I2aecaa8b007c67fa2843ad3922857f923f9b8294
CRs-Fixed: 2031008
2017-04-18 01:37:22 -07:00
Sandeep Puligilla
0522b122f0 Release 5.2.0.22I
Release 5.2.0.22I

Change-Id: I1d09b2bee4d61c5d0756456c6711efadc6496d66
CRs-Fixed: 774533
2017-04-18 00:52:48 -07:00
Abhishek Singh
d8162ca197 qcacld-3.0: Set SU bformer capability only if AP is SU bformee
If SU beamformer is set in assoc req when AP is not SU beamformee
low throughput is seen with specific AP.

To fix this, set SU bformer capability only if AP is SU bformee and
set SU bformee capability only if AP is SU bformer

Change-Id: I9093352d48722eb79db7b1992ac873bd8cf13e66
CRs-Fixed: 2025399
2017-04-18 00:52:47 -07:00
Sandeep Puligilla
1ca96858c9 Release 5.2.0.22H
Release 5.2.0.22H

Change-Id: I256120cbee0799922df30fbbefdb126a7a81e026
CRs-Fixed: 774533
2017-04-17 21:27:19 -07:00
Arif Hussain
c965192e28 qcacld-3.0: Fix incorrect size issue __lim_get_sme_join_req_size_for_alloc
__lim_get_sme_join_req_size_for_alloc returning 2 byte extra length,
using this incorrect buffer size to copy buffer may cause buffer
overflow.

Fix the same by returning correct size.

Change-Id: If9a5f3546955c72f54a11fedec76f24cd122319a
CRs-Fixed: 2034215
2017-04-17 21:27:19 -07:00
Sandeep Puligilla
9a4e1a0f37 Release 5.2.0.22G
Release 5.2.0.22G

Change-Id: Ibacd7b4a57db24611ee5efe808248e17ce5689d1
CRs-Fixed: 774533
2017-04-17 18:07:15 -07:00
Arif Hussain
d401a98846 qcacld-3.0: Set pdev wma tgt handler
Set wma target handler of pdev.

Change-Id: I735134490a45bde42e76981fced6324c0c53a858
CRs-Fixed: 2021357
2017-04-17 18:07:14 -07:00
Sandeep Puligilla
c310b0ac6b Release 5.2.0.22F
Release 5.2.0.22F

Change-Id: I31dd274573324ae2f70abda3f8067c9f63aeab54
CRs-Fixed: 774533
2017-04-17 16:12:38 -07:00
Naveen Rawat
3c49d192eb qcacld-3.0: Free stats_rsp in vdev_detach before zeroing iface buffer
1) In function wma_vdev_detach_callback, free stats_rsp before zeroing out
iface buffer, else the stats_rsp memory which is not sent to upper layer is
lost.
2) In function wma_get_stats_req set stats_rsp buffer to NULL after
posting it to upper layers, so that in case this function is pre-empted
we do not lose buffer pointer.

Change-Id: I8d6261cb53758e02217d68ff01b94bb812adc7fd
CRs-Fixed: 2015436
2017-04-17 16:12:37 -07:00
Sandeep Puligilla
429853ffb6 Release 5.2.0.22E
Release 5.2.0.22E

Change-Id: I07f7b94a4b62f8d4e51b96900626ef1a740616ea
CRs-Fixed: 774533
2017-04-17 15:31:43 -07:00
Naveen Rawat
ae0aaa8379 qcacld-3.0: Fix possible NULL pointer dereference
In function sme_get_beacon_frm, csr_get_fst_bssdescr_ptr can return a NULL
pointer. Check it against NULL before usage.

Change-Id: I76112adf9a0a618bf7e956911d68e7ee2edac61e
CRs-Fixed: 2008664
2017-04-17 15:31:42 -07:00
Sandeep Puligilla
5767349712 Release 5.2.0.22D
Release 5.2.0.22D

Change-Id: I289bc9745743c98d972db0bfb9a80bcd32d93338
CRs-Fixed: 774533
2017-04-17 14:52:25 -07:00
Dhanashri Atre
170855e137 qcacld-3.0: Lithium LRO Support
Add changes needed to support Receive Offload (LRO) on Lithium.

CRs-Fixed: 1107169
Change-Id: I2fb00fa83a52b039e6ad9aea9a98576f2c36d6fa
2017-04-17 14:52:24 -07:00
Sandeep Puligilla
a44b4a6795 Release 5.2.0.22C
Release 5.2.0.22C

Change-Id: I8f6759dd1c7fb4e02baf829fd0cbdeadb1a3510b
CRs-Fixed: 774533
2017-04-17 12:31:26 -07:00
Sandeep Puligilla
8de3c1c765 qcacld-3.0: Deinitialize the scan pdev OS private
Deinitialize the scan pdev os private member
as part of the hdd deinit sequence.

Change-Id: I451000ac5d883418e380b72f281663c57b276f2d
CRs-Fixed: 2033622
2017-04-17 12:31:25 -07:00
Sandeep Puligilla
da3e28215a Release 5.2.0.22B
Release 5.2.0.22B

Change-Id: If78ebcec8a0cc1c692323371467cf0cec3c94dc8
CRs-Fixed: 774533
2017-04-17 00:17:30 -07:00
Selvaraj, Sridhar
ced570637e qcacld-3.0: Send QCN IE to FW as part of scan and assoc IE for LFR3
Currently, host driver adds QCN IE in probe/assoc request initiated
from driver.

If QCN IE support is enabled in host driver[g_qcn_ie_support INI is 1],
add the QCN IE as part of scan/assoc IE's that are sent to FW to be
used for probe/assoc/reassoc frames initiated by FW.

Change-Id: Ic4d58b2cb827668a9ce9cfa5bad4d882816d607b
CRs-Fixed: 1117332
2017-04-17 00:17:29 -07:00
Selvaraj, Sridhar
d1225e6f65 qcacld-3.0: Cleanup unnecessary logs in roaming component
Remove unwanted redundant info printed across multiple
layers[csr, lim, wma] with respect to roaming.

Change-Id: I5197633b0e5afc775c1e10a6e75c58c58055ec49
CRs-Fixed: 2021082
2017-04-17 00:17:26 -07:00
Selvaraj, Sridhar
97ce658f73 qcacld-3.0: Add "g_fils_max_chan_guard_time" INI and pass it to firmware
Add "g_fils_max_chan_guard_time" INI and pass the configured value
to firmware for STA vdev as part of vdev attach. Based on this INI,
firmware will calculate the dwell time while sending in probe request.

Change-Id: I2336a7e0a37181ea00ef117e9907e7eaf194ae3d
CRs-Fixed: 1114057
2017-04-17 00:17:23 -07:00
Sandeep Puligilla
7716dc2e23 Release 5.2.0.22A
Release 5.2.0.22A

Change-Id: I8da57c2f424adfe90f19c73c70c6c25cf5a602d7
CRs-Fixed: 774533
2017-04-16 22:47:48 -07:00
gaolez
b432ed94f4 qcacld-3.0: Add 4 counts to link layer stats
qcacld-2.0 to qcacld-3.0 propagation

Add 4 counts to link layer stats which will be retrieved along with
other link layer stats fields by application to decide if channel
hopping needed.

Change-Id: Ic413b8ad98f1147715cf89c083aa9a77e60a2dc6
CRs-Fixed: 1094958
2017-04-16 22:47:47 -07:00
Sandeep Puligilla
55d19e6f78 Release 5.2.0.22
Release 5.2.0.22

Change-Id: If3d4ab29b8f66a7b7fb39339cb491353b8e7c0b3
CRs-Fixed: 774533
2017-04-16 21:16:56 -07:00
Zhang Qian
b3326c61fe qcacld-3.0: Fix resource leak in __ol_transfer_bin_file
qcacld-2.0 to qcacld-3.0 propagation

If data was NULL in fw_entry, fw_entry should be released before return.
Otherwise there will be resource leakage.

Change-Id: I0a72f6bd74f349baf1028aed1f9988b188cda1b6
CRs-fixed: 1111115
2017-04-16 21:16:55 -07:00
Sandeep Puligilla
fe9b529e5c Release 5.2.0.21Z
Release 5.2.0.21Z

Change-Id: I8a9bdaf4459cc9745cd0cb0cd6c5c612ad78704e
CRs-Fixed: 774533
2017-04-16 15:58:43 -07:00
Amar Singhal
5cccafec64 qcacld-3.0: Wiphy initialization for regulatory offload
For regulatory offload, send the regulatory config settings to regulatory
component to compute the current channel list. Query channel list for
each band. Populate the channel list in wiphy. Also do not register
regulatory notifier with the kernel anymore.

CRs-Fixed: 2008013
Change-Id: Ia4995c7498d97fe1e37717e65daa9dcacb2f21b3
2017-04-16 15:58:42 -07:00
Sandeep Puligilla
a1154263ec Release 5.2.0.21Y
Release 5.2.0.21Y

Change-Id: I9d8c1ea9c8372bce4c7ce96379b48dd30b1bcc7a
CRs-Fixed: 774533
2017-04-16 02:32:25 -07:00