1 /* Upstream source: 2 * https://github.com/torvalds/linux/blob/master/drivers/net/wireless/virtual/mac80211_hwsim.h 3 */ 4 5 #ifndef __LINUX_MAC80211_HWSIM_H 6 #define __LINUX_MAC80211_HWSIM_H 7 8 #include <stdint.h> 9 #include <linux/nl80211.h> 10 11 enum hwsim_commands { 12 HWSIM_CMD_OFFSET = NL80211_CMD_MAX, 13 HWSIM_CMD_REGISTER, 14 HWSIM_CMD_FRAME, 15 HWSIM_CMD_TX_INFO_FRAME, 16 HWSIM_CMD_NEW_RADIO, 17 HWSIM_CMD_DEL_RADIO, 18 HWSIM_CMD_GET_RADIO, 19 HWSIM_CMD_ADD_MAC_ADDR, 20 HWSIM_CMD_DEL_MAC_ADDR, 21 HWSIM_CMD_START_PMSR, 22 HWSIM_CMD_ABORT_PMSR, 23 HWSIM_CMD_REPORT_PMSR, 24 }; 25 26 enum hwsim_attrs { 27 HWSIM_ATTR_UNSPEC, 28 HWSIM_ATTR_ADDR_RECEIVER, 29 HWSIM_ATTR_ADDR_TRANSMITTER, 30 HWSIM_ATTR_FRAME, 31 HWSIM_ATTR_FLAGS, 32 HWSIM_ATTR_RX_RATE, 33 HWSIM_ATTR_SIGNAL, 34 HWSIM_ATTR_TX_INFO, 35 HWSIM_ATTR_COOKIE, 36 HWSIM_ATTR_CHANNELS, 37 HWSIM_ATTR_RADIO_ID, 38 HWSIM_ATTR_REG_HINT_ALPHA2, 39 HWSIM_ATTR_REG_CUSTOM_REG, 40 HWSIM_ATTR_REG_STRICT_REG, 41 HWSIM_ATTR_SUPPORT_P2P_DEVICE, 42 HWSIM_ATTR_USE_CHANCTX, 43 HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE, 44 HWSIM_ATTR_RADIO_NAME, 45 HWSIM_ATTR_NO_VIF, 46 HWSIM_ATTR_FREQ, 47 HWSIM_ATTR_PAD, 48 HWSIM_ATTR_TX_INFO_FLAGS, 49 HWSIM_ATTR_PERM_ADDR, 50 HWSIM_ATTR_IFTYPE_SUPPORT, 51 HWSIM_ATTR_CIPHER_SUPPORT, 52 HWSIM_ATTR_MLO_SUPPORT, 53 HWSIM_ATTR_PMSR_SUPPORT, 54 HWSIM_ATTR_PMSR_REQUEST, 55 HWSIM_ATTR_PMSR_RESULT, 56 }; 57 58 enum hwsim_rate_info_attributes { 59 HWSIM_RATE_INFO_ATTR_UNSPEC, 60 HWSIM_RATE_INFO_ATTR_FLAGS, 61 HWSIM_RATE_INFO_ATTR_MCS, 62 HWSIM_RATE_INFO_ATTR_LEGACY, 63 HWSIM_RATE_INFO_ATTR_NSS, 64 HWSIM_RATE_INFO_ATTR_BW, 65 HWSIM_RATE_INFO_ATTR_HE_GI, 66 HWSIM_RATE_INFO_ATTR_HE_DCM, 67 HWSIM_RATE_INFO_ATTR_HE_RU_ALLOC, 68 HWSIM_RATE_INFO_ATTR_N_BOUNDED_CH, 69 HWSIM_RATE_INFO_ATTR_EHT_GI, 70 HWSIM_RATE_INFO_ATTR_EHT_RU_ALLOC, 71 }; 72 73 struct hwsim_tx_rate { 74 int8_t idx; 75 uint8_t count; 76 } __attribute__((packed)); 77 78 struct hwsim_tx_rate_flag { 79 int8_t idx; 80 uint16_t flags; 81 } __attribute__((packed)); 82 83 #endif /* __LINUX_MAC80211_HWSIM_H */ 84
This page was automatically generated by LXR 0.3.1. • OpenWrt