diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index 394d934f5b90..0b901b626c43 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -252,6 +252,12 @@ * RF Operating Parameter (RROP) information. The attributes for this * information are defined in enum qca_wlan_vendor_attr_rrop_info. This is * intended for use by external Auto Channel Selection applications. + * @QCA_NL80211_VENDOR_SUBCMD_GET_SAR_LIMITS: Get the Specific Absorption Rate + * (SAR) power limits. This is a companion to the command + * @QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS and is used to retrieve the + * settings currently in use. The attributes returned by this command are + * defined by enum qca_vendor_attr_sar_limits. + * */ enum qca_nl80211_vendor_subcmds { @@ -453,6 +459,7 @@ enum qca_nl80211_vendor_subcmds { QCA_NL80211_VENDOR_SUBCMD_SPECTRAL_SCAN_GET_STATUS = 161, QCA_NL80211_VENDOR_SUBCMD_HTT_STATS = 162, QCA_NL80211_VENDOR_SUBCMD_GET_RROP_INFO = 163, + QCA_NL80211_VENDOR_SUBCMD_GET_SAR_LIMITS = 164, }; enum qca_wlan_vendor_tos { @@ -4594,7 +4601,9 @@ enum qca_wlan_vendor_tdls_trigger_mode { * * This enumerates the valid set of values that may be supplied for * attribute %QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SELECT in an instance of - * the %QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS vendor command. + * the %QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS vendor command or in + * the response to an instance of the + * %QCA_NL80211_VENDOR_SUBCMD_GET_SAR_LIMITS vendor command. */ enum qca_vendor_attr_sar_limits_selections { QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SELECT_BDF0 = 0, @@ -4618,7 +4627,8 @@ enum qca_vendor_attr_sar_limits_selections { * attribute %QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SPEC_MODULATION in an * instance of attribute %QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SPEC in an * instance of the %QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS vendor - * command. + * command or in the response to an instance of the + * %QCA_NL80211_VENDOR_SUBCMD_GET_SAR_LIMITS vendor command. */ enum qca_vendor_attr_sar_limits_spec_modulations { QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SPEC_MODULATION_CCK = 0, @@ -4675,7 +4685,8 @@ enum qca_vendor_attr_sar_limits_spec_modulations { * value to specify the actual power limit value in steps of 0.5 * dbm. * - * These attributes are used with %QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS. + * These attributes are used with %QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS + * and %QCA_NL80211_VENDOR_SUBCMD_GET_SAR_LIMITS. */ enum qca_vendor_attr_sar_limits { QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_INVALID = 0,