From 0cbee2ed1f07304e50a08a9406e5e8a9f76195a4 Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Wed, 17 Jun 2020 15:19:13 +0530 Subject: [PATCH] qcacld-3.0: Register hdd_gro_rx_dp_thread cb for GRO on QCA6750 For Lithium target, hdd_gro_rx_dp_thread callback is registered to handle GRO. Currently this callback is not registered for target qca6750. Register hdd_gro_rx_dp_thread callback for target QCA6750 to handle GRO. Change-Id: I2991a6b2f6a2a614f4bb7f36bac6ec4909c4d251 CRs-Fixed: 2712504 --- core/hdd/src/wlan_hdd_main.c | 3 ++- core/hdd/src/wlan_hdd_tx_rx.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 850bdc529ba5..e3df6b806c31 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -13019,7 +13019,8 @@ int hdd_configure_cds(struct hdd_context *hdd_ctx) /* Donot disable rx offload on concurrency for lithium based targets */ if (!(hdd_ctx->target_type == TARGET_TYPE_QCA6290 || hdd_ctx->target_type == TARGET_TYPE_QCA6390 || - hdd_ctx->target_type == TARGET_TYPE_QCA6490)) + hdd_ctx->target_type == TARGET_TYPE_QCA6490 || + hdd_ctx->target_type == TARGET_TYPE_QCA6750)) if (hdd_ctx->ol_enable) dp_cbs.hdd_disable_rx_ol_in_concurrency = hdd_disable_rx_ol_in_concurrency; diff --git a/core/hdd/src/wlan_hdd_tx_rx.c b/core/hdd/src/wlan_hdd_tx_rx.c index 71456d91fec2..5b253e09891e 100644 --- a/core/hdd/src/wlan_hdd_tx_rx.c +++ b/core/hdd/src/wlan_hdd_tx_rx.c @@ -1830,7 +1830,8 @@ int hdd_rx_ol_init(struct hdd_context *hdd_ctx) if (hdd_ctx->target_type == TARGET_TYPE_QCA6290 || hdd_ctx->target_type == TARGET_TYPE_QCA6390 || - hdd_ctx->target_type == TARGET_TYPE_QCA6490) + hdd_ctx->target_type == TARGET_TYPE_QCA6490 || + hdd_ctx->target_type == TARGET_TYPE_QCA6750) lithium_based_target = true; hdd_resolve_rx_ol_mode(hdd_ctx);