Commit Graph

56 Commits

Author SHA1 Message Date
jiad
6ee0ab11de qcacld-3.0: Enable MOBILE_ROUTER feature on SDXPRAIRIE
Enable MOBILE_ROUTER feature flag on SDXPRAIRIE, which is
a MDM platform.

Change-Id: I039b56b639cd5afb13fba23f4463dc9979c82412
CRs-Fixed: 2359660
2018-12-03 05:48:05 -08:00
Rakshith Suresh Patkar
384a28ae48 qcacld-3.0: Add timestamp debug info in ol_tx_desc_t
Add descriptor timestamp debug info in ol_tx_desc_t and
add APIs to set these values.

Change-Id: I686fccff4268811474630dbea8369fabe82d1517
CRs-Fixed: 2333654
2018-11-10 04:02:04 -08:00
Dustin Brown
93abc2cb79 qcacld-3.0: Enable excessive logging detection
Excessive logging detection was recently added via
If83c6dfccb9d191b02a3a7166b065c0a0704f969. While we would like to enable
this feature with a maximum number of logs per second of 100, there are
still a few outstanding problem areas, like dumping stats via IOCTL.
Instead enable the feature with a max of 500 to catch egregious
regressions, and plan to decrease this to 100 or less once the problem
areas are addressed.

Change-Id: I5b880c2354ec4828e1773eeb43de43a4649d4803
CRs-Fixed: 2340011
2018-11-08 13:39:22 -08:00
Sandeep Puligilla
3a1e42a31c qcacld-3.0: Disable VDEV manager
Disable vdev manager feature through Kbuild option.

Change-Id: If89029c0f428b9b6d1d053ac23170192602e0333
CRs-Fixed: 2344437
2018-11-05 14:47:52 -08:00
Krunal Soni
457ec247dd qcacld-3.0: Enable Shadow register V2 in defconfig build
All the changes related to Shadow register V2 are added to
defconfig build for lithium platform.

Kickstart them by enabling CONFIG_SHADOW_V2 in config.

CRs-Fixed: 2343779
Change-Id: I07c93b5d43edc5010e501ab06cc7050a6e8c9c7f
2018-11-01 23:03:52 -07:00
Jeff Johnson
a0b912c10a qcacld-3.0: Correctly disable FASTPATH on Lithium
Change "qcacld-3.0: Compile hif_main_legacy file for non-lithium
architecture" (Idd8623612c057380e9bd9704be0538923f37be08) introduced
flawed logic to disable FASTPATH for lithium architecture, so fix the
logic.

Change-Id: I8010c04c7e9e7e4d74dfe1679b0e9b22f5d8ae18
CRs-Fixed: 2342057
2018-10-31 11:50:40 -07:00
Nirav Shah
3422e03e10 qcacld-3.0: Compile hif_main_legacy file for non-lithium architecture
Compile hif_main_legacy file for non-lithium architecture and
disable FASTPATH for lithium architecture.

Change-Id: Idd8623612c057380e9bd9704be0538923f37be08
CRs-Fixed: 2332442
2018-10-29 03:11:40 -07:00
Venkata Sharath Chandra Manchala
1619b73955 qcacld-3.0: Add config parameter to compile HALhwio.h file
Add SCALE_INCLUDES CONFIG parameter to compile HALhwio.h for QCA6390
as msmhwio.h file is now deprecated.

Change-Id: I4a883101a0ba15d2ab1efcd7bde312e22099a693
CRs-Fixed: 2332023
2018-10-22 15:06:37 -07:00
Qiwei Cai
dcb73b0132 qcacld-3.0: Featurize MCL only WMI APIs
Featurize MCL only WMI APIs by compiling them as a separate source.
It enables profiles/configs to selectively compile the WMI APIs
based on whether the feature is required or not.
Featurize WMI APIs and TLVs that are specific to MCL -
- DSRC
- NAN
- P2P
- PMO
- roaming
- concurrency
- STA
- Generic MCL specific WMI (STA)

Change-Id: I3b005b8f60491c7d27cf221b7505116e1b9c1a38
CRs-Fixed: 2333916
2018-10-16 13:40:16 -07:00
yuanl
2746f07242 qcacld-3.0: expose TSF to user space by file system on Vipertooth
Enable TSF for Adrastea arch on Vipertooth chip firstly and
expose TSF time mapping via file system

CRs-Fixed: 2320218
Change-Id: Ifda0d8035717ad21edb1a393ef32f1157ab59105
2018-10-13 15:23:10 -07:00
Yue Ma
62c14eafcf qcacld-3.0: Enable CONFIG_QCA6290_11AX by default
QCA6290 non-AX chipset is deprecated, so enable changes for QCA6290 AX
chipset by default.

Change-Id: I09b52dc58c1a79e36502671de94021d5940d0072
CRs-fixed: 2331182
2018-10-11 17:37:44 -07:00
Abhishek Singh
ee0370d7c8 qcacld-3.0: Config changes to enable vdev state machine
Config changes to enable vdev state machine.

Change-Id: Ia7e6b3c37fb7ad27938a8029ab5a2b75bc4d1671
CRs-Fixed: 2321745
2018-10-09 06:12:18 -07:00
Alok Kumar
a8331e06b2 qcacld-3.0: Enabling METERING Feature for Talos
Enable CONFIG_QCACLD_FEATURE_METERING Feature for Talos
in default_defconfig

Change-Id: Ia67b60efdde435b7d5b2e96e95aa53a2191f9aca
CRs-Fixed: 2326805
2018-10-04 03:36:41 -07:00
Rakshith Suresh Patkar
d9f4e610c6 qcacld-3.0: Enable wbuff module
wbuff is a module which maintains a pre-allocated pool of
skbs for each registered module and allocates skbs when
requested.

Change-Id: Ia4d13479d8a1342227a2ecbaf29cc7a89bc5e30b
CRs-Fixed: 2313446
2018-09-14 23:14:48 -07:00
Abhishek Singh
ed19748fcd qcacld-3.0: Add kbuild changes for VDEV SM
-Add VDEV MLME header file location to make file.
-Add VDEV manager compilation macros to config file.

Change-Id: Id5b4e1154aad0027ef91401fc4c900fcfd7a78a9
CRs-Fixed: 2309139
2018-09-14 08:16:32 -07:00
Rajeev Kumar
4a8d264d94 qcacld-3.0: Enable QDF lock stats feature in debug build
Enable QDF lock stats debug feature in defconfig builds to detect
spin lock abuse in driver and fix it.

Change-Id: I264120d1ca722bac871173f2268737a943c2f5e0
CRs-Fixed: 2311639
2018-09-11 18:27:07 -07:00
Ashish Kumar Dhanotiya
2af7f56cd4 qcacld-3.0: Enable mtrace logging
Enable the mtrace logging by adding CONFIG_ENABLE_MTRACE
flag in Kbuild and defconfig file.

Change-Id: I832ab008dc4b7eb7e3124382ebe395cb01464a20
CRs-Fixed: 2311833
2018-09-11 12:01:32 -07:00
Rachit Kankane
b57ea618f2 qcacld-3.0: Allocate DFS buffers dynamically
Disable WLAN_DFS_STATIC_MEM_ALLOC for Genoa

Change-Id: Ie035c9f327dccbe4c2cc10f2354d1b23c7890675
CRs-Fixed: 2312050
2018-09-10 23:51:47 -07:00
Dustin Brown
099048b780 qcacld-3.0: Enable scheduler history for SLUB builds
Enable the scheduler history when compiling SLUB debug builds.

Change-Id: If06f9076bcb01fe5dbb3fd4d031fc87b7e883425
CRs-Fixed: 2307251
2018-09-06 18:56:00 -07:00
Krunal Soni
3de6853e17 qcacld-3.0: Enable policy manager utfw only in slub debug build
1) CONFIG_MPC_UT_FRAMEWORK should only be enabled for slub debug build
2) CONFIG_MPC_UT_FRAMEWORK should be protected under
gEnableUnitTestFramework INI setting.

