mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
qcacld-3.0: Add debugs for max allowed tx power
Max tx power limit is received as part of the WMI_VDEV_START_RESP_EVENTID. Add debugs to print the max_allowed_tx_power in host. Change-Id: I4ca0d4a4a2a1e452b8a6a9f1c48ad52fcd2f6213 CRs-Fixed: 3167045
This commit is contained in:
parent
1e1fac45ea
commit
df4878edf3
2 changed files with 5 additions and 2 deletions
|
|
@ -2178,8 +2178,9 @@ void lim_calculate_tpc(struct mac_context *mac,
|
|||
mlme_obj->reg_tpc_obj.eirp_power = reg_max;
|
||||
mlme_obj->reg_tpc_obj.power_type_6g = ap_power_type_6g;
|
||||
|
||||
pe_debug("num_pwr_levels: %d, is_psd_power: %d, total eirp_power: %d, ap_pwr_type: %d",
|
||||
num_pwr_levels, is_psd_power, reg_max, ap_power_type_6g);
|
||||
pe_debug("num_pwr_levels: %d, is_psd_power: %d, total eirp_power: %d, ap_pwr_type: %d tx_pwrlimit: %d",
|
||||
num_pwr_levels, is_psd_power, reg_max, ap_power_type_6g,
|
||||
mlme_obj->mgmt.generic.tx_pwrlimit);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1249,6 +1249,8 @@ QDF_STATUS wma_vdev_start_resp_handler(struct vdev_mlme_obj *vdev_mlme,
|
|||
return QDF_STATUS_E_INVAL;
|
||||
|
||||
mlme_obj->mgmt.generic.tx_pwrlimit = rsp->max_allowed_tx_power;
|
||||
wma_debug("Max allowed tx power: %d", rsp->max_allowed_tx_power);
|
||||
|
||||
if (iface->type == WMI_VDEV_TYPE_STA)
|
||||
assoc_type = mlme_get_assoc_type(vdev_mlme->vdev);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue