From bdc776f92e31d21c6dfc5ded22cc8c226ce46208 Mon Sep 17 00:00:00 2001 From: Himanshu Agarwal Date: Wed, 2 Aug 2017 12:51:08 +0530 Subject: [PATCH] qcacld-3.0: Change ce_service_max_yield_time ini to us granularity Change ce_service_max_yield_time ini to us granularity to have yield time of us order as well. Change-Id: Ib9e421ad61b660194459c2ee44b2d36a07a21e61 CRs-fixed: 2086153 --- core/hdd/inc/wlan_hdd_cfg.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index cd499839e0..465efb100d 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -9965,13 +9965,13 @@ enum dot11p_mode { /* * - * ce_service_max_yield_time - Control to set ce service max yield time (in ms) + * ce_service_max_yield_time - Control to set ce service max yield time (in us) * - * @Min: 1 - * @Max: 10 - * @Default: 10 + * @Min: 500 + * @Max: 10000 + * @Default: 10000 * - * This ini is used to set ce service max yield time (in ms) + * This ini is used to set ce service max yield time (in us) * * Supported Feature: NAPI * @@ -9980,9 +9980,9 @@ enum dot11p_mode { * */ #define CFG_CE_SERVICE_MAX_YIELD_TIME_NAME "ce_service_max_yield_time" -#define CFG_CE_SERVICE_MAX_YIELD_TIME_MIN (1) -#define CFG_CE_SERVICE_MAX_YIELD_TIME_MAX (10) -#define CFG_CE_SERVICE_MAX_YIELD_TIME_DEFAULT (10) +#define CFG_CE_SERVICE_MAX_YIELD_TIME_MIN (500) +#define CFG_CE_SERVICE_MAX_YIELD_TIME_MAX (10000) +#define CFG_CE_SERVICE_MAX_YIELD_TIME_DEFAULT (10000) /* * @@ -14831,7 +14831,7 @@ struct hdd_config { #endif uint8_t dot11p_mode; uint8_t rx_mode; - uint8_t ce_service_max_yield_time; + uint32_t ce_service_max_yield_time; uint8_t ce_service_max_rx_ind_flush; uint8_t cpu_map_list[CFG_RPS_RX_QUEUE_CPU_MAP_LIST_LEN]; #ifdef FEATURE_WLAN_EXTSCAN