android_kernel_xiaomi_sm8350/core
Sourav Mohapatra d204a81b4b qcacld-3.0: Populate proper rates received by FW
Due to unknown legacy reason, the rates received by the driver from the
firmware are currently divided by 500 to convert it into units of
500kbps. This division by 500 is later compensated by a multiplication
with 5 to maintain units of 100kbps before being sent to the upper
layer. This division and then subsequent multiplication results in the
loss of precision (in the case the rate is not divisible by 5).
Consequently, the rate being sent to the upper layer becomes inaccurate.
Also the calculation of the MCS rate flags is affected.

Do not carry out the unnecessary division and multiplication by 5.
Instead just convert the rates into units of 100kbps (which is as
mandated by the kernel) when driver receives the rate from the firmware.

Change-Id: I05e67816651754e3b3e27b13dabc1d55b29251dd
CRs-Fixed: 2378166
2019-01-11 18:07:58 -08:00
..
bmi qcacld-3.0: Remove unnecessary includes from ol_if_athvar.h 2018-12-17 13:12:01 -08:00
cds qcacld-3.0: Remove CDS_SCHED_THREAD_HEART_BEAT 2019-01-07 08:46:30 -08:00
dp qcacld-3.0: Fix cdp api cdp_tx_desc_thresh_reached 2019-01-10 10:33:29 -08:00
hdd qcacld-3.0: Populate proper rates received by FW 2019-01-11 18:07:58 -08:00
mac Release 5.2.0.115N 2019-01-11 15:58:16 -08:00
pld qcacld-3.0: correct return value for pld_pcie_get_user_msi_assignment 2019-01-02 03:52:58 -08:00
sap qcacld-3.0: Remove rate_set fields from struct sap_context 2019-01-11 13:37:00 -08:00
sme qcacld-3.0: Add a missing increment for fw module id 2019-01-11 15:58:09 -08:00
wma qcacld-3.0: Remove slub debug factor for WMA timeouts 2019-01-11 15:58:12 -08:00