Commit Graph

601 Commits

Author SHA1 Message Date
Ganesh Kondabattini
9e4fbbbe57 qcacld-3.0: Stop TDLS timer when PDR triggered
Host is not stopping the TDLS timers when PDR is triggered.
These timers are expiring during wlan shut down and leading to
crash.

Fix is to stop TDLS timers while resetting adapters.

CRs-Fixed: 2050795
Change-Id: I944081342ff2de2548ff839a7b852d64282c0323
2017-06-05 09:22:27 -07:00
Nishank Aggarwal
4dbbc919f8 qcacld-3.0: Allow staid with 0 as valid for TDLS Peer
Staid with 0 value is considered invalid for TDLS peer.
But Staid with 0 should not be invalid.

The fix is to allow staid with 0 value as valid for
TDLS peer, and assign 0xFF as invalid staid for TDLS
peer.

Change-Id: Ia175c7f1621e7ac0bb826c60fad4ce98dbd41d44
CRs-Fixed: 2041406
2017-06-05 06:15:49 -07:00
Krunal Soni
364e087691 qcacld-3.0: Defer power-save for certain APs during initial connection
Few APs create interoperability issues when STA goes to power-save mode
right after initial connection.

In order to resolve these issues, defer the power-save for few seconds
when connected to those APs.

Change-Id: I3f6b642fb4e481dcb8e14f6da141f4cfa9d6b167
CRs-Fixed: 2046014
2017-06-02 14:47:43 -07:00
Manikandan Mohan
39accff49b qcacld-3.0: Add INI item for 11AX HE params and configure on BSS start
Add INI params for 11AX HE OBSS_PD. Update code to set
these params on BSS start on station connection and SAP start.

Change-Id: I60ae2cae936558668dfb1059744a6e3891aaebd1
CRs-fixed: 2045431
2017-06-01 16:01:09 -07:00
Dustin Brown
2078eddc00 qcacld-3.0: Change gHwFilterMode default to 1
gHwFilterMode was mistakenly defaulted to 0. Change the default value
for gHwFilterMode to 1, to match the previous non-arp-bcast-filter
semantics.

Change-Id: I2b22c253fae52ef500290dea63699633da82fd06
CRs-Fixed: 2044102
2017-06-01 12:32:28 -07:00
Dustin Brown
1224e21a8f qcacld-3.0: Add gHwFilterMode ini item
Add a 'gHwFilterMode' ini item to control the DTIM mode hardware
filter. This ini item supersedes 'g_enable_non_arp_bc_hw_filter.'

	# disable feature (default)
	gHwFilterMode=0
	# drop all broadcast frames, except ARP
	gHwFilterMode=1
	# drop all multicast frames, except ICMPv6
	gHwFilterMode=2
	# drop all broadcast and multicast frames, except ARP and ICMPv6
	gHwFilterMode=3

Change-Id: I6bc8ac7585ffd0a62ab1c57558a798df9b63f2ce
CRs-Fixed: 2040420
2017-06-01 12:32:27 -07:00
yeshwanth sriram guntuka
4c9a66989c qcacld-3.0: Remove unused concurrency ini parameters
Remove unused concurrency ini parameters used to
configure number of channels combined for each split
scan operation.

Change-Id: I913b6e769f282a0f5a0ddb40e54d294ae07deb55
CRs-Fixed: 2013444
2017-06-01 06:06:49 -07:00
Naveen Rawat
b2fc41317f qcacld-3.0: Introduce ini param for forcing 1x1 for certain peer
For a certain Vendor OUI this ini param allows STA connection in 1x1
only. This is needed to resolve IOT issue.

Change-Id: If4ff4ece3c4bd1c4b85ebfd5c4870b27efbbe475
CRs-Fixed: 2047347
2017-05-31 23:38:08 -07:00
Dhanashri Atre
1a6a4ce139 qcacld-3.0: Modify legacy LRO implementation to use QDF
Modify the legacy LRO implementation which is in HDD to
use the implementation in QDF instead. This is to avoid
code duplication and to unify the LRO implementations for
Napier and Helium.

Change-Id: Ie9d3bb6d3dcda5a7d1d5fda6e7cbdef92be30461
CRs-Fixed: 2042812
2017-05-26 16:11:27 -07:00
Yuanyuan Liu
d9db825055 qcacld-3.0: send channel info to cnss daemon
Send channel info to cnss daemon. Daemon will pass these info
to LOWI client.

CRs-Fixed: 2006217
Change-Id: I125a519e188774bb099058ad5c385787800e5411
2017-05-26 07:50:57 -07:00
Dustin Brown
7f939930bb qcacld-3.0: Add gTimerMultiplier ini item
Expose the new QDF timer multiplier APIs via a new ini configuration
item, gTimerMultiplier.

Change-Id: I76f86f1488f4335dc7f1f128e1469f3f4cf32645
CRs-Fixed: 2049308
2017-05-25 18:21:41 -07:00
Dustin Brown
f13b8c35e5 qcacld-3.0: Ensure adapter is up before ip change work
Currently, the host driver blindly configures ARP/NS offloads and other
work when it receives an IP address change notification from the kernel.
Ensure the specificed adapter is still up before processing IP address
change notification changes from the kernel to prevent extra work and
invalid access.

Change-Id: I087b72a9ffd735a0482d1c4ff9ad62cb8beb036b
CRs-Fixed: 2049976
2017-05-23 18:00:31 -07:00
Dustin Brown
9a9437f4ee qcacld-3.0: Adjust default EGAP ini values
Adjust the default EGAP ini values.

Change-Id: I53eecf0b09864c82396197511ec20a7ac0dc9a55
CRs-Fixed: 2048773
2017-05-22 16:20:40 -07:00
Naveen Rawat
2b6e3c9d51 qcacld-3.0: ini param support for disconnect threshold
This is qcacld-2.0 to qcacld-3.0 propagation.

This patch adds ini support for WMI_VDEV_PARAM_DISCONNECT_TH
which represents number of dropped packets before FW sends out
kickout event for that peer to host.

Change-Id: I4c82bd1b5d1bc5d8265e3b0e5e58c82cdcab7f50
CRs-Fixed: 862686
2017-05-19 06:32:03 -07:00
Nitesh Shah
50a3de1447 qcacld-3.0: Add ini item used in DBS Scan selection policy
Add ini item gdbs_scan_selection for DBS Scan selection policy.

Change-Id: If71df05afac7139d4ceccd190e8196c7476445b5
CRs-Fixed: 2028112
2017-05-19 05:27:29 -07:00
Dustin Brown
edce4a571e qcacld-3.0: Fix WoW Pattern mem leak on unload
WoW patterns are maintained in an internal cache that is not cleaned
when the WLAN module is unloaded. Free the WoW pattern cache as part
of the WLAN module unload.

Change-Id: I1ebd1876555d01551542f7029f53a72af6773dbc
CRs-Fixed: 2044774
2017-05-19 05:27:23 -07:00
Kiran Kumar Lokere
b1d412e15d qcacld-3.0: Add support for regulatory component ucfg apis
Add support for regulatory component ucfg apis to provide user
configuration

Change-Id: I994e53b17788472de979df9dce9e18c6f68de850
CRs-Fixed: 2012415
2017-05-18 13:42:29 -07:00
Jayachandran Sreekumaran
68c952c716 qcacld-3.0: Add acs config parameter acs_policy
A new external acs configuration parameter acs_policy.
This parameter indicates the external ACS module whether
its mandatory or preferrable to select a channel
from the preferred channel list provided by the
driver

Change-Id: I80925109349c68c95f25ba27d87bd68964c4eb04
CRs-Fixed: 2037034
2017-05-11 01:26:07 -07:00
Krunal Soni
a2c0e41dd2 qcacld-3.0: Correct INI item's data type from bool to uint8_t
rxLdpcEnable and txLdpcEnable have incorrect data type which may
lead to confusion and error.
Fix the data types from boolean to uint8_t.

Change-Id: Idb8642a528d7e4c75cd2bc7c2e04f52a888f3d2b
CRs-Fixed: 2018096
2017-05-05 03:52:42 -07:00
Kabilan Kannan
256e3185e7 qcacld-3.0: Add address search flags for TDLS
Add support to set address search flags in WLAN Tx Descriptor
for TDLS operation.

