wpa_supplicant: Add LCI and civic request to Neighbor Report Request
authorDavid Spinadel <david.spinadel@intel.com>
Wed, 6 Apr 2016 16:42:05 +0000 (19:42 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 16 Apr 2016 18:05:39 +0000 (21:05 +0300)
commitd41a5352fec5caabb4643ccfaeca79b0346db34b
treec5f3894d9239133ab065f1a7a908528a0c1a4075
parent624b8a061f502d09ba932984482195bd5a839db5
wpa_supplicant: Add LCI and civic request to Neighbor Report Request

Add an option to request LCI and Location Civic Measurement in Neighbor
Report Request frame, as described in IEEE P802.11-REVmc/D5.0, 9.6.7.6.

Note: This changes the encoding format of the NEIGHBOR_REP_REQUEST
ssid=<val> parameter. This used to be parsed as raw SSID data which is
problematic for accepting additional parameters. The new encoding allows
either a string within double-quotation marks or a hexdump of the raw
SSID.

Thew new format:
NEIGHBOR_REP_REQUEST [ssid=<SSID>] [lci] [civic]

Signed-off-by: David Spinadel <david.spinadel@intel.com>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/wpa_cli.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h