Commit Graph

393 Commits

Author SHA1 Message Date
jsreekum
ac44b92ac6 qcacld-3.0: Add default target configs for Genoa
Add Genoa specific default target configurations for
offload configs, max tx pattern config and max sta
vdev config

Change-Id: Id682b1103d87021e207de335721805515db6a932
CRs-Fixed: 2258999
2018-07-09 08:31:10 -07:00
Dustin Brown
f39413aa16 qcacld-3.0: Enable NBUF_MAP_UNMAP_DEBUG in Kbuild
Currently network buffer map/unmap tracking is enabled by the
MEMORY_DEBUG compile time flag.
I6b62539d39664db3ff62411fe8632633f53488c8 is giving this feature its own
compile time flag, NBUF_MAP_UNMAP_DEBUG. When CONFIG_LEAK_DETECTION is
enabled, also enable NBUF_MAP_UNMAP_DEBUG to retain current behavior.

Change-Id: I9d18ff8401710e3964cb6decb01ac1a282421d37
CRs-Fixed: 2273769
2018-07-06 16:34:19 -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
Dustin Brown
84f46eae30 qcacld-3.0: Enable converged configuration component
Enable the converged configuration component in the Kbuild. Also, hook
into the cfg parse and release APIs.

Change-Id: Id0df669a34463e9f51bd5cc5bf2939fb1ac6228d
CRs-Fixed: 2258233
2018-07-05 14:13:53 -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
Ajit Pal Singh
0bd748ae95 qcacld-3.0: Add config files for Genoa USB
1) Add perf,debug config files for Genoa USB attach
2) Changes to sdio config files for Genoa HL data path flags

CRs-Fixed: 2269442
Change-Id: I720d7d2aa2167380e06251eab51629bd64117272
2018-07-02 07:21:28 -07:00
Jeff Johnson
f1a99eae5a qcacld-3.0: Transition HDD to OSIF Request Manager
The HDD Request Manager was replicated in the converged project as the
OSIF Request Manager so that the infrastructure could be used by the
converged code. Transition HDD to the OSIF Request Manager and remove
the now duplicated HDD Request Manager.

Change-Id: I2dfdd2da4f98e95a74ba13d04bb42d25a90c9ec8
CRs-Fixed: 2269909
2018-06-29 10:44:18 -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
c8047a8a63 qcacld-3.0: Enable Flow Control Resize feature for Genoa
Enable Flow Control Resize feature for Genoa

Change-Id: I72640fc5847441111a904e1af5279ec87b46830f
CRs-Fixed: 2267979
2018-06-27 05:32:51 -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
Qiwei Cai
3719efe9e3 qcacld-3.0: Featurize WLAN_FEATURE_LINK_LAYER_STATS
Featurize WLAN_FEATURE_LINK_LAYER_STATS to compile out
in mission mode.

Change-Id: If0f27efa3661f4b3083180690160109084c5da67
CRs-Fixed: 2255035
2018-06-21 00:24:23 -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
Qiwei Cai
4505fc6fde qcacld-3.0: Featurize WLAN_FEATURE_PACKET_FILTERING
Featurize WLAN_FEATURE_PACKET_FILTERING to compile out
in mission mode.

Change-Id: I373e65b9286dd6a6e870dce873d19bf3b3455adb
CRs-Fixed: 2241323
2018-06-15 21:31:09 -07:00
Nirav Shah
46fc6301ea qcacld-3.0: Featurize Tx throttle feature
Featurize Tx throttle feature.

Change-Id: Ie97749367b8c4e7af7fe0bee68b15be5946fdd67
CRs-Fixed: 2257918
2018-06-14 02:56:34 -07:00
Nirav Shah
c4aa1abac2 qcacld-3.0: Separate out different flow control implementation
Separate out QCA_LL_LEGACY_TX_FLOW_CONTROL
and QCA_LL_TX_FLOW_CONTROL_V2 flow control implementation
in different files to compile out features cleanly.

Change-Id: I5d6ddf9ea61b409b25d242852ed1f0102e94ad88
CRs-Fixed: 2228902
2018-06-14 02:56:32 -07:00
Rachit Kankane
0106e38412 qcacld-3.0: Add INI support for number of vdevs
new INI gNumVdevs is added to allow number of VDEV support
for both Host and FW. Also Updated logic to calculate num_peers
and num_tids.

Change-Id: Ife5ff24e9594c8986913c06899ac5e41c83fc75c
CRs-Fixed: 2245506
2018-06-13 15:23:53 -07:00
Rachit Kankane
8863cba926 qcacld-3.0: Add Kbuild config for no of WoW filter
Total 16 number of WoW filters are PoRed for Genoa.
Define CONFIG_PMO_WOW_FILTERS in genoa defconfigs with value 16.

