1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef __MAC80211_HWSIM_H 20 #define __MAC80211_HWSIM_H 21 enum hwsim_tx_control_flags { 22 HWSIM_TX_CTL_REQ_TX_STATUS = BIT(0), 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 HWSIM_TX_CTL_NO_ACK = BIT(1), 25 HWSIM_TX_STAT_ACK = BIT(2), 26 }; 27 enum { 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 HWSIM_CMD_UNSPEC, 30 HWSIM_CMD_REGISTER, 31 HWSIM_CMD_FRAME, 32 HWSIM_CMD_TX_INFO_FRAME, 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 HWSIM_CMD_NEW_RADIO, 35 HWSIM_CMD_DEL_RADIO, 36 HWSIM_CMD_GET_RADIO, 37 __HWSIM_CMD_MAX, 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 }; 40 #define HWSIM_CMD_MAX (_HWSIM_CMD_MAX - 1) 41 #define HWSIM_CMD_CREATE_RADIO HWSIM_CMD_NEW_RADIO 42 #define HWSIM_CMD_DESTROY_RADIO HWSIM_CMD_DEL_RADIO 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 enum { 45 HWSIM_ATTR_UNSPEC, 46 HWSIM_ATTR_ADDR_RECEIVER, 47 HWSIM_ATTR_ADDR_TRANSMITTER, 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 HWSIM_ATTR_FRAME, 50 HWSIM_ATTR_FLAGS, 51 HWSIM_ATTR_RX_RATE, 52 HWSIM_ATTR_SIGNAL, 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 HWSIM_ATTR_TX_INFO, 55 HWSIM_ATTR_COOKIE, 56 HWSIM_ATTR_CHANNELS, 57 HWSIM_ATTR_RADIO_ID, 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 HWSIM_ATTR_REG_HINT_ALPHA2, 60 HWSIM_ATTR_REG_CUSTOM_REG, 61 HWSIM_ATTR_REG_STRICT_REG, 62 HWSIM_ATTR_SUPPORT_P2P_DEVICE, 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 HWSIM_ATTR_USE_CHANCTX, 65 HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE, 66 HWSIM_ATTR_RADIO_NAME, 67 HWSIM_ATTR_NO_VIF, 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 HWSIM_ATTR_FREQ, 70 __HWSIM_ATTR_MAX, 71 }; 72 #define HWSIM_ATTR_MAX (__HWSIM_ATTR_MAX - 1) 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 struct hwsim_tx_rate { 75 s8 idx; 76 u8 count; 77 } __packed; 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 #endif 80 81