PERFORCE change 135902 for review

Sam Leffler sam at FreeBSD.org
Thu Feb 21 17:10:31 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=135902

Change 135902 by sam at sam_ebb on 2008/02/21 17:10:27

	send EAPOL frames w/ the mgmt rate

Affected files ...

.. //depot/projects/vap/sys/dev/ral/rt2560.c#14 edit
.. //depot/projects/vap/sys/dev/ral/rt2661.c#11 edit

Differences ...

==== //depot/projects/vap/sys/dev/ral/rt2560.c#14 (text) ====

@@ -1819,6 +1819,8 @@
 	tp = &vap->iv_txparms[ieee80211_chan2mode(ni->ni_chan)];
 	if (IEEE80211_IS_MULTICAST(wh->i_addr1)) {
 		rate = tp->mcastrate;
+	} else if (m0->m_flags & M_EAPOL) {
+		rate = tp->mgmtrate;
 	} else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) {
 		rate = tp->ucastrate;
 	} else {

==== //depot/projects/vap/sys/dev/ral/rt2661.c#11 (text) ====

@@ -1613,6 +1613,8 @@
 	tp = &vap->iv_txparms[ieee80211_chan2mode(ni->ni_chan)];
 	if (IEEE80211_IS_MULTICAST(wh->i_addr1)) {
 		rate = tp->mcastrate;
+	} else if (m0->m_flags & M_EAPOL) {
+		rate = tp->mgmtrate;
 	} else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) {
 		rate = tp->ucastrate;
 	} else {


More information about the p4-projects mailing list