]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Additional QCA vendor attributes for Tx power boost inference
authorSrinivas Girigowda <quic_sgirigow@quicinc.com>
Tue, 22 Apr 2025 18:03:06 +0000 (11:03 -0700)
committerJouni Malinen <j@w1.fi>
Fri, 25 Apr 2025 20:20:49 +0000 (23:20 +0300)
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 <quic_sgirigow@quicinc.com>
src/common/qca-vendor.h

index 23eb91cd741c229bf771c807f45480a0e4fcc5d9..63fee57e06d83563583a581f15a8db81e989b0e7 100644 (file)
@@ -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,