![]() |
|
|||
0001 /* SPDX-License-Identifier: ISC */ 0002 /* 0003 * Copyright (c) 2014,2017 Qualcomm Atheros, Inc. 0004 */ 0005 0006 /* "API" level of the ath10k testmode interface. Bump it after every 0007 * incompatible interface change. 0008 */ 0009 #define ATH10K_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 ATH10K_TESTMODE_VERSION_MINOR 0 0015 0016 #define ATH10K_TM_DATA_MAX_LEN 5000 0017 0018 enum ath10k_tm_attr { 0019 __ATH10K_TM_ATTR_INVALID = 0, 0020 ATH10K_TM_ATTR_CMD = 1, 0021 ATH10K_TM_ATTR_DATA = 2, 0022 ATH10K_TM_ATTR_WMI_CMDID = 3, 0023 ATH10K_TM_ATTR_VERSION_MAJOR = 4, 0024 ATH10K_TM_ATTR_VERSION_MINOR = 5, 0025 ATH10K_TM_ATTR_WMI_OP_VERSION = 6, 0026 0027 /* keep last */ 0028 __ATH10K_TM_ATTR_AFTER_LAST, 0029 ATH10K_TM_ATTR_MAX = __ATH10K_TM_ATTR_AFTER_LAST - 1, 0030 }; 0031 0032 /* All ath10k testmode interface commands specified in 0033 * ATH10K_TM_ATTR_CMD 0034 */ 0035 enum ath10k_tm_cmd { 0036 /* Returns the supported ath10k testmode interface version in 0037 * ATH10K_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 ATH10K_TM_CMD_GET_VERSION = 0, 0042 0043 /* Boots the UTF firmware, the netdev interface must be down at the 0044 * time. 0045 */ 0046 ATH10K_TM_CMD_UTF_START = 1, 0047 0048 /* Shuts down the UTF firmware and puts the driver back into OFF 0049 * state. 0050 */ 0051 ATH10K_TM_CMD_UTF_STOP = 2, 0052 0053 /* The command used to transmit a WMI command to the firmware and 0054 * the event to receive WMI events from the firmware. Without 0055 * struct wmi_cmd_hdr header, only the WMI payload. Command id is 0056 * provided with ATH10K_TM_ATTR_WMI_CMDID and payload in 0057 * ATH10K_TM_ATTR_DATA. 0058 */ 0059 ATH10K_TM_CMD_WMI = 3, 0060 };
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |