diff options
author | Dan Williams <dcbw@redhat.com> | 2007-08-02 11:31:18 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:43 -0400 |
commit | 0aef64d75851c9f3545d0793f26486ed862306d8 (patch) | |
tree | 5cf333e35691636ce1dc728c749679359677cb66 /drivers/net/wireless/libertas/host.h | |
parent | b44898eb2c917cd397a0d8654f1c249dd3cdc67e (diff) |
[PATCH] libertas: re-uppercase command defines and other constants
For readability.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/host.h')
-rw-r--r-- | drivers/net/wireless/libertas/host.h | 436 |
1 files changed, 218 insertions, 218 deletions
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h index 7509cc10af3c..4bd2e88116cc 100644 --- a/drivers/net/wireless/libertas/host.h +++ b/drivers/net/wireless/libertas/host.h | |||
@@ -20,224 +20,224 @@ | |||
20 | #define OID_802_11_TX_RETRYCOUNT 0x0000801D | 20 | #define OID_802_11_TX_RETRYCOUNT 0x0000801D |
21 | #define OID_802_11D_ENABLE 0x00008020 | 21 | #define OID_802_11D_ENABLE 0x00008020 |
22 | 22 | ||
23 | #define cmd_option_waitforrsp 0x0002 | 23 | #define CMD_OPTION_WAITFORRSP 0x0002 |
24 | 24 | ||
25 | /** Host command ID */ | 25 | /** Host command ID */ |
26 | #define cmd_code_dnld 0x0002 | 26 | #define CMD_CODE_DNLD 0x0002 |
27 | #define cmd_get_hw_spec 0x0003 | 27 | #define CMD_GET_HW_SPEC 0x0003 |
28 | #define cmd_eeprom_update 0x0004 | 28 | #define CMD_EEPROM_UPDATE 0x0004 |
29 | #define cmd_802_11_reset 0x0005 | 29 | #define CMD_802_11_RESET 0x0005 |
30 | #define cmd_802_11_scan 0x0006 | 30 | #define CMD_802_11_SCAN 0x0006 |
31 | #define cmd_802_11_get_log 0x000b | 31 | #define CMD_802_11_GET_LOG 0x000b |
32 | #define cmd_mac_multicast_adr 0x0010 | 32 | #define CMD_MAC_MULTICAST_ADR 0x0010 |
33 | #define cmd_802_11_authenticate 0x0011 | 33 | #define CMD_802_11_AUTHENTICATE 0x0011 |
34 | #define cmd_802_11_eeprom_access 0x0059 | 34 | #define CMD_802_11_EEPROM_ACCESS 0x0059 |
35 | #define cmd_802_11_associate 0x0050 | 35 | #define CMD_802_11_ASSOCIATE 0x0050 |
36 | #define cmd_802_11_set_wep 0x0013 | 36 | #define CMD_802_11_SET_WEP 0x0013 |
37 | #define cmd_802_11_get_stat 0x0014 | 37 | #define CMD_802_11_GET_STAT 0x0014 |
38 | #define cmd_802_3_get_stat 0x0015 | 38 | #define CMD_802_3_GET_STAT 0x0015 |
39 | #define cmd_802_11_snmp_mib 0x0016 | 39 | #define CMD_802_11_SNMP_MIB 0x0016 |
40 | #define cmd_mac_reg_map 0x0017 | 40 | #define CMD_MAC_REG_MAP 0x0017 |
41 | #define cmd_bbp_reg_map 0x0018 | 41 | #define CMD_BBP_REG_MAP 0x0018 |
42 | #define cmd_mac_reg_access 0x0019 | 42 | #define CMD_MAC_REG_ACCESS 0x0019 |
43 | #define cmd_bbp_reg_access 0x001a | 43 | #define CMD_BBP_REG_ACCESS 0x001a |
44 | #define cmd_rf_reg_access 0x001b | 44 | #define CMD_RF_REG_ACCESS 0x001b |
45 | #define cmd_802_11_radio_control 0x001c | 45 | #define CMD_802_11_RADIO_CONTROL 0x001c |
46 | #define cmd_802_11_rf_channel 0x001d | 46 | #define CMD_802_11_RF_CHANNEL 0x001d |
47 | #define cmd_802_11_rf_tx_power 0x001e | 47 | #define CMD_802_11_RF_TX_POWER 0x001e |
48 | #define cmd_802_11_rssi 0x001f | 48 | #define CMD_802_11_RSSI 0x001f |
49 | #define cmd_802_11_rf_antenna 0x0020 | 49 | #define CMD_802_11_RF_ANTENNA 0x0020 |
50 | 50 | ||
51 | #define cmd_802_11_ps_mode 0x0021 | 51 | #define CMD_802_11_PS_MODE 0x0021 |
52 | 52 | ||
53 | #define cmd_802_11_data_rate 0x0022 | 53 | #define CMD_802_11_DATA_RATE 0x0022 |
54 | #define cmd_rf_reg_map 0x0023 | 54 | #define CMD_RF_REG_MAP 0x0023 |
55 | #define cmd_802_11_deauthenticate 0x0024 | 55 | #define CMD_802_11_DEAUTHENTICATE 0x0024 |
56 | #define cmd_802_11_reassociate 0x0025 | 56 | #define CMD_802_11_REASSOCIATE 0x0025 |
57 | #define cmd_802_11_disassociate 0x0026 | 57 | #define CMD_802_11_DISASSOCIATE 0x0026 |
58 | #define cmd_mac_control 0x0028 | 58 | #define CMD_MAC_CONTROL 0x0028 |
59 | #define cmd_802_11_ad_hoc_start 0x002b | 59 | #define CMD_802_11_AD_HOC_START 0x002b |
60 | #define cmd_802_11_ad_hoc_join 0x002c | 60 | #define CMD_802_11_AD_HOC_JOIN 0x002c |
61 | 61 | ||
62 | #define cmd_802_11_query_tkip_reply_cntrs 0x002e | 62 | #define CMD_802_11_QUERY_TKIP_REPLY_CNTRS 0x002e |
63 | #define cmd_802_11_enable_rsn 0x002f | 63 | #define CMD_802_11_ENABLE_RSN 0x002f |
64 | #define cmd_802_11_pairwise_tsc 0x0036 | 64 | #define CMD_802_11_PAIRWISE_TSC 0x0036 |
65 | #define cmd_802_11_group_tsc 0x0037 | 65 | #define CMD_802_11_GROUP_TSC 0x0037 |
66 | #define cmd_802_11_key_material 0x005e | 66 | #define CMD_802_11_KEY_MATERIAL 0x005e |
67 | 67 | ||
68 | #define cmd_802_11_set_afc 0x003c | 68 | #define CMD_802_11_SET_AFC 0x003c |
69 | #define cmd_802_11_get_afc 0x003d | 69 | #define CMD_802_11_GET_AFC 0x003d |
70 | 70 | ||
71 | #define cmd_802_11_ad_hoc_stop 0x0040 | 71 | #define CMD_802_11_AD_HOC_STOP 0x0040 |
72 | 72 | ||
73 | #define cmd_802_11_beacon_stop 0x0049 | 73 | #define CMD_802_11_BEACON_STOP 0x0049 |
74 | 74 | ||
75 | #define cmd_802_11_mac_address 0x004D | 75 | #define CMD_802_11_MAC_ADDRESS 0x004D |
76 | #define cmd_802_11_eeprom_access 0x0059 | 76 | #define CMD_802_11_EEPROM_ACCESS 0x0059 |
77 | 77 | ||
78 | #define cmd_802_11_band_config 0x0058 | 78 | #define CMD_802_11_BAND_CONFIG 0x0058 |
79 | 79 | ||
80 | #define cmd_802_11d_domain_info 0x005b | 80 | #define CMD_802_11D_DOMAIN_INFO 0x005b |
81 | 81 | ||
82 | #define cmd_802_11_sleep_params 0x0066 | 82 | #define CMD_802_11_SLEEP_PARAMS 0x0066 |
83 | 83 | ||
84 | #define cmd_802_11_inactivity_timeout 0x0067 | 84 | #define CMD_802_11_INACTIVITY_TIMEOUT 0x0067 |
85 | 85 | ||
86 | #define cmd_802_11_tpc_cfg 0x0072 | 86 | #define CMD_802_11_TPC_CFG 0x0072 |
87 | #define cmd_802_11_pwr_cfg 0x0073 | 87 | #define CMD_802_11_PWR_CFG 0x0073 |
88 | 88 | ||
89 | #define cmd_802_11_led_gpio_ctrl 0x004e | 89 | #define CMD_802_11_LED_GPIO_CTRL 0x004e |
90 | 90 | ||
91 | #define cmd_802_11_subscribe_event 0x0075 | 91 | #define CMD_802_11_SUBSCRIBE_EVENT 0x0075 |
92 | 92 | ||
93 | #define cmd_802_11_rate_adapt_rateset 0x0076 | 93 | #define CMD_802_11_RATE_ADAPT_RATESET 0x0076 |
94 | 94 | ||
95 | #define cmd_802_11_tx_rate_query 0x007f | 95 | #define CMD_802_11_TX_RATE_QUERY 0x007f |
96 | 96 | ||
97 | #define cmd_get_tsf 0x0080 | 97 | #define CMD_GET_TSF 0x0080 |
98 | 98 | ||
99 | #define cmd_bt_access 0x0087 | 99 | #define CMD_BT_ACCESS 0x0087 |
100 | #define cmd_ret_bt_access 0x8087 | 100 | #define CMD_RET_BT_ACCESS 0x8087 |
101 | 101 | ||
102 | #define cmd_fwt_access 0x0095 | 102 | #define CMD_FWT_ACCESS 0x0095 |
103 | #define cmd_ret_fwt_access 0x8095 | 103 | #define CMD_RET_FWT_ACCESS 0x8095 |
104 | 104 | ||
105 | #define cmd_mesh_access 0x009b | 105 | #define CMD_MESH_ACCESS 0x009b |
106 | #define cmd_ret_mesh_access 0x809b | 106 | #define CMD_RET_MESH_ACCESS 0x809b |
107 | 107 | ||
108 | /* For the IEEE Power Save */ | 108 | /* For the IEEE Power Save */ |
109 | #define cmd_subcmd_enter_ps 0x0030 | 109 | #define CMD_SUBCMD_ENTER_PS 0x0030 |
110 | #define cmd_subcmd_exit_ps 0x0031 | 110 | #define CMD_SUBCMD_EXIT_PS 0x0031 |
111 | #define cmd_subcmd_sleep_confirmed 0x0034 | 111 | #define CMD_SUBCMD_SLEEP_CONFIRMED 0x0034 |
112 | #define cmd_subcmd_full_powerdown 0x0035 | 112 | #define CMD_SUBCMD_FULL_POWERDOWN 0x0035 |
113 | #define cmd_subcmd_full_powerup 0x0036 | 113 | #define CMD_SUBCMD_FULL_POWERUP 0x0036 |
114 | 114 | ||
115 | /* command RET code, MSB is set to 1 */ | 115 | /* command RET code, MSB is set to 1 */ |
116 | #define cmd_ret_hw_spec_info 0x8003 | 116 | #define CMD_RET_HW_SPEC_INFO 0x8003 |
117 | #define cmd_ret_eeprom_update 0x8004 | 117 | #define CMD_RET_EEPROM_UPDATE 0x8004 |
118 | #define cmd_ret_802_11_reset 0x8005 | 118 | #define CMD_RET_802_11_RESET 0x8005 |
119 | #define cmd_ret_802_11_scan 0x8006 | 119 | #define CMD_RET_802_11_SCAN 0x8006 |
120 | #define cmd_ret_802_11_get_log 0x800b | 120 | #define CMD_RET_802_11_GET_LOG 0x800b |
121 | #define cmd_ret_mac_control 0x8028 | 121 | #define CMD_RET_MAC_CONTROL 0x8028 |
122 | #define cmd_ret_mac_multicast_adr 0x8010 | 122 | #define CMD_RET_MAC_MULTICAST_ADR 0x8010 |
123 | #define cmd_ret_802_11_authenticate 0x8011 | 123 | #define CMD_RET_802_11_AUTHENTICATE 0x8011 |
124 | #define cmd_ret_802_11_deauthenticate 0x8024 | 124 | #define CMD_RET_802_11_DEAUTHENTICATE 0x8024 |
125 | #define cmd_ret_802_11_associate 0x8012 | 125 | #define CMD_RET_802_11_ASSOCIATE 0x8012 |
126 | #define cmd_ret_802_11_reassociate 0x8025 | 126 | #define CMD_RET_802_11_REASSOCIATE 0x8025 |
127 | #define cmd_ret_802_11_disassociate 0x8026 | 127 | #define CMD_RET_802_11_DISASSOCIATE 0x8026 |
128 | #define cmd_ret_802_11_set_wep 0x8013 | 128 | #define CMD_RET_802_11_SET_WEP 0x8013 |
129 | #define cmd_ret_802_11_stat 0x8014 | 129 | #define CMD_RET_802_11_STAT 0x8014 |
130 | #define cmd_ret_802_3_stat 0x8015 | 130 | #define CMD_RET_802_3_STAT 0x8015 |
131 | #define cmd_ret_802_11_snmp_mib 0x8016 | 131 | #define CMD_RET_802_11_SNMP_MIB 0x8016 |
132 | #define cmd_ret_mac_reg_map 0x8017 | 132 | #define CMD_RET_MAC_REG_MAP 0x8017 |
133 | #define cmd_ret_bbp_reg_map 0x8018 | 133 | #define CMD_RET_BBP_REG_MAP 0x8018 |
134 | #define cmd_ret_rf_reg_map 0x8023 | 134 | #define CMD_RET_RF_REG_MAP 0x8023 |
135 | #define cmd_ret_mac_reg_access 0x8019 | 135 | #define CMD_RET_MAC_REG_ACCESS 0x8019 |
136 | #define cmd_ret_bbp_reg_access 0x801a | 136 | #define CMD_RET_BBP_REG_ACCESS 0x801a |
137 | #define cmd_ret_rf_reg_access 0x801b | 137 | #define CMD_RET_RF_REG_ACCESS 0x801b |
138 | #define cmd_ret_802_11_radio_control 0x801c | 138 | #define CMD_RET_802_11_RADIO_CONTROL 0x801c |
139 | #define cmd_ret_802_11_rf_channel 0x801d | 139 | #define CMD_RET_802_11_RF_CHANNEL 0x801d |
140 | #define cmd_ret_802_11_rssi 0x801f | 140 | #define CMD_RET_802_11_RSSI 0x801f |
141 | #define cmd_ret_802_11_rf_tx_power 0x801e | 141 | #define CMD_RET_802_11_RF_TX_POWER 0x801e |
142 | #define cmd_ret_802_11_rf_antenna 0x8020 | 142 | #define CMD_RET_802_11_RF_ANTENNA 0x8020 |
143 | #define cmd_ret_802_11_ps_mode 0x8021 | 143 | #define CMD_RET_802_11_PS_MODE 0x8021 |
144 | #define cmd_ret_802_11_data_rate 0x8022 | 144 | #define CMD_RET_802_11_DATA_RATE 0x8022 |
145 | 145 | ||
146 | #define cmd_ret_802_11_ad_hoc_start 0x802B | 146 | #define CMD_RET_802_11_AD_HOC_START 0x802B |
147 | #define cmd_ret_802_11_ad_hoc_join 0x802C | 147 | #define CMD_RET_802_11_AD_HOC_JOIN 0x802C |
148 | 148 | ||
149 | #define cmd_ret_802_11_query_tkip_reply_cntrs 0x802e | 149 | #define CMD_RET_802_11_QUERY_TKIP_REPLY_CNTRS 0x802e |
150 | #define cmd_ret_802_11_enable_rsn 0x802f | 150 | #define CMD_RET_802_11_ENABLE_RSN 0x802f |
151 | #define cmd_ret_802_11_pairwise_tsc 0x8036 | 151 | #define CMD_RET_802_11_PAIRWISE_TSC 0x8036 |
152 | #define cmd_ret_802_11_group_tsc 0x8037 | 152 | #define CMD_RET_802_11_GROUP_TSC 0x8037 |
153 | #define cmd_ret_802_11_key_material 0x805e | 153 | #define CMD_RET_802_11_KEY_MATERIAL 0x805e |
154 | 154 | ||
155 | #define cmd_enable_rsn 0x0001 | 155 | #define CMD_ENABLE_RSN 0x0001 |
156 | #define cmd_disable_rsn 0x0000 | 156 | #define CMD_DISABLE_RSN 0x0000 |
157 | 157 | ||
158 | #define cmd_act_set 0x0001 | 158 | #define CMD_ACT_SET 0x0001 |
159 | #define cmd_act_get 0x0000 | 159 | #define CMD_ACT_GET 0x0000 |
160 | 160 | ||
161 | #define cmd_act_get_AES (cmd_act_get + 2) | 161 | #define CMD_ACT_GET_AES (CMD_ACT_GET + 2) |
162 | #define cmd_act_set_AES (cmd_act_set + 2) | 162 | #define CMD_ACT_SET_AES (CMD_ACT_SET + 2) |
163 | #define cmd_act_remove_aes (cmd_act_set + 3) | 163 | #define CMD_ACT_REMOVE_AES (CMD_ACT_SET + 3) |
164 | 164 | ||
165 | #define cmd_ret_802_11_set_afc 0x803c | 165 | #define CMD_RET_802_11_SET_AFC 0x803c |
166 | #define cmd_ret_802_11_get_afc 0x803d | 166 | #define CMD_RET_802_11_GET_AFC 0x803d |
167 | 167 | ||
168 | #define cmd_ret_802_11_ad_hoc_stop 0x8040 | 168 | #define CMD_RET_802_11_AD_HOC_STOP 0x8040 |
169 | 169 | ||
170 | #define cmd_ret_802_11_beacon_stop 0x8049 | 170 | #define CMD_RET_802_11_BEACON_STOP 0x8049 |
171 | 171 | ||
172 | #define cmd_ret_802_11_mac_address 0x804D | 172 | #define CMD_RET_802_11_MAC_ADDRESS 0x804D |
173 | #define cmd_ret_802_11_eeprom_access 0x8059 | 173 | #define CMD_RET_802_11_EEPROM_ACCESS 0x8059 |
174 | 174 | ||
175 | #define cmd_ret_802_11_band_config 0x8058 | 175 | #define CMD_RET_802_11_BAND_CONFIG 0x8058 |
176 | 176 | ||
177 | #define cmd_ret_802_11_sleep_params 0x8066 | 177 | #define CMD_RET_802_11_SLEEP_PARAMS 0x8066 |
178 | 178 | ||
179 | #define cmd_ret_802_11_inactivity_timeout 0x8067 | 179 | #define CMD_RET_802_11_INACTIVITY_TIMEOUT 0x8067 |
180 | 180 | ||
181 | #define cmd_ret_802_11d_domain_info (0x8000 | \ | 181 | #define CMD_RET_802_11D_DOMAIN_INFO (0x8000 | \ |
182 | cmd_802_11d_domain_info) | 182 | CMD_802_11D_DOMAIN_INFO) |
183 | 183 | ||
184 | #define cmd_ret_802_11_tpc_cfg (cmd_802_11_tpc_cfg | 0x8000) | 184 | #define CMD_RET_802_11_TPC_CFG (CMD_802_11_TPC_CFG | 0x8000) |
185 | #define cmd_ret_802_11_pwr_cfg (cmd_802_11_pwr_cfg | 0x8000) | 185 | #define CMD_RET_802_11_PWR_CFG (CMD_802_11_PWR_CFG | 0x8000) |
186 | 186 | ||
187 | #define cmd_ret_802_11_led_gpio_ctrl 0x804e | 187 | #define CMD_RET_802_11_LED_GPIO_CTRL 0x804e |
188 | 188 | ||
189 | #define cmd_ret_802_11_subscribe_event (cmd_802_11_subscribe_event | 0x8000) | 189 | #define CMD_RET_802_11_SUBSCRIBE_EVENT (CMD_802_11_SUBSCRIBE_EVENT | 0x8000) |
190 | 190 | ||
191 | #define cmd_ret_802_11_rate_adapt_rateset (cmd_802_11_rate_adapt_rateset | 0x8000) | 191 | #define CMD_RET_802_11_RATE_ADAPT_RATESET (CMD_802_11_RATE_ADAPT_RATESET | 0x8000) |
192 | 192 | ||
193 | #define cmd_rte_802_11_tx_rate_query (cmd_802_11_tx_rate_query | 0x8000) | 193 | #define CMD_RTE_802_11_TX_RATE_QUERY (CMD_802_11_TX_RATE_QUERY | 0x8000) |
194 | 194 | ||
195 | #define cmd_ret_get_tsf 0x8080 | 195 | #define CMD_RET_GET_TSF 0x8080 |
196 | 196 | ||
197 | /* Define action or option for cmd_802_11_set_wep */ | 197 | /* Define action or option for CMD_802_11_SET_WEP */ |
198 | #define cmd_act_add 0x0002 | 198 | #define CMD_ACT_ADD 0x0002 |
199 | #define cmd_act_remove 0x0004 | 199 | #define CMD_ACT_REMOVE 0x0004 |
200 | #define cmd_act_use_default 0x0008 | 200 | #define CMD_ACT_USE_DEFAULT 0x0008 |
201 | 201 | ||
202 | #define cmd_type_wep_40_bit 0x0001 | 202 | #define CMD_TYPE_WEP_40_BIT 0x0001 |
203 | #define cmd_type_wep_104_bit 0x0002 | 203 | #define CMD_TYPE_WEP_104_BIT 0x0002 |
204 | 204 | ||
205 | #define cmd_NUM_OF_WEP_KEYS 4 | 205 | #define CMD_NUM_OF_WEP_KEYS 4 |
206 | 206 | ||
207 | #define cmd_WEP_KEY_INDEX_MASK 0x3fff | 207 | #define CMD_WEP_KEY_INDEX_MASK 0x3fff |
208 | 208 | ||
209 | /* Define action or option for cmd_802_11_reset */ | 209 | /* Define action or option for CMD_802_11_RESET */ |
210 | #define cmd_act_halt 0x0003 | 210 | #define CMD_ACT_HALT 0x0003 |
211 | 211 | ||
212 | /* Define action or option for cmd_802_11_scan */ | 212 | /* Define action or option for CMD_802_11_SCAN */ |
213 | #define cmd_bss_type_bss 0x0001 | 213 | #define CMD_BSS_TYPE_BSS 0x0001 |
214 | #define cmd_bss_type_ibss 0x0002 | 214 | #define CMD_BSS_TYPE_IBSS 0x0002 |
215 | #define cmd_bss_type_any 0x0003 | 215 | #define CMD_BSS_TYPE_ANY 0x0003 |
216 | 216 | ||
217 | /* Define action or option for cmd_802_11_scan */ | 217 | /* Define action or option for CMD_802_11_SCAN */ |
218 | #define cmd_scan_type_active 0x0000 | 218 | #define CMD_SCAN_TYPE_ACTIVE 0x0000 |
219 | #define cmd_scan_type_passive 0x0001 | 219 | #define CMD_SCAN_TYPE_PASSIVE 0x0001 |
220 | 220 | ||
221 | #define cmd_scan_radio_type_bg 0 | 221 | #define CMD_SCAN_RADIO_TYPE_BG 0 |
222 | 222 | ||
223 | #define cmd_scan_probe_delay_time 0 | 223 | #define CMD_SCAN_PROBE_DELAY_TIME 0 |
224 | 224 | ||
225 | /* Define action or option for cmd_mac_control */ | 225 | /* Define action or option for CMD_MAC_CONTROL */ |
226 | #define cmd_act_mac_rx_on 0x0001 | 226 | #define CMD_ACT_MAC_RX_ON 0x0001 |
227 | #define cmd_act_mac_tx_on 0x0002 | 227 | #define CMD_ACT_MAC_TX_ON 0x0002 |
228 | #define cmd_act_mac_loopback_on 0x0004 | 228 | #define CMD_ACT_MAC_LOOPBACK_ON 0x0004 |
229 | #define cmd_act_mac_wep_enable 0x0008 | 229 | #define CMD_ACT_MAC_WEP_ENABLE 0x0008 |
230 | #define cmd_act_mac_int_enable 0x0010 | 230 | #define CMD_ACT_MAC_INT_ENABLE 0x0010 |
231 | #define cmd_act_mac_multicast_enable 0x0020 | 231 | #define CMD_ACT_MAC_MULTICAST_ENABLE 0x0020 |
232 | #define cmd_act_mac_broadcast_enable 0x0040 | 232 | #define CMD_ACT_MAC_BROADCAST_ENABLE 0x0040 |
233 | #define cmd_act_mac_promiscuous_enable 0x0080 | 233 | #define CMD_ACT_MAC_PROMISCUOUS_ENABLE 0x0080 |
234 | #define cmd_act_mac_all_multicast_enable 0x0100 | 234 | #define CMD_ACT_MAC_ALL_MULTICAST_ENABLE 0x0100 |
235 | #define cmd_act_mac_strict_protection_enable 0x0400 | 235 | #define CMD_ACT_MAC_STRICT_PROTECTION_ENABLE 0x0400 |
236 | 236 | ||
237 | /* Define action or option for cmd_802_11_radio_control */ | 237 | /* Define action or option for CMD_802_11_RADIO_CONTROL */ |
238 | #define cmd_type_auto_preamble 0x0001 | 238 | #define CMD_TYPE_AUTO_PREAMBLE 0x0001 |
239 | #define cmd_type_short_preamble 0x0002 | 239 | #define CMD_TYPE_SHORT_PREAMBLE 0x0002 |
240 | #define cmd_type_long_preamble 0x0003 | 240 | #define CMD_TYPE_LONG_PREAMBLE 0x0003 |
241 | 241 | ||
242 | #define TURN_ON_RF 0x01 | 242 | #define TURN_ON_RF 0x01 |
243 | #define RADIO_ON 0x01 | 243 | #define RADIO_ON 0x01 |
@@ -248,70 +248,70 @@ | |||
248 | #define SET_LONG_PREAMBLE 0x01 | 248 | #define SET_LONG_PREAMBLE 0x01 |
249 | 249 | ||
250 | /* Define action or option for CMD_802_11_RF_CHANNEL */ | 250 | /* Define action or option for CMD_802_11_RF_CHANNEL */ |
251 | #define cmd_opt_802_11_rf_channel_get 0x00 | 251 | #define CMD_OPT_802_11_RF_CHANNEL_GET 0x00 |
252 | #define cmd_opt_802_11_rf_channel_set 0x01 | 252 | #define CMD_OPT_802_11_RF_CHANNEL_SET 0x01 |
253 | 253 | ||
254 | /* Define action or option for cmd_802_11_rf_tx_power */ | 254 | /* Define action or option for CMD_802_11_RF_TX_POWER */ |
255 | #define cmd_act_tx_power_opt_get 0x0000 | 255 | #define CMD_ACT_TX_POWER_OPT_GET 0x0000 |
256 | #define cmd_act_tx_power_opt_set_high 0x8007 | 256 | #define CMD_ACT_TX_POWER_OPT_SET_HIGH 0x8007 |
257 | #define cmd_act_tx_power_opt_set_mid 0x8004 | 257 | #define CMD_ACT_TX_POWER_OPT_SET_MID 0x8004 |
258 | #define cmd_act_tx_power_opt_set_low 0x8000 | 258 | #define CMD_ACT_TX_POWER_OPT_SET_LOW 0x8000 |
259 | 259 | ||
260 | #define cmd_act_tx_power_index_high 0x0007 | 260 | #define CMD_ACT_TX_POWER_INDEX_HIGH 0x0007 |
261 | #define cmd_act_tx_power_index_mid 0x0004 | 261 | #define CMD_ACT_TX_POWER_INDEX_MID 0x0004 |
262 | #define cmd_act_tx_power_index_low 0x0000 | 262 | #define CMD_ACT_TX_POWER_INDEX_LOW 0x0000 |
263 | 263 | ||
264 | /* Define action or option for cmd_802_11_data_rate */ | 264 | /* Define action or option for CMD_802_11_DATA_RATE */ |
265 | #define cmd_act_set_tx_auto 0x0000 | 265 | #define CMD_ACT_SET_tx_auto 0x0000 |
266 | #define cmd_act_set_tx_fix_rate 0x0001 | 266 | #define CMD_ACT_SET_tx_fix_rate 0x0001 |
267 | #define cmd_act_get_tx_rate 0x0002 | 267 | #define CMD_ACT_GET_tx_rate 0x0002 |
268 | 268 | ||
269 | #define cmd_act_set_rx 0x0001 | 269 | #define CMD_ACT_SET_rx 0x0001 |
270 | #define cmd_act_set_tx 0x0002 | 270 | #define CMD_ACT_SET_tx 0x0002 |
271 | #define cmd_act_set_both 0x0003 | 271 | #define CMD_ACT_SET_both 0x0003 |
272 | #define cmd_act_get_rx 0x0004 | 272 | #define CMD_ACT_GET_rx 0x0004 |
273 | #define cmd_act_get_tx 0x0008 | 273 | #define CMD_ACT_GET_tx 0x0008 |
274 | #define cmd_act_get_both 0x000c | 274 | #define CMD_ACT_GET_both 0x000c |
275 | 275 | ||
276 | /* Define action or option for cmd_802_11_ps_mode */ | 276 | /* Define action or option for CMD_802_11_PS_MODE */ |
277 | #define cmd_type_cam 0x0000 | 277 | #define CMD_TYPE_CAM 0x0000 |
278 | #define cmd_type_max_psp 0x0001 | 278 | #define CMD_TYPE_MAX_PSP 0x0001 |
279 | #define cmd_type_fast_psp 0x0002 | 279 | #define CMD_TYPE_FAST_PSP 0x0002 |
280 | 280 | ||
281 | /* Define action or option for cmd_bt_access */ | 281 | /* Define action or option for CMD_BT_ACCESS */ |
282 | enum cmd_bt_access_opts { | 282 | enum CMD_BT_ACCESS_opts { |
283 | /* The bt commands start at 5 instead of 1 because the old dft commands | 283 | /* The bt commands start at 5 instead of 1 because the old dft commands |
284 | * are mapped to 1-4. These old commands are no longer maintained and | 284 | * are mapped to 1-4. These old commands are no longer maintained and |
285 | * should not be called. | 285 | * should not be called. |
286 | */ | 286 | */ |
287 | cmd_act_bt_access_add = 5, | 287 | CMD_ACT_BT_ACCESS_ADD = 5, |
288 | cmd_act_bt_access_del, | 288 | CMD_ACT_BT_ACCESS_DEL, |
289 | cmd_act_bt_access_list, | 289 | CMD_ACT_BT_ACCESS_LIST, |
290 | cmd_act_bt_access_reset, | 290 | CMD_ACT_BT_ACCESS_RESET, |
291 | cmd_act_bt_access_set_invert, | 291 | CMD_ACT_BT_ACCESS_SET_INVERT, |
292 | cmd_act_bt_access_get_invert | 292 | CMD_ACT_BT_ACCESS_GET_INVERT |
293 | }; | 293 | }; |
294 | 294 | ||
295 | /* Define action or option for cmd_fwt_access */ | 295 | /* Define action or option for CMD_FWT_ACCESS */ |
296 | enum cmd_fwt_access_opts { | 296 | enum CMD_FWT_ACCESS_opts { |
297 | cmd_act_fwt_access_add = 1, | 297 | CMD_ACT_FWT_ACCESS_ADD = 1, |
298 | cmd_act_fwt_access_del, | 298 | CMD_ACT_FWT_ACCESS_DEL, |
299 | cmd_act_fwt_access_lookup, | 299 | CMD_ACT_FWT_ACCESS_LOOKUP, |
300 | cmd_act_fwt_access_list, | 300 | CMD_ACT_FWT_ACCESS_LIST, |
301 | cmd_act_fwt_access_list_route, | 301 | CMD_ACT_FWT_ACCESS_LIST_route, |
302 | cmd_act_fwt_access_list_neighbor, | 302 | CMD_ACT_FWT_ACCESS_LIST_neighbor, |
303 | cmd_act_fwt_access_reset, | 303 | CMD_ACT_FWT_ACCESS_RESET, |
304 | cmd_act_fwt_access_cleanup, | 304 | CMD_ACT_FWT_ACCESS_CLEANUP, |
305 | cmd_act_fwt_access_time, | 305 | CMD_ACT_FWT_ACCESS_TIME, |
306 | }; | 306 | }; |
307 | 307 | ||
308 | /* Define action or option for cmd_mesh_access */ | 308 | /* Define action or option for CMD_MESH_ACCESS */ |
309 | enum cmd_mesh_access_opts { | 309 | enum CMD_MESH_ACCESS_opts { |
310 | cmd_act_mesh_get_ttl = 1, | 310 | CMD_ACT_MESH_GET_TTL = 1, |
311 | cmd_act_mesh_set_ttl, | 311 | CMD_ACT_MESH_SET_TTL, |
312 | cmd_act_mesh_get_stats, | 312 | CMD_ACT_MESH_GET_STATS, |
313 | cmd_act_mesh_get_anycast, | 313 | CMD_ACT_MESH_GET_ANYCAST, |
314 | cmd_act_mesh_set_anycast, | 314 | CMD_ACT_MESH_SET_ANYCAST, |
315 | }; | 315 | }; |
316 | 316 | ||
317 | /** Card Event definition */ | 317 | /** Card Event definition */ |