aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hostapd.h
diff options
context:
space:
mode:
authorHaim Dreyfuss <haim.dreyfuss@intel.com>2019-04-03 16:07:53 (GMT)
committerJouni Malinen <j@w1.fi>2019-05-28 20:37:25 (GMT)
commitde6aafaa637049b6553320fc607a54c63f915b34 (patch)
tree2049fedd79d1cf2964db14d22de195ca75f86100 /src/ap/hostapd.h
parent636c02c6e9ec03b5f9424d0ebdcd56b6bcfc1c7a (diff)
downloadhostap-de6aafaa637049b6553320fc607a54c63f915b34.zip
hostap-de6aafaa637049b6553320fc607a54c63f915b34.tar.gz
hostap-de6aafaa637049b6553320fc607a54c63f915b34.tar.bz2
AP: Consider regulatory limitation when filling WMM element
In case the current channel has regulatory WMM limitations, take them into account when filling the WMM element. Also check if the new WMM element is different from the previous one and if so change the parameter_set_count to imply stations to look into it. Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Diffstat (limited to 'src/ap/hostapd.h')
-rw-r--r--src/ap/hostapd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ap/hostapd.h b/src/ap/hostapd.h
index f573717..52b5dbc 100644
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
@@ -551,6 +551,9 @@ struct hostapd_iface {
#ifdef CONFIG_AIRTIME_POLICY
unsigned int airtime_quantum;
#endif /* CONFIG_AIRTIME_POLICY */
+
+ /* Previous WMM element information */
+ struct hostapd_wmm_ac_params prev_wmm[WMM_AC_NUM];
};
/* hostapd.c */