ENUM HWSIM_ATTRS(9)
πΈ enum hwsim_attrs(9) πΈ
okay bestie, welcome to the Kernel API Manual β¨ β this is the enum hwsim_attrs page, and it's literally the whole dictionary of hwsim netlink attributes. no cap, every single one matters π«Ά
π NAME π
enum hwsim_attrs β hwsim netlink attributes
β¨ SYNOPSIS β¨
enum hwsim_attrs {
HWSIM_ATTR_UNSPEC ,
HWSIM_ATTR_ADDR_RECEIVER ,
HWSIM_ATTR_ADDR_TRANSMITTER ,
HWSIM_ATTR_FRAME ,
HWSIM_ATTR_FLAGS ,
HWSIM_ATTR_RX_RATE ,
HWSIM_ATTR_SIGNAL ,
HWSIM_ATTR_TX_INFO ,
HWSIM_ATTR_COOKIE ,
HWSIM_ATTR_CHANNELS ,
HWSIM_ATTR_RADIO_ID ,
HWSIM_ATTR_REG_HINT_ALPHA2 ,
HWSIM_ATTR_REG_CUSTOM_REG ,
HWSIM_ATTR_REG_STRICT_REG ,
HWSIM_ATTR_SUPPORT_P2P_DEVICE ,
HWSIM_ATTR_USE_CHANCTX ,
HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE ,
HWSIM_ATTR_RADIO_NAME ,
HWSIM_ATTR_NO_VIF ,
HWSIM_ATTR_FREQ ,
HWSIM_ATTR_PAD ,
HWSIM_ATTR_TX_INFO_FLAGS ,
HWSIM_ATTR_PERM_ADDR ,
HWSIM_ATTR_IFTYPE_SUPPORT ,
HWSIM_ATTR_CIPHER_SUPPORT ,
HWSIM_ATTR_MLO_SUPPORT ,
HWSIM_ATTR_PMSR_SUPPORT ,
HWSIM_ATTR_PMSR_REQUEST ,
HWSIM_ATTR_PMSR_RESULT ,
HWSIM_ATTR_MULTI_RADIO ,
HWSIM_ATTR_SUPPORT_NAN_DEVICE ,
HWSIM_ATTR_SUPPORT_BACKGROUND_RADAR ,
__HWSIM_ATTR_MAX
};
π Constants π
like, the full roster, no skips, iykyk π
HWSIM_ATTR_UNSPECβ the unspecified attribute, there purely to catch errors πHWSIM_ATTR_ADDR_RECEIVERβ MAC address of the radio device that the frame is broadcasted to π‘HWSIM_ATTR_ADDR_TRANSMITTERβ MAC address of the radio device that the frame was broadcasted from π°οΈHWSIM_ATTR_FRAMEβ a Data array, literally just data πHWSIM_ATTR_FLAGSβ mac80211 transmission flags, used to process properly the frame at user space π©HWSIM_ATTR_RX_RATEβ estimated rx rate index for this frame at user space πΆHWSIM_ATTR_SIGNALβ estimated RX signal for this frame at user space πHWSIM_ATTR_TX_INFOβ anieee80211_tx_ratearray πHWSIM_ATTR_COOKIEβ sk_buff cookie to identify the frame πͺHWSIM_ATTR_CHANNELSβ a u32 attribute used with theHWSIM_CMD_NEW_RADIOcommand, giving the number of channels supported by the new radio π»HWSIM_ATTR_RADIO_IDβ a u32 attribute used withHWSIM_CMD_DESTROY_RADIOonly, to destroy a radio πHWSIM_ATTR_REG_HINT_ALPHA2β alpha2 for regulatory driver hint (nla string, length 2) πHWSIM_ATTR_REG_CUSTOM_REGβ custom regulatory domain index (u32 attribute) πΊοΈHWSIM_ATTR_REG_STRICT_REGβ requestsREGULATORY_STRICT_REG(flag attribute) π¨HWSIM_ATTR_SUPPORT_P2P_DEVICEβ support P2P Device virtual interface (flag) π«ΆHWSIM_ATTR_USE_CHANCTXβ used with theHWSIM_CMD_NEW_RADIOcommand to force use of channel contexts even when only a single channel is supported πHWSIM_ATTR_DESTROY_RADIO_ON_CLOSEβ used with theHWSIM_CMD_NEW_RADIOcommand to force radio removal when the process that created the radio dies πHWSIM_ATTR_RADIO_NAMEβ Name of radio, e.g.phy666πHWSIM_ATTR_NO_VIFβ Do not create vif (wlanX) when creating radio. πHWSIM_ATTR_FREQβ Frequency at which packet is transmitted or received. π‘HWSIM_ATTR_PADβ padding attribute for 64-bit values, ignore π§HWSIM_ATTR_TX_INFO_FLAGSβ additional flags for corresponding rates ofHWSIM_ATTR_TX_INFOπ΄HWSIM_ATTR_PERM_ADDRβ permanent mac address of new radio πͺͺHWSIM_ATTR_IFTYPE_SUPPORTβ u32 attribute of supported interface types bits π’HWSIM_ATTR_CIPHER_SUPPORTβ u32 array of supported cipher types πHWSIM_ATTR_MLO_SUPPORTβ claim MLO support (exact parameters TBD) for the new radio π§ͺHWSIM_ATTR_PMSR_SUPPORTβ nested attribute used withHWSIM_CMD_NEW_RADIOto provide peer measurement capabilities. (nl80211_peer_measurement_attrs) πHWSIM_ATTR_PMSR_REQUESTβ nested attribute used withHWSIM_CMD_START_PMSRto provide details about peer measurement request (nl80211_peer_measurement_attrs) π¨HWSIM_ATTR_PMSR_RESULTβ nested attributed used withHWSIM_CMD_REPORT_PMSRto provide peer measurement result (nl80211_peer_measurement_attrs) πHWSIM_ATTR_MULTI_RADIOβ Register multiple wiphy radios (flag). Adds one radio for each band. Number of supported channels will be set for each radio instead of for the wiphy. ποΈHWSIM_ATTR_SUPPORT_NAN_DEVICEβ support NAN Device virtual interface (flag) π¦HWSIM_ATTR_SUPPORT_BACKGROUND_RADARβ background radar/CAC support (flag) π₯__HWSIM_ATTR_MAXβ enum limit, the final boss π
π SEE ALSO π
Kernel file ./drivers/net/wireless/virtual/mac80211_hwsim.h, then: enum hwsim_tx_control_flags(9), Frame transmission/registration support(9), enum hwsim_commands(9), struct hwsim_tx_rate(9), enum hwsim_tx_rate_flags(9), struct hwsim_tx_rate_flag(9), Frame transmission support over virtio(9), enum hwsim_vqs(9), enum hwsim_rate_info_attributes(9) π
bestie this is kernel source territory β go read the actual header before you go poking at radios, k? π«Ά
and that's the whole page fr fr π
this came from ./drivers/net/wireless/virtual, dated October 2026 β iconic, mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms