Interpreting "iw phy | fgrep mesh" output

On my gl.inet router, when I run this command, I get:

		 * mesh point
		 * set_mesh_config
		 * join_mesh
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0xb0 0xc0 0xd0
		 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
		 * mesh point
		 * set_mesh_config
		 * join_mesh
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0xb0 0xc0 0xd0
		 * #{ AP, mesh point } <= 8, #{ managed } <= 1,

So, what does:

		 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,

and

		 * #{ AP, mesh point } <= 8, #{ managed } <= 1,

mean?

Those lines are under "Valid Interface Combinations" and describe the limits on the number of interfaces and types you can combine.

Run iw phy alone (without the grep filter, which is showing you only lines which contain "mesh") and read the whole report.

1 Like

Ok, I figured out. The first one is the 2.5Ghz radio:
#{ managed } <= 2048
This is the max number of client connections.
#{ AP, mesh point } <= 8
This is the max number of 802.11s mesh nodes.

For the 5Ghz radio:
#{ AP, mesh point } <= 8
This is the max number of 802.11s mesh nodes.
#{ managed } <= 1
What???

Ok. Two questions:

  1. This suggests I can run BATMAN-ADV on either the 2.5Ghz radio, or the 5Ghz radio. So far, I've only been able to do a mesh on the 5Ghz radio. Will it work on the 2.5Ghz?

  2. How do I know BEFORE I buy if the radio supports 16, or 32 mesh nodes?