cfg80211: allow driver to override PS default
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 12 Aug 2009 21:33:20 +0000 (23:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:14:08 +0000 (09:14 -0400)
commit16cb9d42b68b339852e8914f2538ca9a2aec616c
treeaef8822ae4d5dc7574af3c52501b8d6449c2ccc0
parent36e6fea84905512ea776707e82b5b435220efc17
cfg80211: allow driver to override PS default

Sometimes drivers might have a good reason to override
the PS default, like iwlwifi right now where it affects
RX performance significantly at this point. This will
allow them to override the default, if desired, in a
way that users can still change it according to their
trade-off choices, not the driver's, like would happen
if the driver just disabled PS completely then.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/wireless/core.c