# `VintageNetWiFi.MeshPeer.FormationInformation`
[🔗](https://github.com/nerves-networking/vintage_net_wifi/blob/v0.12.5/lib/vintage_net_wifi/mesh_peer/formation_information.ex#L1)

* `connected_to_as`:
  true if the Authentication Protocol Identifier is set to 2.
  (indicating IEEE 802.1X authentication) and the station has an
  active connection to an AS
* `number_of_peerings`:
  indicates the mnumber of mesh peerings currently maintained
  but the station or 63, whichever is smaller
* `connected_to_mesh_gate`:
  true if the station has a mesh path to the mesh gate that announces
  it's presence using GANN, RANN or PREQ elements

# `t`

```elixir
@type t() :: %VintageNetWiFi.MeshPeer.FormationInformation{
  connected_to_as: boolean(),
  connected_to_mesh_gate: boolean(),
  number_of_peerings: 0..63
}
```

# `decode_formation_information`

```elixir
@spec decode_formation_information(&lt;&lt;_::8&gt;&gt;) :: t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
