diff options
author | Dan Williams <dcbw@redhat.com> | 2009-05-22 20:03:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-03 14:05:09 -0400 |
commit | 75b6a61a47353fd404277ae3f2dda03af96a8c1a (patch) | |
tree | 83cbebe5ec669f8c6386dcd3dec7bd0e50487e9a /drivers/net/wireless/libertas/11d.h | |
parent | 5fd164e96cb9dc111f75468378de38c67b0fd161 (diff) |
libertas: restyle Marvell & IEEE TLV structure names
Easier to read and more conformant with kernel style.
Signed-off-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 | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/drivers/net/wireless/libertas/11d.h b/drivers/net/wireless/libertas/11d.h index 4f4f47f0f878..fb75d3e321a0 100644 --- a/drivers/net/wireless/libertas/11d.h +++ b/drivers/net/wireless/libertas/11d.h | |||
@@ -20,35 +20,36 @@ | |||
20 | struct cmd_ds_command; | 20 | struct cmd_ds_command; |
21 | 21 | ||
22 | /** Data structure for Country IE*/ | 22 | /** Data structure for Country IE*/ |
23 | struct ieeetypes_subbandset { | 23 | struct ieee_subbandset { |
24 | u8 firstchan; | 24 | u8 firstchan; |
25 | u8 nrchan; | 25 | u8 nrchan; |
26 | u8 maxtxpwr; | 26 | u8 maxtxpwr; |
27 | } __attribute__ ((packed)); | 27 | } __attribute__ ((packed)); |
28 | 28 | ||
29 | struct ieeetypes_countryinfoset { | 29 | struct ieee_ie_country_info_set { |
30 | u8 element_id; | 30 | struct ieee_ie_header header; |
31 | u8 len; | 31 | |
32 | u8 countrycode[COUNTRY_CODE_LEN]; | 32 | u8 countrycode[COUNTRY_CODE_LEN]; |
33 | struct ieeetypes_subbandset subband[1]; | 33 | struct ieee_subbandset subband[1]; |
34 | }; | 34 | }; |
35 | 35 | ||
36 | struct ieeetypes_countryinfofullset { | 36 | struct ieee_ie_country_info_full_set { |
37 | u8 element_id; | 37 | struct ieee_ie_header header; |
38 | u8 len; | 38 | |
39 | u8 countrycode[COUNTRY_CODE_LEN]; | 39 | u8 countrycode[COUNTRY_CODE_LEN]; |
40 | struct ieeetypes_subbandset subband[MRVDRV_MAX_SUBBAND_802_11D]; | 40 | struct ieee_subbandset subband[MRVDRV_MAX_SUBBAND_802_11D]; |
41 | } __attribute__ ((packed)); | 41 | } __attribute__ ((packed)); |
42 | 42 | ||
43 | struct mrvlietypes_domainparamset { | 43 | struct mrvl_ie_domain_param_set { |
44 | struct mrvlietypesheader header; | 44 | struct mrvl_ie_header header; |
45 | |||
45 | u8 countrycode[COUNTRY_CODE_LEN]; | 46 | u8 countrycode[COUNTRY_CODE_LEN]; |
46 | struct ieeetypes_subbandset subband[1]; | 47 | struct ieee_subbandset subband[1]; |
47 | } __attribute__ ((packed)); | 48 | } __attribute__ ((packed)); |
48 | 49 | ||
49 | struct cmd_ds_802_11d_domain_info { | 50 | struct cmd_ds_802_11d_domain_info { |
50 | __le16 action; | 51 | __le16 action; |
51 | struct mrvlietypes_domainparamset domain; | 52 | struct mrvl_ie_domain_param_set domain; |
52 | } __attribute__ ((packed)); | 53 | } __attribute__ ((packed)); |
53 | 54 | ||
54 | /** domain regulatory information */ | 55 | /** domain regulatory information */ |
@@ -57,7 +58,7 @@ struct lbs_802_11d_domain_reg { | |||
57 | u8 countrycode[COUNTRY_CODE_LEN]; | 58 | u8 countrycode[COUNTRY_CODE_LEN]; |
58 | /** No. of subband*/ | 59 | /** No. of subband*/ |
59 | u8 nr_subband; | 60 | u8 nr_subband; |
60 | struct ieeetypes_subbandset subband[MRVDRV_MAX_SUBBAND_802_11D]; | 61 | struct ieee_subbandset subband[MRVDRV_MAX_SUBBAND_802_11D]; |
61 | }; | 62 | }; |
62 | 63 | ||
63 | struct chan_power_11d { | 64 | struct chan_power_11d { |