2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/drivers/net/wireless/b43legacy
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
..
b43legacy.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
debugfs.c [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
debugfs.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
dma.c [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
dma.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
ilt.c [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
ilt.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
Kconfig [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
leds.c [B43LEGACY]: Change the hardware radio enable logic and cleanup code 2007-10-10 16:52:25 -07:00
leds.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
main.c [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
main.h [B43LEGACY]: Change the hardware radio enable logic and cleanup code 2007-10-10 16:52:25 -07:00
Makefile [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
phy.c [B43LEGACY]: Support for turning the radio off from software. 2007-10-10 16:52:25 -07:00
phy.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
pio.c [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
pio.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
radio.c [B43LEGACY]: Change the hardware radio enable logic and cleanup code 2007-10-10 16:52:25 -07:00
radio.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
sysfs.c [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
sysfs.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
xmit.c [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
xmit.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00