mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Update negotiated maxTxPower in Assoc request
qcacld-2.0 to qcacld-3.0 propagation On some channel, AP's tranmission power is less than regulatory tx power as per db.txt. While sending Assoc request, driver should populate negotiated power (min power of AP's tx power and regulatory power for operating channel) in Assoc request. This doesn't happen currently, fix it to ensure that driver follow negotiated power. Change-Id: I7755894b72e4f0f7ffc371abbbda5c75b2851b13 CRs-Fixed: 2011396
This commit is contained in:
parent
a355d03b0d
commit
1fdcbb6a83
1 changed files with 6 additions and 0 deletions
|
|
@ -1887,6 +1887,12 @@ __lim_process_sme_join_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
|
|||
pe_debug("Reg max %d local power con %d max tx pwr %d",
|
||||
reg_max, local_power_constraint, session->maxTxPower);
|
||||
|
||||
if (sme_join_req->powerCap.maxTxPower > session->maxTxPower) {
|
||||
sme_join_req->powerCap.maxTxPower = session->maxTxPower;
|
||||
pe_debug("Update MaxTxPower in join Req to %d",
|
||||
sme_join_req->powerCap.maxTxPower);
|
||||
}
|
||||
|
||||
if (session->gLimCurrentBssUapsd) {
|
||||
session->gUapsdPerAcBitmask =
|
||||
session->pLimJoinReq->uapsdPerAcBitmask;
|
||||
|
|
|
|||
Loading…
Reference in a new issue