mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
fix switching between agressive and non-agressive wmm modes
Obtained from: atheros MFC after: 3 days
This commit is contained in:
parent
90a693f891
commit
ad26242724
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156524
@ -739,7 +739,7 @@ ieee80211_wme_updateparams_locked(struct ieee80211com *ic)
|
||||
* legacy/non-QoS traffic.
|
||||
*/
|
||||
if ((ic->ic_opmode == IEEE80211_M_HOSTAP &&
|
||||
(wme->wme_flags & WME_F_AGGRMODE) == 0) ||
|
||||
(wme->wme_flags & WME_F_AGGRMODE) != 0) ||
|
||||
(ic->ic_opmode == IEEE80211_M_STA &&
|
||||
(ic->ic_bss->ni_flags & IEEE80211_NODE_QOS) == 0) ||
|
||||
(ic->ic_flags & IEEE80211_F_WME) == 0) {
|
||||
@ -768,7 +768,7 @@ ieee80211_wme_updateparams_locked(struct ieee80211com *ic)
|
||||
}
|
||||
|
||||
if (ic->ic_opmode == IEEE80211_M_HOSTAP &&
|
||||
ic->ic_sta_assoc < 2 && (wme->wme_flags & WME_F_AGGRMODE) == 0) {
|
||||
ic->ic_sta_assoc < 2 && (wme->wme_flags & WME_F_AGGRMODE) != 0) {
|
||||
static const u_int8_t logCwMin[IEEE80211_MODE_MAX] = {
|
||||
3, /* IEEE80211_MODE_AUTO */
|
||||
3, /* IEEE80211_MODE_11A */
|
||||
|
Loading…
Reference in New Issue
Block a user