Class PowerCapability


  • public class PowerCapability
    extends Object
    This information element (IE) appears in wifiscan entries. It's called "Power Capability" in 802.11 specs (section 9.4.2.14). Refer to the specification for more details. Language in javadocs is taken from the specification.
    • Field Detail

      • minimumTxPowerCapability

        public final byte minimumTxPowerCapability
        Signed 8 bits units of dB relative to 1mW - nominal minimum transmit power with which the STA is capable of transmitting in the current channel, with a tolerance ± 5 dB.
      • maximumTxPowerCapability

        public final byte maximumTxPowerCapability
        Signed 8 bits units of dB relative to 1mW - nominal maximum transmit power with which the STA is capable of transmitting in the current channel, with a tolerance ± 5 dB.
    • Constructor Detail

      • PowerCapability

        public PowerCapability​(byte minimumTxPowerCapability,
                               byte maximumTxPowerCapability)
        Constructor
    • Method Detail

      • parse

        public static PowerCapability parse​(com.google.gson.JsonObject contents)
        Parse PowerCapability from JSON object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object