Class TxPwrInfo


  • public class TxPwrInfo
    extends Object
    This information element (IE) appears in wifiscan entries. It is called "Tx Pwr Info" in these entries, and "Transmit Power Envelope" in the 802.11 specification (section 9.4.2.161). Refer to the specification for more details. Language in javadocs is taken from the specification.
    • Field Detail

      • localMaxTxPwrConstraint20MHz

        public final Short localMaxTxPwrConstraint20MHz
        Unsigned 8 bits - Local maximum transmit power for 20 MHz. Required field.
      • localMaxTxPwrConstraint40MHz

        public final Short localMaxTxPwrConstraint40MHz
        Unsigned 8 bits - Local maximum transmit power for 40 MHz. Optional field.
      • localMaxTxPwrConstraint80MHz

        public final Short localMaxTxPwrConstraint80MHz
        Unsigned 8 bits - Local maximum transmit power for 80 MHz. Optional field.
      • localMaxTxPwrConstraint160MHz

        public final Short localMaxTxPwrConstraint160MHz
        Unsigned 8 bits - Local maximum transmit power for both 160 MHz and 80+80 MHz. Optional field.
    • Constructor Detail

      • TxPwrInfo

        public TxPwrInfo​(short localMaxTxPwrConstraint20MHz,
                         Short localMaxTxPwrConstraint40MHz,
                         Short localMaxTxPwrConstraint80MHz,
                         Short localMaxTxPwrConstraint160MHz)
        Constructor
    • Method Detail

      • parse

        public static TxPwrInfo parse​(com.google.gson.JsonObject contents)
        Parse TxPwrInfo IE from appropriate Json object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object