diff options
Diffstat (limited to 'drivers/net/wireless/libertas/decl.h')
-rw-r--r-- | drivers/net/wireless/libertas/decl.h | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h index fb91c3639fc1..20fa8176cd88 100644 --- a/drivers/net/wireless/libertas/decl.h +++ b/drivers/net/wireless/libertas/decl.h | |||
@@ -17,23 +17,13 @@ struct net_device; | |||
17 | struct cmd_ctrl_node; | 17 | struct cmd_ctrl_node; |
18 | struct cmd_ds_command; | 18 | struct cmd_ds_command; |
19 | 19 | ||
20 | void lbs_set_mac_control(struct lbs_private *priv); | 20 | int lbs_suspend(struct lbs_private *priv); |
21 | void lbs_resume(struct lbs_private *priv); | ||
21 | 22 | ||
22 | void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count); | 23 | void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count); |
23 | 24 | ||
24 | int lbs_free_cmd_buffer(struct lbs_private *priv); | ||
25 | |||
26 | int lbs_prepare_and_send_command(struct lbs_private *priv, | ||
27 | u16 cmd_no, | ||
28 | u16 cmd_action, | ||
29 | u16 wait_option, u32 cmd_oid, void *pdata_buf); | ||
30 | |||
31 | int lbs_allocate_cmd_buffer(struct lbs_private *priv); | ||
32 | int lbs_execute_next_command(struct lbs_private *priv); | ||
33 | int lbs_process_event(struct lbs_private *priv, u32 event); | ||
34 | void lbs_queue_event(struct lbs_private *priv, u32 event); | 25 | void lbs_queue_event(struct lbs_private *priv, u32 event); |
35 | void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx); | 26 | void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx); |
36 | int lbs_set_deep_sleep(struct lbs_private *priv, int deep_sleep); | ||
37 | int lbs_enter_auto_deep_sleep(struct lbs_private *priv); | 27 | int lbs_enter_auto_deep_sleep(struct lbs_private *priv); |
38 | int lbs_exit_auto_deep_sleep(struct lbs_private *priv); | 28 | int lbs_exit_auto_deep_sleep(struct lbs_private *priv); |
39 | 29 | ||
@@ -41,26 +31,17 @@ u32 lbs_fw_index_to_data_rate(u8 index); | |||
41 | u8 lbs_data_rate_to_fw_index(u32 rate); | 31 | u8 lbs_data_rate_to_fw_index(u32 rate); |
42 | 32 | ||
43 | /** The proc fs interface */ | 33 | /** The proc fs interface */ |
44 | int lbs_process_command_response(struct lbs_private *priv, u8 *data, u32 len); | ||
45 | void lbs_complete_command(struct lbs_private *priv, struct cmd_ctrl_node *cmd, | ||
46 | int result); | ||
47 | netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb, | 34 | netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb, |
48 | struct net_device *dev); | 35 | struct net_device *dev); |
49 | int lbs_set_regiontable(struct lbs_private *priv, u8 region, u8 band); | 36 | int lbs_set_regiontable(struct lbs_private *priv, u8 region, u8 band); |
50 | 37 | ||
51 | int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *); | 38 | int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *); |
52 | 39 | ||
53 | void lbs_ps_sleep(struct lbs_private *priv, int wait_option); | ||
54 | void lbs_ps_confirm_sleep(struct lbs_private *priv); | ||
55 | void lbs_ps_wakeup(struct lbs_private *priv, int wait_option); | ||
56 | |||
57 | struct chan_freq_power *lbs_find_cfp_by_band_and_channel( | 40 | struct chan_freq_power *lbs_find_cfp_by_band_and_channel( |
58 | struct lbs_private *priv, | 41 | struct lbs_private *priv, |
59 | u8 band, | 42 | u8 band, |
60 | u16 channel); | 43 | u16 channel); |
61 | 44 | ||
62 | void lbs_mac_event_disconnected(struct lbs_private *priv); | ||
63 | |||
64 | void lbs_send_iwevcustom_event(struct lbs_private *priv, s8 *str); | 45 | void lbs_send_iwevcustom_event(struct lbs_private *priv, s8 *str); |
65 | 46 | ||
66 | /* persistcfg.c */ | 47 | /* persistcfg.c */ |
@@ -76,6 +57,5 @@ int lbs_start_card(struct lbs_private *priv); | |||
76 | void lbs_stop_card(struct lbs_private *priv); | 57 | void lbs_stop_card(struct lbs_private *priv); |
77 | void lbs_host_to_card_done(struct lbs_private *priv); | 58 | void lbs_host_to_card_done(struct lbs_private *priv); |
78 | 59 | ||
79 | int lbs_update_channel(struct lbs_private *priv); | ||
80 | 60 | ||
81 | #endif | 61 | #endif |