CRs-Fixed: 2309562
Change-Id: I314ec928af2a350d518eb8f8dd62dbadee1746e8
2018-09-06 16:13:15 -07:00
Rachit Kankane
ee1735c905 qcacld-3.0: Featurize RMC
Featurize RMC and disable for Genoa

Change-Id: I66b17622c89dd5736f152c4cd9506ce2706b4604
CRs-Fixed: 2304269
2018-09-05 00:17:52 -07:00
Rachit Kankane
f6834c4b4c qcacld-3.0: Featurize Dynamic Voltage Config
Host provides INI way to control voltage configs, featurizing the
same for Genoa.

Change-Id: Ia58d84eb2e2a67ead189a51d2a0b98230513f8f9
CRs-Fixed: 2304125
2018-09-05 00:17:45 -07:00
Ryan Hsu
6e9db0b728 qcacld-3.0: add support to remove the ftm from configuration
Phase 1, after ftm componentization, we could now support to remove
the ftm related components when FTM is disable from the build
configuration.

Size changes: after removing the ftm related binaries, we could save
15KB from module size.

Change-Id: Ib363f1d6204b07947a46f32673c4f8ad6fb3dbd3
CRs-fixed: 2258441
2018-08-29 14:02:49 -07:00
Kai Liu
aa88d2f9c2 qcacld-3.0: Define macro WLAN_SYSFS for feature sysfs interface
Disable this feature for MOBILE_ROUTER product, since some MOBILE_ROUTER
platform will attach two wlan cards with separate wlan driver,
during second driver loading process, it will report a warning of
"cannot create duplicate filename" as node with same name has been
created after first driver was loaded.

Change-Id: I9e06439b3a6dacdf4eb5ae87898338ab1eeb8b16
CRs-Fixed: 2295391
2018-08-22 07:46:43 -07:00
Varun Reddy Yeturu
29044cd4d7 qcacld-3.0: Enable Crypto component
Make changes to the Kbuild and config files to
enable and compile crypto common component

Change-Id: Ie16acd71d7794aa8ffaf6e48596bc6f46294a1df
CRs-Fixed: 2294394
2018-08-17 04:40:08 -07:00
Qiwei Cai
50a2108ab3 qcacld-3.0: Allocate g_dph_node_array dynamically
Allocate g_dph_node_array dynamically to reduce build size.

Change-Id: Iffd9c2e205f9ee6b5365ab2e326198677fa57de2
CRs-Fixed: 2290501
2018-08-15 01:17:38 -07:00
Qiwei Cai
e689a26cd8 qcacld-3.0: Featurize some vendor commands
Featurize some vendor commands to compile out when not needed.

Change-Id: I6757b5764930efbd9cd1c7ab74e5990e96267421
CRs-Fixed: 2270461
2018-08-13 23:15:17 -07:00
gaolez
9cb1c18cf8 qcacld-3.0: enable 4addr support for QCS405
Need support "iw dev wlan0 set 4addr on" command on QCS405.

CRs-Fixed: 2293037
Change-Id: I7aa1f59762dafe065714859d89a3013ab5cda408
2018-08-09 08:49:31 -07:00
Dustin Brown
6099ddc417 qcacld-3.0: Add Driver Synchronization Core (enablement)
The Driver Synchronization Core (DSC) is a set of synchronization
primitives for use by the driver's orchestration layer. It provides APIs
for ensuring safe state transitions (including bring up and tear down)
of major driver objects: a single driver, associated psocs, and their
associated vdevs.

APIs are divided into two categories: mutual exclusion of conflicting
transitions, and operation tracking, blocking, and waiting capabilities.

For part 6, enable the DSC component.

Change-Id: I0ac37f479a4a38e346fb91ad041a4f51ccc6c879
CRs-Fixed: 2290260
2018-08-06 19:03:09 -07:00
Nirav Shah
52d85aacf5 qcacld-3.0: Separate out HL and LL TX data path
Separate out HL and LL Tx Data Path in different files
to compile out features cleanly.

