hostapd: Add a database of neighboring APs
authorDavid Spinadel <david.spinadel@intel.com>
Wed, 6 Apr 2016 16:42:07 +0000 (19:42 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 16 Apr 2016 18:05:40 +0000 (21:05 +0300)
commit9b4b226426b169d0e9d0292cd8a0c822df867bd8
treeb97014a690339808371632598e4729580345461d
parentbf767ac136d15020630dcfc8334105d04233cb57
hostapd: Add a database of neighboring APs

Add a configurable neighbor database that includes the content of
Nighbor Report element, LCI and Location Civic subelements and SSID.

All parameters for a neighbor must be updated at once; Neighbor Report
element and SSID are mandatory, LCI and civic are optional. The age of
LCI is set to the time of neighbor update.

The control interface API is:
SET_NEIGHBOR <BSSID> <ssid=SSID> <nr=data> [lci=<data>] [civic=<data>]

To delete a neighbor use:
REMOVE_NEIGHBOR <BSSID> <SSID>

Signed-off-by: David Spinadel <david.spinadel@intel.com>
hostapd/Android.mk
hostapd/Makefile
hostapd/ctrl_iface.c
hostapd/hostapd_cli.c
src/ap/hostapd.c
src/ap/hostapd.h
src/ap/neighbor_db.c [new file with mode: 0644]
src/ap/neighbor_db.h [new file with mode: 0644]
wpa_supplicant/Android.mk
wpa_supplicant/Makefile