mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Populate correct txpower in RRM Link Measurement Request
qcacld-2.0 to qcacld-3.0 propagation Currently, driver doesn't consider tx power which was negotiated at the time of connection for max tx power for RRM Link Measurement Request. Fix this by not allowing tx power more than pSessionEntry->maxTxPower. Change-Id: Idebe6d11e05da0b3b8186e2c84ff8ad4ac124fdc CRs-Fixed: 2021835
This commit is contained in:
parent
c416da60c5
commit
df8e43c507
1 changed files with 2 additions and 2 deletions
|
|
@ -269,8 +269,8 @@ rrm_process_link_measurement_request(tpAniSirGlobal pMac,
|
|||
}
|
||||
pHdr = WMA_GET_RX_MAC_HEADER(pRxPacketInfo);
|
||||
|
||||
LinkReport.txPower = lim_get_max_tx_power(pLinkReq->MaxTxPower.maxTxPower,
|
||||
MAX_RRM_TX_PWR_CAP,
|
||||
LinkReport.txPower = lim_get_max_tx_power(pSessionEntry->maxTxPower,
|
||||
pLinkReq->MaxTxPower.maxTxPower,
|
||||
pMac->roam.configParam.
|
||||
nTxPowerCap);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue