diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2008-03-26 04:57:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-27 16:03:19 -0400 |
commit | 62436138c83f221943c1f5d9cff41305d3d26ac4 (patch) | |
tree | 815268cd5f3519c018d1cfe079ac85b7ddf41dc5 /drivers/net/wireless/libertas | |
parent | c2b310a73b62f074b0019b940417cafbdbafde41 (diff) |
libertas: remove CMD_802_11_PWR_CFG
This has nowhere been used. Note: in the firmware manual this was
documented as CMD_802_11_PA_CFG. If we ever need it, we can/should
re-implement it as a direct command.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 10 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/cmdresp.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/host.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/hostcmd.h | 9 |
4 files changed, 0 insertions, 28 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 59801f103e66..f3e0818d94a3 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -1496,16 +1496,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
1496 | break; | 1496 | break; |
1497 | } | 1497 | } |
1498 | 1498 | ||
1499 | case CMD_802_11_PWR_CFG: | ||
1500 | cmdptr->command = cpu_to_le16(CMD_802_11_PWR_CFG); | ||
1501 | cmdptr->size = | ||
1502 | cpu_to_le16(sizeof(struct cmd_ds_802_11_pwr_cfg) + | ||
1503 | S_DS_GEN); | ||
1504 | memmove(&cmdptr->params.pwrcfg, pdata_buf, | ||
1505 | sizeof(struct cmd_ds_802_11_pwr_cfg)); | ||
1506 | |||
1507 | ret = 0; | ||
1508 | break; | ||
1509 | case CMD_BT_ACCESS: | 1499 | case CMD_BT_ACCESS: |
1510 | ret = lbs_cmd_bt_access(cmdptr, cmd_action, pdata_buf); | 1500 | ret = lbs_cmd_bt_access(cmdptr, cmd_action, pdata_buf); |
1511 | break; | 1501 | break; |
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index 888f92d8afc9..711f5ebd13c0 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -397,14 +397,6 @@ static inline int handle_cmd_response(struct lbs_private *priv, | |||
397 | spin_unlock_irqrestore(&priv->driver_lock, flags); | 397 | spin_unlock_irqrestore(&priv->driver_lock, flags); |
398 | break; | 398 | break; |
399 | 399 | ||
400 | case CMD_RET(CMD_802_11_PWR_CFG): | ||
401 | spin_lock_irqsave(&priv->driver_lock, flags); | ||
402 | memmove((void *)priv->cur_cmd->callback_arg, &resp->params.pwrcfg, | ||
403 | sizeof(struct cmd_ds_802_11_pwr_cfg)); | ||
404 | spin_unlock_irqrestore(&priv->driver_lock, flags); | ||
405 | |||
406 | break; | ||
407 | |||
408 | case CMD_RET(CMD_GET_TSF): | 400 | case CMD_RET(CMD_GET_TSF): |
409 | spin_lock_irqsave(&priv->driver_lock, flags); | 401 | spin_lock_irqsave(&priv->driver_lock, flags); |
410 | memcpy((void *)priv->cur_cmd->callback_arg, | 402 | memcpy((void *)priv->cur_cmd->callback_arg, |
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h index aae878b042c0..3915c3144fad 100644 --- a/drivers/net/wireless/libertas/host.h +++ b/drivers/net/wireless/libertas/host.h | |||
@@ -84,7 +84,6 @@ | |||
84 | #define CMD_802_11_INACTIVITY_TIMEOUT 0x0067 | 84 | #define CMD_802_11_INACTIVITY_TIMEOUT 0x0067 |
85 | #define CMD_802_11_SLEEP_PERIOD 0x0068 | 85 | #define CMD_802_11_SLEEP_PERIOD 0x0068 |
86 | #define CMD_802_11_TPC_CFG 0x0072 | 86 | #define CMD_802_11_TPC_CFG 0x0072 |
87 | #define CMD_802_11_PWR_CFG 0x0073 | ||
88 | #define CMD_802_11_FW_WAKE_METHOD 0x0074 | 87 | #define CMD_802_11_FW_WAKE_METHOD 0x0074 |
89 | #define CMD_802_11_SUBSCRIBE_EVENT 0x0075 | 88 | #define CMD_802_11_SUBSCRIBE_EVENT 0x0075 |
90 | #define CMD_802_11_RATE_ADAPT_RATESET 0x0076 | 89 | #define CMD_802_11_RATE_ADAPT_RATESET 0x0076 |
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h index acbcd56831cb..b8e372007bb9 100644 --- a/drivers/net/wireless/libertas/hostcmd.h +++ b/drivers/net/wireless/libertas/hostcmd.h | |||
@@ -609,14 +609,6 @@ struct cmd_ds_802_11_led_ctrl { | |||
609 | u8 data[256]; | 609 | u8 data[256]; |
610 | } __attribute__ ((packed)); | 610 | } __attribute__ ((packed)); |
611 | 611 | ||
612 | struct cmd_ds_802_11_pwr_cfg { | ||
613 | __le16 action; | ||
614 | u8 enable; | ||
615 | s8 PA_P0; | ||
616 | s8 PA_P1; | ||
617 | s8 PA_P2; | ||
618 | } __attribute__ ((packed)); | ||
619 | |||
620 | struct cmd_ds_802_11_afc { | 612 | struct cmd_ds_802_11_afc { |
621 | __le16 afc_auto; | 613 | __le16 afc_auto; |
622 | union { | 614 | union { |
@@ -726,7 +718,6 @@ struct cmd_ds_command { | |||
726 | struct cmd_ds_802_11d_domain_info domaininforesp; | 718 | struct cmd_ds_802_11d_domain_info domaininforesp; |
727 | 719 | ||
728 | struct cmd_ds_802_11_tpc_cfg tpccfg; | 720 | struct cmd_ds_802_11_tpc_cfg tpccfg; |
729 | struct cmd_ds_802_11_pwr_cfg pwrcfg; | ||
730 | struct cmd_ds_802_11_afc afc; | 721 | struct cmd_ds_802_11_afc afc; |
731 | struct cmd_ds_802_11_led_ctrl ledgpio; | 722 | struct cmd_ds_802_11_led_ctrl ledgpio; |
732 | 723 | ||