Routing protocols and firmware
802.11s mesh on OpenWrt
What 802.11s mesh mode gives you on OpenWrt, what it leaves to other software, which Wi-Fi drivers support it, and how batman-adv is layered on top.
Updated 4 Nov 2026
What 802.11s is
802.11s is an amendment to the Wi-Fi standard that lets radios forward each other's traffic without a central access point. Per Wikipedia (secondary), it was "issued in 2011 and was superseded in 2012 when it became part of the IEEE 802.11 standard". The same article says it defines "an architecture and protocol that supports both broadcast/multicast and unicast delivery using 'radio-aware metrics over self-configuring multi-hop topologies'". The glossary has short entries for 802.11s and mesh point.
The OpenWrt wiki describes it this way: it "operates on Layer 2 and makes sure that all nodes can see each other on a bridged Layer 2 network (as if they were all plugged into a switch). Any Layer 3 infrastructure will work on top of this."
What the standard gives you
- Mesh points and peering. Each radio in mesh mode is a mesh point that forms links ("peers") with neighbours that share the same mesh ID, channel and key. On OpenWrt,
iw dev $MESH_IFACE station dumpshows a peer asmesh plink: ESTAB(wiki, 2024 copy). - Path selection. Wikipedia says 802.11s "requires the Hybrid Wireless Mesh Protocol, or HWMP to be supported as a default". The glossary entry is HWMP. On OpenWrt,
iw dev $MESH_IFACE mpath dumpshows the path table (wiki, 2024 copy). - Authentication and encryption. The wiki says 802.11s "works reliably with OpenWrt 19.07 and later, including authentication and encryption", assuming hardware and driver support, a
wpadbuild with mesh support (it nameswpad-mesh-opensslor an equivalent) and themesh11sdpackage.
A minimal OpenWrt wireless section, as printed on that wiki page (2024 copy, which says OpenWrt 19.07 and later), uses these options inside a config wifi-iface 'mesh' section:
option mode 'mesh'
option mesh_id 'my-mesh-id'
option encryption 'sae'
option key 'your-secret-password'
The page states that every device in the mesh must be configured the same way: "same mesh_id, same channel, same key". We do not reproduce the package-install lines because the wiki copies show the older opkg syntax, and OpenWrt's 25.12.0 release notes say: "OpenWrt has transitioned from the traditional opkg package manager to apk (Alpine Package Keeper)." So releases from 25.12.0 use apk, with different command-line arguments. Some mesh parameters have to be set after the interface is up, which is what the mesh11sd package does according to that page.
The wiki copies disagree
The two archive copies we read of the OpenWrt 802.11s page say different things about mesh11sd. We do not know which is right, and we have not tested either.
- Copy of 20 May 2024 (page last modified 5 April 2024). The text we summarise above: 802.11s works with authentication and encryption given a mesh-capable
wpadand themesh11sdpackage. - Copy of 4 March 2025 (page last modified 23 September 2024). It opens with "WARNING! This document contains many errors and misconceptions." and says "Many paragraphs are produced using an online LLM and added without any verification". It also says "The Mesh11sd package is not required to effectively setup a basic IEEE 802.11s mesh." and "Do not install Mesh11sd if you are planning upon using B.A.T.M.A.N., B.A.T.M.A.N.-Advanced, or OLSR."
Treat every config line from this wiki page as unverified until you have checked it against your own device. For a worked batman-adv build on a current OpenWrt release, see the OpenWrt batman-adv node guide; for a bench setup, the Raspberry Pi mesh lab. One router that OpenWrt supports is the GL.iNet GL-MT3000.
What it does not give you
- Not for ordinary devices. The wiki: "A normal user device, such as a phone, tablet, laptop etc., cannot connect to a mesh network." Mesh points are infrastructure. Its warning, in capitals on the page, is that if you want phones to roam between access points at home, "YOU ARE NOT LOOKING FOR A MESH." You still need an access point on top.
- No layer 3 design. 802.11s is a layer 2 mechanism. Addressing, gateways to the internet and anything IP-routed are your problem or another protocol's. The wiki notes that packages exist to add "sophisticated layer 3 support" on top and lists Batman, Bird and OLSR as examples.
- No promise that a given router works well. Mesh support is decided per driver and sometimes per chip revision (next section).
- No performance comparison from us. We did not find a primary source comparing HWMP with batman-adv for throughput or scaling, so we make no claim either way. The standard text itself, which would document HWMP's metric in detail, is paywalled.
Driver support
We checked whether each driver family in the mainline Linux kernel advertises the mesh point interface type (NL80211_IFTYPE_MESH_POINT) in its source on 4 November 2026. This is driver-level evidence only; it does not prove a particular router or chip revision behaves well.
| Driver | What the kernel source shows |
|---|---|
| ath9k | NL80211_IFTYPE_MESH_POINT is referenced in the driver directory (8 files) |
| ath10k | BIT(NL80211_IFTYPE_MESH_POINT) in mac.c |
| mt76 (MediaTek) | BIT(NL80211_IFTYPE_MESH_POINT) in the mt7915 init.c; 19 mt76 files reference it |
| brcmfmac (Broadcom FullMAC) | the add-interface and delete-interface switch statements in cfg80211.c return -EOPNOTSUPP for NL80211_IFTYPE_MESH_POINT |
Caveats:
- brcmfmac. Mainline brcmfmac cannot create a mesh point interface. That is all we confirmed for the mainline kernel. The Raspberry Pi kernel tree (branch
rpi-6.18.y) has the identical-EOPNOTSUPPreturns forNL80211_IFTYPE_MESH_POINT, and brcmfmac's advertisedinterface_modesincludeNL80211_IFTYPE_ADHOC(ad hoc) but notNL80211_IFTYPE_MESH_POINT, so the onboard Wi-Fi of a Raspberry Pi cannot be an 802.11s mesh point. Whether ad hoc mode works on a given Pi is not confirmed. We did not check out-of-tree drivers or vendor firmware, so we cannot say whether a workaround exists on a given Broadcom device. - ath10k-ct. The OpenWrt wiki said in its 2024 copy that, as of December 2023, the
ath10k-ctdriver used in the NETGEAR R7800 and other QCA988x devices "doesn't support mesh very well, resulting in errors and random dropping of wireless interfaces", and suggested a custom build with the non-ctmodules and firmware. The LibreMeshlime-packagesREADME (read 4 November 2026, line 223 of the file) says the same of devices that use an ath10k-family wireless driver ("atk10k" in its text): "With the-ct-version, 802.11s meshing does not work." It tells builders to exclude the-ctpackages from the image and include the non-ctones. We did not test either claim. - mt76. We found no chip-specific mesh caveats in the sources we read, which is not the same as there being none.
batman-adv over 802.11s, and plain 802.11s
Plain 802.11s forwards frames at layer 2 using HWMP. batman-adv is also a layer 2 mesh, implemented in the kernel; the kernel documentation says it works over "wifi as well as ethernet lan, vpn, etc". So the two can be stacked, and Gluon does exactly that.
Gluon's WLAN configuration document gives two wireless network types, "client" (AP mode) and "mesh" (802.11s mode). Its README lists batman-adv (BATMAN IV and BATMAN V) among the supported mesh protocols and, for node-to-node links, "WLAN 802.11s (with forwarding disabled)". The README does not elaborate on that phrase. We read it as 802.11s being used as the link layer while batman-adv does the routing, and treat that as our interpretation. The OpenWrt wiki lists mesh_fwding among the parameters set by mesh11sd.
In practice:
- On stock OpenWrt, plain 802.11s needs only the options above plus a mesh-capable
wpadbuild (per the wiki copy). Anything above layer 2 is then up to you. - If you are joining or building a community network, the firmware (Gluon or LibreMesh) normally makes this choice for you, and it will use 802.11s as a link layer under its own routing. See join a community Wi-Fi mesh.
- The LibreMesh
lime-defaultsfile listsieee80211samong its selectable protocols, alongside batman-adv, Babel and others.
For how this compares with LoRa meshes, which work in a very different way, see LoRa vs Wi-Fi mesh. For the routing families side by side, see the routing protocol comparison.
What we could not confirm
- The current (2026) text of the OpenWrt wiki page, which was behind a bot wall; the newest copy we could read is from March 2025. We read both archive copies and could not settle their disagreement about
mesh11sd. - Whether the ath10k-ct problem works the same on every device; both the OpenWrt wiki copy and the LibreMesh README report it, and we tested neither.
- Any chip-specific mt76 mesh limitations, and any workaround for brcmfmac.
- A sourced performance or scaling comparison between HWMP and batman-adv.
- The HWMP default itself rests on Wikipedia (secondary) only, because the standard text is paywalled.
Sources
- OpenWrt wiki: 802.11s mesh (archive copy of 2024-05-20; page last modified 2024-04-05)
- OpenWrt wiki: 802.11s mesh (archive copy of 2025-03-04; page last modified 2024-09-23)
- OpenWrt 25.12.0 release notes (apk replaces opkg)
- Raspberry Pi kernel, branch rpi-6.18.y: brcmfmac cfg80211.c
- IEEE 802.11s (Wikipedia, secondary: the standard text is paywalled)
- Linux kernel: brcmfmac cfg80211.c
- Linux kernel: ath10k mac.c
- Linux kernel: mt76 mt7915 init.c
- Linux kernel: ath9k driver directory
- LibreMesh lime-packages README (ath10k -ct caveat)
- Gluon: WLAN configuration (mesh network type)
- Gluon README (supported mesh protocols)
- Linux kernel documentation: batman-adv