Skip to content

wpa_supplicant and 11s

twpedersen edited this page May 13, 2013 · 4 revisions

setup

  1. git clone [email protected]:cozybit/wpa_supplicant.git
  2. add the following to wpa_supplicant/.config:
CONFIG_MESH=y
CONFIG_AP=y  # CONFIG_MESH should pull this in itself
CONFIG_SAE=y
  1. make

running a mesh

use user_mpm={0|1} to specify whether userspace handles peering. This can be in userspace or kernel for an open mesh network, but will be ignored if key_mgmt is anything other than "NONE" (always in userspace in this case).

TODO: make user_mpm per-network block instead of global.

mode=5 specifies this network block is type mesh.

Examples:

# open mesh network with kernel peering
user_mpm=0
network={
        ssid="test mesh"
        mode=5
        frequency=2437
        key_mgmt=NONE
}
# open mesh network where wpa_supplicant handles peering
user_mpm=1
network={
        ssid="test mesh"
        mode=5
        frequency=2437
        key_mgmt=NONE
}

# secure (SAE + AMPE) network
network={
        ssid="secure mesh"
        mode=5
        frequency=2437
        key_mgmt=SAE
        psk="very secret passphrase"
}

notes

  • our acceptance tests for wpa_supplicant include peering with an open kernel and authsae, so please don't break this :)
Clone this wiki locally