Date: Sun, 30 Mar 2008 01:24:23 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 138955 for review Message-ID: <200803300124.m2U1ON8t013177@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=138955 Change 138955 by sam@sam_ebb on 2008/03/30 01:23:23 hack a raw 802.11 tap in the tx path by hooking ieee80211_encap; doesn't handle frags and doesn't belong here--we need to pull the tx aggregation up to the net80211 layer so we can do encap and crypto before handing to the driver Affected files ... .. //depot/projects/vap/sys/net80211/ieee80211_output.c#43 edit Differences ... ==== //depot/projects/vap/sys/net80211/ieee80211_output.c#43 (text+ko) ==== @@ -1103,6 +1103,10 @@ IEEE80211_NODE_STAT(ni, tx_ucast); IEEE80211_NODE_STAT_ADD(ni, tx_bytes, datalen); + /* XXX fragmented frames not handled */ + if (bpf_peers_present(vap->iv_rawbpf)) + bpf_mtap(vap->iv_rawbpf, m); + return m; bad: if (m != NULL)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803300124.m2U1ON8t013177>