qcacld-3.0: Select transmit power as per 11.7.6 IEEE Section
Currently, if power constraint is advertised by AP then local max tx power is calculated as per the rule defined in 9.4.2.13 (Power Constraint element) i.e regulatory power - local constraint advertised by AP. As per the rule defined in 11.7.6 (Transmit power selection) transmit power for STA should be less than or equal to the minimum of the local maximum transmit power level and regulatory client maximum power. Fix is instead of populating max_tx_power as diff of regulatory power and derived local max tx power, populate max_tx_power to the MIN of regulatory power and local max tx power to align with IEEE standard. Change-Id: I65fe4c9c6a4c7dd80540530c25b7ac2b1952633c CRs-Fixed: 3740468
This commit is contained in:

committed by
Ravindra Konda

parent
6a838f6df8
commit
97bf376926
@@ -6306,9 +6306,11 @@ void lim_calculate_tpc(struct mac_context *mac,
|
||||
} else {
|
||||
max_tx_power = QDF_MIN(reg_max,
|
||||
local_constraint);
|
||||
if (!max_tx_power)
|
||||
max_tx_power = reg_max;
|
||||
}
|
||||
} else {
|
||||
max_tx_power = reg_max - local_constraint;
|
||||
max_tx_power = QDF_MIN(reg_max, local_constraint);
|
||||
if (!max_tx_power)
|
||||
max_tx_power = reg_max;
|
||||
}
|
||||
|
Reference in New Issue
Block a user