]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix STA mode default TXOP Limit values for AC_VI and AC_VO
authorYogesh Kulkarni <yogesh.kulkarni@nxp.com>
Tue, 9 Jun 2020 19:32:40 +0000 (01:02 +0530)
committerJouni Malinen <j@w1.fi>
Sat, 10 Oct 2020 14:04:27 +0000 (17:04 +0300)
commit f4e3860f ("Fix AP mode default TXOP Limit values for AC_VI
and AC_VO") corrects the default values of txop_limit from 93/46
to 94/47 for AP. STA would also need the same change.

Signed-off-by: Yogesh Kulkarni <yogesh.kulkarni@nxp.com>
Signed-off-by: Cathy Luo <xiaohua.luo@nxp.com>
Signed-off-by: Ganapathi Bhat <ganapathi.bhat@nxp.com>
wpa_supplicant/config.c

index b828b599fabb6f6cff9f2907ff6e5fb206082321..8e79cab20d12bd2be58943fe72f6a2421f00e7d3 100644 (file)
@@ -4264,9 +4264,9 @@ struct wpa_config * wpa_config_alloc_empty(const char *ctrl_interface,
        const struct hostapd_wmm_ac_params ac_be =
                { aCWmin, aCWmax, 3, 0, 0 }; /* best effort traffic */
        const struct hostapd_wmm_ac_params ac_vi = /* video traffic */
-               { aCWmin - 1, aCWmin, 2, 3000 / 32, 0 };
+               { aCWmin - 1, aCWmin, 2, 3008 / 32, 0 };
        const struct hostapd_wmm_ac_params ac_vo = /* voice traffic */
-               { aCWmin - 2, aCWmin - 1, 2, 1500 / 32, 0 };
+               { aCWmin - 2, aCWmin - 1, 2, 1504 / 32, 0 };
        const struct hostapd_tx_queue_params txq_bk =
                { 7, ecw2cw(aCWmin), ecw2cw(aCWmax), 0 };
        const struct hostapd_tx_queue_params txq_be =