summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_sta.c
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-03-18 11:06:38 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-03-18 11:06:38 +0000
commit1afdf5764e23446aae43fcbc2a8d90d1142caf2c (patch)
treebab574d05eb7a162ad95d8f073269744c881e2f5 /sys/net80211/ieee80211_sta.c
parentabd6b4ebb704c554021e3532c567b55508cb9862 (diff)
downloadFreeBSD-src-1afdf5764e23446aae43fcbc2a8d90d1142caf2c.zip
FreeBSD-src-1afdf5764e23446aae43fcbc2a8d90d1142caf2c.tar.gz
Fix a couple of bugs with 802.11n:
o Process the BAR frame on the adhoc, mesh and sta modes o Fix the format of the ADDBA reply frame o Fix references to the spec section numbers Also, print the all the MCS rates in bootverbose. Sponsored by: iXsystems, Inc. Obtained from: //depot/user/rpaulo/80211n/...
Diffstat (limited to 'sys/net80211/ieee80211_sta.c')
-rw-r--r--sys/net80211/ieee80211_sta.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_sta.c b/sys/net80211/ieee80211_sta.c
index 4ebbd7c..adf8fb5 100644
--- a/sys/net80211/ieee80211_sta.c
+++ b/sys/net80211/ieee80211_sta.c
@@ -1739,6 +1739,11 @@ sta_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0,
}
static void
-sta_recv_ctl(struct ieee80211_node *ni, struct mbuf *m0, int subtype)
+sta_recv_ctl(struct ieee80211_node *ni, struct mbuf *m, int subtype)
{
+ switch (subtype) {
+ case IEEE80211_FC0_SUBTYPE_BAR:
+ ieee80211_recv_bar(ni, m);
+ break;
+ }
}
OpenPOWER on IntegriCloud