Commit Graph

269 Commits

Author SHA1 Message Date
Arun Khandavalli
08479ba85b qcacld-3.0: Register the netdev notifier before the netdevices
Applications in the userspace can sleep on the RTM events from
the driver. One such application waiting of RTM_NEW_LINK indication
does interface up as soon as it recieves the indication, so the
kernel takes rtnl_lock to call the dev_open on the interface.
Load/unload of the driver and dev_open of the interfaces are
synchronized with hdd_init_deinit_lock. So the __hdd_open is waiting
on the hdd_init_deinit_lock which is currently held by the driver
loading context. After registering the interfaces driver goes to
register the netdev notifier which is blocked on the rtnl_lock
currently held by the dev_open resulting in deadlock.

To mitigate the issue register the netdev notifier before the
interfaces are registered.

Change-Id: Ibb0c187a43ad87fa535ff583316af430e1ddf04f
CRs-Fixed: 2078720
2017-09-26 20:43:43 -07:00
Dustin Brown
0bec9a9259 qcacld-3.0: Prepend kernel includes with "kernel/"
To avoid include conflicts, prepend all kernel includes with "kernel/"

Change-Id: I8a3f037c4abf07b129875b919225825701dc1046
CRs-Fixed: 2094774
2017-09-14 15:41:51 -07:00
Zhu Jianmin
35fcd0dbe7 qcacld-3.0: Enable log to cnss_diag for non-perf sdx
sdx/mdm:
  no-perf: Enable log to cnss_diag by default, have rich debug log.
           Avoid system crash when turn on much log in printk
           QXDM can be used too
  perf:    Disable log to cnss_diag by default for better performance

change-Id: I3b8011b327c78625abe56e9b51167d6ca2e3757f
CRs-Fixed: 2101171
2017-09-06 11:27:13 -07:00
Lin Bai
59b79768d3 qcacld-3.0: Turn on WLAN_NL80211_TESTMODE properly
WLAN_NL80211_TESTMODE need to be controlled by CONFIG_NL80211_TESTMODE,
or compiler will throw error, like - API cfg80211_testmode_* not defined.

CRs-Fixed: 2103007
Change-Id: I84536b8527656d8d0d4a0a7961ca8a83e8dd733c
2017-09-02 00:17:53 -07:00
Sridhar Selvaraj
8c6f5e82b0 qcacld-3.0: Changes to support FILS authentication
Add changes to add support of sending and parsing
authentication packets based on 80211ai specifications.

Change-Id: I684dbc89945ba3aef3186c872e5e1f7564d7e44c
CRs-Fixed: 2028113
2017-08-30 10:45:10 -07:00
Venkata Sharath Chandra Manchala
5e2fef5d39 qcacld-3.0: Remove NAPIER EMULATION flag
Remove QCA_WIFI_NAPIER_EMULATION flag for
Mohave bringup and cleanup the
necessary code under the emulation flag.

Change-Id: I43fcadc7b5e8743b762526157a5a41c5caecebf1
CRs-Fixed: 2096674
2017-08-30 10:40:40 -07:00
gaolez
76d2a16f03 qcacld-3.0: Channel hopping for 2_4G and 5G band
qcacld-2.0 to qcacld-3.0 propagation

Allow device switch to a different channel if the current channel is
congested, using the 11h channel switch announcement.

Change-Id: I1766785017e43f17cc800039b383ee5dabcd6ea5
CRs-Fixed: 2082632
2017-08-22 20:57:57 -07:00
Rajeev Kumar
01e64368ce qcacld-3.0: Enable power offload unit test framework for NP builds
Enable power offload unit test framework for napier emualtion and
SoD builds such that FW low power paging requirement can be profiled.

Change-Id: I961cf7ebfbc529fd1243040aed5d124987ccaed0
CRs-Fixed: 2096444
2017-08-22 13:50:28 -07:00
tfyu
350d9f7552 qcacld-3.0: Add macro protection for HIF CE
Add macro protection for HIF CE, it shouldn't include the ce head file
when the module is usb or sdio.

Change-Id: I426d10fdb4fd7e479f0bc683d857feab8d4d80d8
CRs-Fixed: 2090621
2017-08-17 03:26:59 -07:00
Dustin Brown
48efd5be0a qcacld-3.0: Enable Green AP by default
Currently Green AP is controlled by CONFIG_MOBILE_ROUTER and other
feature flags. Instead, enable Green AP by default in Kbuild.

Change-Id: I2570076f1dd2663f57630aa9808fbcb33b9b0dd2
CRs-Fixed: 2081715
2017-08-15 16:27:59 -07:00
Manjunathappa Prakash
143a24e732 qcacld-3.0: Missing FW interface, disable CONFIG_IPA_OFFLOAD
htt.h FW interface file has missing interface for
WLAN_WDI_IPA_GET_SHARING_STATS_REQ and WLAN_WDI_IPA_SET_QUOTA_ReQ.
Disable IPA until we have them coming from FW file

Change-Id: I0fdec26c6a6b9d5e0f97cb31f344cd6f446b2e53
CRs-Fixed: 2084537
2017-08-11 19:38:13 -07:00
Yingying Tang
71961045fd qcacld-3.0: Disable LFR3.0 for SDX20
Since wifi chip do not supprot LFR3.0 on SDX20, disable LFR3.0
feature in Kbuild, and fix a compilation error.

CRs-Fixed: 2009403
Change-Id: I16eb3bd68d5564801be9cbcf9db1386cb0e3953b
2017-08-09 16:07:53 -07:00
Yun Park
b4f591d8aa qcacld-3.0: Enable WLAN host data path support for IPA WDI3.0
Change to support WLAN Napier host autonomy data path architecture.

Change-Id: I80e8f609587d0df85d2da9fb0f41cb49e02a9d2f
CRs-Fixed: 2033368
2017-08-07 17:47:45 -07:00
Amar Singhal
9583b116c9 qcacld-3.0: Add config for channel enumeration
Add configuration for legacy channel enumeration. This is needed
to conditionally support new dynamic channel enumeration.

Change-Id: Id8ca6a0a0f28de84a4cc0933b466a8b99714aefd
CRs-Fixed: 2048784
2017-08-06 00:59:59 -07:00
c_manjee
36b61839c1 qcacld-3.0: Enable Driver MEMDUMP in Kbuild
MEMDUMP is disabled in Kbuild, Hence the driver memory dump
command is failing.

Enable WLAN_MEMDUMP in Kbuild

CRs-Fixed: 1117348
Change-Id: Ic468a78305a5df409cf95096dfea38cb27aa7c7c
2017-07-30 14:00:43 -07:00
Govind Singh
98b6255df6 qcacld-3.0: Remove QCA_WIFI_3_0_EMU flag from Kbuild
QCA_WIFI_3_0_EMU flag is introduced for IHelium emulation
platform, where wait/error timeouts are kept for larger values.
Remove this flag for production target.
Increase tx completion drain delay to 1sec from 500ms to avoid
unwanted suspend abort.

Change-Id: Ie0633b3a2bbc9e2237039311af7417952961aada
CRs-Fixed: 2047750
2017-07-27 16:59:14 -07:00
Rajeev Kumar
f46083e0e5 qcacld-3.0: Move CLD components outside core folder
Core is legacy module folder in CLD. Hence move MCL specific
components folder outside core.

Change-Id: Iba3f9fdb06ad10dc4a5b19f3ff1ffa23f7372605
CRs-Fixed: 2077963
2017-07-18 01:58:53 -07:00
Manjunathappa Prakash
6c54736903 qcacld-3.0: Add changes for Napier flow control
Adds support for flow control on convergence branch.
We will have global pool and each vdev coming up will have the
descriptors allocated from global pool. Tx queue is paused and unpaused
internally in host based on the stop and start thresholds.
Changes are added under compilation flag QCA_LL_TX_FLOW_CONTROL_V2.

Change-Id: I0ccb80b0099f39efad52ccd7d47f2709fdee2a93
CRs-Fixed: 2040457
2017-07-16 07:01:28 -07:00
Mukul Sharma
d75a667472 qcacld-3.0: Move PMO from CMN to CLD
Move PMO from CMN to CLD.

Change-Id: I31380da668ac3305731b8c9906d343a829777591
CRs-fixed: 2071528
2017-07-14 17:36:11 -07:00
Houston Hoffman
b4d4567fa0 qcacld-3.0: Enable NAPI for lithium
Enable napi and irq affinity for lithium.

Change-Id: Icd90dd6f9e5f4d9b88b8493021e1e6a934678cf6
CRs-Fixed: 2057228
2017-07-13 03:38:06 -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
6fa1e0113b qcacld-3.0: Add HDD FIPS infrastructure
As part of the support for the FIPS certification feature add the
HDD infrastructure.

Change-Id: I76a545c42b10a662db04b5994de100c713a46c59
CRs-Fixed: 2065002
2017-06-29 19:05:58 -07:00
Jeff Johnson
6136fb90e2 qcacld-3.0: Add WMA FIPS infrastructure
As part of the support for the FIPS certification feature add the
WMA infrastructure.

Change-Id: I7e113cee8ba9a08c2efd1141bef84e43d530cdcb
CRs-Fixed: 2065002
2017-06-29 19:05:56 -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
Yu Wang
000dc2f19c qcacld-3.0: add support for target-host synchronization
To map target time to host time, implement a timer
to capture TSF and host time periodically.
The timer will be started when connection state of
sta/p2p_gc being changed from not associated to
associated; and stopped when from associated to
not associated.

