diff options
author | Christian Lamparter <chunkeey@web.de> | 2009-07-07 21:08:07 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-24 23:05:06 +0400 |
commit | e0f114e82e3781087a0ad0e92c94ff0d55012c1a (patch) | |
tree | d4c7cfa485360952b3da9fee7acc07efcfdcc7d8 /drivers/net/wireless/p54/lmac.h | |
parent | 0a2b8bb24d4eb67788edd71d1ef8aa86c2e17e0f (diff) | |
download | linux-e0f114e82e3781087a0ad0e92c94ff0d55012c1a.tar.xz |
p54: re-enable power save feature
This patch re-enables p54's power save features and adds a workaround
which temporarily alters the device's power state in order to allow
ps-polls to be sent and buffered data to be retrieved during psm.
(Incorporates patch originally posted as "p54: fix beacon template dtim
IE corruption". -- JWL)
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/lmac.h')
-rw-r--r-- | drivers/net/wireless/p54/lmac.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/lmac.h b/drivers/net/wireless/p54/lmac.h index 0496cff26b35..af35cfcd4fe3 100644 --- a/drivers/net/wireless/p54/lmac.h +++ b/drivers/net/wireless/p54/lmac.h @@ -548,4 +548,7 @@ int p54_upload_key(struct p54_common *priv, u8 algo, int slot, int p54_download_eeprom(struct p54_common *priv, void *buf, u16 offset, u16 len); +/* utility */ +u8 *p54_find_ie(struct sk_buff *skb, u8 ie); + #endif /* LMAC_H */ |