OpenCloudOS-Kernel/drivers/net/wireless
Ivo van Doorn 7dab73b37f rt2x00: Split rt2x00dev->flags
The number of flags defined for the rt2x00dev->flags field,
has been growing over the years. Currently we are approaching
the maximum number of bits which are available in the field.

A secondary problem, is that one part of the field are initialized only
during boot, because the driver requirements are initialized or device
requirements are loaded from the EEPROM. In both cases, the flags are
fixed and will not change during device operation. The other flags are
the device state, and will change frequently. So far this resulted in the fact
that for some flags, the atomic bit accessors are used, while for the others
the non-atomic variants are used.

By splitting the flags up into a "flags" and "cap_flags" we can put all flags
which are fixed inside "cap_flags". This field can then be read non-atomically.
In the "flags" field we keep the device state, which is going to be read atomically.

This adds more room for more flags in the future, and sanitizes the field access methods.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-04-19 15:39:11 -04:00
..
ath ath9k: assign keycache slots to unencrypted stations 2011-04-19 15:38:06 -04:00
b43 b43: allocate receive buffers big enough for max frame len + offset 2011-04-04 15:22:11 -04:00
b43legacy mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
hostap net: change to new flag variable 2011-03-17 14:05:35 +01:00
ipw2x00 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2011-03-16 16:29:25 -07:00
iwlegacy iwlegacy: use pci_dev->revision 2011-04-19 15:38:03 -04:00
iwlwifi iwlagn: remove led_ops 2011-04-18 09:36:30 -07:00
iwmc3200wifi Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-01-28 16:23:14 -05:00
libertas libertas_spi: Add support for suspend/resume 2011-03-30 14:15:17 -04:00
libertas_tf mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
mwifiex mwifiex: optimize driver initialization code 2011-04-19 15:38:04 -04:00
orinoco orinoco: Clear dangling pointer on hardware busy 2011-03-23 15:22:04 -04:00
p54 p54usb: IDs for two new devices 2011-04-04 15:22:12 -04:00
prism54
rt2x00 rt2x00: Split rt2x00dev->flags 2011-04-19 15:39:11 -04:00
rtl818x rtl8187: Change rate-control feedback 2011-03-04 14:05:17 -05:00
rtlwifi rtlwifi: Fix unitialized variable warnings 2011-04-14 15:35:14 -04:00
wl12xx wl12xx: fix potential buffer overflow in testmode nvs push 2011-04-04 15:22:12 -04:00
wl1251 wl1251: Add support for idle mode 2011-04-07 15:34:14 -04:00
zd1211rw Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-04-07 16:45:40 -04:00
Kconfig wireless: mwifiex: initial commit for Marvell mwifiex driver 2011-03-30 14:15:17 -04:00
Makefile wireless: mwifiex: initial commit for Marvell mwifiex driver 2011-03-30 14:15:17 -04:00
adm8211.c mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
adm8211.h
airo.c
airo.h
airo_cs.c
at76c50x-usb.c at76c50x-usb: fix warning caused by at76_mac80211_tx now returning void 2011-02-28 13:57:30 -05:00
at76c50x-usb.h ieee80211: add IEEE80211_COUNTRY_STRING_LEN definition 2011-03-09 16:10:56 -05:00
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
mac80211_hwsim.c mac80211: make tx() operation return void 2011-02-25 15:32:34 -05:00
mwl8k.c mwl8k: use traffic threshold to decide when to start ampdu 2011-04-13 15:21:56 -04:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: use power save only for BCM4320b 2011-02-25 15:21:51 -05:00
wl3501.h
wl3501_cs.c
zd1201.c
zd1201.h