mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
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:
parent
854f69e39f
commit
841f5e87c6
1 changed files with 4 additions and 2 deletions
|
|
@ -34,7 +34,8 @@
|
|||
#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_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);
|
||||
#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,
|
||||
int period)
|
||||
int period,
|
||||
uint8_t *dutycycle_level)
|
||||
{
|
||||
/* no-op */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue