From: Yogesh Kulkarni Date: Tue, 9 Jun 2020 19:32:40 +0000 (+0530) Subject: Fix STA mode default TXOP Limit values for AC_VI and AC_VO X-Git-Tag: hostap_2_10~892 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d6310701b2b9e3ee5dcf06b3b393074072bc225;p=thirdparty%2Fhostap.git Fix STA mode default TXOP Limit values for AC_VI and AC_VO 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 Signed-off-by: Cathy Luo Signed-off-by: Ganapathi Bhat --- diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c index b828b599f..8e79cab20 100644 --- a/wpa_supplicant/config.c +++ b/wpa_supplicant/config.c @@ -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 =