Commit Graph

91 Commits

Author SHA1 Message Date
Rachit Kankane
2a3fd3981a qcacld-3.0: Enable FT_IEEE8021X and FT_PSK for Genoa
Enable FEATURE_WLAN_FT_IEEE8021X and FEATURE_WLAN_FT_PSK for Genoa as
targeted kernel version is 4.4.

Change-Id: I599be887b0021e7f53622c840dc76d5e3b47376a
CRs-Fixed: 2359886
2018-12-26 07:47:30 -08:00
Ajit Pal Singh
25caf99381 qcacld-3.0: Enable QCN7605 support in Genoa USB config files
Enable QCN7605 support in Genoa USB config files

Change-Id: I540ab3aeaee40841696a26612c2d69f151946113
CRs-Fixed: 2369619
2018-12-26 01:21:09 -08:00
Anjaneedevi Kapparapu
c285e926bd qcacld-3.0: disable CONFIG_CRYPTO_COMPONENT for Genoa
This reverts Ieef727e49cedd3e95fabd14f47591ce0006a82d4

Change-Id: I6e217104db158e2fb8538158195458d28034fa3a
CRs-Fixed: 2358016
2018-12-18 00:07:42 -08:00
Dustin Brown
d315c4570c qcacld-3.0: Enable talloc feature
Enable the talloc feature, recently added in
I6308c96061e125b2e5a9c424ec2d2298c1c503ab.

Change-Id: I37c48d63dd1598710611d4c2ab5d26fec92c2250
CRs-Fixed: 2359468
2018-12-13 16:45:39 -08:00
Dustin Brown
ebb16d1886 qcacld-3.0: Enable qdf types tests
Enable the unit test cases for qdf_types, recently added in
I7536a973141a6311662390e42da749f48239bef8.

Change-Id: I4264696d61443acf1bd0993f91de06119471b25f
CRs-Fixed: 2359296
2018-12-11 17:25:55 -08:00
Arunk Khandavalli
ca56d4b488 qcacld-3.0: Add Host Driver support for Beacon reception stats
Implementation of Host driver support to collect per Vdev Beacon
reception  Stats from firmware and display the stats in sysfs.

	"adb shell cat /sys/class/net/wlan0/beacon_stats"
vdev id: 0
Total Beacon Count: 255
Total Beacon Miss Count: 21
Beacon Miss Bit map [0x800] [0x10000000] [0x22000400] [0x100]
[0x84000000] [0x4030002] [0x5034000] [0x28084]

Change-Id: Iadd31042320f7815a6a6f4733f5393dba93b5b3e
CRs-Fixed: 2360913
2018-12-11 12:27:05 -08:00
Ajit Pal Singh
721004499c qcacld-3.0: genoa: Add config for max beaconing entities
Add config option for max beaconing entities for Genoa.

Change-Id: I4b38911b3a0e4a032baa9d101c21e4f400fac755
CRs-Fixed: 2360873
2018-12-07 04:28:10 -08:00
Abhishek Singh
5d921548f2 qcacld-3.0: Replace legacy string in vdevmgr with ext
Replace legacy string in vdevmgr with ext string.
Also adds new compile CMN_VDEV_MLME_CMPT_ENABLE macro
for VDEV MLME component.

Change-Id: I40ce0c2ee4d653d2f4ce68093e8ad1b2c78bece8
CRs-Fixed: 2361525
2018-12-06 10:27:50 -08:00
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
Rachit Kankane
15d9dcd10a qcacld-3.0: Enable CONFIG_CRYPTO_COMPONENT for Genoa
Enable CONFIG_CRYPTO_COMPONENT for Genoa

Change-Id: Ieef727e49cedd3e95fabd14f47591ce0006a82d4
CRs-Fixed: 2357952
2018-11-30 03:40:30 -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
Nirav Shah
fd85890917 qcacld-3.0: Enable FTM for Genoa debug build
Enable FTM for Genoa debug build.

Change-Id: If4ae643521e1afd87472ff4988ace19d8b3c47dd
CRs-Fixed: 2338695
2018-10-28 23:27:02 -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
Ajit Pal Singh
ec65415389 qcacld-3.0: Genoa: USB: Use 64 bit HTT header
Use 64 bit HTT header instead of 32 bit for Genoa USB

CRs-Fixed: 2325600
Change-Id: I7a2cd0381e704f2317ccb244f36d13a4591fa873
2018-10-12 11:49:44 -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
Liangwei Dong
2fce71693c qcacld-3.0: Add 11d host scan build config
Add build flags CONFIG_HOST_11D_SCAN
to enable 11d host scan.

Change-Id: I8888a5f8df7645760fa9c31fcb8a3a191da37a9c
CRs-Fixed: 2314832
2018-10-09 04:05:11 -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
Qiwei Cai
ba95ce632f qcacld-3.0: Featurize BUILD_DIAG_VERSION
Featurize BUILD_DIAG_VERSION to compile out to save memory.

Change-Id: Ib6b6c8d197556a9457e600dd5e802f7e50f6242d
CRs-Fixed: 2301487
2018-09-11 08:44:03 -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
Qiwei Cai
36bd9ded7b qcacld-3.0: Disable CCX for genoa to save memory
Disable feature CONFIG_QCOM_ESE (CCX) in genoa
config file to save memory.

Change-Id: I2a00be3f9baf976a132f5aaa051e0e7b0935f50c
CRs-Fixed: 2307614
2018-09-10 04:25:21 -07:00
Rachit Kankane
1de679d3dc qcacld-3.0: Disable P2P_LISTEN_OFFLOAD for Genoa
Disable CONFIG_FEATURE_P2P_LISTEN_OFFLOAD for genoa

Change-Id: I9afeb16d7167bcc7f491ac9d79d383cb6c1ee077
CRs-Fixed: 2310201
2018-09-06 20:34:20 -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
026e77a99d qcacld-3.0: Featurize P2P Listen Offload
P2P Listen offload is not a requirement for Genoa, hence featurize
P2P listen offload code to save memory foot-print for Genoa.

Change-Id: If50c784bb4cd6daac513a0654364e78cd636c9d3
CRs-Fixed: 2304554
2018-09-06 01:41:49 -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
Nirav Shah
b34413aa1f qcacld-3.0: Enable QCN7605 support
Enable QCN7605 support.

Change-Id: Id0553a6a022962733cbb71ea18ba76450c65ba04
CRs-Fixed: 2292179
2018-08-08 05:41:39 -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
Rachit Kankane
154559caad qcacld-3.0: Reduce MAX_BBS and MAX_PEERs for Genoa
Max 3 BSS sessions and 10 peers are required in Genoa.
To support this, reduce SIR_MAX_SUPPORTED_BSS to 3 and
SIR_SAP_MAX_NUM_PEERS to 10.

Change-Id: Ic773b5b38193d446288321c2dfd740f6de57704e
CRs-Fixed: 2283825
2018-07-25 09:40:43 -07:00