qcacmn: Fill antenna gain in master channel list
Antenna gain is per regulatory structure. However we need it in per channel during transmission. Firmware sends antenna gain per regulatory rule. Host copies it to per channel structure. Change-Id: Ia163f46facec03ccd450994acbeb28d1e9f2a111 CRs-Fixed: 2002892
This commit is contained in:

committed by
snandini

parent
54c6d12d7a
commit
b5a1d245f3
@@ -17138,6 +17138,9 @@ static struct cur_reg_rule
|
||||
reg_rule_ptr[count].reg_power =
|
||||
WMI_REG_RULE_REG_POWER_GET(
|
||||
wmi_reg_rule[count].bw_pwr_info);
|
||||
reg_rule_ptr[count].ant_gain =
|
||||
WMI_REG_RULE_ANTENNA_GAIN_GET(
|
||||
wmi_reg_rule[count].bw_pwr_info);
|
||||
reg_rule_ptr[count].flags =
|
||||
WMI_REG_RULE_FLAGS_GET(
|
||||
wmi_reg_rule[count].flag_info);
|
||||
|
Reference in New Issue
Block a user