]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add vendor interface QCA_NL80211_VENDOR_SUBCMD_REQUEST_SAR_LIMITS_EVENT
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>
Fri, 24 Jan 2020 12:29:39 +0000 (17:59 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 24 Jan 2020 18:48:14 +0000 (20:48 +0200)
This commit introduces the vendor event
QCA_NL80211_VENDOR_SUBCMD_REQUEST_SAR_LIMITS_EVENT.
Host drivers can request user space application to set SAR power
limits with this event.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/qca-vendor.h

index 3e0d61a555edba246851569a08181a78144681d3..c24708f7b1806301944b6775b119dfb94a9599f6 100644 (file)
@@ -617,6 +617,14 @@ enum qca_radiotap_vendor_ids {
  *     association when in disconnected state. For AP mode, only information
  *     of the currently connected stations is available. This command uses
  *     attributes defined in enum qca_wlan_vendor_attr_get_sta_info.
+ *
+ * @QCA_NL80211_VENDOR_SUBCMD_REQUEST_SAR_LIMITS_EVENT: This acts as an event.
+ *     Host drivers can request the user space entity to set the SAR power
+ *     limits with this event. Accordingly, the user space entity is expected
+ *     to set the SAR power limits. Host drivers can retry this event to the
+ *     user space for the SAR power limits configuration from user space. If
+ *     the driver does not get the SAR power limits from user space for all
+ *     the retried attempts, it can configure a default SAR power limit.
  */
 enum qca_nl80211_vendor_subcmds {
        QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
@@ -793,6 +801,7 @@ enum qca_nl80211_vendor_subcmds {
        QCA_NL80211_VENDOR_SUBCMD_ADD_STA_NODE = 184,
        QCA_NL80211_VENDOR_SUBCMD_BTC_CHAIN_MODE = 185,
        QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO = 186,
+       QCA_NL80211_VENDOR_SUBCMD_GET_SAR_LIMITS_EVENT = 187,
 };
 
 enum qca_wlan_vendor_attr {