Change-Id: I697080b95f01f173beddc038ab9ad89ee394354b
CRs-Fixed: 2057693
2017-06-29 03:44:39 -07:00
Srinivas Girigowda
811c8d58a2 qcacld-3.0: Fix Kbuild to enable packet log
Currently, the CONFIG_FEATURE_PKTLOG is not enabled for
statically loaded driver.
The reason for that is enabling of this macro is conditionally
done under KERNEL_BUILD=0.

This commit enables the macro conditionally for
all values of KERNEL_BUILD

Change-Id: I6adc090545589df1a6a91ecc12246daeedec2ebd
CRs-Fixed: 2058745
2017-06-22 13:37:58 -07:00
Krishna Kumaar Natarajan
c7e2bb7c83 qcacld-3.0: Add support to read link layer stats via debugfs
Add support to read link layer stats via debugfs. This change set
will issue get_req and store the received stats response is debugfs
entry.

Change-Id: If3af9f0a37283583ff011e35c7275a329a6e175d
CRs-Fixed: 2018087
2017-06-22 11:47:49 -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
Dustin Brown
0f8dc3d7b2 qcacld-3.0: Use refactored unit-test suspend APIs
The HIF portion of Unit-Test suspend has been refactored. Update HDD to
use the updated Unit-Test Suspend APIs.

Change-Id: Id10f6f5811e836844980b929f2747b1238bcf95d
CRs-Fixed: 2055332
2017-06-16 09:49:26 -07:00
Dustin Brown
ab482ac2b4 qcacld-3.0: Print build timestamp with driver version
As part of driver init, the version string gets printed. To help in
debugging, also print a timestamp from when the driver was compiled.

Change-Id: Icf064af6a0d84434d239b54603092bf2276df596
CRs-Fixed: 2059303
2017-06-14 19:26:41 -07:00
Venkata Sharath Chandra Manchala
1676defe7e qcacld-3.0: Enable TSO
Add FEATURE_TSO flag in Kbuild to enable the
TSO feature for Lithium based chipsets

Change-Id: Ie26b2b9a191828b3ce833000a7abbb09dd492713
CRs-Fixed: 2042950
2017-06-07 12:14:46 -07:00
Venkata Sharath Chandra Manchala
0b9fc63dd1 qcacld-3.0: Support for DPTRACE
1. Add an extra parameter pdev id to
   qdf_trace signatures to avoid compilation break.
2. This variable allows to collect records per pdev
   for Lithium based chipsets.
3. Set this variable to a default value QDF_TRACE_DEFAULT_PDEV_ID
   for older chipsets.

Change-Id: I2f4c2e3525ac0d1d53f1af3db7e43acadf6ab835
CRs-Fixed: 2049412
2017-06-05 22:52:39 -07:00
Varun Reddy Yeturu
fd6d164471 qcacld-3.0: Fix Kbuild to enable WLAN debugfs support
Currently, the CONFIG_WLAN_POWER_DEBUGFS and CONFIG_WLAN_DEBUGFS
are not enabled for statically loaded driver.
This results in missing subsystem power stats.
The reason for that is the enabling of this macro is conditionally
done under KERNEL_BUILD=0.
This commit enables the macro to be also
conditionally done under all values of KERNEL_BUILD

Change-Id: I2824fdbb438b37ee58a95a6ea889be5e7691bef5
CRs-Fixed: 2033114
2017-06-05 19:29:05 -07:00
Dustin Brown
1224e21a8f qcacld-3.0: Add gHwFilterMode ini item
Add a 'gHwFilterMode' ini item to control the DTIM mode hardware
filter. This ini item supersedes 'g_enable_non_arp_bc_hw_filter.'

	# disable feature (default)
	gHwFilterMode=0
	# drop all broadcast frames, except ARP
	gHwFilterMode=1
	# drop all multicast frames, except ICMPv6
	gHwFilterMode=2
	# drop all broadcast and multicast frames, except ARP and ICMPv6
	gHwFilterMode=3

Change-Id: I6bc8ac7585ffd0a62ab1c57558a798df9b63f2ce
CRs-Fixed: 2040420
2017-06-01 12:32:27 -07:00
Himanshu Agarwal
8e89ce70f0 qcacld-3.0: Record ol rx indication events
Record ol rx indication events in a global ol rx indication record
buffer to have history of msdus received, no. of buffers replenished,
etc. in rx indication messages.

Change-Id: I96cf27a209c81208c6f6566b5e57116b2cf233e8
CRs-Fixed: 2012485
2017-06-01 07:21:48 -07:00
Ravi Kumar Bokka
0b9ead35b8 qcacld-3.0: Configure and clear packet filter
Add PMO changes to configure and clear default packet filters
over suspend and resume.

Change-Id: I0089811ae626ff1a79c845acc997f00429ed88ed
CRs-Fixed: 2034398
2017-05-31 01:03:20 -07:00
Manjunathappa Prakash
4282a0137c qcacld-3.0: Do not tie LRO support to kernel version
Remove LRO dependency kernel version, instead make it only dependent
kernel config CONFIG_INET_LRO

Change-Id: I2f3503149026102803b347e1a674bd3ab747aacf
CRs-Fixed: 2042812
2017-05-26 16:11:29 -07:00
Mohit Khanna
3c4262dda9 qcacld-3.0: configure platform dependent 64-bit DMA support
We want to enable 64-bit DMA support only on a select platforms. If the
flag CONFIG_FORCE_ALLOC_FROM_DMA_ZONE is set on a platform, it indicates
that the platform supports 32-bit DMA only. We can use this flag to
enable ENABLE_DEBUG_ADDRESS_MARKING flag in the WLAN driver. This flag
ENABLE_DEBUG_ADDRESS_MARKING, when enabled, allows WLAN driver
to process DMA addresses > 32 bits.

Disable ENABLE_DEBUG_ADDRESS_MARKING  when
CONFIG_FORCE_ALLOC_FROM_DMA_ZONE is set for a platform.

Change-Id: I48afcc240d21fe9486c2bdf0f572b8b8d3e3cd71
CRs-Fixed: 2052030
2017-05-25 16:11:25 -07:00
Venkata Sharath Chandra Manchala
bcdfdb14f2 qcacld-3.0: Support for HTT Stats
1. Remove unused variable of type ol_txrx_stats_req
   passed through cdp_txrx_stats api to avoid
   compilation break.
2. Add dp_stats file to the Kbuild. This file is
   used to collect HTT Statistics for Lithium based
   chipsets.

Change-Id: I0252c996d47cc866291d25f35eb9bb9e19073a8b
CRs-Fixed: 2050798
2017-05-24 02:41:15 -07:00
Dhanashri Atre
f067b5887a qcacld-3.0: Hardware Header File Update for Napier (E6)
Compilation change to include the E6 hardware header files.

CRs-Fixed: 2033542
Change-Id: I8ef090873a9e41a7309dacade7bce635a303dc2c
2017-05-19 11:51:08 -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
Rajeev Kumar
07c7769392 qcacld-3.0: Kbuild changes for renaming power_management_offloads to pmo
Power_management_offlaods is really a long directory name hence rename it
to pmo such that it aligns with existing naming convention. Add Kbuild
changes to support 'pmo' component compilation.

Change-Id: If0b260ee0e2d10e5a506d7c5e96e47d2f0611ead
CRs-Fixed: 2045420
2017-05-11 03:47:28 -07:00
Ravi Joshi
c4a41087af qcacld-3.0: Add support for rx defragmentation on converged data path
Add support for rx defragmentation on converged data path.

Change-Id: I2da758e03cec50451d5b6c04c3c152584c281807
CRs-Fixed: 1109359
2017-05-08 14:59:10 -07:00
Amar Singhal
eac6413bbe qcacld-3.0: Add regdb parser to regulatory component
Regulatory parsing code is present in file reg_db_parser.c.
Add this file to regulatory component.

Change-Id: I7fcf9db8b80fdfbef30409575cc1a63d684dded2
CRs-Fixed: 2012415
2017-05-06 18:31:22 -07:00
Poddar, Siddarth
d63954e481 qcacld-3.0: Enable debug address marking only for 64 bit DMA address system
Limit the detection of non posted rx buffers from FW only to
64 bit DMA address system. For systems, where IPA has 32 bit
DMA address limitation, this debug feature should be disabled.

CRs-Fixed: 2010583
Change-Id: I9a26d0a423acedb068d99f39929029182f7c6fa1
2017-04-28 05:22:24 -07:00
Srinivas Girigowda
fab25264ac qcacld-3.0: Remove log_dbg/debug() & obsolete file log_api.c
Remove log_dbg/debug() & obsolete file log_api.c.

Change-Id: I66cc59cd9c95dc019d9cf6032d3a3da772464d22
CRs-Fixed: 1093093
2017-04-26 15:50:08 +05:30
Arif Hussain
757b45f818 qcacld-3.0: DSF componentization build support
Add DFS componentization support changes.

Change-Id: I2c321707933090ee03e4ac30f6b8eac94396524f
CRs-Fixed: 2017481
2017-04-25 01:08:46 -07:00
Kabilan Kannan
6d7a41199f qcacld-3.0: Add make file changes for TDLS UMAC component
Add Kbuild changes for TDLS UMAC component

Change-Id: I5a242dc9b7b74aa5504e160180e8c76128e956b9
CRs-Fixed: 2035617
2017-04-20 16:26:05 -07:00
Rajeev Kumar
0422305dee qcacld-3.0: Enable CONFIG_HALT_KMEMLEAK in Kbuild
Enable CONFIG_HALT_KMEMLEAK in Kbuild such that panic
can be trigerred on memory leak and issues are debugged
on priority.

