|
@@ -5842,13 +5842,14 @@ static void hdd_pld_request_bus_bandwidth(hdd_context_t *hdd_ctx,
|
|
temp_rx = (rx_packets + hdd_ctx->prev_rx) / 2;
|
|
temp_rx = (rx_packets + hdd_ctx->prev_rx) / 2;
|
|
|
|
|
|
hdd_ctx->prev_rx = rx_packets;
|
|
hdd_ctx->prev_rx = rx_packets;
|
|
|
|
+
|
|
|
|
+ next_rx_level = WLAN_SVC_TP_LOW;
|
|
if (temp_rx > hdd_ctx->config->tcpDelackThresholdHigh) {
|
|
if (temp_rx > hdd_ctx->config->tcpDelackThresholdHigh) {
|
|
if ((hdd_ctx->cur_rx_level != WLAN_SVC_TP_HIGH) &&
|
|
if ((hdd_ctx->cur_rx_level != WLAN_SVC_TP_HIGH) &&
|
|
(++hdd_ctx->rx_high_ind_cnt == delack_timer_cnt)) {
|
|
(++hdd_ctx->rx_high_ind_cnt == delack_timer_cnt)) {
|
|
next_rx_level = WLAN_SVC_TP_HIGH;
|
|
next_rx_level = WLAN_SVC_TP_HIGH;
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- next_rx_level = WLAN_SVC_TP_LOW;
|
|
|
|
hdd_ctx->rx_high_ind_cnt = 0;
|
|
hdd_ctx->rx_high_ind_cnt = 0;
|
|
}
|
|
}
|
|
|
|
|