diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-11-15 18:05:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:46 -0500 |
commit | 1007832103d016d1563fab71d4cf2b057a0bcceb (patch) | |
tree | 3b5080b01bee6e1f98cc9489382c534e963ac748 /drivers/net/wireless/libertas/11d.h | |
parent | 9a62f73b1a3bbd35a6f84fcd6636e672b09981ec (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/11d.h')
-rw-r--r-- | drivers/net/wireless/libertas/11d.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/wireless/libertas/11d.h b/drivers/net/wireless/libertas/11d.h index 3a6d1f8db78f..4f7f0deb6c84 100644 --- a/drivers/net/wireless/libertas/11d.h +++ b/drivers/net/wireless/libertas/11d.h | |||
@@ -2,8 +2,8 @@ | |||
2 | * This header file contains data structures and | 2 | * This header file contains data structures and |
3 | * function declarations of 802.11d | 3 | * function declarations of 802.11d |
4 | */ | 4 | */ |
5 | #ifndef _WLAN_11D_ | 5 | #ifndef _LBS_11D_ |
6 | #define _WLAN_11D_ | 6 | #define _LBS_11D_ |
7 | 7 | ||
8 | #include "types.h" | 8 | #include "types.h" |
9 | #include "defs.h" | 9 | #include "defs.h" |
@@ -52,7 +52,7 @@ struct cmd_ds_802_11d_domain_info { | |||
52 | } __attribute__ ((packed)); | 52 | } __attribute__ ((packed)); |
53 | 53 | ||
54 | /** domain regulatory information */ | 54 | /** domain regulatory information */ |
55 | struct wlan_802_11d_domain_reg { | 55 | struct lbs_802_11d_domain_reg { |
56 | /** country Code*/ | 56 | /** country Code*/ |
57 | u8 countrycode[COUNTRY_CODE_LEN]; | 57 | u8 countrycode[COUNTRY_CODE_LEN]; |
58 | /** No. of subband*/ | 58 | /** No. of subband*/ |
@@ -78,26 +78,26 @@ struct region_code_mapping { | |||
78 | u8 code; | 78 | u8 code; |
79 | }; | 79 | }; |
80 | 80 | ||
81 | u8 libertas_get_scan_type_11d(u8 chan, | 81 | u8 lbs_get_scan_type_11d(u8 chan, |
82 | struct parsed_region_chan_11d *parsed_region_chan); | 82 | struct parsed_region_chan_11d *parsed_region_chan); |
83 | 83 | ||
84 | u32 libertas_chan_2_freq(u8 chan, u8 band); | 84 | u32 lbs_chan_2_freq(u8 chan, u8 band); |
85 | 85 | ||
86 | void libertas_init_11d(wlan_private * priv); | 86 | void lbs_init_11d(lbs_private * priv); |
87 | 87 | ||
88 | int libertas_set_universaltable(wlan_private * priv, u8 band); | 88 | int lbs_set_universaltable(lbs_private * priv, u8 band); |
89 | 89 | ||
90 | int libertas_cmd_802_11d_domain_info(wlan_private * priv, | 90 | int lbs_cmd_802_11d_domain_info(lbs_private * priv, |
91 | struct cmd_ds_command *cmd, u16 cmdno, | 91 | struct cmd_ds_command *cmd, u16 cmdno, |
92 | u16 cmdOption); | 92 | u16 cmdOption); |
93 | 93 | ||
94 | int libertas_ret_802_11d_domain_info(wlan_private * priv, | 94 | int lbs_ret_802_11d_domain_info(lbs_private * priv, |
95 | struct cmd_ds_command *resp); | 95 | struct cmd_ds_command *resp); |
96 | 96 | ||
97 | struct bss_descriptor; | 97 | struct bss_descriptor; |
98 | int libertas_parse_dnld_countryinfo_11d(wlan_private * priv, | 98 | int lbs_parse_dnld_countryinfo_11d(lbs_private * priv, |
99 | struct bss_descriptor * bss); | 99 | struct bss_descriptor * bss); |
100 | 100 | ||
101 | int libertas_create_dnld_countryinfo_11d(wlan_private * priv); | 101 | int lbs_create_dnld_countryinfo_11d(lbs_private * priv); |
102 | 102 | ||
103 | #endif /* _WLAN_11D_ */ | 103 | #endif |