Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b45619d authored by Akmal's avatar Akmal Committed by Bharath
Browse files
parent 0336d131
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -1696,7 +1696,8 @@ static void hdd_check_and_move_if_sap_is_on_dfs_chan(hdd_context_t *hdd_ctx,
        }

        hddLog(LOG1, "Schedule workqueue to move the SAP to non DFS channel");
        schedule_delayed_work(&hdd_ctx->ecsa_chan_change_work,
        queue_delayed_work(system_freezable_power_efficient_wq,
                            &hdd_ctx->ecsa_chan_change_work,
                            msecs_to_jiffies(ECSA_DFS_CHAN_CHANGE_DEFER_TIME));
    }
}
@@ -2337,7 +2338,8 @@ hdd_schedule_ecsa_chan_change_work(hdd_context_t *hdd_ctx,
       time_diff = ECSA_SCC_CHAN_CHANGE_DEFER_INTERVAL - time_diff;

   hddLog(LOG1, FL("schedule ecsa_chan_change_work after %d ms"), time_diff);
   schedule_delayed_work(&hdd_ctx->ecsa_chan_change_work,
   queue_delayed_work(system_freezable_power_efficient_wq,
                          &hdd_ctx->ecsa_chan_change_work,
                          msecs_to_jiffies(time_diff));
}

@@ -4463,7 +4465,8 @@ eHalStatus hdd_smeRoamCallback( void *pContext, tCsrRoamInfo *pRoamInfo, tANI_U3
                         (pHostapdAdapter->sessionCtx.ap.operatingChannel !=
                          pRoamInfo->chan_info.chan_id))
                 {
                     schedule_delayed_work(&pHddCtx->ecsa_chan_change_work, 0);
                     queue_delayed_work(system_freezable_power_efficient_wq,
                                         &pHddCtx->ecsa_chan_change_work, 0);
                 }
                 else
                     hddLog(LOG1, FL("SAP restart not required"));
+4 −2
Original line number Diff line number Diff line
@@ -5633,7 +5633,8 @@ static int __wlan_hdd_cfg80211_set_spoofed_mac_oui(struct wiphy *wiphy,
            pHddCtx->spoofMacAddr.isEnabled = FALSE;
    }
    schedule_delayed_work(&pHddCtx->spoof_mac_addr_work,
    queue_delayed_work(system_freezable_power_efficient_wq,
                          &pHddCtx->spoof_mac_addr_work,
                          msecs_to_jiffies(MAC_ADDR_SPOOFING_DEFER_INTERVAL));
    EXIT();
@@ -15321,7 +15322,8 @@ static eHalStatus hdd_cfg80211_scan_done_callback(tHalHandle halHandle,
        /* Generate new random mac addr for next scan */
        hddLog(VOS_TRACE_LEVEL_INFO, "scan completed - generate new spoof mac addr");
        schedule_delayed_work(&pHddCtx->spoof_mac_addr_work,
        queue_delayed_work(system_freezable_power_efficient_wq,
                           &pHddCtx->spoof_mac_addr_work,
                           msecs_to_jiffies(MAC_ADDR_SPOOFING_DEFER_INTERVAL));
    }
+2 −1
Original line number Diff line number Diff line
@@ -13968,7 +13968,8 @@ void wlan_hdd_defer_scan_init_work(hdd_context_t *pHddCtx,
        pHddCtx->scan_ctxt.attempt = 0;
        pHddCtx->scan_ctxt.magic = TDLS_CTX_MAGIC;
    }
    schedule_delayed_work(&pHddCtx->scan_ctxt.scan_work, delay);
    queue_delayed_work(system_freezable_power_efficient_wq,
                          &pHddCtx->scan_ctxt.scan_work, delay);
}
void wlan_hdd_init_deinit_defer_scan_context(scan_context_t *scan_ctx)
+2 −1
Original line number Diff line number Diff line
@@ -846,7 +846,8 @@ static int wlan_hdd_request_remain_on_channel( struct wiphy *wiphy,

                mutex_unlock(&pHddCtx->roc_lock);

                schedule_delayed_work(&pAdapter->roc_work,
                queue_delayed_work(system_freezable_power_efficient_wq,
                        &pAdapter->roc_work,
                        msecs_to_jiffies(pHddCtx->cfg_ini->gP2PListenDeferInterval));
                hddLog(VOS_TRACE_LEVEL_INFO, "Defer interval is %hu, pAdapter %pK",
                        pHddCtx->cfg_ini->gP2PListenDeferInterval, pAdapter);