|
@@ -10347,6 +10347,7 @@ err_out:
|
|
|
int hdd_start_station_adapter(struct hdd_adapter *adapter)
|
|
|
{
|
|
|
QDF_STATUS status;
|
|
|
+ struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
|
|
|
int ret;
|
|
|
|
|
|
hdd_enter_dev(adapter->dev);
|
|
@@ -10376,6 +10377,12 @@ int hdd_start_station_adapter(struct hdd_adapter *adapter)
|
|
|
hdd_register_hl_netdev_fc_timer(adapter,
|
|
|
hdd_tx_resume_timer_expired_handler);
|
|
|
|
|
|
+ status = sme_set_wlm_latency_level(hdd_ctx->mac_handle,
|
|
|
+ adapter->vdev_id,
|
|
|
+ adapter->latency_level);
|
|
|
+ if (QDF_IS_STATUS_ERROR(status))
|
|
|
+ hdd_warn("set latency level failed, %u", status);
|
|
|
+
|
|
|
hdd_exit();
|
|
|
|
|
|
return 0;
|