|
@@ -10378,14 +10378,10 @@ static void hdd_pld_request_bus_bandwidth(struct hdd_context *hdd_ctx,
|
|
|
* for other cases, follow general voting logic
|
|
|
*/
|
|
|
if (!ucfg_ipa_is_fw_wdi_activated(hdd_ctx->pdev) &&
|
|
|
- policy_mgr_is_current_hwmode_dbs(hdd_ctx->psoc)) {
|
|
|
- if (total_pkts > hdd_ctx->config->bus_bw_ultra_high_threshold) {
|
|
|
- next_vote_level = PLD_BUS_WIDTH_MAX;
|
|
|
- tput_level = TPUT_LEVEL_SUPER_HIGH;
|
|
|
- } else if (total_pkts > hdd_ctx->config->bus_bw_dbs_threshold) {
|
|
|
- next_vote_level = PLD_BUS_WIDTH_ULTRA_HIGH;
|
|
|
- tput_level = TPUT_LEVEL_ULTRA_HIGH;
|
|
|
- }
|
|
|
+ policy_mgr_is_current_hwmode_dbs(hdd_ctx->psoc) &&
|
|
|
+ (total_pkts > hdd_ctx->config->bus_bw_dbs_threshold)) {
|
|
|
+ next_vote_level = PLD_BUS_WIDTH_ULTRA_HIGH;
|
|
|
+ tput_level = TPUT_LEVEL_ULTRA_HIGH;
|
|
|
}
|
|
|
|
|
|
param.policy = BBM_TPUT_POLICY;
|