Commit Graph

762 Commits

Author SHA1 Message Date
Himanshu Agarwal
17dea6eb82 qcacld-3.0: Refactor formation of wmi data commands
Move tlv formation of wmi datapath related commands to common wmi
layer from wma layer.

Change-Id: I5f7bf9eb578d0777e131b2b659e64d9365f4faec
CRs-Fixed: 987362
2016-03-29 21:23:02 -07:00
Govind Singh
b30d4c0c71 qcacld-3.0: Refactor formation of wmi peer assoc command
Move tlv formation of wmi peer assoc command to common wmi layer
from wma layer.

CRs-Fixed: 976998
Change-Id: I0562862a7acc16b88bbd295b998397f1acf7973a
2016-03-29 21:23:01 -07:00
Govind Singh
f25a0f1553 qcacld-3.0: Refactor formation of wmi init command
Move tlv formation of wmi init and wmi main commands to common wmi
layer from wma layer. Move diag events logs list and saved wmi
init command to wmi handle from of wma handle.

Change-Id: Ie58e10408ea52952021c22f63dd9f3c499e63e74
CRs-Fixed: 976998
2016-03-29 21:22:58 -07:00
Govind Singh
64b5e11e80 qcacld-3.0: Refactor formation of wmi scan roaming commands
Move tlv formation of wmi scan roaming commands to common wmi
layer from wma layer.

Change-Id: I6786ce42d99d6a3f29561c24dea7e3018fb0f3e9
CRs-Fixed: 976998
2016-03-29 21:22:36 -07:00
Govind Singh
4863da4d7e qcacld-3.0: Refactor formation of ll stats wmi commands
Move tlv formation of wmi link layer stats commands to common wmi
layer from wma layer.

Change-Id: I58831f16802dc3ca307145654196b7c9238a5e8c
CRs-Fixed: 976998
2016-03-29 21:22:34 -07:00
Govind Singh
aa64c24a2a qcacld-3.0: Refactor formation of wmi feature commands
Move tlv formation of wmi feature based commands to common wmi
layer from wma layer.

Change-Id: I2cda92c377faf16b09412f0dc746e537343242ff
CRs-Fixed: 976998
2016-03-29 21:22:32 -07:00
Govind Singh
f076e7292e qcacld-3.0: Refactor wmi ocb command formation
Move tlv formation of wmi ocb/dsrc commands to common wmi
layer from wma layer.

Change-Id: I16b6028b2c4448c8d3161676c642c0fd29e9a356
CRs-Fixed: 976998
2016-03-29 21:22:29 -07:00
Govind Singh
09c3b495b4 qcacld-3.0: Refactor wmi power and management commands
Move tlv formation of wmi power commands, management over wmi commands
to common wmi layer from wma layer.

Change-Id: If6be3f786edbad931e2f3af05b45103456b8229b
CRs-Fixed: 976998
2016-03-29 21:21:56 -07:00
Govind Singh
bc64c9e9eb qcacld-3.0: Refactor update channel list command
Move tlv formation of update channel list wmi command to common
wmi layer from wma layer.

Change-Id: I6f368d749a947e284d59fc394a8ecf657d916739
CRs-Fixed: 976998
2016-03-29 21:21:54 -07:00
Govind Singh
498bf2a1ba qcacld-3.0: Refactor scan related wmi command
Move tlv formation of start scan, stop scan wmi command to common
wmi layer from wma layer.

Change-Id: Ieff5c114e8ca6468a6ba74f57c08eaf4ebabd975
CRs-Fixed: 976998
2016-03-29 21:21:51 -07:00
Govind Singh
61ad26253c qcacld-3.0: Refactor beacon template wmi command
Move tlv formation of beacon template command to common
wmi layer from wma layer.

Change-Id: Ibca8441b4a8c5bed7aeedd1c6421415711b662a0
CRs-Fixed: 976998
2016-03-29 21:21:48 -07:00
Prakash Dhavali
1c6599c910 qcacld-3.0: Incremental CLD3.1 Release 5.1.0.1B
Incremental CLD3.1 Release 5.1.0.1B after relocating
the driver development to new branch and path.

Change-Id: Ibd2f045e31475458225ec43c38186074c640c8b1
CRs-Fixed: 688141
2016-03-29 14:03:08 -07:00
Houston Hoffman
9a6db86fea qcacld-3.0: Adjust relative path to common
Need to adjust relative path to common repository after
relocating the base of the mcl git project.

Change-Id: Ib2cdab8756ec294e00e391d21a400ec82de76c70
CRs-Fixed: 688141
2016-03-29 10:49:43 -07:00
Govind Singh
0fea23a7a9 qcacld-3.0: Fix Kbuild changes for common wmi layer
Fix Kbuild changes to compile converged wmi layer.

Change-Id: I2ada3e63d798402b326a291ffbe8b6da2afa3f14
CRs-Fixed: 976998
2016-03-28 03:48:28 -07:00
Anurag Chouhan
ffaf220142 qcacld-3.0: Add CDS specific MC timer
Add MC timer API's in CDS.

Change-Id: Idbb10f7d2a00ad8e4620b07275c610d21f699999
CRs-Fixed: 981188
2016-03-28 03:48:24 -07:00
Prakash Dhavali
897312e214 qcacld-3.0: Incremental CLD3.1 Release 5.1.0.1A
qcacld-3.0: Incremental CLD3.1 Release 5.1.0.1A

Change-Id: Icf1d1e397a587a0d56c74e9aee97bea5f77f148a
2016-03-28 03:48:20 -07:00
Govind Singh
9fcc1610b4 qcacld-3.0: Add Kbuild changes for common wmi layer
Add kbuild changes to compile converged wmi layer.

CRs-Fixed: 976998
Change-Id: If3372e89b5cc1922c499cf553759281dfeaacaf2
2016-03-28 03:48:16 -07:00
Govind Singh
d76a5b05cb qcacld-3.0: Adapt wma layer with common wmi layer
Modify wmi layer API calls with respect to new common wmi layer.
Register all wmi service events using standard wmi event register API.
Remove TLV formation of common API from wma layer.
Pass rx scheduling context of wmi events during event registration.

CRs-Fixed: 976998
Change-Id: Id490db96c28778ec371dd633d43dfa002c08c16a
2016-03-28 15:54:44 +05:30
Krishna Kumaar Natarajan
3c443556a9 qcacld-3.0: Rename enumeration associated with scan types
qcacld-2.0 to qcacld-3.0 propagation.

Rename enumeration associated with scan types.

WMI interface files shared between host and Firmware have
the same macro defined resulting in compilaiton issue. Hence
renaming these enumeration with LIM prefix.

Change-Id: Ia196b8e4bb582490a9f957b8cdf1e3a12c4fbde0
CRs-Fixed: 981355
2016-03-25 18:04:30 +05:30
Govind Singh
869c9871d0 qcacld-3.0: CL 1462943 update fw common interface files
Replace mac_id with pdev_id, add vdev_id to peer commands/events
and change reserved0 to pdev_id in PDEV commands

Change-Id: Id112e0eb6262739a1fd1767150d29cc5bd59955b
CRs-Fixed: 865207
2016-03-25 17:42:00 +05:30
Govind Singh
76d82bcb36 qcacld-3.0: CL 1461271 update fw common interface files
MPDU density advertisement

Change-Id: If6e03586008cf498dfe1c38dcd31dc04043f1f2c
CRs-Fixed: 865207
2016-03-25 17:42:00 +05:30
Govind Singh
d24f5e4289 qcacld-3.0: CL 1457903 update fw common interface files
WMI changes for introducing 11ax capabilities
add new dbglog IDs for scan events

Change-Id: Ie9d30e397ae7bfe84619acab4c42bc8739b19a99
CRs-Fixed: 865207
2016-03-25 17:42:00 +05:30
Govind Singh
69616c1c89 qcacld-3.0: CL 1454086 update fw common interface files
Remove VDEV_TYPE_xxx enum defs.

Change-Id: Id836ddacb245db303d8f8f8754b24f53937bf8b8
CRs-Fixed: 865207
2016-03-25 17:42:00 +05:30
Govind Singh
941bd5e5be qcacld-3.0: CL 1453185 update fw common interface files
NAN data WMI changes.

Change-Id: I9292af24d92c9e522b7889a02194e54b2f113917
CRs-Fixed: 865207
2016-03-25 17:42:00 +05:30
Govind Singh
b5158e2692 qcacld-3.0: CL 1452008 update fw common interface files
add a flag bit in WMI_WOW_ENABLE_CMD param to control sending PM_PME after WOW

