qcacld-3.0: Add idle state to bus bw logic

Bus bandwidth logic uses PLD_BUS_WIDTH_NONE to vote if the packet
threshold is less than bus_bw_low_threshold. The same vote is used for
system suspend too. Add a new state for bus bandwidth logic to vote for
idle state.

Change-Id: I62ca6fff84a01083001db360f56344a05fb955db
CRs-Fixed: 2484003
This commit is contained in:
Mahesh Kumar Kalikot Veetil
2019-07-03 13:57:34 -07:00
committed by nshrivas
parent e51c9b5cf4
commit 64a886965f
2 changed files with 6 additions and 4 deletions

View File

@@ -61,12 +61,14 @@ enum pld_bus_type {
/**
* enum pld_bus_width_type - bus bandwidth
* @PLD_BUS_WIDTH_NONE: don't vote for bus bandwidth
* @PLD_BUS_WIDTH_IDLE: vote for idle bandwidth
* @PLD_BUS_WIDTH_LOW: vote for low bus bandwidth
* @PLD_BUS_WIDTH_MEDIUM: vote for medium bus bandwidth
* @PLD_BUS_WIDTH_HIGH: vote for high bus bandwidth
*/
enum pld_bus_width_type {
PLD_BUS_WIDTH_NONE,
PLD_BUS_WIDTH_IDLE,
PLD_BUS_WIDTH_LOW,
PLD_BUS_WIDTH_MEDIUM,
PLD_BUS_WIDTH_HIGH