qcacmn: Add CDP_IF wrapper layer for data path
Added a new layer CDP_IF inside dp which is an intermediate between the data path functions and the upper layers. All function calls from outside the DP layer to the DP layer goes via the CDP_IF layer Change-Id: I76e671c85d2d02aa0a65a90b356840d3aeede52d CRs-Fixed: 1075597
This commit is contained in:

committed by
qcabuildsw

parent
140ce9541a
commit
e5444bc96d
@@ -33,9 +33,17 @@
|
||||
#define _CDP_TXRX_PFLOW_H_
|
||||
|
||||
#include <cdp_txrx_stats_struct.h>
|
||||
#if PEER_FLOW_CONTROL
|
||||
extern uint32_t ol_pflow_update_pdev_params(struct ol_txrx_pdev_t *,
|
||||
ol_ath_param_t, uint32_t, void *);
|
||||
#endif
|
||||
#endif
|
||||
#include "cdp_txrx_ops.h"
|
||||
|
||||
#if PEER_FLOW_CONTROL
|
||||
static inline uint32_t cdp_pflow_update_pdev_params
|
||||
(ol_txrx_soc_handle soc, void *pdev,
|
||||
ol_ath_param_t param, uint32_t val, void *ctx)
|
||||
{
|
||||
if (soc->ops->pflow_ops->pflow_update_pdev_params)
|
||||
return soc->ops->pflow_ops->pflow_update_pdev_params
|
||||
(pdev, param, val, ctx);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user