From 8e3d0535179d98d07ce03e22a0597ef28eeeb34f Mon Sep 17 00:00:00 2001 From: wadesong Date: Tue, 12 Mar 2019 17:17:27 +0800 Subject: [PATCH] qcacld-3.0: cfg ini documentation refine Some malformed comments were discovered when generating the official documentation of wlan cfg ini items. Refine the documentation text of the following items in one batch: gEnableVendorVhtFor24GHzBand hostArpOffload ssdp gEnableDynamicDTIM gEnableModulatedDTIM Change-Id: I3cd617e52e86e2a890e35edb33b37ba3df8f4f6e CRs-Fixed: 2414259 --- .../mlme/dispatcher/inc/cfg_mlme_vht_caps.h | 4 +-- .../pmo/dispatcher/inc/wlan_pmo_common_cfg.h | 27 +++++++++++++------ 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/components/mlme/dispatcher/inc/cfg_mlme_vht_caps.h b/components/mlme/dispatcher/inc/cfg_mlme_vht_caps.h index dc664ccb78..b9c417246f 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_vht_caps.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_vht_caps.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2019 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -488,7 +488,7 @@ "VHT Enable for 24GHz") /* - * gEnableVendorVhtFor24GHzBand:Parameter to control VHT support + * gEnableVendorVhtFor24GHzBand - Parameter to control VHT support * based on vendor ie in 2.4 GHz band * @Min: 0 * @Max: 1 diff --git a/components/pmo/dispatcher/inc/wlan_pmo_common_cfg.h b/components/pmo/dispatcher/inc/wlan_pmo_common_cfg.h index 1e7710d0ed..a71679dc7a 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_common_cfg.h +++ b/components/pmo/dispatcher/inc/wlan_pmo_common_cfg.h @@ -28,7 +28,8 @@ * @Max: 1 * @Default: 1 * - * This ini is used to enable/disable host ARP offload. + * This ini is used to enable/disable firmware's capability of sending ARP + * response to clients. * * Usage: External * @@ -37,7 +38,7 @@ #define CFG_PMO_ENABLE_HOST_ARPOFFLOAD CFG_INI_BOOL( \ "hostArpOffload", \ 1, \ - "enable/disable host arp offload") + "enable/disable host ARP offload") /* * @@ -77,12 +78,12 @@ /* * - * ssdp - Enable/disable ssdp + * ssdp - Enable/disable SSDP * @Min: 0 * @Max: 1 * @Default: 1 * - * This ini is used to enable/disable ssdp. + * This ini is used to enable/disable Simple Service Discovery Protocol(SSDP). * * Usage: External * @@ -115,12 +116,12 @@ * * gEnableDynamicDTIM - Enable Dynamic DTIM * @Min: 0 - * @Max: 9 + * @Max: 5 * @Default: 0 * - * This ini is used to enable/disable ssdp. + * This ini is used to enable/disable dynamic DTIM. * - * 0 -Disable DynamicDTIM + * 0 -Disable Dynamic DTIM * 1 to 5 - SLM will switch to DTIM specified here when host suspends and * switch DTIM1 when host resumes * @@ -131,7 +132,7 @@ #define CFG_PMO_ENABLE_DYNAMIC_DTIM CFG_INI_UINT( \ "gEnableDynamicDTIM", \ 0, \ - 9, \ + 5, \ 0, \ CFG_VALUE_OR_DEFAULT, \ "Enable Dynamic DTIM") @@ -145,6 +146,16 @@ * * This ini is used to enable/disable modulated DTIM feature. * + * 0 - Disable modulated DTIM. + * 1 to 5 - The maximum No. of modulated DTIM period used for calculating the + * target listen interval. + * + * The target listen interval will be updated to firmware when host driver is + * setting the suspend DTIM parameters. + * + * This configuration will be ignored when dynamic DTIM is enabled(by + * gEnableDynamicDTIM). + * * Usage: External * *