aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-05-20 07:55:08 (GMT)
committerJouni Malinen <j@w1.fi>2019-05-27 13:30:05 (GMT)
commit05b28306f518d0c96095dbe23edd4dfe2ba590d2 (patch)
tree4dc7bb14c32280078539ed72511e4d2d8d8d54e6 /hostapd
parentc6b7ac077fca9788c24e527c32378b75e7de8cfe (diff)
downloadhostap-05b28306f518d0c96095dbe23edd4dfe2ba590d2.zip
hostap-05b28306f518d0c96095dbe23edd4dfe2ba590d2.tar.gz
hostap-05b28306f518d0c96095dbe23edd4dfe2ba590d2.tar.bz2
HE: Add HE channel management configuration options
These are symmetric with the VHT ones. Signed-off-by: Shashidhar Lakkavalli <slakkavalli@datto.com> Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/config_file.c6
-rw-r--r--hostapd/hostapd.conf5
2 files changed, 11 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index 3ba3709..9c0194e 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -3600,6 +3600,12 @@ static int hostapd_config_fill(struct hostapd_config *conf,
conf->spr.srg_obss_pd_min_offset = atoi(pos);
} else if (os_strcmp(buf, "he_spr_srg_obss_pd_max_offset") == 0) {
conf->spr.srg_obss_pd_max_offset = atoi(pos);
+ } else if (os_strcmp(buf, "he_oper_chwidth") == 0) {
+ conf->he_oper_chwidth = atoi(pos);
+ } else if (os_strcmp(buf, "he_oper_centr_freq_seg0_idx") == 0) {
+ conf->he_oper_centr_freq_seg0_idx = atoi(pos);
+ } else if (os_strcmp(buf, "he_oper_centr_freq_seg1_idx") == 0) {
+ conf->he_oper_centr_freq_seg1_idx = atoi(pos);
#endif /* CONFIG_IEEE80211AX */
} else if (os_strcmp(buf, "max_listen_interval") == 0) {
bss->max_listen_interval = atoi(pos);
diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf
index 97ae293..cf64603 100644
--- a/hostapd/hostapd.conf
+++ b/hostapd/hostapd.conf
@@ -799,6 +799,11 @@ wmm_ac_vo_acm=0
# unsigned integer = duration in units of 16 us
#he_rts_threshold=0
+# HE operating channel information; see matching vht_* parameters for details.
+#he_oper_chwidth
+#he_oper_centr_freq_seg0_idx
+#he_oper_centr_freq_seg1_idx
+
#he_mu_edca_qos_info_param_count
#he_mu_edca_qos_info_q_ack
#he_mu_edca_qos_info_queue_request=1