diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 0856cf2ff..05fe09837 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -7763,6 +7763,12 @@ enum qca_wlan_vendor_attr_spectral_scan { QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_FFT_RECAPTURE = 31, /* Attribute used for padding for 64-bit alignment */ QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_PAD = 32, + /* Spectral data transport mode. u32 attribute. It uses values + * defined in enum qca_wlan_vendor_spectral_data_transport_mode. + * This is an optional attribute. If this attribute is not populated, + * the driver should configure the default transport mode to netlink. + */ + QCA_WLAN_VENDOR_ATTR_SPECTRAL_DATA_TRANSPORT_MODE = 33, QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_MAX = @@ -16951,4 +16957,18 @@ enum qca_wlan_vendor_attr_adjust_tx_power { QCA_WLAN_VENDOR_ATTR_ADJUST_TX_POWER_AFTER_LAST - 1, }; +/** + * enum qca_wlan_vendor_spectral_data_transport_mode - Attribute + * values for QCA_WLAN_VENDOR_ATTR_SPECTRAL_DATA_TRANSPORT_MODE. + * + * @QCA_WLAN_VENDOR_SPECTRAL_DATA_TRANSPORT_NETLINK: Use netlink to + * send spectral data to userspace applications. + * @QCA_WLAN_VENDOR_SPECTRAL_DATA_TRANSPORT_RELAY: Use relay interface + * to send spectral data to userspace applications. + */ +enum qca_wlan_vendor_spectral_data_transport_mode { + QCA_WLAN_VENDOR_SPECTRAL_DATA_TRANSPORT_NETLINK = 0, + QCA_WLAN_VENDOR_SPECTRAL_DATA_TRANSPORT_RELAY = 1, +}; + #endif /* QCA_VENDOR_H */