svn commit: r345761 - in stable: 10/sys/net80211 11/sys/net80211 12/sys/net80211
Andriy Voskoboinyk
avos at FreeBSD.org
Mon Apr 1 07:54:28 UTC 2019
Author: avos
Date: Mon Apr 1 07:54:27 2019
New Revision: 345761
URL: https://svnweb.freebsd.org/changeset/base/345761
Log:
MFC r345252:
net80211: correct check for SMPS node flags updates
Update node flags when driver supports SMPS, not when it is disabled or
in dynamic mode ((iv_htcaps & HTCAP_SMPS) != 0).
Was checked with RTL8188EE (1T1R), STA mode - 'smps' word should disappear
from 'ifconfig wlan0' output.
Modified:
stable/11/sys/net80211/ieee80211_ht.c
Directory Properties:
stable/11/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/10/sys/net80211/ieee80211_ht.c
stable/12/sys/net80211/ieee80211_ht.c
Directory Properties:
stable/10/ (props changed)
stable/12/ (props changed)
Modified: stable/11/sys/net80211/ieee80211_ht.c
==============================================================================
--- stable/11/sys/net80211/ieee80211_ht.c Mon Apr 1 07:46:41 2019 (r345760)
+++ stable/11/sys/net80211/ieee80211_ht.c Mon Apr 1 07:54:27 2019 (r345761)
@@ -1567,7 +1567,7 @@ ieee80211_ht_updateparams(struct ieee80211_node *ni,
int ret = 0;
ieee80211_parse_htcap(ni, htcapie);
- if (vap->iv_htcaps & IEEE80211_HTCAP_SMPS)
+ if (vap->iv_htcaps & IEEE80211_HTC_SMPS)
htcap_update_mimo_ps(ni);
htcap_update_shortgi(ni);
@@ -1609,7 +1609,7 @@ ieee80211_ht_updatehtcap(struct ieee80211_node *ni, co
int htflags;
ieee80211_parse_htcap(ni, htcapie);
- if (vap->iv_htcaps & IEEE80211_HTCAP_SMPS)
+ if (vap->iv_htcaps & IEEE80211_HTC_SMPS)
htcap_update_mimo_ps(ni);
htcap_update_shortgi(ni);
More information about the svn-src-all
mailing list