Change-Id: Iadc0604f842c7b2d63da65054840499b23990a36
CRs-Fixed: 2030989
2017-04-19 18:55:11 -07:00
Ravi Kumar Bokka
794fd71719 qcacld-3.0: Enable HW broadcast filter
Add ini to param to enable/disable HW filter for bc
(except arp) frame

Change-Id: I5aaa962cf9610d7f6a1922e4593748b64e32cd49
CRs-Fixed: 1113544
2017-04-18 07:05:59 -07:00
Dhanashri Atre
170855e137 qcacld-3.0: Lithium LRO Support
Add changes needed to support Receive Offload (LRO) on Lithium.

CRs-Fixed: 1107169
Change-Id: I2fb00fa83a52b039e6ad9aea9a98576f2c36d6fa
2017-04-17 14:52:24 -07:00
Srinivas Girigowda
b896a5698e qcacld-3.0: UMAC: Replace sir_dump_buf() with QDF_TRACE_HEX_DUMP()
Replace sir_dump_buf() with QDF_TRACE_HEX_DUMP().

Change-Id: I8093efa19d4b4bb3ce6e40c2894dfd67583a2758
CRs-Fixed: 2020798
2017-04-13 12:29:26 -07:00
Srinivas Girigowda
1546057644 qcacld-3.0: UMAC: Remove obsolete file lim_debug.[c|h]
Remove obsolete file lim_debug.[c|h].

Change-Id: I0eee336da7f5ac2931ffe38020057b40cfda4ec5
CRs-Fixed: 2020798
2017-04-13 12:29:14 -07:00
Srinivas Girigowda
4cdc82df0a qcacld-3.0: UMAC: Remove obsolete file cfg_debug.[c|h]
Remove obsolete file cfg_debug.[c|h].

Change-Id: I54c478971af0f7edb2609ded7f8bcc189de1a9cb
CRs-Fixed: 2020798
2017-04-13 12:29:12 -07:00
Srinivas Girigowda
817a9188e3 qcacld-3.0: UMAC: Remove obsolete files sch_debug.[c|h]
Remove obsolete file sch_debug.[c|h].

Change-Id: I97083e0eb1f97e070e0033e454e4ca30ad51974e
CRs-Fixed: 2020798
2017-04-13 12:28:58 -07:00
Yun Park
637d6486f2 qcacld-3.0: Add interface to WDI-stats and quota limit
Add structure changes for querying WDI-stats, register the callback
functions for IPA to query WDI stats and sets the quota limit

Change-Id: I05d9d50fad735fa0a57c4de23c81461f6e12b648
CRs-Fixed: 1095710
2017-04-12 19:02:07 -07:00
Pramod Simha
707a356054 qcacld-3.0: Adding flag for LFR enablement
Adding a define for DP_LFR flag to compile the LFR changes.

Change-Id: I2ae9ccc3f9b12125fd1ab274087ee75bf7f2eb60
CRs-Fixed: 2023446
2017-04-07 14:41:47 -07:00
Naveen Rawat
3cb5981972 qcacld-3.0: Enable NAN component from Kbuild
This change enables compilation of NAN component.

Change-Id: I095e8715ef836171974f93cc07951c28cd20a22d
CRs-Fixed: 2014795
2017-04-07 11:58:46 -07:00
Naveen Rawat
6d2bf187b2 qcacld-3.0: Kbuild changes to include NAN component
Add changes in Kbuild to include NAN component files.

Change-Id: Ibe8a3ddab6a9a5a6e33a17319b89abe9915c0759
CRs-Fixed: 2014795
2017-04-06 08:52:09 -07:00
Yue Ma
2b09131260 qcacld-3.0: Enable to complie runtime PM feature
Currently the feature flag is enabled at a wrong place since CDEFINES
will be reset later. Move it to the correct place in order to compile
the feature by default. To enable this feature, the corresponding ini
configs need to be set properly.

Change-Id: I22e3c3ac7c81c12700bfa6bb78cc84c20e3e331f
CRs-fixed: 2023358
2017-03-31 21:18:13 -07:00
Tushnim Bhattacharyya
e2ee70a6b6 qcacld-3.0: Remove legacy code for policy manager restructuring
Remove legacy policy manager code as part of policy manager moving to host
common.

Change-Id: I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de
CRs-Fixed: 2009818
2017-03-30 16:26:34 -07:00
Dhanashri Atre
2f507a7d5a qcacld-3.0: Enable Hash Based RX Steering
Enable Hash Based RX Steering on Lithium (Napier).

