aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/decl.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/decl.h')
-rw-r--r--drivers/net/wireless/libertas/decl.h24
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;
17struct cmd_ctrl_node; 17struct cmd_ctrl_node;
18struct cmd_ds_command; 18struct cmd_ds_command;
19 19
20void lbs_set_mac_control(struct lbs_private *priv); 20int lbs_suspend(struct lbs_private *priv);
21void lbs_resume(struct lbs_private *priv);
21 22
22void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count); 23void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count);
23 24
24int lbs_free_cmd_buffer(struct lbs_private *priv);
25
26int 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
31int lbs_allocate_cmd_buffer(struct lbs_private *priv);
32int lbs_execute_next_command(struct lbs_private *priv);
33int lbs_process_event(struct lbs_private *priv, u32 event);
34void lbs_queue_event(struct lbs_private *priv, u32 event); 25void lbs_queue_event(struct lbs_private *priv, u32 event);
35void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx); 26void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx);
36int lbs_set_deep_sleep(struct lbs_private *priv, int deep_sleep);
37int lbs_enter_auto_deep_sleep(struct lbs_private *priv); 27int lbs_enter_auto_deep_sleep(struct lbs_private *priv);
38int lbs_exit_auto_deep_sleep(struct lbs_private *priv); 28int lbs_exit_auto_deep_sleep(struct lbs_private *priv);
39 29
@@ -41,26 +31,17 @@ u32 lbs_fw_index_to_data_rate(u8 index);
41u8 lbs_data_rate_to_fw_index(u32 rate); 31u8 lbs_data_rate_to_fw_index(u32 rate);
42 32
43/** The proc fs interface */ 33/** The proc fs interface */
44int lbs_process_command_response(struct lbs_private *priv, u8 *data, u32 len);
45void lbs_complete_command(struct lbs_private *priv, struct cmd_ctrl_node *cmd,
46 int result);
47netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb, 34netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb,
48 struct net_device *dev); 35 struct net_device *dev);
49int lbs_set_regiontable(struct lbs_private *priv, u8 region, u8 band); 36int lbs_set_regiontable(struct lbs_private *priv, u8 region, u8 band);
50 37
51int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *); 38int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *);
52 39
53void lbs_ps_sleep(struct lbs_private *priv, int wait_option);
54void lbs_ps_confirm_sleep(struct lbs_private *priv);
55void lbs_ps_wakeup(struct lbs_private *priv, int wait_option);
56
57struct chan_freq_power *lbs_find_cfp_by_band_and_channel( 40struct 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
62void lbs_mac_event_disconnected(struct lbs_private *priv);
63
64void lbs_send_iwevcustom_event(struct lbs_private *priv, s8 *str); 45void 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);
76void lbs_stop_card(struct lbs_private *priv); 57void lbs_stop_card(struct lbs_private *priv);
77void lbs_host_to_card_done(struct lbs_private *priv); 58void lbs_host_to_card_done(struct lbs_private *priv);
78 59
79int lbs_update_channel(struct lbs_private *priv);
80 60
81#endif 61#endif