qcacmn: Changing DBS query method from DP

Changing the method DP queries WMA regarding
DBS capability. Now his call will be made through
policy manager.

Change-Id: I269537761a7acfa7e20a00c0ee7fc26ec1d17106
CRs-Fixed: 2025317
This commit is contained in:
Pramod Simha
2017-03-27 14:48:09 -07:00
committed by Gerrit - the friendly Code Review server
parent d817164e95
commit 7f7b4aa23d
4 changed files with 14 additions and 8 deletions

View File

@@ -1484,7 +1484,7 @@ static void dp_rxdma_ring_config(struct dp_soc *soc)
if (soc->cdp_soc.ol_ops->
is_hw_dbs_2x2_capable) {
dbs_enable = soc->cdp_soc.ol_ops->
is_hw_dbs_2x2_capable();
is_hw_dbs_2x2_capable(soc->psoc);
}
if (dbs_enable) {
@@ -3542,10 +3542,10 @@ static struct cdp_ops dp_txrx_ops = {
*/
void *dp_soc_attach_wifi3(void *osif_soc, void *hif_handle,
HTC_HANDLE htc_handle, qdf_device_t qdf_osdev,
struct ol_if_ops *ol_ops);
struct ol_if_ops *ol_ops, struct wlan_objmgr_psoc *psoc);
void *dp_soc_attach_wifi3(void *osif_soc, void *hif_handle,
HTC_HANDLE htc_handle, qdf_device_t qdf_osdev,
struct ol_if_ops *ol_ops)
struct ol_if_ops *ol_ops, struct wlan_objmgr_psoc *psoc)
{
struct dp_soc *soc = qdf_mem_malloc(sizeof(*soc));
@@ -3560,6 +3560,7 @@ void *dp_soc_attach_wifi3(void *osif_soc, void *hif_handle,
soc->osif_soc = osif_soc;
soc->osdev = qdf_osdev;
soc->hif_handle = hif_handle;
soc->psoc = psoc;
soc->hal_soc = hif_get_hal_handle(hif_handle);
soc->htt_handle = htt_soc_attach(soc, osif_soc, htc_handle,