Add QCA vendor attribute indicating the spectral transport mode
Add a vendor attribute QCA_WLAN_VENDOR_ATTR_SPECTRAL_DATA_TRANSPORT_MODE to indicate the current spectral data transport mechanism to be used to get spectral scan samples from the driver to userspace. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
b83797a3eb
commit
8f9da72d2e
1 changed files with 20 additions and 0 deletions
|
@ -7763,6 +7763,12 @@ enum qca_wlan_vendor_attr_spectral_scan {
|
||||||
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_FFT_RECAPTURE = 31,
|
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_FFT_RECAPTURE = 31,
|
||||||
/* Attribute used for padding for 64-bit alignment */
|
/* Attribute used for padding for 64-bit alignment */
|
||||||
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_PAD = 32,
|
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_AFTER_LAST,
|
||||||
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_MAX =
|
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,
|
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 */
|
#endif /* QCA_VENDOR_H */
|
||||||
|
|
Loading…
Reference in a new issue