qcacmn: Add ol soc context

Add the soc context for ol_txrx,
The soc layer is used to hold the ol_pdev context.

CRs-Fixed: 2539807
Change-Id: I751ad61de55db9d86624b8b5e18b0981ffb0338d
This commit is contained in:
Rakesh Pillai
2019-06-24 15:06:41 +05:30
committed by nshrivas
parent 2e435f1452
commit 7bce1f0332
2 changed files with 14 additions and 0 deletions

View File

@@ -1417,6 +1417,19 @@ struct cdp_soc_t *dp_soc_to_cdp_soc_t(struct dp_soc *psoc)
return (struct cdp_soc_t *)psoc;
}
/**
* cdp_soc_t_to_dp_soc() - typecast cdp_soc_t to
* dp soc handle
* @psoc: CDP psoc handle
*
* Return: struct dp_soc pointer
*/
static inline
struct dp_soc *cdp_soc_t_to_dp_soc(struct cdp_soc_t *psoc)
{
return (struct dp_soc *)psoc;
}
#ifdef WLAN_SUPPORT_RX_FLOW_TAG
/**
* dp_rx_flow_update_fse_stats() - Update a flow's statistics