aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.c
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/config_file.c
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/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 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);