qcacmn: Converged datapath APIs (set 1.1)
Add below changes: 1) Add peer handling functions. 2) Bring in the APIs under else(#else) part of compile time flags QCA_SUPPORT_TXRX_LOCAL_PEER_ID, QCA_COMPUTE_TX_DELAY and QCA_SUPPORT_TX_THROTTLE. Change-Id: I08b101702a7d0d870e9fab9b8a3cc7cc19d3464f CRs-Fixed: 993414
This commit is contained in:

committed by
Vishwajith Upendra

parent
9c222b15b0
commit
a22c2169fb
@@ -33,8 +33,21 @@
|
||||
#ifndef _CDP_TXRX_TX_THROTTLE_H_
|
||||
#define _CDP_TXRX_TX_THROTTLE_H_
|
||||
|
||||
#if defined(QCA_SUPPORT_TX_THROTTLE)
|
||||
void ol_tx_throttle_init_period(struct ol_txrx_pdev_t *pdev, int period);
|
||||
|
||||
void ol_tx_throttle_set_level(struct ol_txrx_pdev_t *pdev, int level);
|
||||
#else
|
||||
static inline void ol_tx_throttle_set_level(struct ol_txrx_pdev_t *pdev,
|
||||
int level)
|
||||
{
|
||||
/* no-op */
|
||||
}
|
||||
|
||||
static inline void ol_tx_throttle_init_period(struct ol_txrx_pdev_t *pdev,
|
||||
int period)
|
||||
{
|
||||
/* no-op */
|
||||
}
|
||||
#endif
|
||||
#endif /* _CDP_TXRX_TX_THROTTLE_H_ */
|
||||
|
Reference in New Issue
Block a user