Date: Wed, 20 May 2009 20:00:40 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/conf files src/sys/dev/ath if_ath.c if_athvar.h src/sys/dev/bwi if_bwi.c if_bwivar.h src/sys/dev/ipw if_ipw.c if_ipwvar.h src/sys/dev/iwi if_iwi.c if_iwivar.h src/sys/dev/iwn if_iwn.c if_iwnvar.h src/sys/dev/malo if_malo.c ... Message-ID: <200905202001.n4KK1A5D003269@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2009-05-20 20:00:40 UTC
FreeBSD src repository
Modified files:
sys/conf files
sys/dev/ath if_ath.c if_athvar.h
sys/dev/bwi if_bwi.c if_bwivar.h
sys/dev/ipw if_ipw.c if_ipwvar.h
sys/dev/iwi if_iwi.c if_iwivar.h
sys/dev/iwn if_iwn.c if_iwnvar.h
sys/dev/malo if_malo.c if_malo.h
sys/dev/ral rt2560.c rt2560var.h rt2661.c rt2661var.h
sys/dev/usb/wlan if_rum.c if_rumvar.h if_uath.c
if_uathvar.h if_upgt.c if_ural.c
if_uralvar.h if_zyd.c
sys/dev/wi if_wi.c if_wireg.h if_wivar.h
sys/dev/wpi if_wpi.c if_wpivar.h
sys/net80211 ieee80211.c ieee80211_adhoc.c
ieee80211_ddb.c ieee80211_freebsd.c
ieee80211_hostap.c ieee80211_ht.c
ieee80211_input.c ieee80211_monitor.c
ieee80211_node.c ieee80211_node.h
ieee80211_output.c ieee80211_proto.c
ieee80211_proto.h ieee80211_scan.c
ieee80211_scan.h ieee80211_scan_sta.c
ieee80211_sta.c ieee80211_superg.c
ieee80211_tdma.c ieee80211_tdma.h
ieee80211_var.h ieee80211_wds.c
Added files:
sys/net80211 ieee80211_radiotap.c
Log:
SVN rev 192468 on 2009-05-20 20:00:40Z by sam
Overhaul monitor mode handling:
o replace DLT_IEEE802_11 support in net80211 with DLT_IEEE802_11_RADIO
and remove explicit bpf support from wireless drivers; drivers now
use ieee80211_radiotap_attach to setup shared data structures that
hold the radiotap header for each packet tx/rx
o remove rx timestamp from the rx path; it was used only by the tdma support
for debugging and was mostly useless due to it being 32-bits and mostly
unavailable
o track DLT_IEEE80211_RADIO bpf attachments and maintain per-vap and
per-com state when there are active taps
o track the number of monitor mode vaps
o use bpf tap and monitor mode vap state to decide when to collect radiotap
state and dispatch frames; drivers no longer explicitly directly check
bpf state or use bpf calls to tap frames
o handle radiotap state updates on channel change in net80211; drivers
should not do this (unless they bypass net80211 which is almost always
a mistake)
o update various drivers to be more consistent/correct in handling radiotap
o update ral to include TSF in radiotap'd frames
o add promisc mode callback to wi
Reviewed by: cbzimmer, rpaulo, thompsa
Revision Changes Path
1.1401 +1 -0 src/sys/conf/files
1.252 +47 -85 src/sys/dev/ath/if_ath.c
1.87 +7 -8 src/sys/dev/ath/if_athvar.h
1.2 +16 -27 src/sys/dev/bwi/if_bwi.c
1.2 +0 -2 src/sys/dev/bwi/if_bwivar.h
1.46 +17 -27 src/sys/dev/ipw/if_ipw.c
1.10 +4 -5 src/sys/dev/ipw/if_ipwvar.h
1.70 +16 -24 src/sys/dev/iwi/if_iwi.c
1.20 +3 -4 src/sys/dev/iwi/if_iwivar.h
1.16 +18 -35 src/sys/dev/iwn/if_iwn.c
1.3 +0 -2 src/sys/dev/iwn/if_iwnvar.h
1.8 +11 -38 src/sys/dev/malo/if_malo.c
1.3 +0 -3 src/sys/dev/malo/if_malo.h
1.31 +33 -44 src/sys/dev/ral/rt2560.c
1.7 +4 -2 src/sys/dev/ral/rt2560var.h
1.31 +30 -36 src/sys/dev/ral/rt2661.c
1.6 +4 -2 src/sys/dev/ral/rt2661var.h
1.13 +28 -27 src/sys/dev/usb/wlan/if_rum.c
1.6 +5 -2 src/sys/dev/usb/wlan/if_rumvar.h
1.7 +36 -35 src/sys/dev/usb/wlan/if_uath.c
1.3 +20 -11 src/sys/dev/usb/wlan/if_uathvar.h
1.3 +11 -21 src/sys/dev/usb/wlan/if_upgt.c
1.13 +31 -30 src/sys/dev/usb/wlan/if_ural.c
1.6 +4 -2 src/sys/dev/usb/wlan/if_uralvar.h
1.9 +15 -23 src/sys/dev/usb/wlan/if_zyd.c
1.227 +50 -49 src/sys/dev/wi/if_wi.c
1.47 +3 -1 src/sys/dev/wi/if_wireg.h
1.36 +2 -4 src/sys/dev/wi/if_wivar.h
1.26 +10 -20 src/sys/dev/wpi/if_wpi.c
1.6 +0 -2 src/sys/dev/wpi/if_wpivar.h
1.73 +9 -2 src/sys/net80211/ieee80211.c
1.15 +15 -20 src/sys/net80211/ieee80211_adhoc.c
1.29 +3 -3 src/sys/net80211/ieee80211_ddb.c
1.30 +29 -0 src/sys/net80211/ieee80211_freebsd.c
1.20 +18 -24 src/sys/net80211/ieee80211_hostap.c
1.33 +2 -2 src/sys/net80211/ieee80211_ht.c
1.126 +2 -3 src/sys/net80211/ieee80211_input.c
1.2 +3 -5 src/sys/net80211/ieee80211_monitor.c
1.129 +3 -3 src/sys/net80211/ieee80211_node.c
1.48 +0 -1 src/sys/net80211/ieee80211_node.h
1.95 +0 -7 src/sys/net80211/ieee80211_output.c
1.62 +1 -0 src/sys/net80211/ieee80211_proto.c
1.40 +3 -4 src/sys/net80211/ieee80211_proto.h
1.1 +325 -0 src/sys/net80211/ieee80211_radiotap.c (new)
1.16 +4 -2 src/sys/net80211/ieee80211_scan.c
1.8 +2 -3 src/sys/net80211/ieee80211_scan.h
1.26 +1 -2 src/sys/net80211/ieee80211_scan_sta.c
1.21 +17 -22 src/sys/net80211/ieee80211_sta.c
1.11 +1 -3 src/sys/net80211/ieee80211_superg.c
1.15 +12 -7 src/sys/net80211/ieee80211_tdma.c
1.6 +1 -1 src/sys/net80211/ieee80211_tdma.h
1.86 +37 -4 src/sys/net80211/ieee80211_var.h
1.11 +15 -24 src/sys/net80211/ieee80211_wds.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905202001.n4KK1A5D003269>