Change-Id: I8ab30e78d63139a729353268f5dce51d64405c8f
CRs-Fixed: 2041759
2017-05-05 00:27:26 -07:00
Manikandan Mohan
617a51624b qcacld-3.0: Update for HIF check patch fixes
Update dependent files for HIF files check patch fixes.

Change-Id: I7b922d06ddaff42f75e1c1183e25500fd3937815
CRs-fixed: 2030824
2017-05-02 13:29:41 -07:00
Selvaraj, Sridhar
ca03ad2491 qcacld-3.0: Add default INI settings for QCN IE and bcast probe resp changes
1) Enable QCN IE support by default
2) Enable broadcast probe response reception by default

Change-Id: I4a5cbc183509953f88f834f7140d239e8dc2e6b4
CRs-Fixed: 2013411
2017-04-28 06:52:14 -07:00
Rachit Kankane
2487f8f7e9 qcacld-3.0: HDD, SAP changes to Disable/Enable NOA
P2P-GO whenever goes offchannel, issues NOA. With this behavior, we
have issue whenever legacy STA connects to P2P-GO as legacy STA
does not understand NOA. To handle this case, changes are done in HDD
and SAP component and the revised behavior will be:
 1. By default no change in NOA.
 2. Whenever first legacy STA connects to GO, SAP informs HDD with
    new parameter station type. HDD will communicate the same to
    p2p protocol component. Once the connected station is authorized
    p2p protocol component will disable NOA (i.e. P2P-GO will start
    issuing Self-CTS whenever it goes off-channel).
 3. Whenever last legacy STA disconnects from GO, p2p protocol
    component enables NOA (i.e. P2P-GO will start issuing NOA whenever
    it goes off-channel).

Change-Id: Iadab47c9a2aeb434371d4c262623d7196f3b1ab4
CRs-Fixed: 2035609
2017-04-28 04:42:04 -07:00
Sravan Kumar Kairam
27296783b7 qcacld-3.0: Add runtime suspend and resume support in PMO
As part of UMAC componentization add runtime suspend and resume
support in PMO.

Change-Id: I120044bb5638ca75e6ac46b22bb194520da22fea
CRs-Fixed: 2030194
2017-04-27 12:39:56 -07:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
bings
4c6cecf753 qcacld-3.0: Vendor scan done event should be used for vendor scan
If the scan is triggered by vendor, driver should send vendor scan
done event; otherwise supplicant can't get scan results.

Change-Id: I49403a0b6e056936832a28d90f299e66d5b96340
CRs-Fixed: 2029208
2017-04-16 01:43:43 -07:00
Sreelakshmi Konamki
88a2a41bbf qcacld-3.0: Add support to get the status for Roam Scan Offload command
Add support to handle the event for the Roam Scan Offload[RSO] command
status. Inform the same to user space.

Change-Id: I2758103e8ca3c49c0fecd3323b619542dbbabf0c
CRs-Fixed: 1111809
2017-04-14 12:43:35 -07:00
Abhishek Singh
0481d66d9d qcacld-3.0: Cleanup the legacy PNO code
Cleanup the legacy PNO code as PNO is moved to common scan component

Change-Id: I63914e1f496627ac32ddebbe0c8be7da088316cb
CRs-Fixed: 2032432
2017-04-14 11:03:29 -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
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
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
Srinivas Girigowda
17d35174f9 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_tdls.h
Fix kernel checkpatch warnings in wlan_hdd_tdls.h.

Change-Id: Ia294b407926bbcdb712f44f814dbaa7cd1b9f906
CRs-Fixed: 2024274
2017-04-12 01:57:42 -07:00
Srinivas Girigowda
2fb677cac0 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_cfg.h
Fix kernel checkpatch warnings in wlan_hdd_cfg.h.

Change-Id: I88d7c7409fe413a732f69a950e46f4847e90b04b
CRs-Fixed: 2024274
2017-04-12 01:57:40 -07:00
Srinivas Girigowda
72136691fe qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_assoc.h
Fix kernel checkpatch warnings in wlan_hdd_assoc.h.

Change-Id: Ia819c42b979964f825923f3060b68daef8d22dbb
CRs-Fixed: 2024274
2017-04-12 01:57:38 -07:00