kernel-fxtec-pro1x/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
aes_ccm.h
debugfs.c [PATCH] mac80211: fix debugfs tx power reduction output 2007-06-11 17:47:48 -04:00
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c [PATCH] mac80211: improved 802.11g CTS protection 2007-07-12 16:07:26 -04:00
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
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
ieee80211_cfg.h
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
ieee80211_led.c
ieee80211_led.h
ieee80211_rate.c
ieee80211_rate.h
ieee80211_sta.c [PATCH] mac80211: improved 802.11g CTS protection 2007-07-12 16:07:26 -04:00
Kconfig
Makefile
michael.c
michael.h
rc80211_simple.c [PATCH] mac80211: kill rate control ioctls 2007-07-12 16:07:25 -04:00
sta_info.c
sta_info.h
tkip.c
tkip.h
wep.c
wep.h
wme.c
wme.h
wpa.c
wpa.h