Commit Graph

27 Commits

Author SHA1 Message Date
Nachiket Kukade
2fb1fdb1ac qcacld-3.0: Combine all NAN related flags with WLAN_FEATURE_NAN
Flag WLAN_FEATURE_NAN_DATAPATH was added to protect NAN Datapath
related code, while WLAN_FEATURE_NAN_CONVERGENCE was added to
protect the converged code inside NAN Component. Since the
original NAN Discovery related code has now been moved inside
NAN component and NAN Datapath cannot exist without NAN Discovery,
keeping these flags separate doesn't make sense. Combine these
two flags with WLAN_FEATURE_NAN flag which is the original NAN
feature flag.

As a cleanup of NAN code, combine all NAN related flags with
WLAN_FEATURE_NAN flag.

Change-Id: If98ecaace17f8724e9c28325ef61e721f42e1d8f
CRs-Fixed: 2377375
2019-02-04 10:44:30 -08:00
Jeff Johnson
fcc29d4133 qcacld-3.0: Add SARV1 to SARV2 feature flag
Add SARV1 to SARV2 feature flag.

CRs-Fixed: 2282071
Change-Id: Iaaf449a222bf999a1d9227bde030a30cc84d18e0
2018-07-31 12:58:49 -07:00
Jeff Johnson
b5e486e4cf qcacld-3.0: Remove obsolete CONFIG_PRIMA_WLAN_11AC_HIGH_TP
Kbuild conditionally defines CONFIG_PRIMA_WLAN_11AC_HIGH_TP but then
never uses it. Since it is obsolete, remove it.

Change-Id: I4002197c3068c58e542ab0b7bcc55b642e04624c
CRs-Fixed: 2221850
2018-04-11 03:37:50 -07:00
Arif Hussain
02c2b63099 qcacld-3.0: Separate macros for dfs offload
Separate macros for dfs offload and non offload
to reduce the code size.

Change-Id: I909ed6502530988cc584690cb434ba2600bbccaa
CRs-Fixed: 2206653
2018-03-23 03:18:22 -07:00
Vignesh Viswanathan
45fc4b0a5e qcacld-3.0: Add makefile flag for ObjMgr Debug Enhancements
Add new CONFIG_WLAN_OBJMGR_DEBUG flag in qcacld Kbuild for ObjMgr
Debug enhancements and use the flag to enable the existing
WLAN_OBJMGR_DEBUG CFlag.

Change-Id: I295c9b6822ab0c1396368ecc719b2ba1c8c834dd
CRs-Fixed: 2184785
2018-03-15 09:32:38 -07:00
Hanumanth Reddy Pothula
07e5f99716 qcacld-3.0: Remove FW memory dump feature
qcacld-2.0 to qcacld-3.0 propagation

FW memory dump feature is no longer used. Hence remove FW memory
dump feature code changes.

Change-Id: Ida655f83630c369df746e7c0c9d61a8fee2932a2
CRs-Fixed: 2140261
2017-12-28 11:54:10 +05:30
Liangwei Dong
25eb0d8ec5 qcacld-3.0: Add Kconfig option for feature flag
Add Feature enable option in Kconfig:
WLAN_FEATURE_FILS; NAN_CONVERGENCE

Change-Id: I451e4aaddfe7f68a973092d13723090a33cc9f4c
CRs-Fixed: 2127806
2017-10-18 07:49:26 -07:00
Srinivas Girigowda
7c5fd6877a qcacld-3.0: Remove CONFIG_ from CONFIG_INET_LRO in Kconfig
Kernel, by default prepends "CONFIG_", hence
Remove CONFIG_ from CONFIG_INET_LRO.

Change-Id: I9bfec30e1814d8f3b7875a8a8926e251dd282441
CRs-Fixed: 2076950
2017-07-17 20:05:15 -07:00
Naveen Rawat
9383625dd6 qcacld-3.0: Add option to avoid timestamp in version string
Adding timestamp in version string is causing long compile times
for wlan project. Add option to avoid timestamp so that developers
can avoid long compile times.

