Commit db7c689d authored by Eyal Shapira's avatar Eyal Shapira Committed by Emmanuel Grumbach

iwlwifi: mvm: rs: improve ss_params debug print

Make the print a bit more readable.
Reported-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarEyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 4557eaba
...@@ -3373,13 +3373,13 @@ static ssize_t rs_sta_dbgfs_scale_table_read(struct file *file, ...@@ -3373,13 +3373,13 @@ static ssize_t rs_sta_dbgfs_scale_table_read(struct file *file,
ss_params = le32_to_cpu(lq_sta->lq.ss_params); ss_params = le32_to_cpu(lq_sta->lq.ss_params);
desc += sprintf(buff+desc, "single stream params: %s%s%s%s\n", desc += sprintf(buff+desc, "single stream params: %s%s%s%s\n",
(ss_params & LQ_SS_PARAMS_VALID) ? (ss_params & LQ_SS_PARAMS_VALID) ?
"VALID," : "INVALID", "VALID" : "INVALID",
(ss_params & LQ_SS_BFER_ALLOWED) ? (ss_params & LQ_SS_BFER_ALLOWED) ?
"BFER," : "", ", BFER" : "",
(ss_params & LQ_SS_STBC_1SS_ALLOWED) ? (ss_params & LQ_SS_STBC_1SS_ALLOWED) ?
"STBC," : "", ", STBC" : "",
(ss_params & LQ_SS_FORCE) ? (ss_params & LQ_SS_FORCE) ?
"FORCE" : ""); ", FORCE" : "");
desc += sprintf(buff+desc, desc += sprintf(buff+desc,
"Start idx [0]=0x%x [1]=0x%x [2]=0x%x [3]=0x%x\n", "Start idx [0]=0x%x [1]=0x%x [2]=0x%x [3]=0x%x\n",
lq_sta->lq.initial_rate_index[0], lq_sta->lq.initial_rate_index[0],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment