aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/decl.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-11-15 18:05:47 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:04:46 -0500
commit1007832103d016d1563fab71d4cf2b057a0bcceb (patch)
tree3b5080b01bee6e1f98cc9489382c534e963ac748 /drivers/net/wireless/libertas/decl.h
parent9a62f73b1a3bbd35a6f84fcd6636e672b09981ec (diff)
libertas: move to uniform lbs_/LBS_ namespace
This patch unifies the namespace of variables, functions defines and structures. It does: - rename libertas_XXX to lbs_XXX - rename LIBERTAS_XXX to lbs_XXX - rename wlan_XXX to lbs_XXX - rename WLAN_XXX to LBS_XXX (but only those that were defined in libertas-local *.h files, e.g. not defines from net/ieee80211.h) While passing, I fixed some checkpatch.pl errors too. 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/decl.h')
-rw-r--r--drivers/net/wireless/libertas/decl.h84
1 files changed, 42 insertions, 42 deletions
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h
index 87fea9d5b90a..7dd76f8e8d2d 100644
--- a/drivers/net/wireless/libertas/decl.h
+++ b/drivers/net/wireless/libertas/decl.h
@@ -3,80 +3,80 @@
3 * functions defined in other source files 3 * functions defined in other source files
4 */ 4 */
5 5
6#ifndef _WLAN_DECL_H_ 6#ifndef _LBS_DECL_H_
7#define _WLAN_DECL_H_ 7#define _LBS_DECL_H_
8 8
9#include <linux/device.h> 9#include <linux/device.h>
10 10
11#include "defs.h" 11#include "defs.h"
12 12
13/** Function Prototype Declaration */ 13/** Function Prototype Declaration */
14struct wlan_private; 14struct lbs_private;
15struct sk_buff; 15struct sk_buff;
16struct net_device; 16struct net_device;
17 17
18int libertas_set_mac_packet_filter(wlan_private * priv); 18int lbs_set_mac_packet_filter(lbs_private * priv);
19 19
20void libertas_send_tx_feedback(wlan_private * priv); 20void lbs_send_tx_feedback(lbs_private * priv);
21 21
22int libertas_free_cmd_buffer(wlan_private * priv); 22int lbs_free_cmd_buffer(lbs_private * priv);
23struct cmd_ctrl_node; 23struct cmd_ctrl_node;
24struct cmd_ctrl_node *libertas_get_free_cmd_ctrl_node(wlan_private * priv); 24struct cmd_ctrl_node *lbs_get_free_cmd_ctrl_node(lbs_private * priv);
25 25
26void libertas_set_cmd_ctrl_node(wlan_private * priv, 26void lbs_set_cmd_ctrl_node(lbs_private * priv,
27 struct cmd_ctrl_node *ptempnode, 27 struct cmd_ctrl_node *ptempnode,
28 u32 cmd_oid, u16 wait_option, void *pdata_buf); 28 u32 cmd_oid, u16 wait_option, void *pdata_buf);
29 29
30int libertas_prepare_and_send_command(wlan_private * priv, 30int lbs_prepare_and_send_command(lbs_private * priv,
31 u16 cmd_no, 31 u16 cmd_no,
32 u16 cmd_action, 32 u16 cmd_action,
33 u16 wait_option, u32 cmd_oid, void *pdata_buf); 33 u16 wait_option, u32 cmd_oid, void *pdata_buf);
34 34
35void libertas_queue_cmd(wlan_adapter * adapter, struct cmd_ctrl_node *cmdnode, u8 addtail); 35void lbs_queue_cmd(lbs_adapter *adapter, struct cmd_ctrl_node *cmdnode, u8 addtail);
36 36
37int libertas_allocate_cmd_buffer(wlan_private * priv); 37int lbs_allocate_cmd_buffer(lbs_private * priv);
38int libertas_execute_next_command(wlan_private * priv); 38int lbs_execute_next_command(lbs_private * priv);
39int libertas_process_event(wlan_private * priv); 39int lbs_process_event(lbs_private * priv);
40void libertas_interrupt(struct net_device *); 40void lbs_interrupt(struct net_device *);
41int libertas_set_radio_control(wlan_private * priv); 41int lbs_set_radio_control(lbs_private * priv);
42u32 libertas_fw_index_to_data_rate(u8 index); 42u32 lbs_fw_index_to_data_rate(u8 index);
43u8 libertas_data_rate_to_fw_index(u32 rate); 43u8 lbs_data_rate_to_fw_index(u32 rate);
44void libertas_get_fwversion(wlan_adapter * adapter, char *fwversion, int maxlen); 44void lbs_get_fwversion(lbs_adapter *adapter, char *fwversion, int maxlen);
45 45
46void libertas_upload_rx_packet(wlan_private * priv, struct sk_buff *skb); 46void lbs_upload_rx_packet(lbs_private * priv, struct sk_buff *skb);
47 47
48/** The proc fs interface */ 48/** The proc fs interface */
49int libertas_process_rx_command(wlan_private * priv); 49int lbs_process_rx_command(lbs_private * priv);
50int libertas_process_tx(wlan_private * priv, struct sk_buff *skb); 50int lbs_process_tx(lbs_private * priv, struct sk_buff *skb);
51void __libertas_cleanup_and_insert_cmd(wlan_private * priv, 51void __lbs_cleanup_and_insert_cmd(lbs_private * priv,
52 struct cmd_ctrl_node *ptempcmd); 52 struct cmd_ctrl_node *ptempcmd);
53 53
54int libertas_set_regiontable(wlan_private * priv, u8 region, u8 band); 54int lbs_set_regiontable(lbs_private * priv, u8 region, u8 band);
55 55
56int libertas_process_rxed_packet(wlan_private * priv, struct sk_buff *); 56int lbs_process_rxed_packet(lbs_private * priv, struct sk_buff *);
57 57
58void libertas_ps_sleep(wlan_private * priv, int wait_option); 58void lbs_ps_sleep(lbs_private * priv, int wait_option);
59void libertas_ps_confirm_sleep(wlan_private * priv, u16 psmode); 59void lbs_ps_confirm_sleep(lbs_private * priv, u16 psmode);
60void libertas_ps_wakeup(wlan_private * priv, int wait_option); 60void lbs_ps_wakeup(lbs_private * priv, int wait_option);
61 61
62void libertas_tx_runqueue(wlan_private *priv); 62void lbs_tx_runqueue(lbs_private *priv);
63 63
64struct chan_freq_power *libertas_find_cfp_by_band_and_channel( 64struct chan_freq_power *lbs_find_cfp_by_band_and_channel(
65 wlan_adapter * adapter, u8 band, u16 channel); 65 lbs_adapter *adapter, u8 band, u16 channel);
66 66
67void libertas_mac_event_disconnected(wlan_private * priv); 67void lbs_mac_event_disconnected(lbs_private * priv);
68 68
69void libertas_send_iwevcustom_event(wlan_private * priv, s8 * str); 69void lbs_send_iwevcustom_event(lbs_private *priv, s8 *str);
70 70
71/* main.c */ 71/* main.c */
72struct chan_freq_power *libertas_get_region_cfp_table(u8 region, u8 band, 72struct chan_freq_power *lbs_get_region_cfp_table(u8 region, u8 band,
73 int *cfp_no); 73 int *cfp_no);
74wlan_private *libertas_add_card(void *card, struct device *dmdev); 74lbs_private *lbs_add_card(void *card, struct device *dmdev);
75int libertas_remove_card(wlan_private *priv); 75int lbs_remove_card(lbs_private *priv);
76int libertas_start_card(wlan_private *priv); 76int lbs_start_card(lbs_private *priv);
77int libertas_stop_card(wlan_private *priv); 77int lbs_stop_card(lbs_private *priv);
78int libertas_add_mesh(wlan_private *priv, struct device *dev); 78int lbs_add_mesh(lbs_private *priv, struct device *dev);
79void libertas_remove_mesh(wlan_private *priv); 79void lbs_remove_mesh(lbs_private *priv);
80int libertas_reset_device(wlan_private *priv); 80int lbs_reset_device(lbs_private *priv);
81 81
82#endif /* _WLAN_DECL_H_ */ 82#endif