From 52d8dc3fadfddb031f778d354de84b6d89c4558d Mon Sep 17 00:00:00 2001 From: Kiran Kumar Lokere Date: Mon, 5 Dec 2016 19:20:40 -0800 Subject: [PATCH] qcacld-3.0: Fix the ping failure issue ping fails due to full_reorder_enable is not initialized in the cdp_config. Fix the full_reorder_offload initializtion and enable the full_reorder_enable by default. Change-Id: I3191fb96a4d2fc365d5470c3144fdca5d3f59913 CRs-Fixed: 1098023 --- core/cds/src/cds_api.c | 1 + core/hdd/inc/wlan_hdd_cfg.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/cds/src/cds_api.c b/core/cds/src/cds_api.c index 9173cacb9c05..ae38c83131e9 100644 --- a/core/cds/src/cds_api.c +++ b/core/cds/src/cds_api.c @@ -180,6 +180,7 @@ static void cds_cdp_cfg_attach(struct cds_config_info *cds_cfg) struct txrx_pdev_cfg_param_t cdp_cfg = {0}; void *soc = cds_get_context(QDF_MODULE_ID_SOC); + cdp_cfg.is_full_reorder_offload = cds_cfg->reorder_offload; cdp_cfg.is_uc_offload_enabled = cds_cfg->uc_offload_enabled; cdp_cfg.uc_tx_buffer_count = cds_cfg->uc_txbuf_count; cdp_cfg.uc_tx_buffer_size = cds_cfg->uc_txbuf_size; diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 5d04a9ad9248..af4e19f10522 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -2527,7 +2527,7 @@ typedef enum { #define CFG_REORDER_OFFLOAD_SUPPORT_NAME "gReorderOffloadSupported" #define CFG_REORDER_OFFLOAD_SUPPORT_MIN (0) #define CFG_REORDER_OFFLOAD_SUPPORT_MAX (1) -#define CFG_REORDER_OFFLOAD_SUPPORT_DEFAULT (0) +#define CFG_REORDER_OFFLOAD_SUPPORT_DEFAULT (1) #ifdef WLAN_FEATURE_ROAM_OFFLOAD #define CFG_ROAMING_OFFLOAD_NAME "gRoamOffloadEnabled"