Change-Id: Ifd61ecdc51a51683369e8672a7cd61a6ebb5ec42
CRs-Fixed: 865207
2016-03-25 17:41:59 +05:30
Govind Singh
67b83b8266 qcacld-3.0: CL 1450690 update fw common interface files
WMI per-peer max/min tx rate spec

Change-Id: I7af4dc75058062f9b4b088133a0696b8fc6da04d
CRs-Fixed: 865207
2016-03-25 17:41:59 +05:30
Govind Singh
d0c80a3e18 qcacld-3.0: CL 1449912 update fw common interface files
Add wmi interface for MBO(MultiBand Operation) feature

Change-Id: I81370b40c0d8232b57699cc6cfb0ef5113e33058
CRs-Fixed: 865207
2016-03-25 17:41:59 +05:30
Govind Singh
45ef44a926 qcacld-3.0: CL 1448844 update fw common interface files
WMI handle changes to incorporate ini changes to enable/disable collection of MIB stats
WMI interface change for scan suspend

Change-Id: Icdcca16827af85e6b694dcd7ad0be2b4d0d8ac45
CRs-fixed: 865207
2016-03-25 17:41:59 +05:30
Govind Singh
8618029254 qcacld-3.0: CL 1446198 update fw common interface files
Added One tuple control flag bit WMI_FLAGS_IS_IPV6_ANYCAST and
added one parameter 'num_ns_ext_tuples_cfg' in wmi_resource_config
RTT definitions updated
Add wmi interface for MBO(MultiBand Operation) feature.

Change-Id: If698fc104e9ac39d6b58c88a542a30c2ba59d52b
CRs-fixed: 865207
2016-03-25 17:41:59 +05:30
Govind Singh
32cced3b75 qcacld-3.0: CL 1445182 update fw common interface files
Fix QTF build errors
Merge remaining common commands and events of WIN and MCL

Change-Id: If534f7960d39d40fc6cb2ed18c37ecd7e4c6db97
CRs-fixed: 865207
2016-03-25 17:41:58 +05:30
Govind Singh
c7d519439b qcacld-3.0: CL 1444210 update fw common interface files
Merge WIN's wlanfw_cmn.2.0 WMI message defs

Change-Id: I6489713538ac945386bc9b089a4a014d41281382
CRs-fixed: 865207
2016-03-25 17:41:58 +05:30
Govind Singh
fad2f214b8 qcacld-3.0: CL- 1443550 - update fw common interface files
WMI changes for gscan enhancements

CRs-Fixed: 962169
Change-Id: If319738b42d4e71aec8d21624546ca039232c413
2016-03-25 17:41:58 +05:30
Govind Singh
42f7154c94 qcacld-3.0: CL- 1443304 - update fw common interface files
WMI changes for EPNO enhancement.

CRs-Fixed: 962167
Change-Id: I8439c4f574738d89d54300e08fbd7e2d536863a9
2016-03-25 17:41:58 +05:30
Govind Singh
ce8fd91b4f qcacld-3.0: CL- 1439486 - update fw common interface files
add wmi_roam_dense_thres_param params defs

CRs-Fixed: 960961
Change-Id: I20b18babdde45b05f1675cf708ef9663141d8541
2016-03-25 17:41:58 +05:30
Govind Singh
d2970e3861 qcacld-3.0: CL- 1439678 - update fw common interface files
Add qtimer to TSF capture request and response WMI messages/event.

CRs-Fixed: 962166
Change-Id: Ia10eca66cfbff821ef1f4c03a0fb964d504d53a2
2016-03-25 17:41:57 +05:30
Prakash Dhavali
5e99fff740 qcacld-3.0: First CLD3.1 Release 5.1.0.1
qcacld-3.0: First CLD3.1 Release 5.1.0.1
CRs-Fixed: 688141

Change-Id: Ib194b131c1caf4c7937fdcb0dcaed53bebea34ee
2016-03-24 11:58:54 -07:00
Houston Hoffman
e3846e4b48 qcacld-3.0: Remove ifdef HIF_PCI from ol_fw
The target defs need to be protected by a chip specific flag if
at all.  A bus flag is too generic.

Change-Id: I631b9686b69dcba0a47bf10bccf7f94ac3a4bd9c
CRs-Fixed: 986480
2016-03-24 11:58:52 -07:00
Houston Hoffman
b61b9b1dcb qcacld-3.0: Add dummy.o to kbuild
Add a file to contain dummy functions for hif.

Change-Id: Ief06d0913eac0a38d6c188460925c6a7ca989f85
CRs-Fixed: 986480
2016-03-24 11:58:49 -07:00
Houston Hoffman
f3c2e1d2df qcacld-3.0: Controll target sleep in hif
Reduce the api footprint of hif and make hif responsible for controlling
its own timer as part of suspend resume.

Change-Id: Ifdcc95f65cd56e5987d961c01c4e35a9a93787f7
CRs-Fixed: 986480
2016-03-24 11:58:46 -07:00
Houston Hoffman
ee9990f139 qcacld-3.0: Remove htc_set_target_to_sleep
Hif will take care of allowing target sleep after driver load.

Change-Id: I3def052f4c14d843e1f8eb8f261f11306958c0a7
CRs-Fixed: 986480
2016-03-24 11:58:44 -07:00
Houston Hoffman
c2cd5d472e qcacld-3.0: Remove power_gating from upper layers
These are pci specific power management features.  These should
be consolidated instead of littering bus agnostic code.

Change-Id: I366f1d14ab04368d77a144bebaeb038c1469abed
CRs-Fixed: 986480
2016-03-24 11:58:38 -07:00
Houston Hoffman
9a547dc0bc qcacld-3.0: Skip bmi and ramdump at runtime
Need to support SNOC and PCI dynamically.
Core BSP code is responsible for SNOC firmware
loading and crash dumps.

Change-Id: Ia16076809f2b74be6f32ad5015b79b1fe2c13ca3
CRs-Fixed: 986480
2016-03-24 11:58:36 -07:00
Houston Hoffman
ab091116bf qcacld-3.0: Let compiler resolve hif_device_id type
hif_device_id type is a opaque pointer that abstracts out
some of the pci data structures.

Change-Id: Ib472490b9de26cae291f86fd0e3c05af40e6951e
CRs-Fixed: 986480
2016-03-24 11:58:33 -07:00
Houston Hoffman
1edffd327b qcacld-3.0: Support simultaneous mutlibus in kbuild
Make the kbuild support multiple bus types at the same time.

Change-Id: I3ac6ea75b9495681ce0b3fc65ed4999f19cf5a6d
CRs-Fixed: 986480
2016-03-24 11:58:31 -07:00
Prashanth Bhatta
7e58dd3820 qcacld-3.0: Kbuild: Build with qca-wifi-host-cmn
With common code is separated into qca-wifi-host-cmn project, add
Kbuild instructions to build along with qca-wifi-host-cmn project.

Change-Id: Ie28d348ed6874e5b2ee0d1fb8d9451513db9771a
CRs-fixed: 978124
2016-03-24 11:58:28 -07:00
Anurag Chouhan
f04e84f24a qcacld-3.0: Add qdf references in place of cdf
Replace CDF references with QDF references.

Change-Id: Ifb4571174719b5fce61dd305545d05628265f317
CRs-Fixed: 981188
2016-03-24 11:58:26 -07:00
Nirav Shah
cbc6d72570 qcacld-3.0: Update driver to use QDF NBUF APIs(1/2)
Update driver to use QDF NBUF APIs

Change-Id: I4409b6c046de1221b57baed45088d5f3b898b565
CRs-Fixed: 981188
2016-03-24 11:58:23 -07:00
Anurag Chouhan
600c3a00be qcacld-3.0: Add QDF mem API's
Replace CDF mem API's with QDF mem API's

Change-Id: Icf247b4dc5b26f4b960dcb98e323b096c1d6076c
CRs-Fixed: 981188
2016-03-24 11:58:16 -07:00
Anurag Chouhan
df2b26883d qcacld-3.0: Fix compilation issues after rebase
Remove the compilation issues for references to cdf after rebase

Change-Id: Ia39c5c72fe5c95f9a91d5f6967ea60904b46f756
CRs-Fixed: 981188
2016-03-24 11:58:14 -07:00
Anurag Chouhan
b2dc16fefe qcacld-3.0: Add QDF trace API's
Replace CDF trace API's with QDF trace API's.

Change-Id: I5b99dce73297f7de8f0755fa0b47dc3f84c78747
CRs-Fixed: 981188
2016-03-24 11:58:11 -07:00