mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Reduce high throughput detection level
Currently the API hdd_is_current_high_throughput considers any throughput level higher(or equal) than PLD_BUS_WIDTH_HIGH as high throughput level. Based on this level, driver decides to take up RX wakelock and log certain stats(TDLS). This can have an impact on power even in HT20 modes. Reduce the high throughput detection level to PLD_BUS_WIDTH_MEDIUM. So throughput >= 60Mbps is considered high by the API. Change-Id: I2225edc55568facf4b74a389b4a0a53845ea14ae CRs-Fixed: 2495719
This commit is contained in:
parent
ba8b3fe3a8
commit
b9d7e4e20a
1 changed files with 1 additions and 1 deletions
|
|
@ -2840,7 +2840,7 @@ void hdd_reset_tcp_delack(struct hdd_context *hdd_ctx)
|
|||
*/
|
||||
bool hdd_is_current_high_throughput(struct hdd_context *hdd_ctx)
|
||||
{
|
||||
if (hdd_ctx->cur_vote_level < PLD_BUS_WIDTH_HIGH)
|
||||
if (hdd_ctx->cur_vote_level < PLD_BUS_WIDTH_MEDIUM)
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue