diff options
author | Dan Williams <dcbw@redhat.com> | 2008-08-19 15:15:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:06 -0400 |
commit | 87c8c72d532f96257162f978d5945dcf7f0df19e (patch) | |
tree | 71f270c1844e74ba41a6fe347e53f035db923e7d /drivers/net/wireless/libertas/host.h | |
parent | 095f695cbb07281682462da0618fffabb499d0be (diff) |
libertas: convert CMD_802_11_RF_TX_POWER to a direct command
And while we're at it, grab min/max TX power from the firmware and use
that to validate incoming TX power requests from WEXT.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/host.h')
-rw-r--r-- | drivers/net/wireless/libertas/host.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h index c92e41b4faf4..413030f17d74 100644 --- a/drivers/net/wireless/libertas/host.h +++ b/drivers/net/wireless/libertas/host.h | |||
@@ -178,16 +178,6 @@ | |||
178 | #define CMD_OPT_802_11_RF_CHANNEL_GET 0x00 | 178 | #define CMD_OPT_802_11_RF_CHANNEL_GET 0x00 |
179 | #define CMD_OPT_802_11_RF_CHANNEL_SET 0x01 | 179 | #define CMD_OPT_802_11_RF_CHANNEL_SET 0x01 |
180 | 180 | ||
181 | /* Define action or option for CMD_802_11_RF_TX_POWER */ | ||
182 | #define CMD_ACT_TX_POWER_OPT_GET 0x0000 | ||
183 | #define CMD_ACT_TX_POWER_OPT_SET_HIGH 0x8007 | ||
184 | #define CMD_ACT_TX_POWER_OPT_SET_MID 0x8004 | ||
185 | #define CMD_ACT_TX_POWER_OPT_SET_LOW 0x8000 | ||
186 | |||
187 | #define CMD_ACT_TX_POWER_INDEX_HIGH 0x0007 | ||
188 | #define CMD_ACT_TX_POWER_INDEX_MID 0x0004 | ||
189 | #define CMD_ACT_TX_POWER_INDEX_LOW 0x0000 | ||
190 | |||
191 | /* Define action or option for CMD_802_11_DATA_RATE */ | 181 | /* Define action or option for CMD_802_11_DATA_RATE */ |
192 | #define CMD_ACT_SET_TX_AUTO 0x0000 | 182 | #define CMD_ACT_SET_TX_AUTO 0x0000 |
193 | #define CMD_ACT_SET_TX_FIX_RATE 0x0001 | 183 | #define CMD_ACT_SET_TX_FIX_RATE 0x0001 |