Commit Graph

4892 Commits

Author SHA1 Message Date
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
757b45f818 qcacld-3.0: DSF componentization build support
Add DFS componentization support changes.

Change-Id: I2c321707933090ee03e4ac30f6b8eac94396524f
CRs-Fixed: 2017481
2017-04-25 01:08:46 -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