qcacmn: Fix cdp api to get hal_soc handle
Fix the CDP API to get the hal_soc handle. Change-Id: Ifdc33e1499a8269aa63d1f059b086c0dd4d8c142 CRs-Fixed: 3512047
This commit is contained in:

committed by
Rahul Choudhary

parent
3fab5bd196
commit
b0656c1bf0
@@ -7817,9 +7817,6 @@ dp_set_psoc_param(struct cdp_soc_t *cdp_soc,
|
|||||||
dp_rx_peer_metadata_ver_update(
|
dp_rx_peer_metadata_ver_update(
|
||||||
soc, val.cdp_peer_metadata_ver);
|
soc, val.cdp_peer_metadata_ver);
|
||||||
break;
|
break;
|
||||||
case CDP_TXRX_HAL_SOC_HDL:
|
|
||||||
val.hal_soc_hdl = soc->hal_soc;
|
|
||||||
break;
|
|
||||||
case CDP_CFG_TX_DESC_NUM:
|
case CDP_CFG_TX_DESC_NUM:
|
||||||
wlan_cfg_set_num_tx_desc(wlan_cfg_ctx,
|
wlan_cfg_set_num_tx_desc(wlan_cfg_ctx,
|
||||||
val.cdp_tx_desc_num);
|
val.cdp_tx_desc_num);
|
||||||
@@ -7893,6 +7890,9 @@ static QDF_STATUS dp_get_psoc_param(struct cdp_soc_t *cdp_soc,
|
|||||||
case CDP_UMAC_RST_SKEL_ENABLE:
|
case CDP_UMAC_RST_SKEL_ENABLE:
|
||||||
val->cdp_umac_rst_skel = dp_umac_rst_skel_enable_get(soc);
|
val->cdp_umac_rst_skel = dp_umac_rst_skel_enable_get(soc);
|
||||||
break;
|
break;
|
||||||
|
case CDP_TXRX_HAL_SOC_HDL:
|
||||||
|
val->hal_soc_hdl = soc->hal_soc;
|
||||||
|
break;
|
||||||
case CDP_CFG_TX_DESC_NUM:
|
case CDP_CFG_TX_DESC_NUM:
|
||||||
val->cdp_tx_desc_num = wlan_cfg_get_num_tx_desc(wlan_cfg_ctx);
|
val->cdp_tx_desc_num = wlan_cfg_get_num_tx_desc(wlan_cfg_ctx);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user