hostapd: Add MBO IE to BSS Transition Management Request frame
authorAvraham Stern <avraham.stern@intel.com>
Mon, 15 Feb 2016 14:53:49 +0000 (16:53 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 22 Feb 2016 17:53:04 +0000 (19:53 +0200)
commitc0e2a172a768e5e432bf01819cada0892546518e
tree89132838470568e5c853b1da5c72e10e748f59cc
parentfb9a1c3e285df6abaa44b72bb7d492bb2ac23f83
hostapd: Add MBO IE to BSS Transition Management Request frame

Add an option to add MBO IE to BSS Transition Management Request frame.
The MBO IE includes the transition reason code, cellular data connection
preference, and, if the disassoc imminent bit is set, it may also
include re-association retry delay. Otherwise, the re-association retry
delay should be set to zero.

The additional BSS_TM_REQ argument uses the following format:
mbo=<reason>:<reassoc delay>:<cell pref>
reason: 0-9
reassoc delay: 0-65535 (seconds; 0 = disabled)
cell pref: 0, 1, 255

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
hostapd/ctrl_iface.c
src/ap/wnm_ap.c
src/ap/wnm_ap.h