aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-05-20 07:55:04 (GMT)
committerJouni Malinen <j@w1.fi>2019-05-27 14:45:04 (GMT)
commit4f3f33804abc2d7a282306c22fbbdb4abe731944 (patch)
tree3561370d29d9541af11de36b27fcc64cc4c70b41 /hostapd
parent63e194043256fa83e93a506aa2afd9b9825c56a4 (diff)
downloadhostap-4f3f33804abc2d7a282306c22fbbdb4abe731944.zip
hostap-4f3f33804abc2d7a282306c22fbbdb4abe731944.tar.gz
hostap-4f3f33804abc2d7a282306c22fbbdb4abe731944.tar.bz2
HE: Make the basic NSS/MCS configurable
Add a config option to allow setting a custom Basic NSS/MCS set. As a default we use single stream HE-MCS 0-7. 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.c2
-rw-r--r--hostapd/hostapd.conf6
2 files changed, 8 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index 9c0194e..c236cf4 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -3508,6 +3508,8 @@ static int hostapd_config_fill(struct hostapd_config *conf,
conf->he_op.he_twt_required = atoi(pos);
} else if (os_strcmp(buf, "he_rts_threshold") == 0) {
conf->he_op.he_rts_threshold = atoi(pos);
+ } else if (os_strcmp(buf, "he_basic_mcs_nss_set") == 0) {
+ conf->he_op.he_basic_mcs_nss_set = atoi(pos);
} else if (os_strcmp(buf, "he_mu_edca_qos_info_param_count") == 0) {
conf->he_mu_edca.he_qos_info |=
set_he_cap(atoi(pos), HE_QOS_INFO_EDCA_PARAM_SET_COUNT);
diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf
index cf64603..1242886 100644
--- a/hostapd/hostapd.conf
+++ b/hostapd/hostapd.conf
@@ -804,6 +804,12 @@ wmm_ac_vo_acm=0
#he_oper_centr_freq_seg0_idx
#he_oper_centr_freq_seg1_idx
+#he_basic_mcs_nss_set: Basic NSS/MCS set
+# 16-bit combination of 2-bit values of Max HE-MCS For 1..8 SS; each 2-bit
+# value having following meaning:
+# 0 = HE-MCS 0-7, 1 = HE-MCS 0-9, 2 = HE-MCS 0-11, 3 = not supported
+#he_basic_mcs_nss_set
+
#he_mu_edca_qos_info_param_count
#he_mu_edca_qos_info_q_ack
#he_mu_edca_qos_info_queue_request=1