qcacld-3.0: Remove bus bw vote when bus bw timer is stopped
Currently the driver votes for IDLE case when no interface is associated. If the bus bandwidth timer is stopped when there is no interface, we are not reducing our votes, thereby causing higher power usage. Remove our voting for bus bandwidth when the bus bandwidth timer is stopped. Also in the wlan resume case, vote for MEDIUM bus bandwidth only if any interface is associated, else vote for NONE. Change-Id: I6cbe7f32036219b3b8914fb096562f44559931ce CRs-Fixed: 2688853
This commit is contained in:
@@ -2522,6 +2522,15 @@ bool wlan_hdd_validate_modules_state(struct hdd_context *hdd_ctx);
|
||||
QDF_STATUS __wlan_hdd_validate_mac_address(struct qdf_mac_addr *mac_addr,
|
||||
const char *func);
|
||||
|
||||
/**
|
||||
* hdd_is_any_adapter_connected() - Check if any adapter is in connected state
|
||||
* @hdd_ctx: the global hdd context
|
||||
*
|
||||
* Returns: true, if any of the adapters is in connected state,
|
||||
* false, if none of the adapters is in connected state.
|
||||
*/
|
||||
bool hdd_is_any_adapter_connected(struct hdd_context *hdd_ctx);
|
||||
|
||||
#ifdef WLAN_FEATURE_DP_BUS_BANDWIDTH
|
||||
/**
|
||||
* hdd_bus_bw_compute_prev_txrx_stats() - get tx and rx stats
|
||||
|
Reference in New Issue
Block a user