Change-Id: I9dcc5ff0fb3342ac29b0af1f7ff2748f7b4c9b50
CRs-Fixed: 2022770
2017-03-30 15:39:10 -07:00
Sandeep Puligilla
1fcdb7744b qcacld-3.0: Changes to support converged scan component
Changes to support converged scan component.

Change-Id: Ic91a437bcb0b3b0ca4dd6d4fe86fcc86f24dc15f
CRs-Fixed: 2013212
2017-03-29 12:29:20 -07:00
Ravi Joshi
1c2cfb6135 qcacld-3.0: Add new files for supporting rx monitor mode
Add new files for supporting rx monitor mode on lithium
architecture.

Change-Id: I39ba7495a1a635a01ce349ac4a126737bf36775c
CRs-Fixed: 1113187
2017-03-29 12:29:13 -07:00
Ravi Joshi
12665a02c8 qcacld-3.0: Enable monitor mode support in datapath
Enable monitor mode support in lithium datapath.

Change-Id: I9069b69bda269e019841c2c34c4e2d1be235fb18
CRs-Fixed: 1113187
2017-03-29 12:29:11 -07:00
Kiran Kumar Lokere
3fbafbcdcc qcacld-3.0: Regulatory componentization support changes
Add Regulatory component support changes

Change-Id: Id9521810a29073e0a5586bd75441f4decd57bdfc
CRs-Fixed: 2008013
2017-03-28 13:01:17 -07:00
Naveen Rawat
91a27b7a44 qcacld-3.0: Enable WIFI_POS component from Kbuild
Change Kbuild to compile in new WIFI_POS component and
route all WIFI_POS OEM request to new component.

Change-Id: Ib0980348d6e50e27de0b5ad859ac378bf983b665
CRs-Fixed: 2003488
2017-03-22 10:58:49 -07:00
Krishna Kumaar Natarajan
4f1d7724a8 qcacld-3.0: [11AX] Add dot11mode changes to support 11ax
Add new dot11mode and update the utility functions to derive
the dot11mode based on the userspace config, INI config and
FW capability.

Change-Id: I5780120ef7bc2b78fd596e937fe14a2c8ad88348
CRs-Fixed: 1073481
2017-03-22 09:09:29 -07:00
Wu Gao
5491e524d1 qcacld-3.0: Change WLAN_P2P_ENABLE to CONVERGED_P2P_ENABLE
Change it since WLAN_P2P_ENABLE easily confused with existed macro
WLAN_FEATURE_P2P. This is the change in Kbuild.

Change-Id: I571cb4c6e8e2b2d185811e1103a8990eb9d4b01d
CRs-Fixed: 2021997
2017-03-21 02:16:04 -07:00
Naveen Rawat
4e2c25682f qcacld-3.0: Kbuild changes to include WIFI POS src files
Add WIFI POS source files path to Kbuild and add compile time feature
macro.

Change-Id: I553ebe10581851f77afa9458de2f43728f527156
CRs-Fixed: 2003488
2017-03-20 23:56:56 -07:00
Krishna Kumaar Natarajan
ed1efd9653 qcacld-3.0: [11AX] Add support in HDD to update HE Capabilities
Add support in HDD to update 11ax - High Efficiency(HE) Capabilities
received as part of the target configuration.

Add support for new WNI_CFG global config parameters to be
used for implementing 11AX standard.

Change-Id: I3f0d3af2369157c657ac59676a434dc794f84b19
CRs-Fixed: 1073481
2017-03-18 16:00:05 -07:00
Krishna Kumaar Natarajan
d0bbb3c52f qcacld-3.0: [11AX] Add support in WMA to receive HE Capabilities
Add support in WMA to receive and store HE capabilities coming
from extended service ready event.

Add support to receive HE capabilities, convert into OTA type of
internal host structure and pass it to the uppper layer as target
config. Add utility funciton for the conversion as well.

Change-Id: If0ceeb3db74be6cf6893b8e74c710863bab8b41b
CRs-Fixed: 1073481
2017-03-18 16:00:03 -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
Tushnim Bhattacharyya
026fc2de84 qcacld-3.0: Add WLAN_POLICY_MGR_ENABLE in build file
Add WLAN_POLICY_MGR_ENABLE in build file to conditionally enable
Policy Manager code in host common

Change-Id: I879b6a223bed5d77d20a878667308aeb1071e609
CRs-Fixed: 2009818
2017-03-17 16:58:02 -07:00
Wu Gao
64b3148ed6 qcacld-3.0: P2P kbuild change
This is a change for kbuild of P2P component.

Change-Id: Ice39e550429751b85fa3963490c5d2a145dac965
CRs-Fixed: 2006255
2017-03-17 04:19:14 -07:00
Ashish Kumar Dhanotiya
5e6cfc0f86 qcacld-3.0: Enable GreenAp feature in Kbuild
GreenAp is not enabled in Kbuild.

