android_kernel_xiaomi_sm8350/drivers/net/wireless
Zhu Yi d685b8c226 [PATCH] ipw2200: Enable rtap interface for RF promiscuous mode while associated
With this patch, a new promiscuous mode is enabled. If the module is loaded
with the rtap_iface=1 module parameter, two interfaces will be created
(instead of just one).

The second interface is prefixed 'rtap' and provides received 802.11 frames
on the current channel to user space in a radiotap header format.

Example usage:

        % modprobe ipw2200 rtap_iface=1
        % iwconfig eth1 essid MyNetwork
        % dhcpcd eth1
        % tcpdump -i rtap0

If you do not specify 'rtap_iface=1' then the rtap interface will
not be created and you will need to turn it on via:

        % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface

You can filter out what type of information is passed to user space via
the rtap_filter sysfs entry.  Currently you can tell the driver to
transmit just the headers (which will provide the RADIOTAP and IEEE
802.11 header but not the payload), to filter based on frame control
type (Management, Control, or Data), and whether to report transmitted
frames, received frames, or both.

The transmit frame reporting is based on a patch by Stefan Rompf.

Filters can be get and set via a sysfs interface. For example, set the
filter to only send headers (0x7), don't report Tx'd frames (0x10), and
don't report data frames (0x100):

        % echo 0x117 > /sys/bus/pci/drivers/ipw2200/*/rtap_filter

All your packets are belong to us:

        % tethereal -n -i rtap0

Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2006-04-24 16:15:56 -04:00
..
bcm43xx [PATCH] bcm43xx: use pci_iomap() for convenience. 2006-04-24 16:15:53 -04:00
hostap [PATCH] Fix crash on big-endian systems during scan 2006-04-24 15:20:22 -04:00
prism54 [PATCH] Typo fixes 2006-03-28 09:16:08 -08:00
airo_cs.c [PATCH] pcmcia: use bitfield instead of p_state and state 2006-03-31 17:26:33 +02:00
airo.c [PATCH] wireless/airo: clean up WEXT association and scan events 2006-04-19 17:25:37 -04:00
airo.h
airport.c
arlan-main.c
arlan-proc.c
arlan.h
atmel_cs.c [PATCH] pcmcia: convert DEV_OK to pcmcia_dev_present 2006-03-31 17:26:57 +02:00
atmel_pci.c
atmel.c [PATCH] wireless/atmel: send WEXT scan completion events 2006-04-19 17:25:38 -04:00
atmel.h
hermes_rid.h
hermes.c [PATCH] orinoco: don't use any padding for Tx frames 2006-04-24 16:15:51 -04:00
hermes.h [PATCH] orinoco: don't use any padding for Tx frames 2006-04-24 16:15:51 -04:00
i82586.h
i82593.h
ipw2100.c [PATCH] ipw2100: Update version ipw2100 stamp to 1.2.2 2006-03-17 16:14:48 -05:00
ipw2100.h [PATCH] ipw2100: move mutex.h include from ipw2100.c to ipw2100.h 2006-03-17 16:14:48 -05:00
ipw2200.c [PATCH] ipw2200: Enable rtap interface for RF promiscuous mode while associated 2006-04-24 16:15:56 -04:00
ipw2200.h [PATCH] ipw2200: Enable rtap interface for RF promiscuous mode while associated 2006-04-24 16:15:56 -04:00
Kconfig [PATCH] ipw2200: Enable rtap interface for RF promiscuous mode while associated 2006-04-24 16:15:56 -04:00
Makefile [PATCH] bcm43xx: patch Kconfig and wireless/Makefile for import 2006-03-27 11:18:23 -05:00
netwave_cs.c [PATCH] pcmcia: convert DEV_OK to pcmcia_dev_present 2006-03-31 17:26:57 +02:00
orinoco_cs.c [PATCH] orinoco: remove PCMCIA audio support, it's useless for wireless cards 2006-04-24 16:15:49 -04:00
orinoco_nortel.c [PATCH] orinoco: further comment cleanup in the PCI drivers 2006-04-24 16:15:52 -04:00
orinoco_pci.c [PATCH] orinoco: further comment cleanup in the PCI drivers 2006-04-24 16:15:52 -04:00
orinoco_pci.h [PATCH] orinoco: reduce differences between PCI drivers, create orinoco_pci.h 2006-04-24 16:15:52 -04:00
orinoco_plx.c [PATCH] orinoco: further comment cleanup in the PCI drivers 2006-04-24 16:15:52 -04:00
orinoco_tmd.c [PATCH] orinoco: further comment cleanup in the PCI drivers 2006-04-24 16:15:52 -04:00
orinoco.c [PATCH] orinoco: delay FID allocation after firmware initialization 2006-04-24 16:15:51 -04:00
orinoco.h [PATCH] orinoco: bump version to 0.15 2006-04-24 16:15:52 -04:00
ray_cs.c [PATCH] pcmcia: convert DEV_OK to pcmcia_dev_present 2006-03-31 17:26:57 +02:00
ray_cs.h [PATCH] pcmcia: remove dev_link_t and client_handle_t indirection 2006-03-31 17:21:06 +02:00
rayctl.h
README
spectrum_cs.c [PATCH] orinoco replace hermes_write_words() with hermes_write_bytes() 2006-04-24 16:15:50 -04:00
strip.c
todo.txt
wavelan_cs.c [PATCH] pcmcia: use bitfield instead of p_state and state 2006-03-31 17:26:33 +02:00
wavelan_cs.h
wavelan_cs.p.h [PATCH] pcmcia: remove dev_link_t and client_handle_t indirection 2006-03-31 17:21:06 +02:00
wavelan.c
wavelan.h
wavelan.p.h
wl3501_cs.c [PATCH] pcmcia: convert DEV_OK to pcmcia_dev_present 2006-03-31 17:26:57 +02:00
wl3501.h [PATCH] pcmcia: embed dev_link_t into struct pcmcia_device 2006-03-31 17:15:57 +02:00

	README
	------

	This directory is mostly for Wireless LAN drivers, in their
various incarnations (ISA, PCI, Pcmcia...).
	This separate directory is needed because a lot of driver work
on different bus (typically PCI + Pcmcia) and share 95% of the
code. This allow the code and the config options to be in one single
place instead of scattered all over the driver tree, which is never
100% satisfactory.

	Note : if you want more info on the topic of Wireless LANs,
you are kindly invited to have a look at the Wireless Howto :
		http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
	Some Wireless LAN drivers, like orinoco_cs, require the use of
Wireless Tools to be configured :
		http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html

	Special notes for distribution maintainers :
	1) wvlan_cs will be discontinued soon in favor of orinoco_cs
	2) Please add Wireless Tools support in your scripts

	Have fun...

	Jean