aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1251_acx.h
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2009-06-12 07:17:39 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 14:57:50 -0400
commit80301cdcfe44e3533175be23d7d52a9fc8c3fdb0 (patch)
tree624d018b822016a8f83d49588012519a4e9a4d16 /drivers/net/wireless/wl12xx/wl1251_acx.h
parent1e6f172fccbf1194bad4b2aeae437ec3189a3f08 (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.h76
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 */
32struct acx_header { 32struct 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
94enum wl12xx_psm_mode { 94enum 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
105struct acx_sleep_auth { 105struct acx_sleep_auth {
@@ -1108,39 +1108,39 @@ enum {
1108}; 1108};
1109 1109
1110 1110
1111int wl12xx_acx_frame_rates(struct wl12xx *wl, u8 ctrl_rate, u8 ctrl_mod, 1111int 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);
1113int wl12xx_acx_station_id(struct wl12xx *wl); 1113int wl1251_acx_station_id(struct wl1251 *wl);
1114int wl12xx_acx_default_key(struct wl12xx *wl, u8 key_id); 1114int wl1251_acx_default_key(struct wl1251 *wl, u8 key_id);
1115int wl12xx_acx_wake_up_conditions(struct wl12xx *wl, u8 wake_up_event, 1115int wl1251_acx_wake_up_conditions(struct wl1251 *wl, u8 wake_up_event,
1116 u8 listen_interval); 1116 u8 listen_interval);
1117int wl12xx_acx_sleep_auth(struct wl12xx *wl, u8 sleep_auth); 1117int wl1251_acx_sleep_auth(struct wl1251 *wl, u8 sleep_auth);
1118int wl12xx_acx_fw_version(struct wl12xx *wl, char *buf, size_t len); 1118int wl1251_acx_fw_version(struct wl1251 *wl, char *buf, size_t len);
1119int wl12xx_acx_tx_power(struct wl12xx *wl, int power); 1119int wl1251_acx_tx_power(struct wl1251 *wl, int power);
1120int wl12xx_acx_feature_cfg(struct wl12xx *wl); 1120int wl1251_acx_feature_cfg(struct wl1251 *wl);
1121int wl12xx_acx_mem_map(struct wl12xx *wl, 1121int 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);
1123int wl12xx_acx_data_path_params(struct wl12xx *wl, 1123int 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);
1125int wl12xx_acx_rx_msdu_life_time(struct wl12xx *wl, u32 life_time); 1125int wl1251_acx_rx_msdu_life_time(struct wl1251 *wl, u32 life_time);
1126int wl12xx_acx_rx_config(struct wl12xx *wl, u32 config, u32 filter); 1126int wl1251_acx_rx_config(struct wl1251 *wl, u32 config, u32 filter);
1127int wl12xx_acx_pd_threshold(struct wl12xx *wl); 1127int wl1251_acx_pd_threshold(struct wl1251 *wl);
1128int wl12xx_acx_slot(struct wl12xx *wl, enum acx_slot_type slot_time); 1128int wl1251_acx_slot(struct wl1251 *wl, enum acx_slot_type slot_time);
1129int wl12xx_acx_group_address_tbl(struct wl12xx *wl); 1129int wl1251_acx_group_address_tbl(struct wl1251 *wl);
1130int wl12xx_acx_service_period_timeout(struct wl12xx *wl); 1130int wl1251_acx_service_period_timeout(struct wl1251 *wl);
1131int wl12xx_acx_rts_threshold(struct wl12xx *wl, u16 rts_threshold); 1131int wl1251_acx_rts_threshold(struct wl1251 *wl, u16 rts_threshold);
1132int wl12xx_acx_beacon_filter_opt(struct wl12xx *wl); 1132int wl1251_acx_beacon_filter_opt(struct wl1251 *wl);
1133int wl12xx_acx_beacon_filter_table(struct wl12xx *wl); 1133int wl1251_acx_beacon_filter_table(struct wl1251 *wl);
1134int wl12xx_acx_sg_enable(struct wl12xx *wl); 1134int wl1251_acx_sg_enable(struct wl1251 *wl);
1135int wl12xx_acx_sg_cfg(struct wl12xx *wl); 1135int wl1251_acx_sg_cfg(struct wl1251 *wl);
1136int wl12xx_acx_cca_threshold(struct wl12xx *wl); 1136int wl1251_acx_cca_threshold(struct wl1251 *wl);
1137int wl12xx_acx_bcn_dtim_options(struct wl12xx *wl); 1137int wl1251_acx_bcn_dtim_options(struct wl1251 *wl);
1138int wl12xx_acx_aid(struct wl12xx *wl, u16 aid); 1138int wl1251_acx_aid(struct wl1251 *wl, u16 aid);
1139int wl12xx_acx_event_mbox_mask(struct wl12xx *wl, u32 event_mask); 1139int wl1251_acx_event_mbox_mask(struct wl1251 *wl, u32 event_mask);
1140int wl12xx_acx_set_preamble(struct wl12xx *wl, enum acx_preamble_type preamble); 1140int wl1251_acx_set_preamble(struct wl1251 *wl, enum acx_preamble_type preamble);
1141int wl12xx_acx_cts_protect(struct wl12xx *wl, 1141int wl1251_acx_cts_protect(struct wl1251 *wl,
1142 enum acx_ctsprotect_type ctsprotect); 1142 enum acx_ctsprotect_type ctsprotect);
1143int wl12xx_acx_statistics(struct wl12xx *wl, struct acx_statistics *stats); 1143int wl1251_acx_statistics(struct wl1251 *wl, struct acx_statistics *stats);
1144int wl12xx_acx_tsf_info(struct wl12xx *wl, u64 *mactime); 1144int wl1251_acx_tsf_info(struct wl1251 *wl, u64 *mactime);
1145 1145
1146#endif /* __WL12XX_ACX_H__ */ 1146#endif /* __WL1251_ACX_H__ */