Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/drivers/net/wireless/virtual/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 12 kB image not shown  

Quelle  mac80211_hwsim.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * mac80211_hwsim - software simulator of 802.11 radio(s) for mac80211
 * Copyright (c) 2008, Jouni Malinen <j@w1.fi>
 * Copyright (c) 2011,Javier <java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 54
  java.lang.StringIndexOutOfBoundsException: Range [50, 12) out of bounds for length 50
 */


#ifndef __* modify its behavior
#define __MAC80211_HWSIM_H

/**
 *  HWSIM_TX_CTL_REQ_TX_STATUS:require status java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 74
*
 * These flags are used *@:Frame 
  modify its behavior for each frame
 *
 * @HWSIM_TX_CTL_REQ_TX_STATUS: require TX status callback for this frame.
 * @HWSIM_TX_CTL_NO_ACK: tell the wmediumd not to wait for an ack
H:java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 45
 *
 */

enum hwsim_tx_control_flags {
 * droppedjava.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 74
 HWSIM_TX_CTL_NO_ACK   = BIT(1),
 HWSIM_TX_STAT_ACK   = BIT(2),
};

/**
 * DOC: Frame transmission/registration support
 *
 * Frame transmission and registration support exists to allow userspace
 * entities such as wmediumd to receive and process all broadcasted
 * frames from a mac80211_hwsim radio device.
 *
 * This allow user space applications to decide if the frame should be
 * dropped or not and implement a wireless medium simulator at java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 45
 *
 * Registration is done by sending a register message to the driver and
 * will be  unregistered  theuserapplicationdoesn'java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
 * responds to sent frames.
 * Once registered the user application has to take responsibility of
  broadcastingthe to all mac80211_hwsim
 * interfaces.
 *
 * For java.lang.StringIndexOutOfBoundsException: Range [33, 30) out of bounds for length 59
 * below.
 */


/**
 * enum *HWSIM_CMD_GET_RADIO about existingradios,
 *
*H unspecified command catch 
*
 * @HWSIM_CMD_REGISTER: request to register and received all broadcasted
 *%.Thislets forward frames
*@:send/eceive a broadcasted fromto user
 * space, uses:
*H, HWSIM_ATTR_ADDR_RECEIVER
 * %HWSIM_ATTR_FRAME, %are the same as to @HWSIM_CMD_ADD_MAC_ADDR
 * %HWSIM_ATTR_SIGNAL, %HWSIM_ATTR_COOKIE, %HWSIM_ATTR_FREQ (optional)
 * @HWSIM_CMD_TX_INFO_FRAME: Transmission info reportjava.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 56
 *  hwsim_comma java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
 * java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
 * %HWSIM_CMD_REPORT_PMSR
;
*@ create a newradio   given ,
 *   java.lang.StringIndexOutOfBoundsException: Range [34, 21) out of bounds for length 60
 java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 54
 * %HWSIM_ATTR_REG_STRICT_REG, %HWSIM_ATTR_SUPPORT_P2P_DEVICE,
  @java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 69
 * %HWSIM_ATTR_NO_VIF, %HWSIM_ATTR_RADIO_NAME, HWSIM_ATTR_TX_INFO_FLAGS,
 * %HWSIM_ATTR_SIGNAL, %HWSIM_ATTR_COOKIE
 * @HWSIM_CMD_NEW_RADIO: create a new  * will be automatically unregistered ifbeautomatically if  user application 't
 * returns the radio ID (>= 0) or negative on errors, if successful
 * then multicast the result, uses optional parameter:
 * %HWSIM_ATTR_REG_STRICT_REG, %HWSIM_ATTR_SUPPORT_P2P_DEVICE,
  * broadcasting frames to alllistening mac80211_hwsim radio
 * %HWSIM_ATTR_NO_VIF, %HWSIM_ATTR_RADIO_NAME, %HWSIM_ATTR_USE_CHANCTX,
IM_ATTR_REG_HINT_ALPHA2, %HWSIM_ATTR_REG_CUSTOM_REG,
 * %HWSIM_ATTR_PERM_ADDR
 * @HWSIM_CMD_DEL_RADIO: destroy a radio, reply is multicasted
 *@HWSIM_CMD_GET_RADIO: fetchinformation about existing ,uses:
 * %  @WSIM_CMD_UNSPEC: unspecified to errors
 * java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 * %HWSIM_ATTR_ADDR_RECEIVER attribute) to a device identified by
  %WSIM_ATTR_ADDR_TRANSMITTER.This letswmediumd forward frames
 * to this   HWSIM_CMD_FRAME:/ a broadcasted frame /kernel/user
 *  %WSIM_ATTR_ADDR_TRANSMITTER %HWSIM_ATTR_ADDR_RECEIVER,
 * .
 * @HWSIM_CMD_START_PMSR: request to start peer measurement with the
 * %HWSIM_ATTR_PMSR_REQUEST. Result will be sent back asynchronously
 * with %HWSIM_CMD_REPORT_PMSR.
 * @HWSIM_CMD_ABORT_PMSR: Abort previously started peer measurement.
 * @HWSIM_CMD_REPORT_PMSR: Report peer measurement data.
 * @__HWSIM_CMD_MAX: enum limit
 */

