qcacld-3.0: Correct tx power value
It's 0.5 db unit from halphy, so correct the tx power in host side. Change-Id: I119f86814310d402a8bf4c200c92a680488e5731 CRs-Fixed: 3030628
This commit is contained in:
parent
4e13609bd6
commit
3d6711d61f
@ -380,7 +380,11 @@ static QDF_STATUS target_if_cp_stats_extract_pdev_stats(
|
||||
qdf_mem_free(pdev_stats);
|
||||
return status;
|
||||
}
|
||||
ev->pdev_stats[i].max_pwr = pdev_stats->chan_tx_pwr;
|
||||
|
||||
/*
|
||||
* It's 0.5 db unit from halphy. so correct the value here
|
||||
*/
|
||||
ev->pdev_stats[i].max_pwr = pdev_stats->chan_tx_pwr >> 1;
|
||||
|
||||
/*
|
||||
* if pdev_stats->pdev_id is 0, then the event contains all
|
||||
|
Loading…
Reference in New Issue
Block a user