aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-12-12 18:45:31 (GMT)
committerJouni Malinen <j@w1.fi>2014-12-12 18:45:31 (GMT)
commit0629eeb4904d4b66ce911cc7127aead1013ddf67 (patch)
tree7be3ad8f930437dfd28bb4017fafc6ef9589ce97 /hostapd/config_file.c
parent357edd386f4eae144f650e12b4a251e9f20b18c5 (diff)
downloadhostap-0629eeb4904d4b66ce911cc7127aead1013ddf67.zip
hostap-0629eeb4904d4b66ce911cc7127aead1013ddf67.tar.gz
hostap-0629eeb4904d4b66ce911cc7127aead1013ddf67.tar.bz2
RRM: Add AP mode minimal advertisement support for testing
The new hostapd.conf radio_measurements parameter can now be used to configure a test build to advertise support for radio measurements with neighbor report enabled. There is no real functionality that would actually process the request, i.e., this only for the purpose of minimal STA side testing for now. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/config_file.c')
-rw-r--r--hostapd/config_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index c9ff3ec..e30efbe 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -3129,6 +3129,8 @@ static int hostapd_config_fill(struct hostapd_config *conf,
pos++;
WPA_PUT_LE16(&bss->bss_load_test[3], atoi(pos));
bss->bss_load_test_set = 1;
+ } else if (os_strcmp(buf, "radio_measurements") == 0) {
+ bss->radio_measurements = atoi(pos);
#endif /* CONFIG_TESTING_OPTIONS */
} else if (os_strcmp(buf, "vendor_elements") == 0) {
struct wpabuf *elems;