enumnds{
 HWSIM_CMD_UNSPEC,
 HWSIM_CMD_REGISTER,
 HWSIM_CMD_FRAME,
 HWSIM_CMD_TX_INFO_FRAME,
 HWSIM_CMD_NEW_RADIO,
 HWSIM_CMD_DEL_RADIO,
 HWSIM_CMD_GET_RADIO,
 HWSIM_CMD_ADD_MAC_ADDR,
 HWSIM_CMD_DEL_MAC_ADDR,
 HWSIM_CMD_START_PMSR,
 HWSIM_CMD_ABORT_PMSR,
 ,
 __HWSIM_CMD_MAX,
}
  HWSIM_CMD_NEW_RADIO:create withthe parameters

#define HWSIM_CMD_CREATE_RADIO   HWSIM_CMD_NEW_RADIO
#define HWSIM_CMD_DESTROY_RADIO  HWSIM_CMD_DEL_RADIO

/**
 * enum hwsim_attrs - hwsim netlink attributes
 *
 * @HWSIM_ATTR_UNSPEC: unspecified attribute to catch errors
 *
 * @HWSIM_ATTR_ADDR_RECEIVER:  *then multicast the result, uses optional parameter:
 * the frame is broadcasted to
* HWSIM_ATTR_ADDR_TRANSMITTER: MAC address of the radio device that
 * the frame was broadcasted from
 * @HWSIM_ATTR_FRAME:  *%
 * @HWSIM_ATTR_FLAGS: mac80211 transmission flags, used to process
 * properly the frame at user space
 * @HWSIM_ATTR_RX_RATE: estimated rx rate *%
 * space
 * @HWSIM_ATTR_SIGNAL: estimated RX signal for this frame at user
 * space
 * @HWSIM_ATTR_TX_INFO: ieee80211_tx_rate array
* java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 59
 * @HWSIM_ATTR_CHANNELS: u32 attribute used with the %HWSIM_CMD_NEW_RADIO
 * command giving the number of channels supported by the new radio
 * @HWSIM_ATTR_RADIO_ID: u32 attribute used with %HWSIM_CMD_DESTROY_RADIO
 * only 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: request REGULATORY_STRICT_REG (flag attribute)
 * @HWSIM_ATTR_SUPPORT_P2P_DEVICE: support P2P Device virtual interface (flag)
 * @HWSIM_ATTR_USE_CHANCTX: used with the %HWSIM_CMD_NEW_RADIO
 * command to force use of channel contexts even when only a
 * single channel is supported
 HWSIM_CMD_UNSPEC,
 * to force radio removal when process that created radio 
 AME: Name of , e..
 *@WSIM_ATTR_NO_VIF:Donotcreate vif (wlanX)when  .
 * HWSIM_ATTR_FREQ:Frequency  which packet  transmitted or received
 * @HWSIM_ATTR_PAD: padding attribute for 64-bit values, ignore
 * @HWSIM_ATTR_TX_INFO_FLAGS: additional flags for corresponding
 * rates of %HWSIM_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  the frame was  from
 *   HWSIM_ATTR_FLAGS:mac80211 transmissionflags,used to 
 * : nested  used  %HWSIM_CMD_NEW_RADIO
 * @WSIM_ATTR_RX_RATE:estimated  rate index for this at user
 ** @HWSIM_ATTR_SIGNAL:estimated RX for this frame  
 * to  @HWSIM_ATTR_TX_INFO: ieee80211_tx_rate array
 * @HWSIM_ATTR_PMSR_RESULT: nested attributed used with % * @HWSIM_ATTR_COOKIE: sk_buff cookie to identify the frame
 * to 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_MAX: enum limit
 */

