diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index ddff4abfc1..bcb0bb06b4 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -8011,12 +8011,14 @@ void wlan_hdd_set_wlm_mode(struct hdd_context *hdd_ctx, uint16_t latency_level) QCA_WLAN_VENDOR_ATTR_CONFIG_LATENCY_LEVEL_ULTRALOW) { hdd_ctx->llm_enabled = true; if (!hdd_ctx->hbw_requested) { + cpumask_setall(&hdd_ctx->pm_qos_req.cpus_affine); pm_qos_update_request(&hdd_ctx->pm_qos_req, DISABLE_KRAIT_IDLE_PS_VAL); hdd_ctx->hbw_requested = true; } } else { if (hdd_ctx->hbw_requested) { + cpumask_clear(&hdd_ctx->pm_qos_req.cpus_affine); pm_qos_update_request(&hdd_ctx->pm_qos_req, PM_QOS_DEFAULT_VALUE); hdd_ctx->hbw_requested = false; diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 0981d19f6d..fa2c06fd48 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -9373,7 +9373,8 @@ static void hdd_pld_request_bus_bandwidth(struct hdd_context *hdd_ctx, if (next_vote_level < PLD_BUS_WIDTH_MEDIUM) cpumask_clear(&pm_qos_cpu_mask); - hdd_pm_qos_update_request(hdd_ctx, &pm_qos_cpu_mask); + if (!hdd_ctx->llm_enabled) + hdd_pm_qos_update_request(hdd_ctx, &pm_qos_cpu_mask); } hdd_display_periodic_stats(hdd_ctx, (total_pkts > 0) ? true : false);