From 4bfe97fab9f8afc969359b0f31fa2f38814a1b5d Mon Sep 17 00:00:00 2001 From: Mohit Khanna Date: Mon, 17 Apr 2017 15:27:57 -0700 Subject: [PATCH] qcacld-3.0: remove tcp_adv_win_scale setting from lro init Currently during lro enablement (hdd_lro_enable), we reset tcp delack by sending a message to cnss-daemon (hdd_reset_tcp_delack). This function is also resetting tcp_adv_win_scale param. This ignores the ini param gTcpAdvWinScaleEnable. If gTcpAdvWinScaleEnable is set to "0", the WLAN driver should not manipulte tcp_adv_win_scale system parameter. Remove tcp_adv_win_scale manipulation from hdd_reset_tcp_delack function. CRs-Fixed: 2034097 Change-Id: I98769273059a8b874845a98873d9d4fcab52ad79 --- core/hdd/src/wlan_hdd_tx_rx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_tx_rx.c b/core/hdd/src/wlan_hdd_tx_rx.c index 1cb6eeb35f3e..a74788c6bdf8 100644 --- a/core/hdd/src/wlan_hdd_tx_rx.c +++ b/core/hdd/src/wlan_hdd_tx_rx.c @@ -1902,7 +1902,6 @@ void hdd_reset_tcp_delack(struct hdd_context *hdd_ctx) struct wlan_rx_tp_data rx_tp_data = {0}; rx_tp_data.rx_tp_flags |= TCP_DEL_ACK_IND; - rx_tp_data.rx_tp_flags |= TCP_ADV_WIN_SCL; rx_tp_data.level = next_level; hdd_ctx->rx_high_ind_cnt = 0; wlan_hdd_send_svc_nlink_msg(hdd_ctx->radio_index, WLAN_SVC_WLAN_TP_IND,