mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
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:
parent
2e435f1452
commit
7bce1f0332
2 changed files with 14 additions and 0 deletions
|
|
@ -56,6 +56,7 @@
|
|||
#define CDP_BA_64_BIT_MAP_SIZE_DWORDS 2
|
||||
#define CDP_RSSI_CHAIN_LEN 8
|
||||
|
||||
#define OL_TXRX_INVALID_PDEV_ID 0xff
|
||||
#define OL_TXRX_INVALID_LOCAL_PEER_ID 0xffff
|
||||
#define CDP_INVALID_VDEV_ID 0xff
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue