qcacmn: add ini support for throttling period duty cycles
qcacld-2.0 to qcacld-3.0 propagation Provide support to configure duty cycle by adding ini item for different level duty cycle. CRs-Fixed: 990798 Change-Id: I95e4f4af669fd50c5b9fc10ffc61fa5d447b5bcf
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
854f69e39f
commit
841f5e87c6
@@ -34,7 +34,8 @@
|
|||||||
#define _CDP_TXRX_TX_THROTTLE_H_
|
#define _CDP_TXRX_TX_THROTTLE_H_
|
||||||
|
|
||||||
#if defined(QCA_SUPPORT_TX_THROTTLE)
|
#if defined(QCA_SUPPORT_TX_THROTTLE)
|
||||||
void ol_tx_throttle_init_period(struct ol_txrx_pdev_t *pdev, int period);
|
void ol_tx_throttle_init_period(struct ol_txrx_pdev_t *pdev, int period,
|
||||||
|
uint8_t *dutycycle_level);
|
||||||
|
|
||||||
void ol_tx_throttle_set_level(struct ol_txrx_pdev_t *pdev, int level);
|
void ol_tx_throttle_set_level(struct ol_txrx_pdev_t *pdev, int level);
|
||||||
#else
|
#else
|
||||||
@@ -45,7 +46,8 @@ static inline void ol_tx_throttle_set_level(struct ol_txrx_pdev_t *pdev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline void ol_tx_throttle_init_period(struct ol_txrx_pdev_t *pdev,
|
static inline void ol_tx_throttle_init_period(struct ol_txrx_pdev_t *pdev,
|
||||||
int period)
|
int period,
|
||||||
|
uint8_t *dutycycle_level)
|
||||||
{
|
{
|
||||||
/* no-op */
|
/* no-op */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user