Change-Id: I9033a5bc83bbc95ff00be3f46dc6eda65eab9e71
CRs-Fixed: 2287346
2018-08-06 04:21:13 -07: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
Ashish Kumar Dhanotiya
3f78e68b92 qcacld-3.0: Add support to disable channel list
Propagation from prima to qcacld-3.0

Add support to disable channel list received with command
"SET_DISABLE_CHANNEL_LIST".

As part of this command, number of channels and list
of that many channels should be given. When SAP comes up, disable
the channels received in the command. If any of the interface
is up on any of the channel from the list, first disconnect
the interface and start the interface on the new channel.

Change-Id: I3c7810bfde78878a3e60570a13bf2741e1da599b
CRs-Fixed: 2205305
2018-07-27 09:09:37 -07:00
Ajit Pal Singh
cf33f9653b qcacld-3.0: sdio: Control HL flow control through defconfigs
Do not enable HL Flow Control config flags in Kbuild.
Instead depend on defconfig settings to enable/disable HL Flow
control flags.

Change-Id: I734c4cd26d056ce28ce064e8d353075ad22e39ee
CRs-Fixed: 2284686
2018-07-25 09:40:36 -07:00
Nirav Shah
d6fa0f8cd8 qcacld-3.0: Add compilation flag for enter/exit macros
Map all enter/exit log macros to enter/exit QDF TRACE macro
to provide option to compile out enter/exit logs if required.

Change-Id: I0c6cd633705e820fcfeb47e3f81a3522c9ef1974
CRs-Fixed: 2274850
2018-07-25 09:40:33 -07:00
Rajeev Kumar Sirasanagandla
4725ae4600 qcacld-3.0: Add support for action OUI extensions
Add support for action OUI extensions which can be used by station
to control mode of connection, connected AP's in-activity time and
Tx rate etc.,

Change-Id: Ie85e29c4b0ed7ac2815709d7a4e607c4ba46c6ca
CRs-Fixed: 2254502
2018-07-24 13:20:33 -07:00
Venkata Sharath Chandra Manchala
9220e32709 qcacld-3.0: Compile hal files based on QCA6390
Compile new hal header files based on CONFIG_CNSS_QCA6390

Change-Id: I1c4a55dbc8c74b9ea960a79653eb5f1f5f371c2b
CRs-Fixed: 2279698
2018-07-21 00:03:14 -07:00
Qiwei Cai
a01a96291f qcacld-3.0: Featurize wlan BMI
Featurize wlan BMI to compile out when not needed.

Change-Id: I4ea1e34ee4299840cf7a601396c4dba7af415623
CRs-Fixed: 2258614
2018-07-12 12:34:43 -07:00
Ajit Pal Singh
6c6e81c714 qcacld-3.0: Add support for CNSS USB
Adds support in pld_usb.c for registering with CNSS driver.
pld_usb can now register directly with Linux USB stack or with
CNSS driver.
For QCN7605, registration is to be done with CNSS.

Change-Id: Ibf7e51679e1848bcd8e1acfa43c457f42ff40c0b
CRs-Fixed: 2269602
2018-07-11 14:28:41 -07:00
Dustin Brown
0ea8d3b85f qcacld-3.0: Add "unit_test" IOCTL
Add a unit test IOCTL for components to hook their unit tests into.

Change-Id: I676394771a35263454bc0f6d13174fbb7d957e67
CRs-Fixed: 2274538
2018-07-10 18:41:55 -07:00
Rachit Kankane
74dc5b8b11 qcacld-3.0: Enable genoa features
Enable features for genoa, create new file genoa.common
where we added list of common features and then include
this common file in all other genoa defconfig variants.

Change-Id: I50a1f4f95a96ce2e489002131b5cc9215c17a0ae
CRs-Fixed: 2272740
2018-07-06 01:45:58 -07:00
Rachit Kankane
0dc3e850ea qcacld-3.0: Featurize WEXT support
Add feature flag and featurize WEXT support

