From: Srinivas Girigowda Date: Tue, 22 Apr 2025 18:03:06 +0000 (-0700) Subject: Additional QCA vendor attributes for Tx power boost inference X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03a434db22986292a354fadb27acb3d304892e15;p=thirdparty%2Fhostap.git Additional QCA vendor attributes for Tx power boost inference Add QCA vendor attributes to send TX power and TX chain index of an inferencing packet from the driver to the user space. Signed-off-by: Srinivas Girigowda --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 23eb91cd7..63fee57e0 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -19452,8 +19452,19 @@ enum qca_wlan_vendor_attr_flow_status { * passed back to the driver as part of the command * @QCA_NL80211_VENDOR_SUBCMD_IQ_DATA_INFERENCE * to maintain synchronization between commands and asynchronous events. + * * @QCA_WLAN_VENDOR_ATTR_IQ_DATA_INFERENCE_PAD: Attribute used for padding for * 64-bit alignment. + * + * @QCA_WLAN_VENDOR_ATTR_IQ_DATA_INFERENCE_TX_POWER: s32 attribute represents + * the TX power of an inferencing packet (in dBm). + * This is sent from the driver to user space as part of event + * @QCA_NL80211_VENDOR_SUBCMD_IQ_DATA_INFERENCE. + * + * @QCA_WLAN_VENDOR_ATTR_IQ_DATA_INFERENCE_TX_CHAIN_IDX: u32 attribute + * represents the TX chain index on which inferencing is requested for. + * This is sent from the driver to user space as part of event + * @QCA_NL80211_VENDOR_SUBCMD_IQ_DATA_INFERENCE. */ enum qca_wlan_vendor_attr_iq_data_inference { QCA_WLAN_VENDOR_ATTR_IQ_DATA_INFERENCE_INVALID = 0, @@ -19472,6 +19483,8 @@ enum qca_wlan_vendor_attr_iq_data_inference { QCA_WLAN_VENDOR_ATTR_IQ_DATA_INFERENCE_STATUS = 13, QCA_WLAN_VENDOR_ATTR_IQ_DATA_INFERENCE_COOKIE = 14, QCA_WLAN_VENDOR_ATTR_IQ_DATA_INFERENCE_PAD = 15, + QCA_WLAN_VENDOR_ATTR_IQ_DATA_INFERENCE_TX_POWER = 16, + QCA_WLAN_VENDOR_ATTR_IQ_DATA_INFERENCE_TX_CHAIN_IDX = 17, /* keep last */ QCA_WLAN_VENDOR_ATTR_IQ_DATA_INFERENCE_AFTER_LAST,