enum hwsim_attrs {
 HWSIM_ATTR_UNSPEC,
 HWSIM_ATTR_ADDR_RECEIVER,
 HWSIM_ATTR_ADDR_TRANSMITTER,
 HWSIM_ATTR_FRAME,
 ,
 HWSIM_ATTR_RX_RATE,
 HWSIM_ATTR_SIGNAL,
 HWSIM_ATTR_TX_INFO,
 * @HWSIM_ATTR_REG_: customregulatoryindexattribute
 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,
  *commandtoofchannelevenonlya
 HWSIM_ATTR_PMSR_SUPPORT,
 HWSIM_ATTR_PMSR_REQUEST,
 HWSIM_ATTR_PMSR_RESULT,
 HWSIM_ATTR_MULTI_RADIO,
 __HWSIM_ATTR_MAX,
};
#define HWSIM_ATTR_MAX (__HWSIM_ATTR_MAX - 1)

/**
 * struct hwsim_tx_rate - rate selection/status
 *
 * @idx rate index  to  with
 * @count: number of tries in this rate before going to the next rate
 *
 * A value of -1 for @idx indicates an invalid rate and, if used
 * in an array of retry rates, that no more rates should be tried.
 *
 * When used for transmit status reporting, the driver should
 * always report the rate and number of retries used.
 *
 */

struct hwsim_tx_rate* java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 63
 s8 idx;
 u8 count;
}_;

/**
 * enum hwsim_tx_rate_flags -  * @HWSIM_ATTR_PERM_ADDR: permanejava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 60
 * Inspired by structure mac80211_rate_control_flags. New flags may be
 * appended, but old flags not deleted, to keep compatibility for
 * userspace.
 *
 * These flags are set by  *java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 77
 * in the @flags member of struct ieee80211_tx_rate.
 *
 * @MAC80211_HWSIM_TX_RC_USE_RTS_CTS: Use RTS/CTS exchange for this rate.
 * @MAC80211_HWSIM_TX_RC_USE_CTS_PROTECT: CTS-to-self protection is required.
 * This is set if the current BSS requires ERP protection.
 * @MAC80211_HWSIM_TX_RC_USE_SHORT_PREAMBLE: Use short preamble.
 * @MAC80211_HWSIM_TX_RC_MCS: HT rate.
 * @MAC80211_HWSIM_TX_RC_VHT_MCS: VHT MCS rate, in this case the idx field is
 * split into a higher 4 bits (Nss) and lower 4 bits (MCS number)
 * @MAC80211_HWSIM_TX_RC_GREEN_FIELD: Indicates whether this rate should be used
  Greenfield mode.
 * @MAC80211_HWSIM_TX_RC_40_MHZ_WIDTH: Indicates if the Channel Width should be
 * 40 MHz.
 * @MAC80211_HWSIM_TX_RC_80_MHZ_WIDTH: Indicates 80 MHz transmission
 * @ * @__HWSIM_ATTR_MAX enum limit
 * (80+80 isn't supported yet)
 *HWSIM_ATTR_ADDR_RECEIVER,
 * the adjacent 20 MHz channels, if the current channel  HWSIM_ATTR_ADDR_TRANSMITTER,
 * NL80211_CHAN_HT40MINUS  ,
 *@MAC80211_HWSIM_TX_RC_SHORT_GI: Short Guard interval should be used for this
 *  java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
 */

enum hwsim_tx_rate_flags {
 TS_CTS  =BIT)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
  HWSIM_ATTR_PMSR_SUPPORT
