Commit Graph

4857 Commits

Author SHA1 Message Date
Srinivas Girigowda
81aef9019e qcacld-3.0: Replace sms_log() with sme_* log levels in csr_api_roam.c
Replace sms_log() with sme_* appropriate log levels in csr_api_roam.c.

Change-Id: I3de430a40c40b319848f7d7ef5285e65a378b877
CRs-Fixed: 2020798
2017-04-14 02:09:16 -07:00
Sandeep Puligilla
d29b39840a Release 5.2.0.21N
Release 5.2.0.21N

Change-Id: I674fddffd9ae6d1122a2a07e6d51f6cfe25454a3
CRs-Fixed: 774533
2017-04-13 23:47:54 -07:00
Naveen Rawat
4edb682f08 qcacld-3.0: Define API to retrieve adapter by interface name
Define HDD API to get adapter by interface name. This will be used in
NDI + NDI and similar scenarios.

Change-Id: Icd7fb7c60c67e73aa030752b2e6840853a242fc9
CRs-Fixed: 2032704
2017-04-13 23:47:53 -07:00
Sandeep Puligilla
254ed08227 Release 5.2.0.21M
Release 5.2.0.21M

Change-Id: I7cba463884bf8fcf444ea1c290775e47cc725a28
CRs-Fixed: 774533
2017-04-13 23:02:06 -07:00
Naveen Rawat
0eb3dd0ebe qcacld-3.0: Avoid double free of req in wma_hold_req_timer
Do not free request pointer in wma_hold_req_timer, if not found
in the list, because firmware response would have consumed and
freed it.

Change-Id: Ibf561243c606b40e45c8b1cd7c0d2559e0ea85aa
CRs-Fixed: 2027853
2017-04-13 23:02:05 -07:00
Sandeep Puligilla
93c3a2e1a0 Release 5.2.0.21L
Release 5.2.0.21L

Change-Id: I19ecd70ed625cc67f6a015523f4a0c16a24f8994
CRs-Fixed: 774533
2017-04-13 19:57:51 -07:00
Naveen Rawat
5f1111b2ad qcacld-3.0: Send ROAM_OFFLOAD_START after PSK_PMK has been changed
After supplicant issues a new PSK_PMK send a ROAM_OFFLOAD_START cmd
to firmware to update latest PMK to firmware so that it can send
correct PMK in 4-way EAPOL handshake.

Change-Id: Ied2ba70ca7538ddf7b63478585c53bf174b62c38
CRs-Fixed: 2032853
2017-04-13 19:57:50 -07:00
Sandeep Puligilla
534d9d3595 Release 5.2.0.21K
Release 5.2.0.21K

Change-Id: I3a836b970b3fa672a15092b8f6c38453b2a6ff5d
CRs-Fixed: 774533
2017-04-13 17:53:12 -07:00
Himanshu Agarwal
53298d1fd7 qcacld-3.0: Add support to add memory tracking in tx path
Add support to add memory tracking in tx path in WLAN driver using
already present infrastructure for memory tracking.

Change-Id: I6a2c9890e0af1fd51c4e2dfcded68f0075a3a4ef
CRs-Fixed: 2025668
2017-04-13 17:53:11 -07:00
Himanshu Agarwal
865201d99d qcacld-3.0: Do netif_tx_stop_all_queues() instead of netif_tx_disable()
Race condition is happening when tx traffic is running and simulataneously
suspend is going on. hdd_hard_start_xmit() is called under txq->__xmit_lock
and in case of low descriptor scenario, it goes to pause the netif queues
and trying to take adapter->pause_map_lock for doing so which is already
acquired by another thread. In another thread, suspend indication is being
preocessed and as a result is trying to pause netif queues with
netif_action WLAN_NETIF_TX_DISABLE which takes adapter->pause_map_lock and
then calls netif_tx_disable() which is trying to take txq->__xmit_lock
already taken by the thread executing hdd_hard_start_xmit(). This leads to
a deadlock situation.

Replace netif_tx_disable() with netif_tx_stop_all_queues() as
netif_tx_stop_all_queues() is doing the same thing as netif_tx_disable()
only without taking the txq->__xmit_lock which prevents this deadlock.

Change-Id: I5afafe6435707bd8f0e87972a740f908d06ce847
CRs-Fixed: 2030933
2017-04-13 17:53:09 -07:00
Sandeep Puligilla
9d42b441c7 Release 5.2.0.21J
Release 5.2.0.21J

Change-Id: I55b4d95d9f5773807497c90e3460af07135fe794
CRs-Fixed: 774533
2017-04-13 15:41:49 -07:00
Abhishek Singh
995a53bcca qcacld-3.0: If Hw is DBS capable dont allow scan in IBSS dev
For IBSS, firmware does not add self peer for each mac and thus
if HW is capable of DBS the firmware crash when scan req is received
on IBSS vdev. Also IBSS vdev does not need to scan to establish
IBSS connection.

To fix the crash, block the scan on IBSS vdev when DBS is enabled.

Change-Id: I41eda671d263a72ccb2b0c27212dd1d983043bca
CRs-Fixed: 2029880
2017-04-13 15:41:48 -07:00
Sandeep Puligilla
5756848bf7 Release 5.2.0.21I
Release 5.2.0.21I

Change-Id: Ie94e8364888b7514668e78928019198e1fe0eae1
CRs-Fixed: 774533
2017-04-13 14:44:41 -07:00
Srinivas Girigowda
32c0b65bff qcacld-3.0: Replace sms_log() with sme_* log levels in csr_neighbor_roam.c
Replace sms_log() with sme_* appropriate log levels in csr_neighbor_roam.c.

Change-Id: I99eb443b7b65e0a45d4111fe21d40ed27eaf5a7c
CRs-Fixed: 2020798
2017-04-13 14:44:41 -07:00
Srinivas Girigowda
62178eca9b qcacld-3.0: Replace sms_log() with sme_* log levels in csr_host_scan_roam.c
Replace sms_log() with sme_* appropriate log levels in csr_host_scan_roam.c.

Change-Id: I3076cfadab4917ae14cd1d9d7277677bc711a272
CRs-Fixed: 2020798
2017-04-13 14:44:38 -07:00
Srinivas Girigowda
a454cfb6e4 qcacld-3.0: Replace sms_log() with sme_* log levels in csr_api_scan.c
Replace sms_log() with sme_* appropriate log levels in csr_api_scan.c.

Change-Id: Ideeb7dc929b6f340d78d21ec1ac6195d9c3c8089
CRs-Fixed: 2020798
2017-04-13 14:44:36 -07:00
Srinivas Girigowda
9aa6eecb6c qcacld-3.0: Replace sms_log() with sme_* log levels in sme_power_save.c
Replace sms_log() with sme_* appropriate log levels in sme_power_save.c.

Change-Id: I0df21a4dbe397b42803bed8c39927743e12dd6c7
CRs-Fixed: 2020798
2017-04-13 14:44:33 -07:00
Srinivas Girigowda
6491f98443 qcacld-3.0: Replace sms_log() with sme_* log levels in sme_ft_api.c
Replace sms_log() with sme_* appropriate log levels in sme_ft_api.c.

Change-Id: Id73503af3b96f78956c19c767f96305f60e949b1
CRs-Fixed: 2020798
2017-04-13 14:44:31 -07:00
Sandeep Puligilla
58581e83f0 Release 5.2.0.21H
Release 5.2.0.21H

Change-Id: I5cd8a62850cda842f7f823c45b21efb281ba854b
CRs-Fixed: 774533
2017-04-13 12:29:29 -07:00
Srinivas Girigowda
2da81e25d6 qcacld-3.0: Replace sms_log() with sme_* log levels in sme_api.c
Replace sms_log() with sme_* appropriate log levels in sme_api.c.

Change-Id: Ie389981031bbb55076d6c10f9764514b18f83a8c
CRs-Fixed: 2020798
2017-04-13 12:29:29 -07:00
Srinivas Girigowda
b896a5698e qcacld-3.0: UMAC: Replace sir_dump_buf() with QDF_TRACE_HEX_DUMP()
Replace sir_dump_buf() with QDF_TRACE_HEX_DUMP().

Change-Id: I8093efa19d4b4bb3ce6e40c2894dfd67583a2758
CRs-Fixed: 2020798
2017-04-13 12:29:26 -07:00
Srinivas Girigowda
af487f638f qcacld-3.0: SME: Introduce sme_{alert|warn|info|debug} macros
Introduce sme_{alert|warn|info|debug} macros.

Change-Id: I1c64d2a554855b4410203e58ee522ebec021da01
CRs-Fixed: 2020798
2017-04-13 12:29:24 -07:00
Srinivas Girigowda
c06543c15c qcacld-3.0: HDD: Reduce the log spam in kmsg
Move the logs to appropriate log levels to reduce
the log spam in kmsg.

Change-Id: I8d026e68c3b0526a5c9047027f7bb57433b3ae37
CRs-Fixed: 2014745
2017-04-13 12:29:21 -07:00
Srinivas Girigowda
f1472126a0 qcacld-3.0: WMA: Reduce the log spam in kmsg
Move the logs to appropriate log levels to reduce
the log spam in kmsg.

Change-Id: I195a0a16f5b6baa61243ddabc43beccf24594270
CRs-Fixed: 2014745
2017-04-13 12:29:19 -07:00
Srinivas Girigowda
7f48157556 qcacld-3.0: UMAC: Remove obsolete file 'sys_debug.h'
Remove obsolete file 'sys_debug.h'.

Change-Id: I825e3e975890af5dfae5c9785b50d1515ed99787
CRs-Fixed: 2014745
2017-04-13 12:29:16 -07:00
Srinivas Girigowda
1546057644 qcacld-3.0: UMAC: Remove obsolete file lim_debug.[c|h]
Remove obsolete file lim_debug.[c|h].

Change-Id: I0eee336da7f5ac2931ffe38020057b40cfda4ec5
CRs-Fixed: 2020798
2017-04-13 12:29:14 -07:00
Srinivas Girigowda
4cdc82df0a qcacld-3.0: UMAC: Remove obsolete file cfg_debug.[c|h]
Remove obsolete file cfg_debug.[c|h].

Change-Id: I54c478971af0f7edb2609ded7f8bcc189de1a9cb
CRs-Fixed: 2020798
2017-04-13 12:29:12 -07:00
Srinivas Girigowda
d82274b6a7 qcacld-3.0: UMAC: Remove obsolete file 'utils_global.h'
Remove obsolete file 'utils_global.h'.

Change-Id: I2af0b7a0731bf9ab0a985765a96718458ce12015
CRs-Fixed: 2020798
2017-04-13 12:29:09 -07:00
Srinivas Girigowda
fac99d1b58 qcacld-3.0: UMAC: Remove support for WNI_CFG_LOG_LEVEL
UMAC components uses its own logging level configuration,
but now all the log level checks are handled in QDF.

Hence remove the support for WNI_CFG_LOG_LEVEL.

Change-Id: Ib1f47efe6a8f0113543d855ed2a05b86170b7675
CRs-Fixed: 2020798
2017-04-13 12:29:07 -07:00
Srinivas Girigowda
7f29d1100e qcacld-3.0: UMAC: Remove module specific log level check
Log level check is currently handled in QDF and hence we don't
need another redundant check in UMAC modules.

Change-Id: I86e7341ab3a634b50a4c4c2d70f6651e6e1f8de5
CRs-Fixed: 2020798
2017-04-13 12:29:05 -07:00
Srinivas Girigowda
7bb7f87e11 qcacld-3.0: Replace sys_log() with pe_* log levels in mac_init_api.c
Replace sys_log() with pe_* appropriate log levels in mac_init_api.c.

Change-Id: Ic978665fbf99dc395bbaaa168e0db4a14c9e3697
CRs-Fixed: 2020798
2017-04-13 12:29:02 -07:00
Srinivas Girigowda
78f82f5466 qcacld-3.0: Replace sys_log() with pe_* log levels in sys_entry_func.c
Replace sys_log() with pe_* appropriate log levels in sys_entry_func.c.

Change-Id: I42be62ae77495e8ca82b78a0a90bd3e07e61db9e
CRs-Fixed: 2020798
2017-04-13 12:29:00 -07:00
Srinivas Girigowda
817a9188e3 qcacld-3.0: UMAC: Remove obsolete files sch_debug.[c|h]
Remove obsolete file sch_debug.[c|h].

Change-Id: I97083e0eb1f97e070e0033e454e4ca30ad51974e
CRs-Fixed: 2020798
2017-04-13 12:28:58 -07:00
Sandeep Puligilla
9df6fa85ad Release 5.2.0.21G
Release 5.2.0.21G

Change-Id: Ifd7d61979d37691ed3285422d6ef1fc70ea4ff86
CRs-Fixed: 774533
2017-04-13 09:53:16 -07:00
Selvaraj, Sridhar
2c46d83624 qcacld-3.0: Enable FILS capability bit in extended capability IE
With I446c7d7589534688e04579ed434de0803ed8b4ff, STA adds
FILS request parameters IE in Probe Requests. But FILS capability
is not set in extended capability IE.

Enable FILS capability bit in extended capability IE.

Change-Id: If409185f785a4c1905b60df5935baf313f638887
CRs-Fixed: 2018546
2017-04-13 09:53:15 -07:00
Selvaraj, Sridhar
f7939835fd qcacld-3.0: Add INI/IOCTL for template for Roaming functionality
Add IOCTL and INI template for Roaming functionality for documentation.

Change-Id: Iaaaeaca06ace5b3d711f9d21ed60f8c39743e4e0
CRs-Fixed: 1097765
2017-04-13 09:53:13 -07:00
Selvaraj, Sridhar
a521aab1c5 qcacld-3.0: Add INI "g_qcn_ie_support" INI for QCN IE support
Add INI "g_qcn_ie_support" INI and selectively add the QCN IE
in probe/assoc/reassoc request based on the INI.

Change-Id: I6039bb5366feb77b4c601bcde00b4bd5d92a3b23
CRs-Fixed: 1117320
2017-04-13 09:53:11 -07:00
Sandeep Puligilla
74dd1c50f0 Release 5.2.0.21F
Release 5.2.0.21F

Change-Id: I2f6e58a8f8caa2ec4c3363902273fcbc84f771ac
CRs-Fixed: 774533
2017-04-13 09:12:29 -07:00
Abhishek Singh
6e4621c725 qcacld-3.0: Fix scan failure issue
If number of BSSID tried by CSR reach max bss limit for the
connect request, no more AP are tried and failure is sent to hdd.

But as PE session ref count is 1, assoc completion is sent instead
of assoc failure and thus HDD does not send the connect failure to
upper layer. Also the HDD state remains in
"eConnectionState_Connecting" state and is not moved to
eConnectionState_NotConnected state and thus scan fails.

To fix this decrease the PE session ref count if number of BSSID
tried by csr reaches max BSS limit for the connect request.

Change-Id: I43ea4fa67d968ee648c47c2d52c0dd98d67f051d
CRs-fixed: 2027306
2017-04-13 09:12:28 -07:00
Abhishek Singh
b61b5453a3 qcacld-3.0: Fix memory leak in start ext scan
In wma_start_extscan scan req params is allocated but not freed
once command is sent to WMI.

Fix it by freeing the scan req params once sent to WMI.

