Skip to content

Unknown value '11NAHT20' for Wireless.ieeemode on NanoStation loco M5 (airOS 6, XW v6.3.22) #263

Description

@giantoo

The library logs Unknown value '11NAHT20' for Wireless.ieeemode and setup fails with
AirOSKeyDataMissingError for a NanoStation loco M5 running airOS 6.

IeeeMode in data.py currently has _11NAHT40MINUS and _11NAHT40PLUS, but no 20 MHz
variant for the 11NA (5 GHz 802.11n) family. My link runs at 20 MHz channel width, so the
device reports opmode: "11NAHT20".

Device / firmware

  • Model: NanoStation loco M5 (devmodel), SKU LocoM5
  • Firmware: v6.3.22, prefix XW, fw_major: 6
  • Role: bridge, wireless mode sta, derived mode point-to-point
  • Channel 42 / 5210 MHz, chwidth: 20, chanbw: 20, chains 2X2

Relevant part of the reported payload

{
  "opmode": "11NAHT20",
  "chwidth": 20,
  "chanbw": 20,
  "chains": "2X2",
  "frequency": 5210,
  "channel": 42,
  "antenna": "Built in - 13 dBi"
}

Traceback (shortened)

airos.data  Unknown value '11NAHT20' for Wireless.ieeemode
mashumaro.exceptions.InvalidFieldValue: Field "wireless" of type Wireless6 in AirOS6Data
airos.exceptions.AirOSKeyDataMissingError

Suggested fix

_11NAHT20 = "11NAHT20"  # 5 GHz 802.11n at 20 MHz, seen on a v6 XW NanoStation loco M5

Tested locally by adding this line to IeeeMode — the integration then sets up and polls
correctly.

Version affected: airos 0.6.9, as shipped with Home Assistant 2026.9.1.

Happy to provide the full status payload if useful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions