Date: Tue, 23 Nov 2004 22:46:15 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 65738 for review Message-ID: <200411232246.iANMkFbf078156@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=65738 Change 65738 by sam@sam_ebb on 2004/11/23 22:45:31 correct wme parameter update for dynamic changes found when updating beacon frames Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_output.c#11 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_output.c#11 (text+ko) ==== @@ -1441,6 +1441,13 @@ if (ic->ic_flags & IEEE80211_F_WME) { struct ieee80211_wme_state *wme = &ic->ic_wme; + /* + * Check for agressive mode change. When there is + * significant high priority traffic in the BSS + * throttle back BE traffic by using conservative + * parameters. Otherwise BE uses agressive params + * to optimize performance of legacy/non-QoS traffic. + */ if (wme->wme_flags & WME_F_AGGRMODE) { if (wme->wme_hipri_traffic > wme->wme_hipri_switch_thresh) { @@ -1448,7 +1455,7 @@ "%s: traffic %u, disable aggressive mode\n", __func__, wme->wme_hipri_traffic); wme->wme_flags &= ~WME_F_AGGRMODE; - wme->wme_update(ic); + ieee80211_wme_updateparams_locked(ic); wme->wme_hipri_traffic = wme->wme_hipri_switch_hysteresis; } else @@ -1460,7 +1467,7 @@ "%s: traffic %u, enable aggressive mode\n", __func__, wme->wme_hipri_traffic); wme->wme_flags |= WME_F_AGGRMODE; - wme->wme_update(ic); + ieee80211_wme_updateparams_locked(ic); wme->wme_hipri_traffic = 0; } else wme->wme_hipri_traffic =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411232246.iANMkFbf078156>