From 841f5e87c6b4c8b4cfa9b3846aed6f5cd7f9661a Mon Sep 17 00:00:00 2001 From: "Poddar, Siddarth" Date: Sat, 16 Apr 2016 17:56:46 -0700 Subject: [PATCH] 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 --- dp/inc/cdp_txrx_tx_throttle.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dp/inc/cdp_txrx_tx_throttle.h b/dp/inc/cdp_txrx_tx_throttle.h index 586806aae0c2..7f64a8a6a8f6 100644 --- a/dp/inc/cdp_txrx_tx_throttle.h +++ b/dp/inc/cdp_txrx_tx_throttle.h @@ -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 */ }