![]() |
|
|||
0001 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 0002 /* 0003 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 0004 */ 0005 0006 /* "API" level of the ath11k testmode interface. Bump it after every 0007 * incompatible interface change. 0008 */ 0009 #define ATH11K_TESTMODE_VERSION_MAJOR 1 0010 0011 /* Bump this after every _compatible_ interface change, for example 0012 * addition of a new command or an attribute. 0013 */ 0014 #define ATH11K_TESTMODE_VERSION_MINOR 0 0015 0016 #define ATH11K_TM_DATA_MAX_LEN 5000 0017 0018 enum ath11k_tm_attr { 0019 __ATH11K_TM_ATTR_INVALID = 0, 0020 ATH11K_TM_ATTR_CMD = 1, 0021 ATH11K_TM_ATTR_DATA = 2, 0022 ATH11K_TM_ATTR_WMI_CMDID = 3, 0023 ATH11K_TM_ATTR_VERSION_MAJOR = 4, 0024 ATH11K_TM_ATTR_VERSION_MINOR = 5, 0025 ATH11K_TM_ATTR_WMI_OP_VERSION = 6, 0026 0027 /* keep last */ 0028 __ATH11K_TM_ATTR_AFTER_LAST, 0029 ATH11K_TM_ATTR_MAX = __ATH11K_TM_ATTR_AFTER_LAST - 1, 0030 }; 0031 0032 /* All ath11k testmode interface commands specified in 0033 * ATH11K_TM_ATTR_CMD 0034 */ 0035 enum ath11k_tm_cmd { 0036 /* Returns the supported ath11k testmode interface version in 0037 * ATH11K_TM_ATTR_VERSION. Always guaranteed to work. User space 0038 * uses this to verify it's using the correct version of the 0039 * testmode interface 0040 */ 0041 ATH11K_TM_CMD_GET_VERSION = 0, 0042 0043 /* The command used to transmit a WMI command to the firmware and 0044 * the event to receive WMI events from the firmware. Without 0045 * struct wmi_cmd_hdr header, only the WMI payload. Command id is 0046 * provided with ATH11K_TM_ATTR_WMI_CMDID and payload in 0047 * ATH11K_TM_ATTR_DATA. 0048 */ 0049 ATH11K_TM_CMD_WMI = 1, 0050 };
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |