PERFORCE change 149545 for review
Sam Leffler
sam at FreeBSD.org
Wed Sep 10 17:22:21 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=149545
Change 149545 by sam at 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, ¶ms);
bad:
ieee80211_free_node(ni);
More information about the p4-projects
mailing list