mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: Add Spectral frequency to read/write logs
Add Spectral frequency to functions which log read and write of Spectral parameters. Change-Id: I7c66676df4667d1a7b7b46fcf33e4c10815c4b28 CRs-Fixed: 2502703
This commit is contained in:
parent
8119e1236e
commit
61585b05a2
1 changed files with 8 additions and 4 deletions
|
|
@ -345,7 +345,7 @@ target_if_log_read_spectral_params(
|
|||
const char *function_name,
|
||||
struct spectral_config *pparam)
|
||||
{
|
||||
spectral_debug("%s: TARGET_IF_SPECTRAL_INFO_PARAMS. Returning following params:\nss_count = %u\nss_period = %u\nss_spectral_pri = %u\nss_fft_size = %u\nss_gc_ena = %u\nss_restart_ena = %u\nss_noise_floor_ref = %d\nss_init_delay = %u\nss_nb_tone_thr = %u\nss_str_bin_thr = %u\nss_wb_rpt_mode = %u\nss_rssi_rpt_mode = %u\nss_rssi_thr = %d\nss_pwr_format = %u\nss_rpt_mode = %u\nss_bin_scale = %u\nss_dbm_adj = %u\nss_chn_mask = %u\n",
|
||||
spectral_debug("%s: TARGET_IF_SPECTRAL_INFO_PARAMS. Returning following params:\nss_count = %u\nss_period = %u\nss_spectral_pri = %u\nss_fft_size = %u\nss_gc_ena = %u\nss_restart_ena = %u\nss_noise_floor_ref = %d\nss_init_delay = %u\nss_nb_tone_thr = %u\nss_str_bin_thr = %u\nss_wb_rpt_mode = %u\nss_rssi_rpt_mode = %u\nss_rssi_thr = %d\nss_pwr_format = %u\nss_rpt_mode = %u\nss_bin_scale = %u\nss_dbm_adj = %u\nss_chn_mask = %u\nss_frequency=%u\n",
|
||||
function_name,
|
||||
pparam->ss_count,
|
||||
pparam->ss_period,
|
||||
|
|
@ -364,7 +364,8 @@ target_if_log_read_spectral_params(
|
|||
pparam->ss_rpt_mode,
|
||||
pparam->ss_bin_scale,
|
||||
pparam->ss_dbm_adj,
|
||||
pparam->ss_chn_mask);
|
||||
pparam->ss_chn_mask,
|
||||
pparam->ss_frequency);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -666,7 +667,7 @@ target_if_log_write_spectral_params(
|
|||
const char *function_name,
|
||||
int ret)
|
||||
{
|
||||
spectral_debug("%s: TARGET_IF_SPECTRAL_INFO_PARAMS. Params:\nss_count = %u\nss_period = %u\nss_spectral_pri = %u\nss_fft_size = %u\nss_gc_ena = %u\nss_restart_ena = %u\nss_noise_floor_ref = %d\nss_init_delay = %u\nss_nb_tone_thr = %u\nss_str_bin_thr = %u\nss_wb_rpt_mode = %u\nss_rssi_rpt_mode = %u\nss_rssi_thr = %d\nss_pwr_format = %u\nss_rpt_mode = %u\nss_bin_scale = %u\nss_dbm_adj = %u\nss_chn_mask = %u\nstatus = %d",
|
||||
spectral_debug("%s: TARGET_IF_SPECTRAL_INFO_PARAMS. Params:\nss_count = %u\nss_period = %u\nss_spectral_pri = %u\nss_fft_size = %u\nss_gc_ena = %u\nss_restart_ena = %u\nss_noise_floor_ref = %d\nss_init_delay = %u\nss_nb_tone_thr = %u\nss_str_bin_thr = %u\nss_wb_rpt_mode = %u\nss_rssi_rpt_mode = %u\nss_rssi_thr = %d\nss_pwr_format = %u\nss_rpt_mode = %u\nss_bin_scale = %u\nss_dbm_adj = %u\nss_chn_mask = %u\nss_frequency=%u\nstatus = %d",
|
||||
function_name,
|
||||
param->ss_count,
|
||||
param->ss_period,
|
||||
|
|
@ -684,7 +685,10 @@ target_if_log_write_spectral_params(
|
|||
param->ss_pwr_format,
|
||||
param->ss_rpt_mode,
|
||||
param->ss_bin_scale,
|
||||
param->ss_dbm_adj, param->ss_chn_mask, ret);
|
||||
param->ss_dbm_adj,
|
||||
param->ss_chn_mask,
|
||||
param->ss_frequency,
|
||||
ret);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue