Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2008 21:29:10 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186659 - head/sys/net80211
Message-ID:  <200812312129.mBVLTAKk035853@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Wed Dec 31 21:29:09 2008
New Revision: 186659
URL: http://svn.freebsd.org/changeset/base/186659

Log:
  mark discovered neighbors QoS capable if they advertise wme

Modified:
  head/sys/net80211/ieee80211_node.c

Modified: head/sys/net80211/ieee80211_node.c
==============================================================================
--- head/sys/net80211/ieee80211_node.c	Wed Dec 31 21:21:46 2008	(r186658)
+++ head/sys/net80211/ieee80211_node.c	Wed Dec 31 21:29:09 2008	(r186659)
@@ -1334,6 +1334,10 @@ ieee80211_init_neighbor(struct ieee80211
 
 	if (ieee80211_ies_init(&ni->ni_ies, sp->ies, sp->ies_len)) {
 		ieee80211_ies_expand(&ni->ni_ies);
+		if (ni->ni_ies.wme_ie != NULL)
+			ni->ni_flags |= IEEE80211_NODE_QOS;
+		else
+			ni->ni_flags &= ~IEEE80211_NODE_QOS;
 		if (ni->ni_ies.ath_ie != NULL)
 			ieee80211_parse_ath(ni, ni->ni_ies.ath_ie);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812312129.mBVLTAKk035853>