hostapd: Add FTM range request
authorDavid Spinadel <david.spinadel@intel.com>
Wed, 6 Apr 2016 16:42:12 +0000 (19:42 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 17 Apr 2016 09:29:12 +0000 (12:29 +0300)
commit220754c5535e89ede0664fa55e6f6cc4e92f0a59
treebf0b9202bf9601dd132f666a35dc517c9d03eaf1
parentf4f185a224ffde55802ce33a856dd3ddf929dfcf
hostapd: Add FTM range request

Add FTM range request via RRM. The AP sends Radio measurement request
with FTM range request as a request for the receiving STA to send FTM
requests to the given list of APs. The neighbor report part of the
request is taken from the neighbor database.

The control interface command is:

REQ_RANGE <dst addr> <rand_int> <min_ap> <responder> [<responder>..]

dst addr: MAC address of an associated STA
rand_int: Randomization Interval (0..65535) in TUs
min_ap: Minimum AP Count (1..15); minimum number of requested FTM ranges
between the associated STA and the listed APs
responder: List of BSSIDs for neighboring APs for which a measurement
is requested

Signed-off-by: David Spinadel <david.spinadel@intel.com>
hostapd/ctrl_iface.c
hostapd/hostapd_cli.c
src/ap/hostapd.h
src/ap/neighbor_db.c
src/ap/neighbor_db.h
src/ap/rrm.c
src/ap/rrm.h
src/common/ieee802_11_defs.h