android_kernel_xiaomi_sdm845/drivers/net/wireless
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
..
b43 [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
b43legacy [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
bcm43xx [BCM43XX]: Change radio hardware switch status printk from debug to regular 2007-10-10 16:52:18 -07:00
hostap [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
iwlwifi [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
libertas [LIBERTAS]: fix oops on the blackfin architecture 2007-10-10 16:52:28 -07:00
prism54 [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
rt2x00 [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
zd1211rw [ZD1211RD]: add USB id for Telegent TG54USB WLAN adapter 2007-10-10 16:52:18 -07:00
adm8211.c [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
adm8211.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
airo_cs.c [PATCH] pcmcia: conf.ConfigBase and conf.Present consolidation 2006-12-04 20:12:02 -05:00
airo.c [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
airo.h
airport.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
arlan-main.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
arlan-proc.c [PATCH] dev->priv to netdev_priv(dev), for drivers/net/wireless 2007-10-10 16:49:37 -07:00
arlan.h
atmel_cs.c [PATCH] pcmcia: conf.ConfigBase and conf.Present consolidation 2006-12-04 20:12:02 -05:00
atmel_pci.c [PATCH] atmel: whitespace cleanup 2006-12-02 00:11:57 -05:00
atmel.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
atmel.h
hermes_rid.h
hermes.c
hermes.h
i82586.h
i82593.h
ipw2100.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
ipw2100.h
ipw2200.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
ipw2200.h Clean up duplicate includes in drivers/net/ 2007-10-10 16:50:26 -07:00
Kconfig [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
Makefile [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
net2280.h [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
netwave_cs.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
orinoco_cs.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
orinoco_nortel.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
orinoco_pci.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
orinoco_pci.h [PATCH] wireless: clean-up some "check return code" warnings 2006-12-02 00:12:03 -05:00
orinoco_plx.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
orinoco_tmd.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
orinoco.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
orinoco.h
p54.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
p54common.c [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
p54common.h [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
p54pci.c [P54PCI]: terminate pci table 2007-10-10 16:52:19 -07:00
p54pci.h [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
p54usb.c [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
p54usb.h [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
ray_cs.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
ray_cs.h
rayctl.h
rtl818x.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
rtl8187_dev.c [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
rtl8187_rtl8225.c [PATCH] rtl8187: fix endianness issue in rtl8225 register writing 2007-07-10 13:51:38 -04:00
rtl8187_rtl8225.h [PATCH] rtl8187: add header blocks and indicate origin of magic values 2007-07-08 22:16:37 -04:00
rtl8187.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
spectrum_cs.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
strip.c [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
wavelan_cs.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
wavelan_cs.h
wavelan_cs.p.h Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
wavelan.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
wavelan.h
wavelan.p.h [PATCH] wavelan: Use ARRAY_SIZE macro when appropriate 2007-02-14 15:45:04 -05:00
wl3501_cs.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
wl3501.h
zd1201.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
zd1201.h