Enable GreenAp feature in Kbuild.

Change-Id: Ia3ea7055de12361d37c6a0de1fca3db7087d3489
CRs-Fixed: 2019921
2017-03-16 08:33:24 -07:00
Selvaraj, Sridhar
046d77d673 qcacld-3.0: Add support to use generic netlink sockets for userspace apps
Currently user space communication functions[cnss diag, PTT socket app]
in host driver uses netlink user sockets which is a security concern from
Linux Android SE policies.

Add support for to use netlink family cld80211 which uses generic
netlink sockets.

Change-Id: I4ea49ac6d7c9381212c93567fdc40f90e04dfba4
CRs-Fixed: 1112784
2017-03-14 00:13:31 -07:00
Yu Wang
1f69b14c04 qcacld-3.0: correct dependency for QCA_CONFIG_SMP
QCA_CONFIG_SMP should only depend on CONFIG_SMP
Remove other incorrect dependencies.

Change-Id: I6eeba9e98bd7b3cfcce8457f0385da155c6a6e71
CRs-Fixed: 2017603
2017-03-13 00:37:05 -07:00
bings
7762da1a12 qcacld-3.0: Enable missed WLAN macro definitions on sdxhedgehog platform
qcacld-2.0 to qcacld-3.0 propagation

Some WLAN driver feature enabling macros are missing on sdxhedgehog
platform, enabling them in Kbuild file to make sure the driver's
behaviors are the same as on mdm9x50

Change-Id: I018e98dea60c7c73ad119394a1016ef592c6552a
CRs-Fixed: 2014423
2017-03-10 20:27:05 -08:00
Abhishek Singh
310503cd0c qcacld-3.0: Add kbuild changes to add scan cfg80211 and target files
Add kbuild changes to add scan cfg80211 and target if files.

Change-Id: I0bd748bb957dc9bf79904585b346e92a2b7f4a7c
CRs-Fixed: 2013212
2017-03-08 14:27:32 -08:00
Mukul Sharma
4c60a7ea5b qcacld-3.0: Add Suspend and Resume support in PMO
Add Suspend and Resume support in PMO.

Change-Id: Iba16643adf1cbd997138c740345e40c00c8e81f6
Crs-Fixed: 2015366
2017-03-08 13:00:46 -08:00
Abhishek Singh
8dfbd69c30 qcacld-3.0: Add kbuild changes for common scan component
Add kbuild changes to include scan common project files.

Change-Id: I6cc481097fb621db4f0f412101d07f140804052c
CRs-Fixed: 2013212
2017-03-07 10:49:52 -08:00
Himanshu Agarwal
18d6b8c19b qcacld-3.0: Replace HELIUMPLUS_PADDR64 with HELIUMPLUS
Replace HELIUMPLUS_PADDR64 preprocessor macro with already
existing preprocessor macro HELIUMPLUS.

Change-Id: I4f109fc939e12323565bc05c89cc51dff3f3a7f3
CRs-Fixed: 2006551
2017-03-05 21:26:23 -08:00
Tushnim Bhattacharyya
44939d41fe qcacld-3.0: build file change for policy manager restructuring
Move Policy Manager code to host common

CRs-Fixed: 2009818
Change-Id: Ia69683368f5eee638dcc6f19df9195edb9930130
2017-03-03 13:12:51 -08:00
Yu Wang
66e4ff2fe1 qcacld-3.0: Update prefix for multi-interface with chip name
1. The paths for driver to get ini and fw files
   are incorrect for QCA SDIO chip on Dual-WiFi
   platforms, with wrong prefix or no prefix.
   Correct prefix for ini file, from '<mod_name>'
   to '<chip_name>/'; add prefix '<chip_name>/'
   for fw files.

2. For QCA9377, there is a special cnss API for getting
   fw names, it's cnss_get_qca9377_fw_files().
   Use the right cnss API to get fw files for QCA9377

Change-Id: Ia7616153b6823e9550703e649c7fc21ab306ca07
CRs-Fixed: 2008217
2017-03-02 19:58:56 -08:00
Ravi Joshi
d55b18a8bd qcacld-3.0: Fix wlan_cfg header file inclusion issue
wlan_cfg.h header file was not getting included due to error in the
wlan_cfg path.

Change-Id: I97d706f1c35475e4da4be3d181f2d6c215b531cc
CRs-Fixed: 2005582
2017-03-01 19:01:57 -08:00
Varun Reddy Yeturu
35c07f93a6 qcacld-3.0: Changes to compile renamed files
Make changes to support compilation for the files that have
been renamed. Rename the files from wlan_serialization_legacy_mcl_api
to wlan_serialization_legacy_api to keep it more appropriate.

