diff options
author | Kalle Valo <kalle.valo@nokia.com> | 2009-06-12 07:17:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 14:57:50 -0400 |
commit | 80301cdcfe44e3533175be23d7d52a9fc8c3fdb0 (patch) | |
tree | 624d018b822016a8f83d49588012519a4e9a4d16 /drivers/net/wireless/wl12xx/wl1251_acx.h | |
parent | 1e6f172fccbf1194bad4b2aeae437ec3189a3f08 (diff) |
wl1251: use wl1251 prefix everywhere
Last we can change all code prefixes from wl12xx/WL12XX to
wl1251/WL1251.
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Reviewed-by: Vidhya Govindan <vidhya.govindan@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_acx.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_acx.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_acx.h b/drivers/net/wireless/wl12xx/wl1251_acx.h index a23912014b9..2e7b1933a8f 100644 --- a/drivers/net/wireless/wl12xx/wl1251_acx.h +++ b/drivers/net/wireless/wl12xx/wl1251_acx.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * This file is part of wl12xx | 2 | * This file is part of wl1251 |
3 | * | 3 | * |
4 | * Copyright (c) 1998-2007 Texas Instruments Incorporated | 4 | * Copyright (c) 1998-2007 Texas Instruments Incorporated |
5 | * Copyright (C) 2008 Nokia Corporation | 5 | * Copyright (C) 2008 Nokia Corporation |
@@ -22,15 +22,15 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifndef __WL12XX_ACX_H__ | 25 | #ifndef __WL1251_ACX_H__ |
26 | #define __WL12XX_ACX_H__ | 26 | #define __WL1251_ACX_H__ |
27 | 27 | ||
28 | #include "wl1251.h" | 28 | #include "wl1251.h" |
29 | #include "wl1251_cmd.h" | 29 | #include "wl1251_cmd.h" |
30 | 30 | ||
31 | /* Target's information element */ | 31 | /* Target's information element */ |
32 | struct acx_header { | 32 | struct acx_header { |
33 | struct wl12xx_cmd_header cmd; | 33 | struct wl1251_cmd_header cmd; |
34 | 34 | ||
35 | /* acx (or information element) header */ | 35 | /* acx (or information element) header */ |
36 | u16 id; | 36 | u16 id; |
@@ -91,15 +91,15 @@ struct acx_revision { | |||
91 | u32 hw_version; | 91 | u32 hw_version; |
92 | } __attribute__ ((packed)); | 92 | } __attribute__ ((packed)); |
93 | 93 | ||
94 | enum wl12xx_psm_mode { | 94 | enum wl1251_psm_mode { |
95 | /* Active mode */ | 95 | /* Active mode */ |
96 | WL12XX_PSM_CAM = 0, | 96 | WL1251_PSM_CAM = 0, |
97 | 97 | ||
98 | /* Power save mode */ | 98 | /* Power save mode */ |
99 | WL12XX_PSM_PS = 1, | 99 | WL1251_PSM_PS = 1, |
100 | 100 | ||
101 | /* Extreme low power */ | 101 | /* Extreme low power */ |
102 | WL12XX_PSM_ELP = 2, | 102 | WL1251_PSM_ELP = 2, |
103 | }; | 103 | }; |
104 | 104 | ||
105 | struct acx_sleep_auth { | 105 | struct acx_sleep_auth { |
@@ -1108,39 +1108,39 @@ enum { | |||
1108 | }; | 1108 | }; |
1109 | 1109 | ||
1110 | 1110 | ||
1111 | int wl12xx_acx_frame_rates(struct wl12xx *wl, u8 ctrl_rate, u8 ctrl_mod, | 1111 | int wl1251_acx_frame_rates(struct wl1251 *wl, u8 ctrl_rate, u8 ctrl_mod, |
1112 | u8 mgt_rate, u8 mgt_mod); | 1112 | u8 mgt_rate, u8 mgt_mod); |
1113 | int wl12xx_acx_station_id(struct wl12xx *wl); | 1113 | int wl1251_acx_station_id(struct wl1251 *wl); |
1114 | int wl12xx_acx_default_key(struct wl12xx *wl, u8 key_id); | 1114 | int wl1251_acx_default_key(struct wl1251 *wl, u8 key_id); |
1115 | int wl12xx_acx_wake_up_conditions(struct wl12xx *wl, u8 wake_up_event, | 1115 | int wl1251_acx_wake_up_conditions(struct wl1251 *wl, u8 wake_up_event, |
1116 | u8 listen_interval); | 1116 | u8 listen_interval); |
1117 | int wl12xx_acx_sleep_auth(struct wl12xx *wl, u8 sleep_auth); | 1117 | int wl1251_acx_sleep_auth(struct wl1251 *wl, u8 sleep_auth); |
1118 | int wl12xx_acx_fw_version(struct wl12xx *wl, char *buf, size_t len); | 1118 | int wl1251_acx_fw_version(struct wl1251 *wl, char *buf, size_t len); |
1119 | int wl12xx_acx_tx_power(struct wl12xx *wl, int power); | 1119 | int wl1251_acx_tx_power(struct wl1251 *wl, int power); |
1120 | int wl12xx_acx_feature_cfg(struct wl12xx *wl); | 1120 | int wl1251_acx_feature_cfg(struct wl1251 *wl); |
1121 | int wl12xx_acx_mem_map(struct wl12xx *wl, | 1121 | int wl1251_acx_mem_map(struct wl1251 *wl, |
1122 | struct acx_header *mem_map, size_t len); | 1122 | struct acx_header *mem_map, size_t len); |
1123 | int wl12xx_acx_data_path_params(struct wl12xx *wl, | 1123 | int wl1251_acx_data_path_params(struct wl1251 *wl, |
1124 | struct acx_data_path_params_resp *data_path); | 1124 | struct acx_data_path_params_resp *data_path); |
1125 | int wl12xx_acx_rx_msdu_life_time(struct wl12xx *wl, u32 life_time); | 1125 | int wl1251_acx_rx_msdu_life_time(struct wl1251 *wl, u32 life_time); |
1126 | int wl12xx_acx_rx_config(struct wl12xx *wl, u32 config, u32 filter); | 1126 | int wl1251_acx_rx_config(struct wl1251 *wl, u32 config, u32 filter); |
1127 | int wl12xx_acx_pd_threshold(struct wl12xx *wl); | 1127 | int wl1251_acx_pd_threshold(struct wl1251 *wl); |
1128 | int wl12xx_acx_slot(struct wl12xx *wl, enum acx_slot_type slot_time); | 1128 | int wl1251_acx_slot(struct wl1251 *wl, enum acx_slot_type slot_time); |
1129 | int wl12xx_acx_group_address_tbl(struct wl12xx *wl); | 1129 | int wl1251_acx_group_address_tbl(struct wl1251 *wl); |
1130 | int wl12xx_acx_service_period_timeout(struct wl12xx *wl); | 1130 | int wl1251_acx_service_period_timeout(struct wl1251 *wl); |
1131 | int wl12xx_acx_rts_threshold(struct wl12xx *wl, u16 rts_threshold); | 1131 | int wl1251_acx_rts_threshold(struct wl1251 *wl, u16 rts_threshold); |
1132 | int wl12xx_acx_beacon_filter_opt(struct wl12xx *wl); | 1132 | int wl1251_acx_beacon_filter_opt(struct wl1251 *wl); |
1133 | int wl12xx_acx_beacon_filter_table(struct wl12xx *wl); | 1133 | int wl1251_acx_beacon_filter_table(struct wl1251 *wl); |
1134 | int wl12xx_acx_sg_enable(struct wl12xx *wl); | 1134 | int wl1251_acx_sg_enable(struct wl1251 *wl); |
1135 | int wl12xx_acx_sg_cfg(struct wl12xx *wl); | 1135 | int wl1251_acx_sg_cfg(struct wl1251 *wl); |
1136 | int wl12xx_acx_cca_threshold(struct wl12xx *wl); | 1136 | int wl1251_acx_cca_threshold(struct wl1251 *wl); |
1137 | int wl12xx_acx_bcn_dtim_options(struct wl12xx *wl); | 1137 | int wl1251_acx_bcn_dtim_options(struct wl1251 *wl); |
1138 | int wl12xx_acx_aid(struct wl12xx *wl, u16 aid); | 1138 | int wl1251_acx_aid(struct wl1251 *wl, u16 aid); |
1139 | int wl12xx_acx_event_mbox_mask(struct wl12xx *wl, u32 event_mask); | 1139 | int wl1251_acx_event_mbox_mask(struct wl1251 *wl, u32 event_mask); |
1140 | int wl12xx_acx_set_preamble(struct wl12xx *wl, enum acx_preamble_type preamble); | 1140 | int wl1251_acx_set_preamble(struct wl1251 *wl, enum acx_preamble_type preamble); |
1141 | int wl12xx_acx_cts_protect(struct wl12xx *wl, | 1141 | int wl1251_acx_cts_protect(struct wl1251 *wl, |
1142 | enum acx_ctsprotect_type ctsprotect); | 1142 | enum acx_ctsprotect_type ctsprotect); |
1143 | int wl12xx_acx_statistics(struct wl12xx *wl, struct acx_statistics *stats); | 1143 | int wl1251_acx_statistics(struct wl1251 *wl, struct acx_statistics *stats); |
1144 | int wl12xx_acx_tsf_info(struct wl12xx *wl, u64 *mactime); | 1144 | int wl1251_acx_tsf_info(struct wl1251 *wl, u64 *mactime); |
1145 | 1145 | ||
1146 | #endif /* __WL12XX_ACX_H__ */ | 1146 | #endif /* __WL1251_ACX_H__ */ |