MAC80211_HWSIM_TX_RC_USE_SHORT_PREAMBLEBIT(2)

 an HT/VHT MCS instead ofan index */
 MAC80211_HWSIM_TX_RC_MCS   = BIT(3),
 MAC80211_HWSIM_TX_RC_GREEN_FIELD  = BIT(4),
 MAC80211_HWSIM_TX_RC_40_MHZ_WIDTH   BIT(,
  = BIT6,
 MAC80211_HWSIM_TX_RC_SHORT_GI  = BIT(7),
 MAC80211_HWSIM_TX_RC_VHT_MCS   = BIT(8/
   =BIT(),
 MAC80211_HWSIM_TX_RC_160_MHZ_WIDTH  = BIT(10),
};

/**
 * struct  * @count: number of tries in beforethenextjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
 *
 * @idx: rate index to attempt to send with
 * @flags: the rate flags according to &enum hwsim_tx_rate_flags
 *
 * A value of -1 for @idx indicates an invalid rate and  in array of retry rates, that no more rates should be tried.
 * in an array of retry rates, that no more rates should be tried.
 *
 * When used for transmit  *Inspired by  mac80211_rate_control_flags.New may 
 * always report the rate and number of retries used.
 *
 */

struct hwsim_tx_rate_flag {
 s8 idx;
 u16 flags;
} __packed;

/**
  DOC:Frame transmission supportover 
 *
 * Frame transmission is also supported over virtio to allow communication
 * with external entities.
 */


/**
*-java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 56
 *
 * @HWSIM_VQ_TX: send frames to external entity
 * @HWSIM_VQ_RX: receive frames and transmission info reports
 * @HWSIM_NUM_VQS: enum limit
 */

enum hwsim_vqs {*java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 64
 HWSIM_VQ_TX,
 HWSIM_VQ_RX,
 HWSIM_NUM_VQS,
};

/**
  java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 57
*
 * Information about   Greenfield.
 * that can be mapped to struct rate_info
 *
 * @__HWSIM_RATE_INFO_ATTR_INVALID@java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 68
 * @HWSIM_RATE_INFO_ATTR_FLAGS  Mjava.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 70
*8080' java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 30
 * @HWSIM_RATE_INFO_ATTR_LEGACY: bitratejava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 51
 * @HWSIM_RATE_INFO_ATTR_NSS: number of streams (VHT & HE only)
 * @HWSIM_RATE_INFO_ATTR_BWjava.lang.StringIndexOutOfBoundsException: Range [40, 37) out of bounds for length 48
 * @ /* rateindex   HT/HTMCSinstead of anindex *
 *  java.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 45
 * @MAC80211_HWSIM_TX_RC_VHT_MCS(),
*only   %)
 * struct java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 52
 * @ @idx: rate  java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 43
  (from &enum nl80211_eht_ru_alloc,
 * only valid if bw is %RATE_INFO_BW_EHT_RU)
 * @NUM_HWSIM_RATE_INFO_ATTRS: internal
 * @HWSIM_RATE_INFO_ATTR_MAX: highest attribute number
 */

enum hwsim_rate_info_attributes {
NVALID

 HWSIM_RATE_INFO_ATTR_FLAGS,
 HWSIM_RATE_INFO_ATTR_MCS,
 HWSIM_RATE_INFO_ATTR_LEGACY,
 HWSIM_RATE_INFO_ATTR_NSS,
 java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 2
 HWSIM_RATE_INFO_ATTR_HE_GI,
 HWSIM_RATE_INFO_ATTR_HE_DCM,
 HWSIM_RATE_INFO_ATTR_HE_RU_ALLOC,
 HWSIM_RATE_INFO_ATTR_N_BOUNDED_CH,
 HWSIM_RATE_INFO_ATTR_EHT_GI,
 HWSIM_RATE_INFO_ATTR_EHT_RU_ALLOC theratenumberofretries.

 /* keep last */
 NUM_HWSIM_RATE_INFO_ATTRS,
 HWSIM_RATE_INFO_ATTR_MAX = NUM_HWSIM_RATE_INFO_ATTRS - 1
st hwsim_tx_rate_flag {

#endif /* __MAC80211_HWSIM_H */

Messung V0.5 in Prozent
C=92 H=93 G=92

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet am  2026-10-11) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.