|
@@ -8777,6 +8777,21 @@ enum qca_wlan_vendor_attr_beacon_reporting_params {
|
|
|
QCA_WLAN_VENDOR_ATTR_BEACON_REPORTING_LAST - 1
|
|
|
};
|
|
|
|
|
|
+/**
|
|
|
+ * enum qca_vendor_oem_device_type - Represents the target device in firmware.
|
|
|
+ * It is used by QCA_WLAN_VENDOR_ATTR_OEM_DEVICE_INFO.
|
|
|
+ *
|
|
|
+ * @QCA_VENDOR_OEM_DEVICE_VIRTUAL: The command is intended for
|
|
|
+ * a virtual device.
|
|
|
+ *
|
|
|
+ * @QCA_VENDOR_OEM_DEVICE_PHYSICAL: The command is intended for
|
|
|
+ * a physical device.
|
|
|
+ */
|
|
|
+enum qca_vendor_oem_device_type {
|
|
|
+ QCA_VENDOR_OEM_DEVICE_VIRTUAL = 0,
|
|
|
+ QCA_VENDOR_OEM_DEVICE_PHYSICAL = 1,
|
|
|
+};
|
|
|
+
|
|
|
/*
|
|
|
* enum qca_wlan_vendor_attr_oem_data_params - Used by the vendor command
|
|
|
* QCA_NL80211_VENDOR_SUBCMD_OEM_DATA.
|
|
@@ -8787,6 +8802,14 @@ enum qca_wlan_vendor_attr_beacon_reporting_params {
|
|
|
* driver to userspace. The request to set/query the data and the format of the
|
|
|
* respective data from the firmware are embedded in the attribute. The
|
|
|
* maximum size of the attribute payload is 1024 bytes.
|
|
|
+ *
|
|
|
+ * @QCA_WLAN_VENDOR_ATTR_OEM_DEVICE_INFO: The binary blob will be routed
|
|
|
+ * based on this field. This optional attribute is included to specify whether
|
|
|
+ * the device type is a virtual device or a physical device for the command.
|
|
|
+ * This attribute can be omitted for a virtual device (default) command.
|
|
|
+ * This u8 attribute is used to carry information for the device type using
|
|
|
+ * values defined by enum qca_vendor_oem_device_type.
|
|
|
+ *
|
|
|
* Userspace has to set the QCA_WLAN_VENDOR_ATTR_OEM_DATA_RESPONSE_EXPECTED
|
|
|
* attribute when the data is queried from the firmware.
|
|
|
*
|
|
@@ -8797,6 +8820,7 @@ enum qca_wlan_vendor_attr_beacon_reporting_params {
|
|
|
enum qca_wlan_vendor_attr_oem_data_params {
|
|
|
QCA_WLAN_VENDOR_ATTR_OEM_DATA_INVALID = 0,
|
|
|
QCA_WLAN_VENDOR_ATTR_OEM_DATA_CMD_DATA = 1,
|
|
|
+ QCA_WLAN_VENDOR_ATTR_OEM_DEVICE_INFO = 2,
|
|
|
QCA_WLAN_VENDOR_ATTR_OEM_DATA_RESPONSE_EXPECTED = 3,
|
|
|
|
|
|
/* keep last */
|