summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_adhoc.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_adhoc.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_adhoc.c')
-rw-r--r--sys/net80211/ieee80211_adhoc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_adhoc.c b/sys/net80211/ieee80211_adhoc.c
index d3b43bd..67bcf64 100644
--- a/sys/net80211/ieee80211_adhoc.c
+++ b/sys/net80211/ieee80211_adhoc.c
@@ -922,6 +922,12 @@ ahdemo_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0,
}
static void
-adhoc_recv_ctl(struct ieee80211_node *ni, struct mbuf *m0, int subtype)
+adhoc_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