]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
HE: Fix typo srp -> spr in hostapd configuration parameters
authorJohn Crispin <john@phrozen.org>
Fri, 3 May 2019 13:13:47 +0000 (15:13 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 4 May 2019 21:59:18 +0000 (00:59 +0300)
The initial commit used srp instead of spr for the spatial reuse
configuration prefix.

Signed-off-by: Shashidhar Lakkavalli <slakkavalli@datto.com>
Signed-off-by: John Crispin <john@phrozen.org>
hostapd/config_file.c
hostapd/hostapd.conf

index a3c58a5e30cb9778329b9f3ba549cca7c7d8ab45..3ba37098c2bdd3294770f12fa0493b980fccc3ef 100644 (file)
@@ -3592,13 +3592,13 @@ static int hostapd_config_fill(struct hostapd_config *conf,
        } else if (os_strcmp(buf, "he_mu_edca_ac_vo_timer") == 0) {
                conf->he_mu_edca.he_mu_ac_vo_param[HE_MU_AC_PARAM_TIMER_IDX] =
                        atoi(pos) & 0xff;
-       } else if (os_strcmp(buf, "he_srp_sr_control") == 0) {
+       } else if (os_strcmp(buf, "he_spr_sr_control") == 0) {
                conf->spr.sr_control = atoi(pos) & 0xff;
-       } else if (os_strcmp(buf, "he_srp_non_srg_obss_pd_max_offset") == 0) {
+       } else if (os_strcmp(buf, "he_spr_non_srg_obss_pd_max_offset") == 0) {
                conf->spr.non_srg_obss_pd_max_offset = atoi(pos);
-       } else if (os_strcmp(buf, "he_srp_srg_obss_pd_min_offset") == 0) {
+       } else if (os_strcmp(buf, "he_spr_srg_obss_pd_min_offset") == 0) {
                conf->spr.srg_obss_pd_min_offset = atoi(pos);
-       } else if (os_strcmp(buf, "he_srp_srg_obss_pd_max_offset") == 0) {
+       } else if (os_strcmp(buf, "he_spr_srg_obss_pd_max_offset") == 0) {
                conf->spr.srg_obss_pd_max_offset = atoi(pos);
 #endif /* CONFIG_IEEE80211AX */
        } else if (os_strcmp(buf, "max_listen_interval") == 0) {
index 1702bd2e0de7911fba8349b2fd1a148e130a16a6..97ae2930addbd089164a8465952ed9629e86a7ad 100644 (file)
@@ -824,10 +824,10 @@ wmm_ac_vo_acm=0
 #he_mu_edca_ac_vo_timer=255
 
 # Spatial Reuse Parameter Set
-#he_srp_sr_control
-#he_srp_non_srg_obss_pd_max_offset
-#he_srp_srg_obss_pd_min_offset
-#he_srp_srg_obss_pd_max_offset
+#he_spr_sr_control
+#he_spr_non_srg_obss_pd_max_offset
+#he_spr_srg_obss_pd_min_offset
+#he_spr_srg_obss_pd_max_offset
 
 ##### IEEE 802.1X-2004 related configuration ##################################