Change-Id: I3eb37b33c3731e69991b9d67aa9274abeebb5339
CRs-Fixed: 2029379
2017-04-13 09:12:26 -07:00
Sandeep Puligilla
88f85e9309 Release 5.2.0.21E
Release 5.2.0.21E

Change-Id: I03b80ae1453dbf170d42625693a0b2c43106e657
CRs-Fixed: 774533
2017-04-12 19:02:12 -07:00
Yun Park
3374a4b65a qcacld-3.0: Support set QUOTA limit for STA software data path
WiFi currently has no mechanism for tracking software path statistics.
However, quota usage must be aggregate of all traffic occuring over
STA (SoftAp HW, SoftAp SW, Embedded, Other Tether Traffic).
This is a WLAN host side change to support this; send set Quota
message to FW even before first client connected.

Change-Id: Ica326ae4a11b465ed3131652ac311c7a76e01253
CRs-Fixed: 1097371
2017-04-12 19:02:11 -07:00
Yun Park
327e7816d1 qcacld-3.0: Change to set 64 bits quota bytes
IPA uC quota bytes is 64 bits long, however wma_cli_set_command
passes only 32 bit value, so only LSB is passed to FW.
To set full 64 bits to FW, pass MSB of the quota value using second
value parameter of wma_cli_set2_command.

Change-Id: Iace8c4a856fcadaa1492b843e24901ab63657550
CRs-fixed: 2007400
2017-04-12 19:02:09 -07:00
Yun Park
637d6486f2 qcacld-3.0: Add interface to WDI-stats and quota limit
Add structure changes for querying WDI-stats, register the callback
functions for IPA to query WDI stats and sets the quota limit

Change-Id: I05d9d50fad735fa0a57c4de23c81461f6e12b648
CRs-Fixed: 1095710
2017-04-12 19:02:07 -07:00
Sandeep Puligilla
5fccc45b5a Release 5.2.0.21D
Release 5.2.0.21D

Change-Id: Ia485a1c788c1e2d8a4765611293ae679acd8ff5e
CRs-Fixed: 774533
2017-04-12 12:27:26 -07:00
Srinivas Girigowda
6c3b6477ff qcacld-3.0: Replace sch_log() with pe_* log levels in sch_api.c
Replace sch_log() with pe_* appropriate log levels in sch_api.c.

Change-Id: I1b9b4af2b22b37da22b3b615a64b0394839d26ff
CRs-Fixed: 2020798
2017-04-12 12:27:26 -07:00
Srinivas Girigowda
82ca1fcbc6 qcacld-3.0: Replace sch_log() with pe_* log levels in sch_beacon_process.c
Replace sch_log() with pe_* appropriate log levels in sch_beacon_process.c.

Change-Id: Ie0a369477e3d05ebe7927138ba7611cd3f00a135
CRs-Fixed: 2020798
2017-04-12 12:27:24 -07:00
Srinivas Girigowda
d98fcbf9fd qcacld-3.0: Replace sch_log() with pe_* log levels in sch_beacon_gen.c
Replace sch_log() with pe_* appropriate log levels in sch_beacon_gen.c.

Change-Id: I0b3a3a25142dae44fc92587e6701ca2a39463a53
CRs-Fixed: 2020798
2017-04-12 12:27:22 -07:00
Srinivas Girigowda
cf701242b8 qcacld-3.0: Replace sch_log() with pe_* log levels in sch_message.c
Replace sch_log() with pe_* appropriate log levels in sch_message.c.

Change-Id: I2eea788e39e7a4064ef079019c7721f15f048807
CRs-Fixed: 2020798
2017-04-12 12:27:20 -07:00
Srinivas Girigowda
e3cae1d395 qcacld-3.0: PE: Introduce pe_{alert|warn|info|debug} macros
Introduce pe_{alert|warn|info|debug} macros.

Change-Id: I9160b1531848fa13f4cc22e30a82feb5cf7731ce
CRs-Fixed: 2020798
2017-04-12 12:27:18 -07:00