Change-Id: Iba3d9875c954b32a3f22cfd639f4508beb36a5d5
CRs-Fixed: 2257033
2018-06-13 14:10:55 -07:00
Nirav Shah
8ba94a5d59 qcacld-3.0: Enable size optimization compiler flag for genoa
Enable size optimization compiler flag for genoa

Change-Id: Ibda9f6baf07077b0fcc6ae4d7bd6c148252cc82b
CRs-Fixed: 2255923
2018-06-08 19:00:03 -07:00
Nirav Shah
997e083b0f qcacld-3.0: Configure log buffer size from Kbuild
Configure log buffer size from Kbuild.

Change-Id: If84653ea8f5ef2a94cc006b1c62ac468de2e408a
CRs-Fixed: 2255920
2018-06-08 19:00:00 -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
Nirav Shah
91daea9427 qcacld-3.0: Remove duplicate config for ATH_11AC_TXCOMPACT
Remove duplicate config for ATH_11AC_TXCOMPACT feature.

Change-Id: I1a264c61d69f28feeae1bc2db496468456ae60f2
CRs-Fixed: 2255912
2018-06-08 18:59:53 -07:00
Wu Gao
a9d336b455 qcacld-3.0: PMO feature flag disable (part two)
This is the change for PMO feature flag disable.

Change-Id: I3e0624c034ddfcad567534ffbbcd85735b8ea0d6
CRs-Fixed: 2243952
2018-06-08 08:31:00 -07:00
Vignesh Viswanathan
9eab59313b qcacld-3.0: Remove unused SCAN code under NAPIER_SCAN define
Clean up unused legacy scan code under NAPIER_SCAN define.

Change-Id: I7e04b4488b10021d6815e76d0a55e040756b1794
CRs-Fixed: 2253647
2018-06-08 08:30:54 -07:00
Nirav Shah
5ff1fd05d6 qcacld-3.0: Featurize fastpath feature
Featurize fastpath feature cleanly and
also disable unused code when Fastpath
is enabled.

Change-Id: I3922af873ef32544fdca37be0b110ebbc2abc45a
CRs-Fixed: 2226918
2018-06-07 15:47:45 -07:00
Naveen Rawat
c9fab3e2b7 qcacld-3.0: Enable CP_STATs componet
Enable CP_STATs component.

Change-Id: I49917ca35109a468f601f417792704e866a7c432
CRs-Fixed: 2249397
2018-06-07 12:46:50 -07:00
Nirav Shah
bb8e47c200 qcacld-3.0: Featurize packet log
Featurize packet log.

Change-Id: Id747d142d72d02759b20bcf3091fd769261b8f67
CRs-Fixed: 2245422
2018-06-06 23:49:08 -07:00
Nirav Shah
73713f7e80 qcacld-3.0: Featurize monitor mode
Featurize monitor mode code.

Change-Id: I42d2d6a92d9097676ab3f8ec4a86958b8c0bc096
CRs-Fixed: 2245419
2018-06-06 23:49:05 -07:00
Sandeep Puligilla
8e89d57e0e qcacld-3.0: Add spectral scan feature flag
Add spectral scan feature flag which can be
used to control the feature through build options.

Change-Id: Ide13e958cffff610626c891041307b40ac94c47d
CRs-Fixed: 2232167
2018-06-06 23:49:01 -07:00
Wen Gong
bd949fcea7 qcacld-3.0: Change compile config for extscan
Change compile config for extscan

Change-Id: I74f37ffb504f98d8f88f530520a35cabfddc3404
CRs-Fixed: 2246259
2018-06-05 06:01:36 -07:00
Nirav Shah
d2aa963490 qcacld-3.0: Introduce per-OEM profile defconfig files
Introduce per-OEM profile defconfig files.

Change-Id: Ifb94021320f9203e1a80e4ca3fd61248bbd7a432
CRs-Fixed: 2251556
2018-06-03 23:39:31 -07:00
Yun Park
8da8db6903 qcacld-3.0: Enable METERING feature
Enable METERING feature

Change-Id: I4551e6eb6a660991fdaecc9725711c2216dfccdf
CRs-Fixed: 2247806
2018-05-30 15:51:43 -07:00
Yue Ma
91e1c004a5 qcacld-3.0: Add condition to enable emulation flag
Enable driver emulation compilation flag based on kernel defconfig
settings.

Change-Id: If5e157f67ebfbf7caf19127ba5ce7813ca13a524
CRs-fixed: 2248407
2018-05-24 17:37:10 -07:00
chenguo
0f3636b99c qcacld-3.0: Enable ATH_TX_PRI_OVERRIDE by default for Lithium
For admission control feature, it is possible that priority of skb
to be overridden by HDD layer because certain AC is in the ACM
state. So need to enable ATH_TX_PRI_OVERRIDE by default.

This change will only take effect for QCA6290.

