mac80211: extend/document powersave API
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 7 Jan 2009 17:28:20 +0000 (18:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:59:58 +0000 (15:59 -0500)
commit4be8c3873e0b88397866d3ede578503e188f9ad2
tree1ccf8a0c204bb01aca08d90c2d8c37b5e0439bd3
parentacbaf32e94cb70218792cac68e5149e482e77441
mac80211: extend/document powersave API

This modifies hardware flags for powersave to support three different
flags:
 * IEEE80211_HW_SUPPORTS_PS - indicates general PS support
 * IEEE80211_HW_PS_NULLFUNC_STACK - indicates nullfunc sending in software
 * IEEE80211_HW_SUPPORTS_DYNAMIC_PS - indicates dynamic PS on the device

It also adds documentation for all this which explains how to set the
various flags.

Additionally, it fixes a few things:
 * a spot where && was used to test flags
 * enable CONF_PS only when associated again

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Documentation/DocBook/mac80211.tmpl
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt73usb.c
include/net/mac80211.h
net/mac80211/mlme.c
net/mac80211/tx.c
net/mac80211/wext.c