wireless info hw-info question

Im parsing the output of:

/interface wireless info hw-info interface=wlanX

Radios that are 2.4GHz only will report something like this:

      ranges: 2312-2732/5/b,g,gn20,gn40
              2484-2484/5/b,g,gn20,gn40
   tx-chains: 0,1
   rx-chains: 0,1
  extra-info: pciinfo:0x0, cid:0, gain:3

According to this post the format should be interpreted as:

...
Where "2312-2732" is available frequency range.
5 = step between frequencies.
b,g,gn20 = wireless standard and channel-width.
...

What is the significance of the second row in “ranges”

2484-2484/5/b,g,gn20,gn40

? It seems to denote center of channel 14, but what significance does it have in the context of hw-info ranges?

5GHz radios does not seem to report the same way e.g.:

      ranges: 4920-6100/5/a,an20,an40,ac20,ac40,ac80
   tx-chains: 0,1
   rx-chains: 0,1
  extra-info: pciinfo:0x0, cid:1, g

i would have expected ranges to include an extra line e.g.

5825-5825/5/a,an20,an40,ac20,ac40,ac80

I would guess it can use all frequency between 4920 and 6100.
5825-5825 is between this number so no extra line is needed.
And for 2.4 GHz 2733-2483 can not be used, so therefor two lines.

I see the same number as you on my hAP ac2

Thx for your reply. 2484-2484 also falls within 2312-2732, I mentioned 5825 because its the last defined channel (165) in upper UNII band, just like 2483 is the last defined in for use in the ISM (14, japan only).

Guessing often leads to false assumptions and by extension refactoring code. I need certainty. for example it is equally possible the format was chosen to allow differentiation in standard and channel width in separate spectrum ranges e.g.

ranges: 2312-2664/5/b,g,gn20,gn40
2664-2732/5/b,g,gn40
5180-5320/5/a,n,ac40,ac80

im just guessing, i really need MT to chime in.

" 2484-2484/5/b,g,gn20,gn40" is the only strange thing. They might not show all fields of this line (and those hidden fields may be different)
Channel 14 is special. It is forbidden in most of the world, except in Japan & Indonesia. And still there it is special.
https://en.wikipedia.org/wiki/List_of_WLAN_channels

2484 does not fit in the 5 MHz step (its 12 MHz away from 13 , or 2 MHz out of step)
All 5GHz channels fit in the 5 MHz step even the 5825.

HW-info is one limitation. Don’t forget to look at the regulatory domain: “/interface wireless info country-info” This is much more limiting.
(see “/interface wireless info country-list” for the possible regions)