android_kernel_motorola_sm6225/net/mac80211
Daniel Drake 63fc33ceb0 [PATCH] mac80211: improved 802.11g CTS protection
Currently, CTS protection is partially implemented twice:
 1. via prism2 ioctls, only used by hostapd
 2. via STA beacon parsing, recorded in sta.use_protection but never used
    (other than printed in debugfs)

Protection control should be implemented on a per-subif basis. For example,
a single physical device may be running a soft AP on one channel, and a STA
on another. The AP interface should use protection based on what hostapd told
it, and the STA interface should use protection based on beacon parsing.
These should operate independantly: one subif using protection should not
influence the other.

To implement this, I moved the use_protection flag into ieee80211_sub_if_data
and removed the device-global cts_protect_erp_frames flag.

I also made the PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES write operation only
available for AP interfaces, to avoid any possibility of the user messing with
the behaviour of a STA.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2007-07-12 16:07:26 -04:00
..
aes_ccm.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
aes_ccm.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
debugfs.c [PATCH] mac80211: fix debugfs tx power reduction output 2007-06-11 17:47:48 -04:00
debugfs.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_key.c [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_key.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_netdev.c [PATCH] mac80211: improved 802.11g CTS protection 2007-07-12 16:07:26 -04:00
debugfs_netdev.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_sta.c [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_sta.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
hostapd_ioctl.h [PATCH] mac80211: kill PRISM2_PARAM_CLEAR_KEYS 2007-07-12 16:07:25 -04:00
ieee80211.c [PATCH] mac80211: improved 802.11g CTS protection 2007-07-12 16:07:26 -04:00
ieee80211_cfg.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_cfg.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_common.h [PATCH] mac80211: remove ieee80211_set_aid_for_sta 2007-07-12 16:07:25 -04:00
ieee80211_i.h [PATCH] mac80211: improved 802.11g CTS protection 2007-07-12 16:07:26 -04:00
ieee80211_iface.c [PATCH] mac80211: separate monitor/subif_start_xmit 2007-07-12 16:07:25 -04:00
ieee80211_ioctl.c [PATCH] mac80211: improved 802.11g CTS protection 2007-07-12 16:07:26 -04:00
ieee80211_key.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
ieee80211_led.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_led.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_rate.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_rate.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
ieee80211_sta.c [PATCH] mac80211: improved 802.11g CTS protection 2007-07-12 16:07:26 -04:00
Kconfig [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
Makefile [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
michael.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
michael.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
rc80211_simple.c [PATCH] mac80211: kill rate control ioctls 2007-07-12 16:07:25 -04:00
sta_info.c [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
sta_info.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
tkip.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
tkip.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
wep.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
wep.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
wme.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
wme.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
wpa.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
wpa.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00