- java.lang.Object
-
- java.lang.Enum<Dot11HtControl.CsiOrSteering>
-
- org.pcap4j.packet.Dot11HtControl.CsiOrSteering
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Dot11HtControl.CsiOrSteering>
- Enclosing class:
- Dot11HtControl
public static enum Dot11HtControl.CsiOrSteering extends java.lang.Enum<Dot11HtControl.CsiOrSteering>
CSI/Steering subfield of HT Control field of an IEEE802.11 frame.- Since:
- pcap4j 1.7.0
- See Also:
- IEEE802.11
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPRESSED_BEAMFORMINGCompressed beamforming: 3CSICSI: 1NO_FEEDBACK_REQUIREDNo feedback required: 0NONCOMPRESSED_BEAMFORMINGNoncompressed beamforming: 2
-
Constructor Summary
Constructors Modifier Constructor Description privateCsiOrSteering(int value, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Dot11HtControl.CsiOrSteeringgetInstance(int value)java.lang.StringgetName()intgetValue()java.lang.StringtoString()static Dot11HtControl.CsiOrSteeringvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Dot11HtControl.CsiOrSteering[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_FEEDBACK_REQUIRED
public static final Dot11HtControl.CsiOrSteering NO_FEEDBACK_REQUIRED
No feedback required: 0
-
CSI
public static final Dot11HtControl.CsiOrSteering CSI
CSI: 1
-
NONCOMPRESSED_BEAMFORMING
public static final Dot11HtControl.CsiOrSteering NONCOMPRESSED_BEAMFORMING
Noncompressed beamforming: 2
-
COMPRESSED_BEAMFORMING
public static final Dot11HtControl.CsiOrSteering COMPRESSED_BEAMFORMING
Compressed beamforming: 3
-
-
Method Detail
-
values
public static Dot11HtControl.CsiOrSteering[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Dot11HtControl.CsiOrSteering c : Dot11HtControl.CsiOrSteering.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Dot11HtControl.CsiOrSteering valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
- Returns:
- value
-
getName
public java.lang.String getName()
- Returns:
- name
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<Dot11HtControl.CsiOrSteering>
-
getInstance
public static Dot11HtControl.CsiOrSteering getInstance(int value)
- Parameters:
value- value- Returns:
- the CsiSteering object the value of which is the given value.
-
-