Commit Graph

372 Commits

Author SHA1 Message Date
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
Dustin Brown
0805bef924 qcacld-3.0: Enable qdf_flex_mem in Kbuild
A new data structure, qdf_flex_mem, was added to the common code repo.
Add qdf_flex_mem.o to the Kbuild.

Change-Id: If3ee8ad486578574d476d5ce77ce1ae9bb513d4e
CRs-Fixed: 2224551
2018-04-19 14:14:58 -07:00
Nirav Shah
fb79af826c qcacld-3.0: Do not compile pld_pcie file for non-pci case
Do not compile pld_pcie file for non-pci
attach.

Change-Id: Ic32074960137e055f991de134a9720e2b81a642c
CRs-Fixed: 2213301
2018-04-18 18:38:46 -07:00
Jeff Johnson
55435343c8 qcacld-3.0: Remove 2nd WLAN_FEATURE_RX_FULL_REORDER_OL macro
Change "qcacld-3.0: Remove unused WLAN_FEATURE_RX_FULL_REORDER_OL
macro" (Change-Id I72e770874150cbac69e8efbb9e5dd7027a2e8869) removed
one reference to macro WLAN_FEATURE_RX_FULL_REORDER_OL but left one,
so now remove that one as well.

Change-Id: I64d4042b8f129cb6ef85057652cbf5c244891b8d
CRs-Fixed: 2226541
2018-04-18 18:38:44 -07:00
Jeff Johnson
ee86984027 qcacld-3.0: Use KBUILD_CPPFLAGS for conditional flags
The refactored Kbuild has introduced build errors when the driver is
built using LLVM. The primary issue is that the pre-processing stage
introduces many checks that are not present when using GCC. To avoid
these issue include the conditional compilation macros in the
pre-processing stage.

Change-Id: I9b4a5b41523ae6e3055b4b9ae021322acade8a5f
CRs-Fixed: 2226196
2018-04-18 18:38:29 -07:00
Jeff Johnson
3d46351ccd qcacld-3.0: Remove obsolete SoftAP VSTA feature code
The SoftAP VSTA feature was introduced to overcome a limitation in a
prior version of WLAN hardware. Since the WLAN hardware supported by
this driver does not have this limitation, remove the feature code.

Change-Id: I1f2fe31b294fb7b2da1fa8619b3380412c5d872e
CRs-Fixed: 2224817
2018-04-18 18:38:24 -07:00
Jeff Johnson
5820cb2b40 qcacld-3.0: Kbuild: Remove CONFIG_WLAN_RX_HASH
Change "qcacmn: Propagate config parameters to datapath" (Change-Id
Icbdc835a51a6fea87c06174e9fc63d5d007aec1d in qca-wifi-host-cmn)
removed the only reference to macro WLAN_RX_HASH, so remove the macro
along with the controlling config item.

Change-Id: I2aab4184939f99b4966b2106ff4ca7666022ccbb
CRs-Fixed: 2224816
2018-04-18 18:38:16 -07:00
Jeff Johnson
df5d779c08 qcacld-3.0: Better featurize the SSR injection debug code
The driver supports a "SSR injection" feature that is used during
testing to validate certain recovery features. Currently this feature
is protected by a generic WLAN_DEBUG feature flag, and in addition
there are two separate debug ioctl handlers which have duplicate
code. In order to better support a finer level of configurability
introduce a new configuration flag and consolidate to a single
implementation of the feature under that flag.

Change-Id: I73e8dd4580ca53d129ae0181ffc46d011699f3dc
CRs-Fixed: 2224815
2018-04-18 18:38:11 -07:00
Jeff Johnson
810f3aed05 qcacld-3.0: Kbuild: Remove obsolete PELOG enablement
Change "qcacld-3.0: Remove obsolete PELOG* logging macros" (Change-Id
I018088db456871ed46c60957c4ef5d5af85d0457) removed some obsolete
macros. Now remove the Kbuild support that previously enabled those
macros.

Change-Id: Ie359440c725f614ea109fe95d90a43dd279ea8a9
CRs-Fixed: 2224814
2018-04-18 18:38:06 -07:00
Jeff Johnson
f31bb21acc qcacld-3.0: Kbuild: Define CONFIG_CHNL_MATRIX_RESTRICTION
Currently the switch -DWLAN_ENABLE_CHNL_MATRIX_RESTRICTION is inferred
by examining a seemingly unrelated configuration option. In order to
clearly separate setting the configuration from applying the
configuration create a new CONFIG_CHNL_MATRIX_RESTRICTION
configuration parameter.

Change-Id: I337d026ac0651e729d899058ee0e9d7e8256f018
CRs-Fixed: 2224813
2018-04-16 22:59:53 -07:00
Jeff Johnson
7bfd46ea5c qcacld-3.0: Kbuild: Define CONFIG_TUFELLO_DUAL_FW_SUPPORT
Currently the switch -DCONFIG_TUFELLO_DUAL_FW_SUPPORT is inferred by
examining a seemingly unrelated configuration option. In order to
clearly separate setting the configuration from applying the
configuration create an explicit CONFIG_TUFELLO_DUAL_FW_SUPPORT
configuration parameter.

Change-Id: Id72259449c16aa81413c24a57cb1085110ff0223
CRs-Fixed: 2224812
2018-04-16 22:59:50 -07:00
Jeff Johnson
b3e1bd11fc qcacld-3.0: Kbuild: Define CONFIG_CHANNEL_HOPPING_ALL_BANDS
Currently the switch -DCHANNEL_HOPPING_ALL_BANDS is inferred by
examining a seemingly unrelated configuration option. In order to
clearly separate setting the configuration from applying the
configuration create a new CONFIG_CHANNEL_HOPPING_ALL_BANDS
configuration parameter.

Change-Id: Icc9aef38445cdcd9269210b578b1e1be2fe18ac9
CRs-Fixed: 2224811
2018-04-16 22:59:46 -07:00
Jeff Johnson
ec273f3f2e qcacld-3.0: Kbuild: Define CONFIG_WLAN_LOGGING_SOCK_SVC
Currently the switch -DWLAN_LOGGING_SOCK_SVC_ENABLE is inferred by
examining a seemingly unrelated configuration option. In order to
clearly separate setting the configuration from applying the
configuration create a new CONFIG_WLAN_LOGGING_SOCK_SVC configuration
parameter.

Change-Id: Ic542512e3440453ef9f320297cf18f73f92fb2e3
CRs-Fixed: 2224810
2018-04-16 22:59:43 -07:00
Jeff Johnson
e16768476a qcacld-3.0: Kbuild: Cleanly featurize legacy WiFi positioning
Define a separate configuration option for legacy WiFi positioning and
use that option to set the associated ccflags macro.

Change-Id: I43cc04b3730687bf6298c66af7c42a9d6d9db80c
CRs-Fixed: 2224809
2018-04-16 20:26:19 -07:00
Jeff Johnson
772fdfa966 qcacld-3.0: Kbuild: Cleanly featurize Lithium flags
Define separate configuration options for the various Lithium
features and use those options to set the associated ccflags macros.

Change-Id: I08fee39c76963b102611b134346fe5edc95a0835
CRs-Fixed: 2224808
2018-04-16 20:26:15 -07:00
Jeff Johnson
23fc95216a qcacld-3.0: Kbuild: Cleanly featurize Helium flags
Define separate configuration options for the various Helium
features and use those options to set the associated ccflags macros.

Change-Id: Ia221aa3690ecbe37ac6568fa54876c77e338e2f6
CRs-Fixed: 2224807
2018-04-16 20:26:12 -07:00
Jeff Johnson
5b306f4696 qcacld-3.0: Kbuild: Cleanly featurize Adrastea flags
Define separate configuration options for the various Adrastea
features and use those options to set the associated ccflags macros.

Change-Id: Ie418140dd21038ee3fd6eb3ecfd5d031bf1432ed
CRs-Fixed: 2224806
2018-04-16 20:26:08 -07:00
Jeff Johnson
2095d16daa qcacld-3.0: Kbuild: Cleanly featurize legacy TX flow control
Define a separate configuration option for legacy TX flow control and
use that option to set the associated ccflags macro.

Change-Id: Id14ac79280d3bf809c1e85bde4d5c7037a3ea766
CRs-Fixed: 2224629
2018-04-16 16:56:43 -07:00
Jeff Johnson
69ba6d082f qcacld-3.0: Kbuild: Set ccflags directly based on config item
Currently there are many cases where ccflags-y is set by logic:
 ifeq ($(CONFIG_FOO), y)
 ccflags-y += -DENABLE_FOO
 endif

In order to align with Linux style reduce such simple cases to:
 ccflags-$(CONFIG_FOO) += -DENABLE_FOO

Change-Id: Ibe700701d25c3a2944fa2f2eabf528b04b59bbdd
CRs-Fixed: 2223862
2018-04-16 10:35:37 -07:00
Jeff Johnson
b4e2d82f45 qcacld-3.0: Kbuild: Replace CDEFINES with ccflags-y
In order to more closely comply with Linux look and feel replace the
temporary variable CDEFINES with direct use of ccflags-y.

Change-Id: I801e61644f583ea213c9d699b318d328ae4ba1c2
CRs-Fixed: 2223861
2018-04-16 10:35:34 -07:00
Jeff Johnson
a63a9b6f96 qcacld-3.0: Kbuild: Create config items for "always on" switches
In preparation for fully file-driven configuration create config
items for (almost) all -D switches which are currently being set
unconditionally.

Change-Id: I067b13e11c9cdf3a0355c2e64ab3770088118afa
CRs-Fixed: 2223860
2018-04-16 10:35:30 -07:00
Jeff Johnson
9bf3b65da5 qcacld-3.0: Remove obsolete WOWL messaging
The driver contains considerable debris from the obsolete WOWL
messaging, so clean it up.

Change-Id: I432f7fc1567b0aa31a7be758c05f2213340baed0
CRs-Fixed: 2223859
2018-04-15 10:17:50 -07:00