diff --git a/components/mlme/dispatcher/inc/cfg_mlme_ht_caps.h b/components/mlme/dispatcher/inc/cfg_mlme_ht_caps.h index f5680c37a68c..9eb4b86cba07 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_ht_caps.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_ht_caps.h @@ -342,7 +342,7 @@ * @Max: 7 * @Default: 7 * - * This ini is used to set default MDPU Density + * This ini is used to set default MPDU Density * * Related: None * diff --git a/core/hdd/inc/hdd_config.h b/core/hdd/inc/hdd_config.h index f46672d4e551..8b30e05e6391 100644 --- a/core/hdd/inc/hdd_config.h +++ b/core/hdd/inc/hdd_config.h @@ -246,11 +246,18 @@ enum hdd_wext_control { #ifdef FEATURE_WLAN_AUTO_SHUTDOWN /* * - * gWlanAutoShutdown - Wlan auto shutdown + * gWlanAutoShutdown - Wlan auto shutdown timer value * @Min: 0 * @Max: 86400 * @Default: 0 * + * This ini specifies the seconds of WLAN inactivity firmware has to wait + * before indicating WLAN idle event to driver. Upon receiving firmware's + * WLAN idle indication, driver may indicate similar event to upper layer + * daemons(SCM, or any other components working to achieve the same purpose), + * who may choose what to do next, e.g. whether to unload driver module or not. + * 0 indicates no auto shutdown will take place. + * * */ #define CFG_WLAN_AUTO_SHUTDOWN CFG_INI_UINT( \ diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index adb4afbf7aaf..a9b2e4f48b11 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -115,6 +115,25 @@ struct hdd_context; #define CFG_ENABLE_NUD_TRACKING_DEFAULT (1) #endif +/* + * + * gOperatingChannel- Default STA operating channel + * @Min: 0 + * @Max: 14 + * @Default: 1 + * + * This ini is used to specify the default operating channel of a STA during + * initialization. + * + * Related: None + * + * Supported Feature: STA + * + * Usage: External + * + * + */ + #define CFG_OPERATING_CHANNEL_NAME "gOperatingChannel" #define CFG_OPERATING_CHANNEL_MIN (0) #define CFG_OPERATING_CHANNEL_MAX (14) @@ -143,6 +162,23 @@ struct hdd_context; #define CFG_SHORT_SLOT_TIME_ENABLED_MAX WNI_CFG_SHORT_SLOT_TIME_STAMAX #define CFG_SHORT_SLOT_TIME_ENABLED_DEFAULT WNI_CFG_SHORT_SLOT_TIME_STADEF +/* + * + * g11dSupportEnabled - Enable/Disable 11d support + * @Min: 0 + * @Max: 1 + * @Default: 1 + * + * This ini is used to enable or disable 11d support. + * + * Related: None + * + * Supported Feature: STA + * + * Usage: Internal/External + * + * + */ #define CFG_11D_SUPPORT_ENABLED_NAME "g11dSupportEnabled" #define CFG_11D_SUPPORT_ENABLED_MIN WNI_CFG_11D_ENABLED_STAMIN #define CFG_11D_SUPPORT_ENABLED_MAX WNI_CFG_11D_ENABLED_STAMAX @@ -167,22 +203,97 @@ struct hdd_context; #define CFG_ENABLE_11D_IN_WORLD_MODE_MAX (1) #define CFG_ENABLE_11D_IN_WORLD_MODE_DEFAULT (0) +/* + * + * g11hSupportEnabled - Enable/Disable 11h support + * @Min: 0 + * @Max: 1 + * @Default: 1 + * + * This ini is used to enable or disable 11h support. + * + * Related: None + * + * Supported Feature: STA + * + * Usage: Internal/External + * + * + */ + #define CFG_11H_SUPPORT_ENABLED_NAME "g11hSupportEnabled" #define CFG_11H_SUPPORT_ENABLED_MIN (0) #define CFG_11H_SUPPORT_ENABLED_MAX (1) #define CFG_11H_SUPPORT_ENABLED_DEFAULT (1) /* Default is ON */ -/* COUNTRY Code Priority */ +/* + * + * gCountryCodePriority - Country code from supplicant preference + * @Min: 0 + * @Max: 1 + * @Default: 1 + * + * This ini is used to control whether driver will prefer country code + * specified by supplicant. And once country code from supplicant is + * respected, 11d will be disabled in effect. + * + * Related: None + * + * Supported Feature: STA + * + * Usage: Internal/External + * + * + */ + #define CFG_COUNTRY_CODE_PRIORITY_NAME "gCountryCodePriority" #define CFG_COUNTRY_CODE_PRIORITY_MIN (0) #define CFG_COUNTRY_CODE_PRIORITY_MAX (1) #define CFG_COUNTRY_CODE_PRIORITY_DEFAULT (0) +/* + * + * gRegulatoryChangeCountry - Default world regdmn overriding + * @Min: 0 + * @Max: 1 + * @Default: 1 + * + * This ini is used to control whether default regdmn settings should be + * overridden when there is no world regdmn configuration available. + * + * Related: None + * + * Supported Feature: STA + * + * Usage: Internal/External + * + * + */ + #define CFG_REG_CHANGE_DEF_COUNTRY_NAME "gRegulatoryChangeCountry" #define CFG_REG_CHANGE_DEF_COUNTRY_DEFAULT (0) #define CFG_REG_CHANGE_DEF_COUNTRY_MIN (0) #define CFG_REG_CHANGE_DEF_COUNTRY_MAX (1) +/* + * + * gAdvertiseConcurrentOperation - Iface combination advertising + * @Min: 0 + * @Max: 1 + * @Default: 1 + * + * This ini is used to control whether driver should indicate to kernel + * wiphy layer the combination of all its interfaces' supportability. + * + * Related: None + * + * Supported Feature: STA + * + * Usage: Internal/External + * + * + */ + #define CFG_ADVERTISE_CONCURRENT_OPERATION_NAME "gAdvertiseConcurrentOperation" #define CFG_ADVERTISE_CONCURRENT_OPERATION_DEFAULT (1) #define CFG_ADVERTISE_CONCURRENT_OPERATION_MIN (0) @@ -2082,21 +2193,97 @@ enum hdd_dot11_mode { #define CFG_LATENCY_FLAGS_ULTRALOW_MAX (0xffffffff) #define CFG_LATENCY_FLAGS_ULTRALOW_DEFAULT (0xc83) +/* + * + * Intf0MacAddress - Default MAC address of VIF0 + * @Min: 000000000000 + * @Max: ffffffffffff + * @Default: 000AF58989FF + * + * This ini is used to set the default MAC address of virtual interface 0 + * created by WLAN driver. + * + * Related: None. + * + * Supported Feature: SAP + * + * Usage: Internal/External + * + * + */ + #define CFG_INTF0_MAC_ADDR_NAME "Intf0MacAddress" #define CFG_INTF0_MAC_ADDR_MIN "000000000000" #define CFG_INTF0_MAC_ADDR_MAX "ffffffffffff" #define CFG_INTF0_MAC_ADDR_DEFAULT "000AF58989FF" +/* + * + * Intf1MacAddress - Default MAC address of VIF1 + * @Min: 000000000000 + * @Max: ffffffffffff + * @Default: 000AF58989FE + * + * This ini is used to set the default MAC address of virtual interface 1 + * created by WLAN driver. + * + * Related: None. + * + * Supported Feature: SAP + * + * Usage: Internal/External + * + * + */ + #define CFG_INTF1_MAC_ADDR_NAME "Intf1MacAddress" #define CFG_INTF1_MAC_ADDR_MIN "000000000000" #define CFG_INTF1_MAC_ADDR_MAX "ffffffffffff" #define CFG_INTF1_MAC_ADDR_DEFAULT "000AF58989FE" +/* + * + * Intf2MacAddress - Default MAC address of VIF2 + * @Min: 000000000000 + * @Max: ffffffffffff + * @Default: 000AF58989FD + * + * This ini is used to set the default MAC address of virtual interface 2 + * created by WLAN driver. + * + * Related: None. + * + * Supported Feature: SAP + * + * Usage: Internal/External + * + * + */ + #define CFG_INTF2_MAC_ADDR_NAME "Intf2MacAddress" #define CFG_INTF2_MAC_ADDR_MIN "000000000000" #define CFG_INTF2_MAC_ADDR_MAX "ffffffffffff" #define CFG_INTF2_MAC_ADDR_DEFAULT "000AF58989FD" +/* + * + * Intf3MacAddress - Default MAC address of VIF3 + * @Min: 000000000000 + * @Max: ffffffffffff + * @Default: 000AF58989FC + * + * This ini is used to set the default MAC address of virtual interface 3 + * created by WLAN driver. + * + * Related: None. + * + * Supported Feature: SAP + * + * Usage: Internal/External + * + * + */ + #define CFG_INTF3_MAC_ADDR_NAME "Intf3MacAddress" #define CFG_INTF3_MAC_ADDR_MIN "000000000000" #define CFG_INTF3_MAC_ADDR_MAX "ffffffffffff" @@ -2246,12 +2433,12 @@ enum hdd_dot11_mode { /* * - * gDisableIntraBssFwd - Disable intrs BSS Rx packets + * gDisableIntraBssFwd - Disable intra BSS Rx packets * @Min: 0 * @Max: 1 * @Default: 0 * - * This ini is used to disbale to forward Intra-BSS Rx packets when + * This ini is used to disable forwarding of Intra-BSS Rx packets when * ap_isolate=1 in hostapd.conf * * Related: None. @@ -2267,6 +2454,24 @@ enum hdd_dot11_mode { #define CFG_AP_STA_SECURITY_SEPERATION_MAX (1) #define CFG_AP_STA_SECURITY_SEPERATION_DEFAULT (0) +/* + * + * gDisablePacketFilter - Disabling of packet filter support + * @Min: 0 + * @Max: 1 + * @Default: 1 + * + * This ini is used to disable packet filter support when set to 1. + * + * Related: None. + * + * Supported Feature: SAP + * + * Usage: Internal/External + * + * + */ + #define CFG_DISABLE_PACKET_FILTER "gDisablePacketFilter" #define CFG_DISABLE_PACKET_FILTER_MIN (0) #define CFG_DISABLE_PACKET_FILTER_MAX (1)