Commit Graph

213 Commits

Author SHA1 Message Date
Komal Seelam
2a5fa63d2b qcacmn: Modify HIF BMI API to pass dma command and response
Pass BMI DMA Command and Response address to HIF BMI API as
arguments instead of using bmi context in HIF.

Change-Id: Ifdb51581a33665b1857c63e33b1c26bbd99575eb
CRs-Fixed: 967765
2016-03-16 01:55:15 -07:00
Komal Seelam
6081702c40 qcacmn: Move Max Peers variable to WMA
Remove Max Peers reference in HIF and move it to WMA

Change-Id: If2be1e3a69abdca471d6bb96aca9298bffd4bd25
CRs-Fixed: 967765
2016-03-16 01:55:10 -07:00
Vishwajith Upendra
3f78aa6a1d qcacmn: Make HIF independent of NIC_DEV
NIC_DEV is not needed in hif. Remove it from HIF.
Initialize cdf_device global structure in HDD.

Change-Id: Iff3e88c269ed0324d18289e23a0369fa6c2b14b0
CRs-Fixed: 967765
2016-03-16 01:52:55 -07:00
Komal Seelam
644263d323 qcacmn: Carve Out hif_softc out of ol_softc
Carve out hif_softc for internal hif usage.
ol_softc acts a opaque handle to other modules.

Change-Id: I7633e70ed82fe2ee88a21e2502177d6a7388ff56
CRs-Fixed: 967765
2016-03-15 14:29:26 -07:00
Komal Seelam
02cf2f8509 qcacmn: Refactor HIF to use Single HIF Context
Remove unwanted pointers to various HIF data structures.
Use single HIF Context and dynamically typecast to required
HIF data structures.

Change-Id: I1e2f39455a23826d1eaa9785aa9f1bc3854a9cb2
CRs-Fixed: 967765
2016-03-14 14:08:12 +05:30
Komal Seelam
c92a0cf52e qcacmn: Query HIF for FastPath support
Data Path bypasses transport layer for better throughput's.
Instead of dereferencing HIF structures, query HIF for fastpath
mode support

Change-Id: Icba897c9405084f1c14c7db4059527a96d841736
CRs-Fixed: 967765
2016-03-14 14:07:55 +05:30
Komal Seelam
f8600687ad qcacmn: Remove cds_get_context in HIF
Refactor Transport Layer from cds_get_context and pass the hif context
to all the API's to operate.

Change-Id: I1dedda76357f844e08fd422bf9eb15af70587eae
CRs-Fixed: 967765
2016-03-14 14:07:47 +05:30
Komal Seelam
b3a3bdf89f qcacmn: Refactor BMI members from ol_softc
Group BMI members and access bmi info from hif instead of
dereferencing hif context.

Change-Id: I082f648490be0078df7d90cc8ebbf745b64fd97a
CRs-Fixed: 967765
2016-03-14 14:07:40 +05:30
Komal Seelam
7fca106501 qcacmn: Refactor Ramdump API and PKTLOG API
Ramdump collection can be supported by buses other than PCIe, and
it's done in offload layer when recovery is required. Hence allocate
memory dynamically and free it once ramdump collection is complete.

PKTLOG is a DataPath Feature, HIF doesn't need to have any info
of it. Move pktlog implementation to HTT folder.

Change-Id: Ib8c2526ba8900843db2dae8388fe46c9d9e05f22
CRs-Fixed: 967765
2016-03-14 14:07:29 +05:30
Komal Seelam
aa72bb719e qcacmn: Move relevent hif_pci_softc members from ol_softc
Few members are relevant only for PCIe based solutions, hence
move those to hif_pci_softc structure.

Change-Id: I1f38da4cfc9f69c05a9c80e67abc70fd97e22af9
CRs-Fixed: 967765
2016-03-14 14:06:46 +05:30
Komal Seelam
91553ce741 qcacmn: Refactor ol_sc for target_info and ini params
Clean up driver modules to query hif for the target info and
ini handle, instead of accessing hif context in other modules.

Change-Id: Ibd4762a20f788190f242b4f24b914fa4b99d5a5b
CRs-Fixed: 967765
2016-03-14 14:05:27 +05:30
Govind Singh
2443fb341a qcacmn: Abstract bus debug dump in hif layer
Remove direct call to CE debug routine from ol_fw and
hif main layer. Abstract the bus debug dump
register routines to respective hif bus layer.

Change-Id: I8b6f325f12aaa99e4f7461f9da26b7f60259c8f8
CRs-Fixed: 964031
2016-03-14 12:37:39 +05:30
Prakash Dhavali
142cee4bf2 Initial host-common file folder cleanup and moves
Initial host-common file folder cleanup and moves
on top of baseline reference of MCL WLAN driver
SU#5.0.0.160.

Move dp, ht comm, hif, wmi and qdf folders one level up

Change-Id: I2120898024b1eafd5d651c48768dbf48bf05995d
2016-03-03 01:02:02 -08:00