mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Modify bus bandwidth vote criterion
qcacld-2.0 to qcacld-3.0 propagation If total TX/RX packets are less than bus bandwidth low threshold, there is no need to vote separately from WLAN side. Change-Id: I02284d035e58471b3933a84c778d4d44bd6b19ba CRs-fixed: 918723
This commit is contained in:
parent
6761d4a63d
commit
d6478e468a
1 changed files with 3 additions and 1 deletions
|
|
@ -3951,8 +3951,10 @@ void hdd_cnss_request_bus_bandwidth(hdd_context_t *hdd_ctx,
|
|||
next_vote_level = CNSS_BUS_WIDTH_HIGH;
|
||||
else if (total > hdd_ctx->config->busBandwidthMediumThreshold)
|
||||
next_vote_level = CNSS_BUS_WIDTH_MEDIUM;
|
||||
else
|
||||
else if (total > hdd_ctx->config->busBandwidthLowThreshold)
|
||||
next_vote_level = CNSS_BUS_WIDTH_LOW;
|
||||
else
|
||||
next_vote_level = CNSS_BUS_WIDTH_NONE;
|
||||
|
||||
hdd_ctx->hdd_txrx_hist[hdd_ctx->hdd_txrx_hist_idx].next_vote_level
|
||||
= next_vote_level;
|
||||
|
|
|
|||
Loading…
Reference in a new issue