From f0481724e8015e27c7b6e7522a9417f92cbd2498 Mon Sep 17 00:00:00 2001 From: Himanshu Agarwal Date: Tue, 6 Dec 2016 12:46:24 +0530 Subject: [PATCH] qcacld-3.0: Update ini/ioctl template Update ini and ioctl template in the code base with the defined template to generate the document using the script. This change includes the following features: LRO, NAPI Change-Id: I66d4d5a78faacfe2673649281cf037135ef108b7 CRs-Fixed: 1097299 --- core/hdd/inc/wlan_hdd_cfg.h | 38 +++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 8143fa0c806e..ad5c3cece50c 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -3136,9 +3136,20 @@ typedef enum { #define CFG_TSO_ENABLED_DEFAULT (0) /* - * Configuration option to enable or disable LRO (Large Receive Offload) - * in the WLAN driver - * Set 1 - enable, 0 - disable + * + * LROEnable - Control to enable lro feature + * + * @Min: 0 + * @Max: 1 + * @Default: 0 + * + * This ini is used to enable LRO feature + * + * Supported Feature: LRO + * + * Usage: Internal + * + * */ #define CFG_LRO_ENABLED_NAME "LROEnable" #define CFG_LRO_ENABLED_MIN (0) @@ -3848,11 +3859,22 @@ enum dot11p_mode { #define CFG_SAP_MAX_INACTIVITY_OVERRIDE_DEFAULT (0) /* - * This parameter determines that which defered method will be use in rx path - * If no bits are set then rx path processing will happen in tasklet context. - * Bit 0: rx_thread enable - * Bit 1: RPS enable - * Bit 2: NAPI enable + * + * rx_mode - Control to decide rx mode + * + * @Min: 0 + * @Max: (CFG_ENABLE_RX_THREAD | CFG_ENABLE_RPS | CFG_ENABLE_NAPI) + * @Default: MDM_PLATFORM - 0 + * HELIUMPLUS - CFG_ENABLE_NAPI + * Other cases - (CFG_ENABLE_RX_THREAD | CFG_ENABLE_NAPI) + * + * This ini is used to decide mode for the rx path + * + * Supported Feature: NAPI + * + * Usage: Internal + * + * */ #define CFG_RX_MODE_NAME "rx_mode" #define CFG_RX_MODE_MIN (0)