CRs-Fixed: 2237916
Change-Id: I9fcf75948c1b0eee8b12d5d54ab3dd251fb36409
2018-05-21 06:05:53 -07:00
Wu Gao
24466e3693 qcacld-3.0: Enable QDF ID allocation API
Enable QDF ID allocation API in Kbuild.

Change-Id: Id43b16175e59f40ad111b03439f34d63ea14c627
CRs-Fixed: 2242753
2018-05-20 08:15:44 -07:00
Wen Gong
9976890a5d qcacld-3.0: Featurize dbglog_host
Featurize parsing support for WLAN firmware logs in WLAN host driver

Change-Id: Ib4f04bd23698e981bc4ab1f8e0d880798d521020
CRs-Fixed: 2228367
2018-05-17 14:26:19 -07:00
Wen Gong
3f00338bf7 qcacld-3.0: Change WLAN_FEATURE_HDD_MEMDUMP_ENABLE
Change WLAN_FEATURE_HDD_MEMDUMP_ENABLE to WLAN_FEATURE_MEMDUMP_ENABLE

Change-Id: Id4ef8de4dc7b566f3b29b9e045c1530c873a426c
CRs-Fixed: 2241236
2018-05-15 10:05:40 -07:00
Sourav Mohapatra
cf632579b1 qcacld-3.0: Use new API for fetching wmi_handle
Use get_wmi_unified_hdl_from_psoc instead of GET_WMI_HDL_FROM_PSOC due
to incompatible return types.

Solve renaming dependencies with common side changes.

Change-Id: Ie84641327d64876877c7d26b63d632c79770a88c
CRs-Fixed: 2203055
2018-05-11 22:40:02 -07:00
Wen Gong
aa6d55d9e7 qcacld-3.0: Add hdd memory dump feature flag
Add config flag to enable / disable hdd memory dump feature

Change-Id: Id2994f72b595096459e65ef4da5381d6eb3b476b
CRs-Fixed: 2231695
2018-05-06 23:12:29 -07:00
Naveen Rawat
a36e2ff1ee qcacld-3.0: Disable CP_STATS component
Disable CP_STATS component till, corresponding all changes are merged.

Change-Id: I1a4e62427db57a5bbbe8d195805137ee64853ee3
CRs-Fixed: 2236751
2018-05-05 10:49:51 -07:00
Manjunathappa Prakash
7b0ad46796 qcacld-3.0: Add GRO support for STA mode
Add GRO support and make it configurable through INI(GROEnable).
GRO and LRO are mutually exclusive. Only one of them can be enabled.
And disable GRO during following conditions
1) Low TPUT scenario
2) Concurrency cases
3) For Rx packets when Peer is not connected

Change-Id: I15535827a03953231670d4138235c4876b16e045
CRs-Fixed: 2098772
2018-05-02 04:34:52 -07:00
Rajeev Kumar
6bdee8eb5d qcacld-3.0: Add feature flag for PMO component
Add feature flag for PMO component such that for high latency
and IoT devices power management and offload component can be
compiled out.

Change-Id: I562e2391d4691fe5587920696997275859857646
CRs-Fixed: 2227322
2018-04-24 02:30:47 -07:00
Wen Gong
01a2c63468 qcacld-3.0: Add DFS master feature flag
Add config flag to enable / disable DFS master feature

Change-Id: Ibb0bc715c70b471b5e73626cf75ce9785a8eb567
CRs-Fixed: 2222562
2018-04-23 00:30:46 -07:00
Naveen Rawat
96a77d3735 qcacld-3.0: Enable Control path stats qcacmn component
Add Kbuild changes to compile control path stats component's
files.

Change-Id: I34b19766438721301ed0ed307f03efa35016fcc3
CRs-Fixed: 2210322
2018-04-20 23:30:09 -07:00
Nirav Shah
2f3281d4b8 qcacld-3.0: Use y/n for CONFIG_HIF_PCI
Use y/n for CONFIG_HIF_PCI.

Change-Id: Id6bb574b863edcbf6b7b56cdffe25a8ce1a8ac31
CRs-Fixed: 2228344
2018-04-20 17:15:44 -07:00
psimha
699e12b042 qcacld-3.0: Change flag to pick up latest HW headers
Change the path to pick up the latest v2 version of the
HW headers for Napier 11AX SoD

Change-Id: I0f8a504e3562fc8fb1a5c2d5f4529ca2c7ab9761
CRs-Fixed: 2188755
2018-04-20 12:08:51 -07:00
Naveen Rawat
e02f8f541c qcacld-3.0: Move hdd_request_manager to qcacmn osif layer
Move hdd_request_manager to qcacmn osif layer, which will be
used by CP_STATs component.

Change-Id: Iab64ebb837d7c2c7411905b84306fbb9990a4bac
CRs-Fixed: 2220069
2018-04-19 22:06:31 -07:00