alistair23-linux/net/mac80211
Johannes Berg 4150c57212 [PATCH] mac80211: revamp interface and filter configuration
Drivers are currently supposed to keep track of monitor
interfaces if they allow so-called "hard" monitor, and
they are also supposed to keep track of multicast etc.

This patch changes that, replaces the set_multicast_list()
callback with a new configure_filter() callback that takes
filter flags (FIF_*) instead of interface flags (IFF_*).
For a driver, this means it should open the filter as much
as necessary to get all frames requested by the filter flags.
Accordingly, the filter flags are named "positively", e.g.
FIF_ALLMULTI.

Multicast filtering is a bit special in that drivers that
have no multicast address filters need to allow multicast
frames through when either the FIF_ALLMULTI flag is set or
when the mc_count value is positive.

At the same time, drivers are no longer notified about
monitor interfaces at all, this means they now need to
implement the start() and stop() callbacks and the new
change_filter_flags() callback. Also, the start()/stop()
ordering changed, start() is now called *before* any
add_interface() as it really should be, and stop() after
any remove_interface().

The patch also changes the behaviour of setting the bssid
to multicast for scanning when IEEE80211_HW_NO_PROBE_FILTERING
is set; the IEEE80211_HW_NO_PROBE_FILTERING flag is removed
and the filter flag FIF_BCN_PRBRESP_PROMISC introduced.
This is a lot more efficient for hardware like b43 that
supports it and other hardware can still set the BSSID
to all-ones.

Driver modifications by Johannes Berg (b43 & iwlwifi), Michael Wu
(rtl8187, adm8211, and p54), Larry Finger (b43legacy), and
Ivo van Doorn (rt2x00).

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2007-10-10 16:52:57 -07:00
..
aes_ccm.c [NET]: DIV_ROUND_UP cleanup (part two) 2007-10-10 16:48:37 -07:00
aes_ccm.h
cfg.c [MAC80211]: rename ieee80211_cfg.h to cfg.h 2007-10-10 16:52:34 -07:00
cfg.h [MAC80211]: rename ieee80211_cfg.h to cfg.h 2007-10-10 16:52:34 -07:00
debugfs.c [MAC80211]: remove key threshold stuff 2007-10-10 16:52:29 -07:00
debugfs.h
debugfs_key.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
debugfs_key.h
debugfs_netdev.c [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
debugfs_netdev.h
debugfs_sta.c [MAC80211]: kill vlan_id 2007-10-10 16:52:33 -07:00
debugfs_sta.h
event.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
hostapd_ioctl.h [MAC80211]: remove key threshold stuff 2007-10-10 16:52:29 -07:00
ieee80211.c [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
ieee80211_common.h [MAC80211]: remove key threshold stuff 2007-10-10 16:52:29 -07:00
ieee80211_i.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
ieee80211_iface.c [MAC80211]: rework key handling 2007-10-10 16:48:53 -07:00
ieee80211_ioctl.c [MAC80211]: remove key threshold stuff 2007-10-10 16:52:29 -07:00
ieee80211_key.h [MAC80211]: add interface index to key debugfs 2007-10-10 16:48:54 -07:00
ieee80211_led.c
ieee80211_led.h
ieee80211_rate.c [MAC80211]: print out wiphy name instead of master device 2007-10-10 16:52:32 -07:00
ieee80211_rate.h [MAC80211]: move some rate control functions out of ieee80211.c 2007-10-10 16:47:35 -07:00
ieee80211_sta.c [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
Kconfig
key.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
Makefile [MAC80211]: rename ieee80211_cfg.c to cfg.c 2007-10-10 16:52:32 -07:00
michael.c
michael.h
rc80211_simple.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
regdomain.c [MAC80211]: remove turbo modes 2007-10-10 16:49:27 -07:00
rx.c [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
sta_info.c [MAC80211]: print out wiphy name instead of master device 2007-10-10 16:52:32 -07:00
sta_info.h [MAC80211]: kill vlan_id 2007-10-10 16:52:33 -07:00
tkip.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
tkip.h
tx.c [MAC80211]: print out wiphy name instead of master device 2007-10-10 16:52:32 -07:00
util.c [MAC80211]: fix warnings introduced by the doc patches 2007-10-10 16:52:30 -07:00
wep.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
wep.h
wme.c [MAC80211]: clean up whitespace 2007-10-10 16:48:55 -07:00
wme.h [MAC80211]: move QoS rx handlers into rx.c 2007-10-10 16:47:30 -07:00
wpa.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
wpa.h