qcacmn: Use module level logging in Spectral

Current Spectral module uses qdf_print. To improve the control over
logging, use module level logging

CRs-Fixed: 2165341
Change-Id: I205991347453c4dcc424ba1958e309b7c5fb71a0
This commit is contained in:
Shiva Krishna Pittala 2017-12-18 16:39:20 +05:30 • committed by snandini
commit 71155a3e48
17 changed files with 384 additions and 546 deletions

View file

@ -4004,7 +4004,7 @@ struct smart_ant_enable_tx_feedback_params {
* @pwr_format: Power format
* @rpt_mode: Report mdoe
* @bin_scale: BIN scale
* @dBm_adj: DBM adjust
* @dbm_adj: DBM adjust
* @chn_mask: chain mask
*/
struct vdev_spectral_configure_params {
@ -4025,7 +4025,7 @@ struct vdev_spectral_configure_params {
uint16_t pwr_format;
uint16_t rpt_mode;
uint16_t bin_scale;
uint16_t dBm_adj;
uint16_t dbm_adj;
uint16_t chn_mask;
};

View file

@ -2673,7 +2673,7 @@ static QDF_STATUS send_vdev_spectral_configure_cmd_non_tlv(wmi_unified_t wmi_han
cmd->spectral_scan_pwr_format = param->pwr_format;
cmd->spectral_scan_rpt_mode = param->rpt_mode;
cmd->spectral_scan_bin_scale = param->bin_scale;
cmd->spectral_scan_dBm_adj = param->dBm_adj;
cmd->spectral_scan_dBm_adj = param->dbm_adj;
cmd->spectral_scan_chn_mask = param->chn_mask;
ret = wmi_unified_cmd_send(wmi_handle,
@ -2720,7 +2720,7 @@ static QDF_STATUS send_vdev_spectral_configure_cmd_non_tlv(wmi_unified_t wmi_han
param->pwr_format,
param->rpt_mode,
param->bin_scale,
param->dBm_adj,
param->dbm_adj,
param->chn_mask);
qdf_print("%s: Status: %d\n\n", __func__, ret);
#endif /* OL_SPECTRAL_DEBUG_CONFIG_INTERACTIONS */

View file

@ -12753,7 +12753,7 @@ static QDF_STATUS send_vdev_spectral_configure_cmd_tlv(wmi_unified_t wmi_handle,
cmd->spectral_scan_pwr_format = param->pwr_format;
cmd->spectral_scan_rpt_mode = param->rpt_mode;
cmd->spectral_scan_bin_scale = param->bin_scale;
cmd->spectral_scan_dBm_adj = param->dBm_adj;
cmd->spectral_scan_dBm_adj = param->dbm_adj;
cmd->spectral_scan_chn_mask = param->chn_mask;
ret = wmi_unified_cmd_send(wmi_handle, buf, len,
@ -12803,7 +12803,7 @@ static QDF_STATUS send_vdev_spectral_configure_cmd_tlv(wmi_unified_t wmi_handle,
param->pwr_format,
param->rpt_mode,
param->bin_scale,
param->dBm_adj,
param->dbm_adj,
param->chn_mask);
WMI_LOGI("%s: Status: %d\n\n", __func__, ret);