2 * This file contains declaration referring to
3 * functions defined in other source files
9 #include <linux/device.h>
13 /** Function Prototype Declaration */
18 int lbs_set_mac_packet_filter(lbs_private * priv);
20 void lbs_send_tx_feedback(lbs_private * priv);
22 int lbs_free_cmd_buffer(lbs_private * priv);
24 struct cmd_ctrl_node *lbs_get_free_cmd_ctrl_node(lbs_private * priv);
26 void lbs_set_cmd_ctrl_node(lbs_private * priv,
27 struct cmd_ctrl_node *ptempnode,
28 u32 cmd_oid, u16 wait_option, void *pdata_buf);
30 int lbs_prepare_and_send_command(lbs_private * priv,
33 u16 wait_option, u32 cmd_oid, void *pdata_buf);
35 void lbs_queue_cmd(lbs_adapter *adapter, struct cmd_ctrl_node *cmdnode, u8 addtail);
37 int lbs_allocate_cmd_buffer(lbs_private * priv);
38 int lbs_execute_next_command(lbs_private * priv);
39 int lbs_process_event(lbs_private * priv);
40 void lbs_interrupt(struct net_device *);
41 int lbs_set_radio_control(lbs_private * priv);
42 u32 lbs_fw_index_to_data_rate(u8 index);
43 u8 lbs_data_rate_to_fw_index(u32 rate);
44 void lbs_get_fwversion(lbs_adapter *adapter, char *fwversion, int maxlen);
46 void lbs_upload_rx_packet(lbs_private * priv, struct sk_buff *skb);
48 /** The proc fs interface */
49 int lbs_process_rx_command(lbs_private * priv);
50 int lbs_process_tx(lbs_private * priv, struct sk_buff *skb);
51 void __lbs_cleanup_and_insert_cmd(lbs_private * priv,
52 struct cmd_ctrl_node *ptempcmd);
54 int lbs_set_regiontable(lbs_private * priv, u8 region, u8 band);
56 int lbs_process_rxed_packet(lbs_private * priv, struct sk_buff *);
58 void lbs_ps_sleep(lbs_private * priv, int wait_option);
59 void lbs_ps_confirm_sleep(lbs_private * priv, u16 psmode);
60 void lbs_ps_wakeup(lbs_private * priv, int wait_option);
62 void lbs_tx_runqueue(lbs_private *priv);
64 struct chan_freq_power *lbs_find_cfp_by_band_and_channel(
65 lbs_adapter *adapter, u8 band, u16 channel);
67 void lbs_mac_event_disconnected(lbs_private * priv);
69 void lbs_send_iwevcustom_event(lbs_private *priv, s8 *str);
72 struct chan_freq_power *lbs_get_region_cfp_table(u8 region, u8 band,
74 lbs_private *lbs_add_card(void *card, struct device *dmdev);
75 int lbs_remove_card(lbs_private *priv);
76 int lbs_start_card(lbs_private *priv);
77 int lbs_stop_card(lbs_private *priv);
78 int lbs_add_mesh(lbs_private *priv, struct device *dev);
79 void lbs_remove_mesh(lbs_private *priv);
80 int lbs_reset_device(lbs_private *priv);