Change-Id: Id219a9f3e00bef0ed85408539b33d54462bf91b5
CRs-Fixed: 2012863
2017-03-01 16:47:29 -08:00
Mukul Sharma
0cdf8b3ba3 qcacld-3.0: Update Kbuild to suppport PMO functionality in target interface
Update Kbuild to suppport target interface PMO functionality.

Change-Id: I768ba97a738226046510807954b26e722d828111
CRs-Fixed: 2002387
2017-02-28 16:21:45 -08:00
Mukul Sharma
c5de677a6e qcacld-3.0: Enable power manager offload (PMO) in kbuild
Include pmo source and includes files in Kbuild.

Change-Id: I2c636ad080a242183ed70d6ead146dd1efd6b6ec
CRs-Fixed: 2002629
2017-02-28 16:21:34 -08:00
Abhishek Singh
9be07e2ee7 qcacld-3.0: Add Kbuild changes to include converged scan files
Add changes to include converged scan APIs and definitions

Change-Id: I715b3c217d60f45ef621e56f683d6ca855c4b684
CRs-Fixed: 1095299
2017-02-27 22:49:46 -08:00
Ravi Joshi
fa5536fad9 qcacld-3.0: Enable per-PDEV Tx descriptor pool
Napier uses per-PDEV Tx descriptor pool until per-VDEV descriptor
pools are introduced.

Change-Id: I6887d07046045b12e6f3983793eb66ae16f63772
CRs-Fixed: 2005582
2017-02-27 15:05:41 -08:00
Krunal Soni
6ca248aaba qcacld-3.0: Add new legacy serialization file in Kbuild
There is new legacy serialization MCL file added to serialization
module which needs to be compiled for MCL platform and needed to
add reference in SME  module.

CRs-Fixed: 2005532
Change-Id: Id946a62f6e0dec4531deccc83dae6373d396a91a
2017-02-26 02:07:47 -08:00
Rajeev Kumar
b32b8a97f0 qcacld-3.0: Add Kbuild changes to store (ext)service ready in PSOC
Add Kbuild changes to store service ready data in PSOC object.

Change-Id: I7192aea299f2ece8fff5eadd88a775791442283e
CRs-fixed: 2001240
2017-02-23 18:10:20 -08:00
Sandeep Puligilla
fdd201e5b5 qcacld-3.0: Initialize os private structure in pdev object
-Initialize and free os private structure in pdev object
-Move vendor command definition to common project.

Change-Id: I9b8501d042afe1c967bfbfef81c01c0382a67531
CRs-Fixed: 2002991
2017-02-23 03:07:00 -08:00
Mukul Sharma
dad267ec7d qcacld-3.0: Add global_lmac_if support for components
Add global_lmac_if support for components.

Change-Id: I914447dccb1e005e25378d69ace02f06b9b5112b
CRs-Fixed: 2002384
2017-02-22 11:54:05 -08:00
Rajeev Kumar
da2444cda4 qcacld-3.0: Add WMA changes for WMI (ext)service ready convergence
Add WMA changes for WMI (ext)service ready event common parsing
to populate common psoc object with service ready data such that
new components can get service ready data from common psoc object.

Change-Id: I5bc42a7534aebd6877fc02378b2e698d2d021383
CRs-Fixed: 1110768
2017-02-21 22:33:13 -08:00
Ankit Gupta
764d6a928f Revert "qcacld-3.0: Enable lock stats features with CONFIG_SLUB_DEBUG_ON"
This reverts the commit for enabling lock stats feature
with CONFIG_SLUB_DEBUG_ON.

Change-Id: I80df6bb1661c851bda4c0a31c87475d1f2751640
CRs-Fixed: 2009630
2017-02-21 22:33:05 -08:00
Yu Wang
c8a6c49c47 qcacld-3.0: correct the path for qca-wifi-host-cmn in Kbuild
From qcacld30-hl_git.bb/qcacld30-ll_git.bb, qca-wifi-host-cmn
is in the same directory with qcacld-3.0(<src_root>/wlan/),
so correct the path for it in Kbuild.

Change-Id: I5c552d2f89cd7b6832c37d6785cfc5a0d00c795d
CRs-Fixed: 2005755
2017-02-19 20:06:41 -08:00
Varun Reddy Yeturu
269eca1e34 qcacld-3.0: Enable compilation for Serialization
Define and enable the compile time flags for the
UMAC convergence serialization component

Change-Id: Idf4eede72f7316e9f5c14dd61a98ef7045096316
CRs-Fixed: 2000032
2017-02-18 18:55:22 -08:00
Srinivas Girigowda
c1bb1bdcda qcacld-3.0: Move core\utils directory and files to qcacmn
As a part of UMAC convergence, move the core\utils logging
to qcacmn.

Change-Id: I5c17d35e2504c35f00c21755e36d8c9851165547
CRs-Fixed: 1109855
2017-02-17 22:13:13 -08:00