Change-Id: Iaa5fd4f432549844ae319451cb43929a2d4b68ea
CRs-Fixed: 2064805
2017-07-06 15:41:27 -07:00
Jeff Johnson
7869aadbd4 qcacld-3.0: Add Kbuild support for FIPS feature
In order to get FIPS certification the driver will need to support a
userspace API and accompanying logic to exercise the FIPS WMI
interface exposed by firmware. Since this logic need not be enabled on
production devices, expose a configuration knob so that it can be
enabled or disabled on demand.

Change-Id: I979be0175ea89e9147b07b222f54a7c3fc23dbd9
CRs-Fixed: 2065002
2017-06-29 19:05:54 -07:00
Zhu Jianmin
04392c461d qcacld-3.0: Optimize ping latency
If tx frame is ICMP packet, disable bmps for N seconds to avoid
latency of waking up from bmps.

Change-Id: I91f7748bfca81524637e0e4cc39ace5abf53f7dc
CRs-Fixed: 2044602
2017-06-22 04:38:32 -07:00
Himanshu Agarwal
bfa44c2036 qcacld-3.0: Enable DPTRACE for perf and production builds
Enable DPTRACE for perf and production builds.

Change-Id: I2aebe9279fb8e3c4a56364e7897f4a4f7402213e
CRs-Fixed: 2047043
2017-05-16 00:46:25 -07:00
Krishna Kumaar Natarajan
639c6ffd72 qcacld-3.0: [11AX] Add feature flag for 11AX
Add feature flag for 11AX and enable the feature only for
QCA6290 chipset.

Change-Id: I342601304f73b68f39a1cd1a3d6c890df877e88e
CRs-Fixed: 1073481
2017-03-18 15:59:57 -07:00
Himanshu Agarwal
b180aede62 qcacld-3.0: Enable UMAC converged southbound interface by default
Enable UMAC converged southbound interface by default by removing
CONFIG_WLAN_CONVERGED_INTERFACE in Kbuild and WLAN_CONVERGED_INTERFACE
based API definitions in wma_main.c.

Change-Id: I3b849192b667e8c2f9fb628355c80b3d817f741a
CRs-Fixed: 1103247
2017-01-10 03:05:54 -08:00
Frank Liu
65b17d9609 qcacld-3.0: Support southbound interface
Attach southbound interface. Each individual component is supposed
to define tx_ops and rx_ops function to attach with southbound.

Change-Id: I622a53ab76bc3bab3774e90569af53ad49b95053
CRs-Fixed: 1096553
2016-12-21 03:12:35 -08:00
Dustin Brown
cd756941d2 qcacld-3.0: Make RX wakelock duration configurable
Propagation from qcacld-2.0

Change hard coded RX wakelock duration into an ini configuration item.
Only aquire the wakelock for unicast traffic, and if the configured
wakelock item is greater than 0.

Change-Id: I46b946ddfeae510a5446ff4ab012c09e4964a50c
CRs-Fixed: 1068594
2016-12-08 16:39:17 -08:00
Padma, Santhosh Kumar
d7cc079983 qcacld-3.0: Add changes for DISA certification
Add changes to parse DISA parameters received from
user space and pass them to firmware for firmware
to encrypt data and send back to driver. Also, add
changes to print encrypted data received from firmware.

Change-Id: Ic6928a93f799c47518fbbad96564062f595287dd
CRs-Fixed: 1064970
2016-10-04 12:40:51 -07:00
Ravi Joshi
a063dd9f69 qcacld-3.0: Create new files for supporting NAN data path feature
Add new files for supporting NAN data path feature.

Propagation from qcacld-2.0 to qcacld-3.0

CRs-Fixed: 962367
Change-Id: If12d15789659d04559a9d65d6b7016d4cc595fcf
2016-06-27 18:17:22 -07:00
Nirav Shah
1da7768385 qcacld-3.0: Remove PROTO_TRACE feature
Remove PROTO_TRACE feature and add MGMT packet
logging in DPTRACE.

Change-Id: I9bc019bb03e703cb8044cb5d4290fd438b1c3e69
CRs-Fixed: 1008087
2016-06-14 14:28:41 -07:00
Nirav Shah
cc1f1ae340 qcacld-3.0: Add ini support for DPTRACE
Add ini parameter and feature flag for
DPTRACE to enable/disable as per requirement.

Change-Id: I80db65adb7b8e82d5ea75cceac742fd229d7a2b5
CRs-Fixed: 1008087
2016-06-14 14:28:36 -07:00
Manishekar Chandrasekaran
f37d7121d1 qcacld-3.0: Fix Kconfig entry for MCC to SCC switch/LFR subnet detection
Correct the Kconfig entry that is used for the MCC to SCC switch and LFR
subnet detection feature. The Kconfig, instead of having the config name
is having the feature name. i.e, instead of having the Kconfig entries
as MCC_TO_SCC_SWITCH and LFR_SUBNET_DETECTION, the current entries are
FEATURE_WLAN_MCC_TO_SCC_SWITCH and FEATURE_LFR_SUBNET_DETECTION. The
make config process will add the CONFIG_ prefix to these Kconfig
entries.

Change-Id: I57f025f14bed73afeb411ea130ca88b5a4155a60
CRs-Fixed: 1000552
2016-05-04 21:17:14 -07:00
Manikandan Mohan
dcc21ba7f6 qcacld-3.0: get tsf from fw
qcacld-2.0 to qcacld-3.0 propagation

Get tsf from fw. Provide ioctl interface cap_tsf/get_tsf.
Driver issue wmi cmd to fw to realize capture/get.
It can be used in station and softap mode. For sta, getting
tsf from connected ap. For softap, it will generate tsf by-
self

Change-Id: I00d30882bce2f49ee3de3fa189e094c04c0d9943
CRs-Fixed: 817527
2016-05-02 23:27:49 -07:00
Chandrasekaran, Manishekar
b2d9fa14f4 qcacld-3.0: Enable packet tracker for non performance builds
Enable the packet tracker feature for non performance builds
by enabling the macro QCA_PKT_PROTO_TRACE and set the
default packet tracker log level to dump the DHCP, EAPOL
and management packet details. The necessary log level can
be modified using the ini 'gEnableDebugLog' entry either at
compile time or at run time using the IOCTL 'setDbgLvl'.
The logs are dumped using the same IOCTL 'setDbgLvl'.

e.g.,
To enable all the packet trace features
- iwpriv wlan0 setDbgLvl 0x0f
To dump the packet trace
- iwpriv wlan0 setDbgLvl 9999

Change-Id: I4fe82e0091517f0614baedf620976dd37b94a974
CRs-Fixed: 998642
2016-04-25 22:55:29 -07:00
Varun Reddy Yeturu
bbbbe237f9 qcacld-3.0: Enable compile time enable/disable for roaming
Enable compile time featurization support for both LFR2.0
and LFR3.0 using WLAN_FEATURE_HOST_ROAM and
WLAN_FEATURE_ROAM_OFFLOAD respectively

CRs-Fixed: 978905
Change-Id: Ib5976cd0cd5a6e117a1334bfc73a043e36e25f77
2016-04-17 18:10:33 -07:00
Chandrasekaran, Manishekar
3e6b687e3a qcacld-3.0: Add Kconfig entry to control MCC to SCC switch logic
Add Kconfig entry to control the MCC to SCC switch logic so that
the feature can be enabled when part of a built-in kernel.

Change-Id: I8a4297e245b2be1b1cca81cc10bdccdfd34f8941
CRs-Fixed: 986079
2016-04-17 18:08:10 -07:00
Ravi Joshi
61c3c7a927 qcacld-3.0: Interfacing files for LFR Subnet Detection support
Add interfacing files and configuration options to enable
LFR subnet detection feature support.

Change-Id: I46756dfb2dd8071fd2bb762038414709e6212c1c
CRs-fixed: 876335
2015-12-28 22:35:54 -08:00
Prakash Dhavali
7090c5fd8d qcacld-3.0: Initial snapshot of ihelium wlan driver
qcacld-3.0: Initial snapshot of ihelium wlan driver
to match code-scanned SU Release 5.0.0.139. This is
open-source version of wlan for next Android release.

Change-Id: Icf598ca97da74f84bea607e4e902d1889806f507
2015-11-17 17:52:53 -08:00