Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2008 17:22:20 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 149545 for review
Message-ID:  <200809101722.m8AHMKOR086801@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=149545

Change 149545 by sam@sam_ebb on 2008/09/10 17:21:36

	need to use the bss node to get tx params for mgt frames;
	using the destination sta can result in mgt frames sent
	with HT rates

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_output.c#58 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_output.c#58 (text+ko) ====

@@ -2133,10 +2133,10 @@
 
 	/* NB: force non-ProbeResp frames to the highest queue */
 	params.ibp_pri = WME_AC_VO;
-	params.ibp_rate0 = ni->ni_txparms->mgmtrate;
+	params.ibp_rate0 = bss->ni_txparms->mgmtrate;
 	/* NB: we know all frames are unicast */
-	params.ibp_try0 = ni->ni_txparms->maxretry;
-	params.ibp_power = ni->ni_txpower;
+	params.ibp_try0 = bss->ni_txparms->maxretry;
+	params.ibp_power = bss->ni_txpower;
 	return ieee80211_mgmt_output(ni, m, type, &params);
 bad:
 	ieee80211_free_node(ni);



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