Class Dot11HtControl

  • All Implemented Interfaces:
    java.io.Serializable

    public final class Dot11HtControl
    extends java.lang.Object
    implements java.io.Serializable
    HT Control field of an IEEE802.11 frame.
          0          1          2          3          4          5          6          7
     +----------+----------+----------+----------+----------+----------+----------+----------+
     |                                                                                       |
     |                                                                                       |
     +                              Link Adaptation Control                                  +
     |                                                                                       |
     |                                                                                       |
     +----------+----------+----------+----------+----------+----------+----------+----------+
     |    Calibration      |     Calibration     |      Reserved       |    CSI/Steering     |
     |    Position         |     Sequence        |                     |                     |
     +----------+----------+----------+----------+----------+----------+----------+----------+
     |NDP Annou-|                       Reserved                       |AC        |RDG/More  |
     |ncement   |                                                      |Constraint|PPDU      |
     +----------+----------+----------+----------+----------+----------+----------+----------+
     
    Since:
    pcap4j 1.7.0
    Author:
    Kaito Yamada
    See Also:
    IEEE802.11, Serialized Form
    • Method Detail

      • getCalibrationSequence

        public byte getCalibrationSequence()
        Returns:
        calibrationSequence
      • getCalibrationSequenceAsInt

        public int getCalibrationSequenceAsInt()
        Returns:
        calibrationSequence
      • getBit20

        public boolean getBit20()
        Returns:
        true if the bit 20 is set to 1; false otherwise.
      • getBit21

        public boolean getBit21()
        Returns:
        true if the bit 21 is set to 1; false otherwise.
      • getNdpAnnouncement

        public boolean getNdpAnnouncement()
        Returns:
        true if the NDP Announcement field is set to 1; false otherwise.
      • getBit25

        public boolean getBit25()
        Returns:
        true if the bit 25 is set to 1; false otherwise.
      • getBit26

        public boolean getBit26()
        Returns:
        true if the bit 26 is set to 1; false otherwise.
      • getBit27

        public boolean getBit27()
        Returns:
        true if the bit 27 is set to 1; false otherwise.
      • getBit28

        public boolean getBit28()
        Returns:
        true if the bit 28 is set to 1; false otherwise.
      • getBit29

        public boolean getBit29()
        Returns:
        true if the bit 29 is set to 1; false otherwise.
      • getAcConstraint

        public boolean getAcConstraint()
        Returns:
        true if the AC Constraint field is set to 1; false otherwise.
      • getRdgOrMorePpdu

        public boolean getRdgOrMorePpdu()
        Returns:
        true if the RDG/More PPDU field is set to 1; false otherwise.
      • getBuilder

        public Dot11HtControl.Builder getBuilder()
        Returns:
        a new Builder object populated with this object's fields.
      • getRawData

        public byte[] getRawData()
        Returns:
        the raw data.
      • length

        public int length()
        Returns:
        length
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.String toString​(java.lang.String indent)
        Parameters:
        indent - indent
        Returns:
        String representation of this object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object