mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Add a vendor attribute to get OEM data
Add an attribute QCA_WLAN_VENDOR_ATTR_OEM_DATA_RESPONSE_EXPECTED to get the response for the queried data. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
3f9a89ca1c
commit
88436baaac
@ -8462,10 +8462,14 @@ enum qca_vendor_oem_device_type {
|
|||||||
* enum qca_wlan_vendor_attr_oem_data_params - Used by the vendor command/event
|
* enum qca_wlan_vendor_attr_oem_data_params - Used by the vendor command/event
|
||||||
* QCA_NL80211_VENDOR_SUBCMD_OEM_DATA.
|
* QCA_NL80211_VENDOR_SUBCMD_OEM_DATA.
|
||||||
*
|
*
|
||||||
* @QCA_WLAN_VENDOR_ATTR_OEM_DATA_CMD_DATA: The binary blob for the vendor
|
* @QCA_WLAN_VENDOR_ATTR_OEM_DATA_CMD_DATA: This NLA_BINARY attribute is
|
||||||
* command/event QCA_NL80211_VENDOR_SUBCMD_OEM_DATA are carried through this
|
* used to set/query the data to/from the firmware. On query, the same
|
||||||
* attribute.
|
* attribute is used to carry the respective data in the reply sent by the
|
||||||
* NLA_BINARY attribute, the max size is 1024 bytes.
|
* 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.
|
||||||
|
* Userspace has to set the QCA_WLAN_VENDOR_ATTR_OEM_DATA_RESPONSE_EXPECTED
|
||||||
|
* attribute when the data is queried from the firmware.
|
||||||
*
|
*
|
||||||
* @QCA_WLAN_VENDOR_ATTR_OEM_DEVICE_INFO: The binary blob will be routed
|
* @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
|
* based on this field. This optional attribute is included to specify whether
|
||||||
@ -8474,11 +8478,16 @@ enum qca_vendor_oem_device_type {
|
|||||||
* command/event.
|
* command/event.
|
||||||
* This u8 attribute is used to carry information for the device type using
|
* This u8 attribute is used to carry information for the device type using
|
||||||
* values defined by enum qca_vendor_oem_device_type.
|
* values defined by enum qca_vendor_oem_device_type.
|
||||||
|
*
|
||||||
|
* @QCA_WLAN_VENDOR_ATTR_OEM_DATA_RESPONSE_EXPECTED: This NLA_FLAG attribute
|
||||||
|
* is set when the userspace queries data from the firmware. This attribute
|
||||||
|
* should not be set when userspace sets the OEM data to the firmware.
|
||||||
*/
|
*/
|
||||||
enum qca_wlan_vendor_attr_oem_data_params {
|
enum qca_wlan_vendor_attr_oem_data_params {
|
||||||
QCA_WLAN_VENDOR_ATTR_OEM_DATA_INVALID = 0,
|
QCA_WLAN_VENDOR_ATTR_OEM_DATA_INVALID = 0,
|
||||||
QCA_WLAN_VENDOR_ATTR_OEM_DATA_CMD_DATA = 1,
|
QCA_WLAN_VENDOR_ATTR_OEM_DATA_CMD_DATA = 1,
|
||||||
QCA_WLAN_VENDOR_ATTR_OEM_DEVICE_INFO = 2,
|
QCA_WLAN_VENDOR_ATTR_OEM_DEVICE_INFO = 2,
|
||||||
|
QCA_WLAN_VENDOR_ATTR_OEM_DATA_RESPONSE_EXPECTED = 3,
|
||||||
|
|
||||||
/* keep last */
|
/* keep last */
|
||||||
QCA_WLAN_VENDOR_ATTR_OEM_DATA_PARAMS_AFTER_LAST,
|
QCA_WLAN_VENDOR_ATTR_OEM_DATA_PARAMS_AFTER_LAST,
|
||||||
|
Loading…
Reference in New Issue
Block a user