summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_output.c
diff options
context:
space:
mode:
authormonthadar <monthadar@FreeBSD.org>2013-02-07 21:18:22 +0000
committermonthadar <monthadar@FreeBSD.org>2013-02-07 21:18:22 +0000
commitd1e96afdf87d937574a67257cb35c0f0b2e1ad47 (patch)
treefcaa48c72e323abd5c5f8425e06ee2dc5e8407d1 /sys/net80211/ieee80211_output.c
parent6029a16e375b541b537876704c1732f0da927ae6 (diff)
downloadFreeBSD-src-d1e96afdf87d937574a67257cb35c0f0b2e1ad47.zip
FreeBSD-src-d1e96afdf87d937574a67257cb35c0f0b2e1ad47.tar.gz
Add mesh debug for interarction between DS & MBSS.
* Add mesh debug information when frames enter or leave the MBSS; * Set IEEE80211_MSG_OUTPUT bit to enable output; Approved by: adrian (mentor)
Diffstat (limited to 'sys/net80211/ieee80211_output.c')
-rw-r--r--sys/net80211/ieee80211_output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index 57925f2..8f3e51b 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -262,6 +262,10 @@ ieee80211_start(struct ifnet *ifp)
m_freem(m);
continue;
}
+ IEEE80211_DPRINTF(vap, IEEE80211_MSG_OUTPUT,
+ "forward frame from DS SA(%6D), DA(%6D)\n",
+ eh->ether_dhost, ":",
+ eh->ether_shost, ":");
ieee80211_mesh_proxy_check(vap, eh->ether_shost);
}
ni = ieee80211_mesh_discover(vap, eh->ether_dhost, m);
OpenPOWER on IntegriCloud