diff options
| author | Varun Reddy Yeturu <varunreddy.yeturu@codeaurora.org> | 2017-08-21 10:28:13 -0700 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-08-25 01:16:21 -0700 |
| commit | 79ee4acdc3e3b8839c98e9bb2bf137dc8d83cf96 (patch) | |
| tree | c3391d3cff56a703080450196ec00c1c4cdb4a43 | |
| parent | e80ec36bee23b10d033c3c878d3f400e33918127 (diff) | |
qcacmn: Log the debug information before freeing the buffer
Log the necessary debug information before freeing the dynamically
allocated memory while sending WMI commands
WMI_ROAM_CONFIGURE_MAWC_CMDID and WMI_NLO_CONFIGURE_MAWC_CMDID.
Change-Id: I10c8a96f8bb1a6cb661501f9ae9b9b21560980de
CRs-Fixed: 2094763
| -rw-r--r-- | wmi/src/wmi_unified_tlv.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 7ed999e72ecf..ed951c9b8f69 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -4927,6 +4927,12 @@ QDF_STATUS send_roam_mawc_params_cmd_tlv(wmi_unified_t wmi_handle, params->rssi_stationary_high_adjust; wmi_roam_mawc_params->rssi_stationary_low_adjust = params->rssi_stationary_low_adjust; + WMI_LOGD(FL("MAWC roam en=%d, vdev=%d, tr=%d, ap=%d, high=%d, low=%d"), + wmi_roam_mawc_params->enable, wmi_roam_mawc_params->vdev_id, + wmi_roam_mawc_params->traffic_load_threshold, + wmi_roam_mawc_params->best_ap_rssi_threshold, + wmi_roam_mawc_params->rssi_stationary_high_adjust, + wmi_roam_mawc_params->rssi_stationary_low_adjust); status = wmi_unified_cmd_send(wmi_handle, buf, len, WMI_ROAM_CONFIGURE_MAWC_CMDID); @@ -4935,12 +4941,6 @@ QDF_STATUS send_roam_mawc_params_cmd_tlv(wmi_unified_t wmi_handle, status); goto error; } - WMI_LOGD(FL("MAWC roam en=%d, vdev=%d, tr=%d, ap=%d, high=%d, low=%d"), - wmi_roam_mawc_params->enable, wmi_roam_mawc_params->vdev_id, - wmi_roam_mawc_params->traffic_load_threshold, - wmi_roam_mawc_params->best_ap_rssi_threshold, - wmi_roam_mawc_params->rssi_stationary_high_adjust, - wmi_roam_mawc_params->rssi_stationary_low_adjust); return QDF_STATUS_SUCCESS; error: @@ -6561,6 +6561,11 @@ QDF_STATUS send_nlo_mawc_cmd_tlv(wmi_unified_t wmi_handle, wmi_nlo_mawc_params->exp_backoff_ratio = params->exp_backoff_ratio; wmi_nlo_mawc_params->init_scan_interval = params->init_scan_interval; wmi_nlo_mawc_params->max_scan_interval = params->max_scan_interval; + WMI_LOGD(FL("MAWC NLO en=%d, vdev=%d, ratio=%d, SCAN init=%d, max=%d"), + wmi_nlo_mawc_params->enable, wmi_nlo_mawc_params->vdev_id, + wmi_nlo_mawc_params->exp_backoff_ratio, + wmi_nlo_mawc_params->init_scan_interval, + wmi_nlo_mawc_params->max_scan_interval); status = wmi_unified_cmd_send(wmi_handle, buf, len, WMI_NLO_CONFIGURE_MAWC_CMDID); @@ -6570,11 +6575,6 @@ QDF_STATUS send_nlo_mawc_cmd_tlv(wmi_unified_t wmi_handle, wmi_buf_free(buf); return QDF_STATUS_E_FAILURE; } - WMI_LOGD(FL("MAWC NLO en=%d, vdev=%d, ratio=%d, SCAN init=%d, max=%d"), - wmi_nlo_mawc_params->enable, wmi_nlo_mawc_params->vdev_id, - wmi_nlo_mawc_params->exp_backoff_ratio, - wmi_nlo_mawc_params->init_scan_interval, - wmi_nlo_mawc_params->max_scan_interval); return QDF_STATUS_SUCCESS; } |
