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:
@@ -56,6 +56,7 @@
|
|||||||
#define CDP_BA_64_BIT_MAP_SIZE_DWORDS 2
|
#define CDP_BA_64_BIT_MAP_SIZE_DWORDS 2
|
||||||
#define CDP_RSSI_CHAIN_LEN 8
|
#define CDP_RSSI_CHAIN_LEN 8
|
||||||
|
|
||||||
|
#define OL_TXRX_INVALID_PDEV_ID 0xff
|
||||||
#define OL_TXRX_INVALID_LOCAL_PEER_ID 0xffff
|
#define OL_TXRX_INVALID_LOCAL_PEER_ID 0xffff
|
||||||
#define CDP_INVALID_VDEV_ID 0xff
|
#define CDP_INVALID_VDEV_ID 0xff
|
||||||
/* Options for Dump Statistics */
|
/* Options for Dump Statistics */
|
||||||
|
@@ -1417,6 +1417,19 @@ struct cdp_soc_t *dp_soc_to_cdp_soc_t(struct dp_soc *psoc)
|
|||||||
return (struct cdp_soc_t *)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
|
#ifdef WLAN_SUPPORT_RX_FLOW_TAG
|
||||||
/**
|
/**
|
||||||
* dp_rx_flow_update_fse_stats() - Update a flow's statistics
|
* dp_rx_flow_update_fse_stats() - Update a flow's statistics
|
||||||
|
Reference in New Issue
Block a user