summaryrefslogtreecommitdiff
path: root/drivers/net/wimax/i2400m/i2400m.h
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-05-07 21:27:42 +0400
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-06-11 14:30:17 +0400
commitfb10167478a3a8e29fe122a7bf4c67b5cfc48a1b (patch)
treec71f8cbfb7e1cb3425d0ed1aa70de2a333a59aa9 /drivers/net/wimax/i2400m/i2400m.h
parent0ed586d075ef65c0268982e5b7f36d0ffaa95547 (diff)
downloadlinux-fb10167478a3a8e29fe122a7bf4c67b5cfc48a1b.tar.xz
wimax/i2400m: introduce module parameter to disable entering power save
The i2400m driver waits for the device to report being ready for entering power save before asking it to do so. This module parameter allows control of said operation; if disabled, the driver won't ask the device to enter power save mode. This is useful in setups where power saving is not so important or when the overhead imposed by network reentry after power save is not acceptable; by combining this with parameter 'idle_mode_disabled', the driver will always maintain both the connection and the device in active state. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/wimax/i2400m/i2400m.h')
-rw-r--r--drivers/net/wimax/i2400m/i2400m.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wimax/i2400m/i2400m.h b/drivers/net/wimax/i2400m/i2400m.h
index 434ba310c2fe..8dba246e15bf 100644
--- a/drivers/net/wimax/i2400m/i2400m.h
+++ b/drivers/net/wimax/i2400m/i2400m.h
@@ -709,6 +709,7 @@ static const __le32 i2400m_SBOOT_BARKER[4] = {
cpu_to_le32(I2400M_SBOOT_BARKER)
};
+extern int i2400m_power_save_disabled;
/*
* Utility functions