Change-Id: I14d2640f66e022faaa38ff6c006dca8485234cf1
CRs-Fixed: 2266697
2018-07-03 22:04:46 -07:00
Venkata Sharath Chandra Manchala
27a4296314 qcacld-3.0: Enable QCA6390
1. Enable emulation flags for QCA6390 bring up.
2. Select QCA6390 header files based on
   CONFIG_QCA6390_11AX flag.
3. Compile API's based on QCA_WIFI_QCA6390 flag.

Change-Id: I6330c734587ef772b25e722762e194eadd043d28
CRs-Fixed: 2259314
2018-06-27 16:14:14 -07:00
Nirav Shah
1575dd7421 qcacld-3.0: Define new configuration parameters
Currently define flags CONFIG_PLD_SDIO_CNSS and
CONFIG_PLD_PCIE_CNSS are inferred by examining
two different configuration options in kbuild.
In order to configure it from defconfig files
create new configuration parameters
CONFIG_PLD_SDIO_CNSS_FLAG and
CONFIG_PLD_PCIE_CNSS_FLAG. Enable PCIE_CNSS_FLAG
only in case of PCIE build.

Change-Id: Ia1038f4aaf25f949005ec41c405232ec9981c988
CRs-Fixed: 2267172
2018-06-27 03:44:41 -07:00
Rachit Kankane
0868f8f18a qcacld-3.0: Allocate gplog_msg dynamically
Allocate memory for gplog_msg buffer dynamically.

Change-Id: I816624383cd8126a4a83bd31171d42a7705a7720
CRs-Fixed: 2266753
2018-06-27 02:11:27 -07:00
Tushnim Bhattacharyya
673735cd2f qcacld-3.0: Enable SMMU S1 TRANSLATION
Enable SMMU S1 TRANSLATION

Change-Id: Ia1d947bbe4c2e95294fec3a673c9cc3ab128fcc9
CRs-Fixed: 2230564
2018-06-22 13:02:28 -07:00
Varun Reddy Yeturu
d33033f7d0 qcacld-3.0: Kbuild changes for TWT
Add the compilation flags for TWT feature to Kbuild.
Based on the compilation flag, include the source
files for compilation and also include the header
files path.

Change-Id: I45991b3c9e49e2aa0ff51a2650fde69ea447bf15
CRs-Fixed: 2238302
2018-06-20 00:42:47 -07:00
Sriram Madhvapathi
82ec8e31d0 qcacld-3.0: Add Kbuild options for SDIO transfer methods
SDIO transfer between host and target can have multiple methods.
Legacy methods use the mailbox dma transfer method. Newer IP shall
use the adma transfer method.

Add build option for the transfer method.

Change-Id: Ibf2e20869d93f631db25008a95bdebf03875fcc0
CRs-Fixed: 2252432
2018-06-19 14:54:08 -07:00
Qiwei Cai
d96c021eca qcacld-3.0: Featurize wlan roam debug
Add feature flag for wlan roam debug log to compile out in mission mode.

Change-Id: I52e41f5977b8fba12e70a24cf96368d8e019df5f
CRs-Fixed: 2241252
2018-06-19 01:46:08 -07:00
Nachiket Kukade
d0dd62e570 qcacld-3.0: Refactor APF related modules in separate files
File wlan_hdd_cfg80211.c is bloated and adding support for
upcoming Android Packet Filter v3 is going to increase its
size even more.

Create a new source file for APF related HDD modules and a
header file for declaring the API's.

Change-Id: I2fb3d7e017f4befbad7aacab3575ae2b48e88a45
CRs-Fixed: 2189825
2018-06-18 16:33:19 -07:00
Nirav Shah
a72db1d340 qcacld-3.0: Kbuild: Cleanly featurize data path debug flags
Define separate configuration options for the various data path
debug features and use those options to set the associated
ccflags macros.

Change-Id: Ia410557bb9fa22731d83b46e61f394b14781d61f
CRs-Fixed: 2255915
2018-06-08 18:59:56 -07:00