aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/bss_load.h
diff options
context:
space:
mode:
authorKyeyoon Park <kyeyoonp@qca.qualcomm.com>2014-10-15 23:36:04 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-21 20:25:48 (GMT)
commitec8f36afca731aa6a30a314c54bb83441180719d (patch)
tree024bbf8bdd135f7049d29515b36ed6122e97ab66 /src/ap/bss_load.h
parent8a5cc2fe385bc8afa4260f8953664db9861430eb (diff)
downloadhostap-ec8f36afca731aa6a30a314c54bb83441180719d.zip
hostap-ec8f36afca731aa6a30a314c54bb83441180719d.tar.gz
hostap-ec8f36afca731aa6a30a314c54bb83441180719d.tar.bz2
AP: Add support for BSS load element (STA Count, Channel Utilization)
The new "bss_load_update_period" parameter can be used to configure hostapd to advertise its BSS Load element in Beacon and Probe Response frames. This parameter is in the units of BUs (Beacon Units). When enabled, the STA Count and the Channel Utilization value will be updated periodically in the BSS Load element. The AAC is set to 0 sinze explicit admission control is not supported. Channel Utilization is calculated based on the channel survey information from the driver and as such, requires a driver that supports providing that information for the current operating channel. Signed-off-by: Kyeyoon Park <kyeyoonp@qca.qualcomm.com>
Diffstat (limited to 'src/ap/bss_load.h')
-rw-r--r--src/ap/bss_load.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ap/bss_load.h b/src/ap/bss_load.h
new file mode 100644
index 0000000..ac3c793
--- /dev/null
+++ b/src/ap/bss_load.h
@@ -0,0 +1,17 @@
+/*
+ * BSS load update
+ * Copyright (c) 2014, Qualcomm Atheros, Inc.
+ *
+ * This software may be distributed under the terms of the BSD license.
+ * See README for more details.
+ */
+
+#ifndef BSS_LOAD_UPDATE_H
+#define BSS_LOAD_UPDATE_H
+
+
+int bss_load_update_init(struct hostapd_data *hapd);
+void bss_load_update_deinit(struct hostapd_data *hapd);
+
+
+#endif /* BSS_LOAD_UPDATE_H */