Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 1 | /* ///////////////////////////////////////////////////////////////////////// */ |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 2 | /* */ |
| 3 | /* Copyright (c) Atmel Corporation. All rights reserved. */ |
| 4 | /* */ |
| 5 | /* Module Name: wilc_wlan_if.h */ |
| 6 | /* */ |
| 7 | /* */ |
| 8 | /* ///////////////////////////////////////////////////////////////////////// */ |
| 9 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 10 | #ifndef WILC_WLAN_IF_H |
| 11 | #define WILC_WLAN_IF_H |
| 12 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 13 | /* #define MEMORY_STATIC */ |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 14 | /* #define USE_OLD_SPI_SW */ |
| 15 | |
Chaehyun Lim | e215a87 | 2015-09-30 08:15:41 +0900 | [diff] [blame] | 16 | #include <linux/semaphore.h> |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 17 | #include "linux_wlan_common.h" |
| 18 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 19 | /******************************************** |
| 20 | * |
| 21 | * Debug Flags |
| 22 | * |
| 23 | ********************************************/ |
| 24 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 25 | #define N_INIT 0x00000001 |
| 26 | #define N_ERR 0x00000002 |
| 27 | #define N_TXQ 0x00000004 |
| 28 | #define N_INTR 0x00000008 |
| 29 | #define N_RXQ 0x00000010 |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 30 | |
| 31 | /******************************************** |
| 32 | * |
| 33 | * Host Interface Defines |
| 34 | * |
| 35 | ********************************************/ |
| 36 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 37 | #define HIF_SDIO (0) |
| 38 | #define HIF_SPI BIT(0) |
| 39 | #define HIF_SDIO_GPIO_IRQ BIT(2) |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 40 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 41 | /******************************************** |
| 42 | * |
| 43 | * Tx/Rx Buffer Size Defines |
| 44 | * |
| 45 | ********************************************/ |
| 46 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 47 | #define CE_TX_BUFFER_SIZE (64 * 1024) |
| 48 | #define CE_RX_BUFFER_SIZE (384 * 1024) |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 49 | |
| 50 | /******************************************** |
| 51 | * |
| 52 | * Wlan Interface Defines |
| 53 | * |
| 54 | ********************************************/ |
| 55 | |
| 56 | typedef struct { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 57 | u32 read_write: 1; |
| 58 | u32 function: 3; |
| 59 | u32 raw: 1; |
| 60 | u32 address: 17; |
| 61 | u32 data: 8; |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 62 | } sdio_cmd52_t; |
| 63 | |
| 64 | typedef struct { |
| 65 | /* struct { */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 66 | u32 read_write: 1; |
| 67 | u32 function: 3; |
| 68 | u32 block_mode: 1; |
| 69 | u32 increment: 1; |
| 70 | u32 address: 17; |
| 71 | u32 count: 9; |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 72 | /* } bit; */ |
Chaehyun Lim | 51e825f | 2015-09-15 14:06:14 +0900 | [diff] [blame] | 73 | u8 *buffer; |
Chaehyun Lim | fbc2fe1 | 2015-09-15 14:06:16 +0900 | [diff] [blame] | 74 | u32 block_size; |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 75 | } sdio_cmd53_t; |
| 76 | |
| 77 | typedef struct { |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 78 | int io_type; |
| 79 | int (*io_init)(void *); |
| 80 | void (*io_deinit)(void *); |
| 81 | union { |
| 82 | struct { |
| 83 | int (*sdio_cmd52)(sdio_cmd52_t *); |
| 84 | int (*sdio_cmd53)(sdio_cmd53_t *); |
| 85 | int (*sdio_set_max_speed)(void); |
| 86 | int (*sdio_set_default_speed)(void); |
| 87 | } sdio; |
| 88 | struct { |
| 89 | int (*spi_max_speed)(void); |
Chaehyun Lim | fbc2fe1 | 2015-09-15 14:06:16 +0900 | [diff] [blame] | 90 | int (*spi_tx)(u8 *, u32); |
| 91 | int (*spi_rx)(u8 *, u32); |
| 92 | int (*spi_trx)(u8 *, u8 *, u32); |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 93 | } spi; |
| 94 | } u; |
| 95 | } wilc_wlan_io_func_t; |
| 96 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 97 | #define WILC_MAC_INDICATE_STATUS 0x1 |
| 98 | #define WILC_MAC_STATUS_INIT -1 |
| 99 | #define WILC_MAC_STATUS_READY 0 |
| 100 | #define WILC_MAC_STATUS_CONNECT 1 |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 101 | |
| 102 | #define WILC_MAC_INDICATE_SCAN 0x2 |
| 103 | |
| 104 | typedef struct { |
| 105 | void *os_private; |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 106 | } wilc_wlan_os_context_t; |
| 107 | |
| 108 | typedef struct { |
| 109 | wilc_wlan_os_context_t os_context; |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 110 | wilc_wlan_io_func_t io_func; |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 111 | } wilc_wlan_inp_t; |
| 112 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 113 | struct tx_complete_data { |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 114 | int size; |
| 115 | void *buff; |
Chaehyun Lim | 51e825f | 2015-09-15 14:06:14 +0900 | [diff] [blame] | 116 | u8 *pBssid; |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 117 | struct sk_buff *skb; |
| 118 | }; |
| 119 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 120 | typedef void (*wilc_tx_complete_func_t)(void *, int); |
| 121 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 122 | #define WILC_TX_ERR_NO_BUF (-2) |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 123 | |
| 124 | typedef struct { |
Chaehyun Lim | fbc2fe1 | 2015-09-15 14:06:16 +0900 | [diff] [blame] | 125 | int (*wlan_firmware_download)(const u8 *, u32); |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 126 | int (*wlan_start)(void); |
| 127 | int (*wlan_stop)(void); |
Chaehyun Lim | fbc2fe1 | 2015-09-15 14:06:16 +0900 | [diff] [blame] | 128 | int (*wlan_add_to_tx_que)(void *, u8 *, u32, wilc_tx_complete_func_t); |
| 129 | int (*wlan_handle_tx_que)(u32 *); |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 130 | void (*wlan_handle_rx_isr)(void); |
| 131 | void (*wlan_cleanup)(void); |
Chaehyun Lim | fbc2fe1 | 2015-09-15 14:06:16 +0900 | [diff] [blame] | 132 | int (*wlan_cfg_set)(int, u32, u8 *, u32, int, u32); |
| 133 | int (*wlan_cfg_get)(int, u32, int, u32); |
| 134 | int (*wlan_cfg_get_value)(u32, u8 *, u32); |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 135 | int (*wlan_add_mgmt_to_tx_que)(void *, u8 *, u32, |
| 136 | wilc_tx_complete_func_t); |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 137 | } wilc_wlan_oup_t; |
| 138 | |
| 139 | /******************************************** |
| 140 | * |
| 141 | * Wlan Configuration ID |
| 142 | * |
| 143 | ********************************************/ |
| 144 | |
| 145 | #define MAX_SSID_LEN 33 |
| 146 | #define MAX_RATES_SUPPORTED 12 |
| 147 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 148 | #define INFINITE_SLEEP_TIME ((u32)0xFFFFFFFF) |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 149 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 150 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 151 | SUPP_RATES_IE = 1, |
| 152 | EXT_SUPP_RATES_IE = 50, |
| 153 | HT_CAPABILITY_IE = 45, |
| 154 | RSN_IE = 48, |
| 155 | WPA_IE = 221, |
| 156 | WMM_IE = 221, |
| 157 | P2P_IE = 221, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 158 | } BEACON_IE; |
Glen Lee | 438b293 | 2015-09-30 11:59:23 +0900 | [diff] [blame^] | 159 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 160 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 161 | INFRASTRUCTURE = 0, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 162 | INDEPENDENT, |
| 163 | AP, |
| 164 | } BSSTYPE_T; |
| 165 | |
| 166 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 167 | RATE_AUTO = 0, |
| 168 | RATE_1MB = 1, |
| 169 | RATE_2MB = 2, |
| 170 | RATE_5MB = 5, |
| 171 | RATE_6MB = 6, |
| 172 | RATE_9MB = 9, |
| 173 | RATE_11MB = 11, |
| 174 | RATE_12MB = 12, |
| 175 | RATE_18MB = 18, |
| 176 | RATE_24MB = 24, |
| 177 | RATE_26MB = 36, |
| 178 | RATE_48MB = 48, |
| 179 | RATE_54MB = 54 |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 180 | } TX_RATE_T; |
| 181 | |
| 182 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 183 | B_ONLY_MODE = 0, /* 1, 2 M, otherwise 5, 11 M */ |
| 184 | G_ONLY_MODE, /* 6,12,24 otherwise 9,18,36,48,54 */ |
| 185 | G_MIXED_11B_1_MODE, /* 1,2,5.5,11 otherwise all on */ |
| 186 | G_MIXED_11B_2_MODE, /* 1,2,5,11,6,12,24 otherwise all on */ |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 187 | } G_OPERATING_MODE_T; |
| 188 | |
| 189 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 190 | G_SHORT_PREAMBLE = 0, /* Short Preamble */ |
| 191 | G_LONG_PREAMBLE = 1, /* Long Preamble */ |
| 192 | G_AUTO_PREAMBLE = 2, /* Auto Preamble Selection */ |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 193 | } G_PREAMBLE_T; |
| 194 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 195 | #define MAC_CONNECTED 1 |
| 196 | #define MAC_DISCONNECTED 0 |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 197 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 198 | #define SCAN_DONE TRUE |
| 199 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 200 | PASSIVE_SCAN = 0, |
| 201 | ACTIVE_SCAN = 1, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 202 | } SCANTYPE_T; |
| 203 | |
| 204 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 205 | NO_POWERSAVE = 0, |
| 206 | MIN_FAST_PS = 1, |
| 207 | MAX_FAST_PS = 2, |
| 208 | MIN_PSPOLL_PS = 3, |
| 209 | MAX_PSPOLL_PS = 4 |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 210 | } USER_PS_MODE_T; |
| 211 | |
| 212 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 213 | CHIP_WAKEDUP = 0, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 214 | CHIP_SLEEPING_AUTO = 1, |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 215 | CHIP_SLEEPING_MANUAL = 2 |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 216 | } CHIP_PS_STATE_T; |
| 217 | |
| 218 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 219 | ACQUIRE_ONLY = 0, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 220 | ACQUIRE_AND_WAKEUP = 1, |
| 221 | } BUS_ACQUIRE_T; |
| 222 | |
| 223 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 224 | RELEASE_ONLY = 0, |
| 225 | RELEASE_ALLOW_SLEEP = 1, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 226 | } BUS_RELEASE_T; |
| 227 | |
| 228 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 229 | NO_SECURITY = 0, |
| 230 | WEP_40 = 0x3, |
| 231 | WEP_104 = 0x7, |
| 232 | WPA_AES = 0x29, |
| 233 | WPA_TKIP = 0x49, |
| 234 | WPA_AES_TKIP = 0x69, /* Aes or Tkip */ |
| 235 | WPA2_AES = 0x31, |
| 236 | WPA2_TKIP = 0x51, |
| 237 | WPA2_AES_TKIP = 0x71, /* Aes or Tkip */ |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 238 | } SECURITY_T; |
| 239 | |
| 240 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 241 | OPEN_SYSTEM = 1, |
| 242 | SHARED_KEY = 2, |
| 243 | ANY = 3, |
| 244 | IEEE8021 = 5 |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 245 | } AUTHTYPE_T; |
| 246 | |
| 247 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 248 | SITE_SURVEY_1CH = 0, |
| 249 | SITE_SURVEY_ALL_CH = 1, |
| 250 | SITE_SURVEY_OFF = 2 |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 251 | } SITE_SURVEY_T; |
| 252 | |
| 253 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 254 | NORMAL_ACK = 0, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 255 | NO_ACK, |
| 256 | } ACK_POLICY_T; |
| 257 | |
| 258 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 259 | DONT_RESET = 0, |
| 260 | DO_RESET = 1, |
| 261 | NO_REQUEST = 2, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 262 | } RESET_REQ_T; |
| 263 | |
| 264 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 265 | REKEY_DISABLE = 1, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 266 | REKEY_TIME_BASE, |
| 267 | REKEY_PKT_BASE, |
| 268 | REKEY_TIME_PKT_BASE |
| 269 | } RSNA_REKEY_POLICY_T; |
| 270 | |
| 271 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 272 | FILTER_NO = 0x00, |
| 273 | FILTER_AP_ONLY = 0x01, |
| 274 | FILTER_STA_ONLY = 0x02 |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 275 | } SCAN_CLASS_FITLER_T; |
| 276 | |
| 277 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 278 | PRI_HIGH_RSSI = 0x00, |
| 279 | PRI_LOW_RSSI = 0x04, |
| 280 | PRI_DETECT = 0x08 |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 281 | } SCAN_PRI_T; |
| 282 | |
| 283 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 284 | CH_FILTER_OFF = 0x00, |
| 285 | CH_FILTER_ON = 0x10 |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 286 | } CH_FILTER_T; |
| 287 | |
| 288 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 289 | AUTO_PROT = 0, /* Auto */ |
| 290 | NO_PROT, /* Do not use any protection */ |
| 291 | ERP_PROT, /* Protect all ERP frame exchanges */ |
| 292 | HT_PROT, /* Protect all HT frame exchanges */ |
| 293 | GF_PROT, /* Protect all GF frame exchanges */ |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 294 | } N_PROTECTION_MODE_T; |
| 295 | |
| 296 | typedef enum { |
| 297 | G_SELF_CTS_PROT, |
| 298 | G_RTS_CTS_PROT, |
| 299 | } G_PROTECTION_MODE_T; |
| 300 | |
| 301 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 302 | HT_MIXED_MODE = 1, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 303 | HT_ONLY_20MHZ_MODE, |
| 304 | HT_ONLY_20_40MHZ_MODE, |
| 305 | } N_OPERATING_MODE_T; |
| 306 | |
| 307 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 308 | NO_DETECT = 0, |
| 309 | DETECT_ONLY = 1, |
| 310 | DETECT_PROTECT = 2, |
| 311 | DETECT_PROTECT_REPORT = 3, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 312 | } N_OBSS_DETECTION_T; |
| 313 | |
| 314 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 315 | RTS_CTS_NONHT_PROT = 0, /* RTS-CTS at non-HT rate */ |
| 316 | FIRST_FRAME_NONHT_PROT, /* First frame at non-HT rate */ |
| 317 | LSIG_TXOP_PROT, /* LSIG TXOP Protection */ |
| 318 | FIRST_FRAME_MIXED_PROT, /* First frame at Mixed format */ |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 319 | } N_PROTECTION_TYPE_T; |
| 320 | |
| 321 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 322 | STATIC_MODE = 1, |
| 323 | DYNAMIC_MODE = 2, |
| 324 | MIMO_MODE = 3, /* power save disable */ |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 325 | } N_SMPS_MODE_T; |
| 326 | |
| 327 | typedef enum { |
| 328 | DISABLE_SELF_CTS, |
| 329 | ENABLE_SELF_CTS, |
| 330 | DISABLE_TX_ABORT, |
| 331 | ENABLE_TX_ABORT, |
| 332 | HW_TRIGGER_ABORT, |
| 333 | SW_TRIGGER_ABORT, |
| 334 | } TX_ABORT_OPTION_T; |
| 335 | |
| 336 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 337 | WID_CHAR = 0, |
| 338 | WID_SHORT = 1, |
| 339 | WID_INT = 2, |
| 340 | WID_STR = 3, |
| 341 | WID_BIN_DATA = 4, |
| 342 | WID_BIN = 5, |
| 343 | WID_IP = 6, |
| 344 | WID_ADR = 7, |
| 345 | WID_UNDEF = 8, |
| 346 | WID_TYPE_FORCE_32BIT = 0xFFFFFFFF |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 347 | |
| 348 | } WID_TYPE_T, tenuWIDtype; |
| 349 | |
| 350 | typedef enum { |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 351 | WID_NIL = 0xffff, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 352 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 353 | /* |
| 354 | * BSS Type |
| 355 | * ----------------------------------------------------------- |
| 356 | * Configuration : Infrastructure Independent Access Point |
| 357 | * Values to set : 0 1 2 |
| 358 | * ----------------------------------------------------------- |
| 359 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 360 | WID_BSS_TYPE = 0x0000, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 361 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 362 | /* |
| 363 | * Transmit Rate |
| 364 | * ----------------------------------------------------------- |
| 365 | * Configuration : 1 2 5.5 11 6 9 12 18 24 36 48 54 |
| 366 | * Values to set : 1 2 5 11 6 9 12 18 24 36 48 54 |
| 367 | * ----------------------------------------------------------- |
| 368 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 369 | WID_CURRENT_TX_RATE = 0x0001, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 370 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 371 | /* |
| 372 | * Channel |
| 373 | * ----------------------------------------------------------- |
| 374 | * Configuration(g) : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
| 375 | * Values to set : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
| 376 | * ----------------------------------------------------------- |
| 377 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 378 | WID_CURRENT_CHANNEL = 0x0002, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 379 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 380 | /* |
| 381 | * Preamble |
| 382 | * ----------------------------------------------------------- |
| 383 | * Configuration : short long Auto |
| 384 | * Values to set : 0 1 2 |
| 385 | * ----------------------------------------------------------- |
| 386 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 387 | WID_PREAMBLE = 0x0003, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 388 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 389 | /* |
| 390 | * 11g operating mode (ignored if 11g not present) |
| 391 | * ----------------------------------------------------------- |
| 392 | * Configuration : HighPerf Compat(RSet #1) Compat(RSet #2) |
| 393 | * Values to set : 1 2 3 |
| 394 | * ----------------------------------------------------------- |
| 395 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 396 | WID_11G_OPERATING_MODE = 0x0004, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 397 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 398 | /* |
| 399 | * Mac status (response only) |
| 400 | * ----------------------------------------------------------- |
| 401 | * Configuration : disconnect connect |
| 402 | * Values to get : 0 1 |
| 403 | * ----------------------------------------------------------- |
| 404 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 405 | WID_STATUS = 0x0005, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 406 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 407 | /* |
| 408 | * Scan type |
| 409 | * ----------------------------------------------------------- |
| 410 | * Configuration : Passive Scanning Active Scanning |
| 411 | * Values to set : 0 1 |
| 412 | * ----------------------------------------------------------- |
| 413 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 414 | WID_SCAN_TYPE = 0x0007, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 415 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 416 | /* |
| 417 | * Key Id (WEP default key Id) |
| 418 | * ----------------------------------------------------------- |
| 419 | * Configuration : Any value between 0 to 3 |
| 420 | * Values to set : Same value. Default is 0 |
| 421 | * ----------------------------------------------------------- |
| 422 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 423 | WID_KEY_ID = 0x0009, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 424 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 425 | /* |
| 426 | * QoS Enable |
| 427 | * ----------------------------------------------------------- |
| 428 | * Configuration : QoS Disable WMM Enable |
| 429 | * Values to set : 0 1 |
| 430 | * ----------------------------------------------------------- |
| 431 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 432 | WID_QOS_ENABLE = 0x000A, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 433 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 434 | /* |
| 435 | * Power Management |
| 436 | * ----------------------------------------------------------- |
| 437 | * Configuration : NO_POWERSAVE MIN_POWERSAVE MAX_POWERSAVE |
| 438 | * Values to set : 0 1 2 |
| 439 | * ----------------------------------------------------------- |
| 440 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 441 | WID_POWER_MANAGEMENT = 0x000B, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 442 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 443 | /* |
| 444 | * WEP/802 11I Configuration |
| 445 | * ----------------------------------------------------------- |
| 446 | * Configuration:Disable WP40 WP104 WPA-AES WPA-TKIP RSN-AES RSN-TKIP |
| 447 | * Values (0x) : 00 03 07 29 49 31 51 |
| 448 | * Configuration:WPA-AES+TKIP RSN-AES+TKIP |
| 449 | * Values (0x) : 69 71 |
| 450 | * ----------------------------------------------------------- |
| 451 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 452 | WID_11I_MODE = 0x000C, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 453 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 454 | /* |
| 455 | * WEP Configuration: Used in BSS STA mode only when WEP is enabled |
| 456 | * ----------------------------------------------------------- |
| 457 | * Configuration : Open System Shared Key Any Type | 802.1x Auth |
| 458 | * Values (0x) : 01 02 03 | BIT2 |
| 459 | * ----------------------------------------------------------- |
| 460 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 461 | WID_AUTH_TYPE = 0x000D, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 462 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 463 | /* |
| 464 | * Site Survey Type |
| 465 | * ----------------------------------------------------------- |
| 466 | * Configuration : Values to set |
| 467 | * Survey 1 Channel : 0 |
| 468 | * survey all Channels : 1 |
| 469 | * Disable Site Survey : 2 |
| 470 | * ----------------------------------------------------------- |
| 471 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 472 | WID_SITE_SURVEY = 0x000E, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 473 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 474 | /* |
| 475 | * Listen Interval |
| 476 | * ----------------------------------------------------------- |
| 477 | * Configuration : Any value between 1 to 255 |
| 478 | * Values to set : Same value. Default is 3 |
| 479 | * ----------------------------------------------------------- |
| 480 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 481 | WID_LISTEN_INTERVAL = 0x000F, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 482 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 483 | /* |
| 484 | * DTIM Period |
| 485 | * ----------------------------------------------------------- |
| 486 | * Configuration : Any value between 1 to 255 |
| 487 | * Values to set : Same value. Default is 3 |
| 488 | * ----------------------------------------------------------- |
| 489 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 490 | WID_DTIM_PERIOD = 0x0010, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 491 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 492 | /* |
| 493 | * ACK Policy |
| 494 | * ----------------------------------------------------------- |
| 495 | * Configuration : Normal Ack No Ack |
| 496 | * Values to set : 0 1 |
| 497 | * ----------------------------------------------------------- |
| 498 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 499 | WID_ACK_POLICY = 0x0011, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 500 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 501 | /* |
| 502 | * Reset MAC (Set only) |
| 503 | * ----------------------------------------------------------- |
| 504 | * Configuration : Don't Reset Reset No Request |
| 505 | * Values to set : 0 1 2 |
| 506 | * ----------------------------------------------------------- |
| 507 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 508 | WID_RESET = 0x0012, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 509 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 510 | /* |
| 511 | * Broadcast SSID Option: Setting this will adhere to "" SSID element |
| 512 | * ----------------------------------------------------------- |
| 513 | * Configuration : Enable Disable |
| 514 | * Values to set : 1 0 |
| 515 | * ----------------------------------------------------------- |
| 516 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 517 | WID_BCAST_SSID = 0x0015, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 518 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 519 | /* |
| 520 | * Disconnect (Station) |
| 521 | * ----------------------------------------------------------- |
| 522 | * Configuration : Association ID |
| 523 | * Values to set : Association ID |
| 524 | * ----------------------------------------------------------- |
| 525 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 526 | WID_DISCONNECT = 0x0016, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 527 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 528 | /* |
| 529 | * 11a Tx Power Level |
| 530 | * ----------------------------------------------------------- |
| 531 | * Configuration : Sets TX Power (Higher the value greater the power) |
| 532 | * Values to set : Any value between 0 and 63 (inclusive Default 48) |
| 533 | * ----------------------------------------------------------- |
| 534 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 535 | WID_TX_POWER_LEVEL_11A = 0x0018, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 536 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 537 | /* |
| 538 | * Group Key Update Policy Selection |
| 539 | * ----------------------------------------------------------- |
| 540 | * Configuration : Disabled timeBased packetBased timePacketBased |
| 541 | * Values to set : 1 2 3 4 |
| 542 | * ----------------------------------------------------------- |
| 543 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 544 | WID_REKEY_POLICY = 0x0019, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 545 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 546 | /* |
| 547 | * Allow Short Slot |
| 548 | * ----------------------------------------------------------- |
| 549 | * Configuration : Disallow Short Slot Allow Short Slot |
| 550 | * (Enable Only Long Slot) (Enable Short Slot if applicable) |
| 551 | * Values to set : 0 1 |
| 552 | * ----------------------------------------------------------- |
| 553 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 554 | WID_SHORT_SLOT_ALLOWED = 0x001A, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 555 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 556 | WID_PHY_ACTIVE_REG = 0x001B, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 557 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 558 | /* |
| 559 | * 11b Tx Power Level |
| 560 | * ----------------------------------------------------------- |
| 561 | * Configuration : Sets TX Power (Higher the value greater the power) |
| 562 | * Values to set : Any value between 0 and 63 (inclusive Default 48) |
| 563 | * ----------------------------------------------------------- |
| 564 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 565 | WID_TX_POWER_LEVEL_11B = 0x001D, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 566 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 567 | /* |
| 568 | * Scan Request |
| 569 | * ----------------------------------------------------------- |
| 570 | * Configuration : Request default scan |
| 571 | * Values to set : 0 |
| 572 | * ----------------------------------------------------------- |
| 573 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 574 | WID_START_SCAN_REQ = 0x001E, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 575 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 576 | /* |
| 577 | * Rssi (get only) |
| 578 | * ----------------------------------------------------------- |
| 579 | * Configuration : |
| 580 | * Values to get : Rssi value |
| 581 | * ----------------------------------------------------------- |
| 582 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 583 | WID_RSSI = 0x001F, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 584 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 585 | /* |
| 586 | * Join Request |
| 587 | * ----------------------------------------------------------- |
| 588 | * Configuration : Request to join |
| 589 | * Values to set : index of scan result |
| 590 | * ----------------------------------------------------------- |
| 591 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 592 | WID_JOIN_REQ = 0x0020, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 593 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 594 | WID_LINKSPEED = 0x0026, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 595 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 596 | /* |
| 597 | * Enable User Control of TX Power |
| 598 | * ----------------------------------------------------------- |
| 599 | * Configuration : Disable Enable |
| 600 | * Values to set : 0 1 |
| 601 | * ----------------------------------------------------------- |
| 602 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 603 | WID_USER_CONTROL_ON_TX_POWER = 0x0027, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 604 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 605 | WID_MEMORY_ACCESS_8BIT = 0x0029, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 606 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 607 | /* |
| 608 | * Enable Auto RX Sensitivity feature |
| 609 | * ----------------------------------------------------------- |
| 610 | * Configuration : Disable Enable |
| 611 | * Values to set : 0 1 |
| 612 | * ----------------------------------------------------------- |
| 613 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 614 | WID_AUTO_RX_SENSITIVITY = 0x0032, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 615 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 616 | /* |
| 617 | * Receive Buffer Based Ack |
| 618 | * ----------------------------------------------------------- |
| 619 | * Configuration : Disable Enable |
| 620 | * Values to set : 0 1 |
| 621 | * ----------------------------------------------------------- |
| 622 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 623 | WID_DATAFLOW_CONTROL = 0x0033, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 624 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 625 | /* |
| 626 | * Scan Filter |
| 627 | * ----------------------------------------------------------- |
| 628 | * Configuration : Class No filter AP only Station Only |
| 629 | * Values to set : 0 1 2 |
| 630 | * Configuration : Priority High Rssi Low Rssi Detect |
| 631 | * Values to set : 0 0x4 0x0 |
| 632 | * Configuration : Channel filter off filter on |
| 633 | * Values to set : 0 0x10 |
| 634 | * ----------------------------------------------------------- |
| 635 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 636 | WID_SCAN_FILTER = 0x0036, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 637 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 638 | /* |
| 639 | * Link Loss Threshold (measure in the beacon period) |
| 640 | * ----------------------------------------------------------- |
| 641 | * Configuration : Any value between 10 and 254(Set to 255 disable) |
| 642 | * Values to set : Same value. Default is 10 |
| 643 | * ----------------------------------------------------------- |
| 644 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 645 | WID_LINK_LOSS_THRESHOLD = 0x0037, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 646 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 647 | WID_ABORT_RUNNING_SCAN = 0x003E, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 648 | |
| 649 | /* NMAC Character WID list */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 650 | WID_WPS_START = 0x0043, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 651 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 652 | /* |
| 653 | * Protection mode for MAC |
| 654 | * ----------------------------------------------------------- |
| 655 | * Configuration : Auto No protection ERP HT GF |
| 656 | * Values to set : 0 1 2 3 4 |
| 657 | * ----------------------------------------------------------- |
| 658 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 659 | WID_11N_PROT_MECH = 0x0080, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 660 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 661 | /* |
| 662 | * ERP Protection type for MAC |
| 663 | * ----------------------------------------------------------- |
| 664 | * Configuration : Self-CTS RTS-CTS |
| 665 | * Values to set : 0 1 |
| 666 | * ----------------------------------------------------------- |
| 667 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 668 | WID_11N_ERP_PROT_TYPE = 0x0081, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 669 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 670 | /* |
| 671 | * HT Option Enable |
| 672 | * ----------------------------------------------------------- |
| 673 | * Configuration : HT Enable HT Disable |
| 674 | * Values to set : 1 0 |
| 675 | * ----------------------------------------------------------- |
| 676 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 677 | WID_11N_ENABLE = 0x0082, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 678 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 679 | /* |
| 680 | * 11n Operating mode (Note that 11g operating mode will also be |
| 681 | * used in addition to this, if this is set to HT Mixed mode) |
| 682 | * ----------------------------------------------------------- |
| 683 | * Configuration : HT Mixed HT Only-20MHz HT Only-20/40MHz |
| 684 | * Values to set : 1 2 3 |
| 685 | * ----------------------------------------------------------- |
| 686 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 687 | WID_11N_OPERATING_MODE = 0x0083, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 688 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 689 | /* |
| 690 | * 11n OBSS non-HT STA Detection flag |
| 691 | * ----------------------------------------------------------- |
| 692 | * Configuration : Do not detect |
| 693 | * Values to set : 0 |
| 694 | * Configuration : Detect, do not protect or report |
| 695 | * Values to set : 1 |
| 696 | * Configuration : Detect, protect and do not report |
| 697 | * Values to set : 2 |
| 698 | * Configuration : Detect, protect and report to other BSS |
| 699 | * Values to set : 3 |
| 700 | * ----------------------------------------------------------- |
| 701 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 702 | WID_11N_OBSS_NONHT_DETECTION = 0x0084, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 703 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 704 | /* |
| 705 | * 11n HT Protection Type |
| 706 | * ----------------------------------------------------------- |
| 707 | * Configuration : RTS-CTS First Frame Exchange at non-HT-rate |
| 708 | * Values to set : 0 1 |
| 709 | * Configuration : LSIG TXOP First Frame Exchange in Mixed Fmt |
| 710 | * Values to set : 2 3 |
| 711 | * ----------------------------------------------------------- |
| 712 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 713 | WID_11N_HT_PROT_TYPE = 0x0085, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 714 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 715 | /* |
| 716 | * 11n RIFS Protection Enable Flag |
| 717 | * ----------------------------------------------------------- |
| 718 | * Configuration : Disable Enable |
| 719 | * Values to set : 0 1 |
| 720 | * ----------------------------------------------------------- |
| 721 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 722 | WID_11N_RIFS_PROT_ENABLE = 0x0086, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 723 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 724 | /* |
| 725 | * SMPS Mode |
| 726 | * ----------------------------------------------------------- |
| 727 | * Configuration : Static Dynamic MIMO (Power Save Disabled) |
| 728 | * Values to set : 1 2 3 |
| 729 | * ----------------------------------------------------------- |
| 730 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 731 | WID_11N_SMPS_MODE = 0x0087, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 732 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 733 | /* |
| 734 | * Current transmit MCS |
| 735 | * ----------------------------------------------------------- |
| 736 | * Configuration : MCS Index for data rate |
| 737 | * Values to set : 0 to 7 |
| 738 | * ----------------------------------------------------------- |
| 739 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 740 | WID_11N_CURRENT_TX_MCS = 0x0088, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 741 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 742 | WID_11N_PRINT_STATS = 0x0089, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 743 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 744 | /* |
| 745 | * 11n Short GI Enable Flag |
| 746 | * ----------------------------------------------------------- |
| 747 | * Configuration : Disable Enable |
| 748 | * Values to set : 0 1 |
| 749 | * ----------------------------------------------------------- |
| 750 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 751 | WID_11N_SHORT_GI_ENABLE = 0x008D, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 752 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 753 | /* |
| 754 | * 11n RIFS Enable Flag |
| 755 | * ----------------------------------------------------------- |
| 756 | * Configuration : Disable Enable |
| 757 | * Values to set : 0 1 |
| 758 | * ----------------------------------------------------------- |
| 759 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 760 | WID_RIFS_MODE = 0x0094, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 761 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 762 | /* |
| 763 | * TX Abort Feature |
| 764 | * ----------------------------------------------------------- |
| 765 | * Configuration : Disable Self CTS Enable Self CTS |
| 766 | * Values to set : 0 1 |
| 767 | * Configuration : Disable TX Abort Enable TX Abort |
| 768 | * Values to set : 2 3 |
| 769 | * Configuration : Enable HW TX Abort Enable SW TX Abort |
| 770 | * Values to set : 4 5 |
| 771 | * ----------------------------------------------------------- |
| 772 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 773 | WID_TX_ABORT_CONFIG = 0x00A1, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 774 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 775 | WID_REG_TSSI_11B_VALUE = 0x00A6, |
| 776 | WID_REG_TSSI_11G_VALUE = 0x00A7, |
| 777 | WID_REG_TSSI_11N_VALUE = 0x00A8, |
| 778 | WID_TX_CALIBRATION = 0x00A9, |
| 779 | WID_DSCR_TSSI_11B_VALUE = 0x00AA, |
| 780 | WID_DSCR_TSSI_11G_VALUE = 0x00AB, |
| 781 | WID_DSCR_TSSI_11N_VALUE = 0x00AC, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 782 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 783 | /* |
| 784 | * Immediate Block-Ack Support |
| 785 | * ----------------------------------------------------------- |
| 786 | * Configuration : Disable Enable |
| 787 | * Values to set : 0 1 |
| 788 | * ----------------------------------------------------------- |
| 789 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 790 | WID_11N_IMMEDIATE_BA_ENABLED = 0x00AF, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 791 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 792 | /* |
| 793 | * TXOP Disable Flag |
| 794 | * ----------------------------------------------------------- |
| 795 | * Configuration : Disable Enable |
| 796 | * Values to set : 1 0 |
| 797 | * ----------------------------------------------------------- |
| 798 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 799 | WID_11N_TXOP_PROT_DISABLE = 0x00B0, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 800 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 801 | WID_TX_POWER_LEVEL_11N = 0x00B1, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 802 | |
| 803 | /* Custom Character WID list */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 804 | WID_PC_TEST_MODE = 0x00C8, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 805 | /* SCAN Complete notification WID*/ |
| 806 | WID_SCAN_COMPLETE = 0x00C9, |
| 807 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 808 | WID_DEL_BEACON = 0x00CA, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 809 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 810 | WID_LOGTerminal_Switch = 0x00CD, |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 811 | /* EMAC Short WID list */ |
| 812 | /* RTS Threshold */ |
| 813 | /* |
| 814 | * ----------------------------------------------------------- |
| 815 | * Configuration : Any value between 256 to 2347 |
| 816 | * Values to set : Same value. Default is 2347 |
| 817 | * ----------------------------------------------------------- |
| 818 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 819 | WID_RTS_THRESHOLD = 0x1000, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 820 | |
Leo Kim | d4cebe4 | 2015-09-22 14:34:45 +0900 | [diff] [blame] | 821 | /* |
| 822 | * Fragmentation Threshold |
| 823 | * ----------------------------------------------------------- |
| 824 | * Configuration : Any value between 256 to 2346 |
| 825 | * Values to set : Same value. Default is 2346 |
| 826 | * ----------------------------------------------------------- |
| 827 | */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 828 | WID_FRAG_THRESHOLD = 0x1001, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 829 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 830 | WID_SHORT_RETRY_LIMIT = 0x1002, |
| 831 | WID_LONG_RETRY_LIMIT = 0x1003, |
| 832 | WID_BEACON_INTERVAL = 0x1006, |
| 833 | WID_MEMORY_ACCESS_16BIT = 0x1008, |
| 834 | WID_RX_SENSE = 0x100B, |
| 835 | WID_ACTIVE_SCAN_TIME = 0x100C, |
| 836 | WID_PASSIVE_SCAN_TIME = 0x100D, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 837 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 838 | WID_SITE_SURVEY_SCAN_TIME = 0x100E, |
| 839 | WID_JOIN_START_TIMEOUT = 0x100F, |
| 840 | WID_AUTH_TIMEOUT = 0x1010, |
| 841 | WID_ASOC_TIMEOUT = 0x1011, |
| 842 | WID_11I_PROTOCOL_TIMEOUT = 0x1012, |
| 843 | WID_EAPOL_RESPONSE_TIMEOUT = 0x1013, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 844 | |
| 845 | /* NMAC Short WID list */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 846 | WID_11N_SIG_QUAL_VAL = 0x1085, |
| 847 | WID_CCA_THRESHOLD = 0x1087, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 848 | |
| 849 | /* Custom Short WID list */ |
| 850 | |
| 851 | /* EMAC Integer WID list */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 852 | WID_FAILED_COUNT = 0x2000, |
| 853 | WID_RETRY_COUNT = 0x2001, |
| 854 | WID_MULTIPLE_RETRY_COUNT = 0x2002, |
| 855 | WID_FRAME_DUPLICATE_COUNT = 0x2003, |
| 856 | WID_ACK_FAILURE_COUNT = 0x2004, |
| 857 | WID_RECEIVED_FRAGMENT_COUNT = 0x2005, |
| 858 | WID_MCAST_RECEIVED_FRAME_COUNT = 0x2006, |
| 859 | WID_FCS_ERROR_COUNT = 0x2007, |
| 860 | WID_SUCCESS_FRAME_COUNT = 0x2008, |
| 861 | WID_HUT_TX_COUNT = 0x200A, |
| 862 | WID_TX_FRAGMENT_COUNT = 0x200B, |
| 863 | WID_TX_MULTICAST_FRAME_COUNT = 0x200C, |
| 864 | WID_RTS_SUCCESS_COUNT = 0x200D, |
| 865 | WID_RTS_FAILURE_COUNT = 0x200E, |
| 866 | WID_WEP_UNDECRYPTABLE_COUNT = 0x200F, |
| 867 | WID_REKEY_PERIOD = 0x2010, |
| 868 | WID_REKEY_PACKET_COUNT = 0x2011, |
| 869 | WID_1X_SERV_ADDR = 0x2012, |
| 870 | WID_STACK_IP_ADDR = 0x2013, |
| 871 | WID_STACK_NETMASK_ADDR = 0x2014, |
| 872 | WID_HW_RX_COUNT = 0x2015, |
| 873 | WID_MEMORY_ADDRESS = 0x201E, |
| 874 | WID_MEMORY_ACCESS_32BIT = 0x201F, |
| 875 | WID_RF_REG_VAL = 0x2021, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 876 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 877 | /* NMAC Integer WID list */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 878 | WID_11N_PHY_ACTIVE_REG_VAL = 0x2080, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 879 | |
| 880 | /* Custom Integer WID list */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 881 | WID_GET_INACTIVE_TIME = 0x2084, |
| 882 | WID_SET_DRV_HANDLER = 0X2085, |
| 883 | WID_SET_OPERATION_MODE = 0X2086, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 884 | /* EMAC String WID list */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 885 | WID_SSID = 0x3000, |
| 886 | WID_FIRMWARE_VERSION = 0x3001, |
| 887 | WID_OPERATIONAL_RATE_SET = 0x3002, |
| 888 | WID_BSSID = 0x3003, |
| 889 | WID_WEP_KEY_VALUE = 0x3004, |
| 890 | WID_11I_PSK = 0x3008, |
| 891 | WID_11E_P_ACTION_REQ = 0x3009, |
| 892 | WID_1X_KEY = 0x300A, |
| 893 | WID_HARDWARE_VERSION = 0x300B, |
| 894 | WID_MAC_ADDR = 0x300C, |
| 895 | WID_HUT_DEST_ADDR = 0x300D, |
| 896 | WID_PHY_VERSION = 0x300F, |
| 897 | WID_SUPP_USERNAME = 0x3010, |
| 898 | WID_SUPP_PASSWORD = 0x3011, |
| 899 | WID_SITE_SURVEY_RESULTS = 0x3012, |
| 900 | WID_RX_POWER_LEVEL = 0x3013, |
| 901 | WID_DEL_ALL_RX_BA = 0x3014, |
| 902 | WID_SET_STA_MAC_INACTIVE_TIME = 0x3017, |
| 903 | WID_ADD_WEP_KEY = 0x3019, |
| 904 | WID_REMOVE_WEP_KEY = 0x301A, |
| 905 | WID_ADD_PTK = 0x301B, |
| 906 | WID_ADD_RX_GTK = 0x301C, |
| 907 | WID_ADD_TX_GTK = 0x301D, |
| 908 | WID_REMOVE_KEY = 0x301E, |
| 909 | WID_ASSOC_REQ_INFO = 0x301F, |
| 910 | WID_ASSOC_RES_INFO = 0x3020, |
| 911 | WID_MANUFACTURER = 0x3026, /*Added for CAPI tool */ |
| 912 | WID_MODEL_NAME = 0x3027, /*Added for CAPI tool */ |
| 913 | WID_MODEL_NUM = 0x3028, /*Added for CAPI tool */ |
| 914 | WID_DEVICE_NAME = 0x3029, /*Added for CAPI tool */ |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 915 | |
| 916 | /* NMAC String WID list */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 917 | WID_11N_P_ACTION_REQ = 0x3080, |
| 918 | WID_HUT_TEST_ID = 0x3081, |
| 919 | WID_PMKID_INFO = 0x3082, |
| 920 | WID_FIRMWARE_INFO = 0x3083, |
| 921 | WID_REGISTER_FRAME = 0x3084, |
| 922 | WID_DEL_ALL_STA = 0x3085, |
| 923 | WID_REMAIN_ON_CHAN = 0x3996, |
| 924 | WID_SSID_PROBE_REQ = 0x3997, |
| 925 | WID_JOIN_REQ_EXTENDED = 0x3998, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 926 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 927 | WID_IP_ADDRESS = 0x3999, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 928 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 929 | /* Custom String WID list */ |
| 930 | |
| 931 | /* EMAC Binary WID list */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 932 | WID_UAPSD_CONFIG = 0x4001, |
| 933 | WID_UAPSD_STATUS = 0x4002, |
| 934 | WID_WMM_AP_AC_PARAMS = 0x4003, |
| 935 | WID_WMM_STA_AC_PARAMS = 0x4004, |
| 936 | WID_NETWORK_INFO = 0x4005, |
| 937 | WID_STA_JOIN_INFO = 0x4006, |
| 938 | WID_CONNECTED_STA_LIST = 0x4007, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 939 | |
| 940 | /* NMAC Binary WID list */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 941 | WID_11N_AUTORATE_TABLE = 0x4080, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 942 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 943 | WID_SCAN_CHANNEL_LIST = 0x4084, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 944 | |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 945 | WID_INFO_ELEMENT_PROBE = 0x4085, |
| 946 | WID_INFO_ELEMENT_ASSOCIATE = 0x4086, |
| 947 | WID_ADD_STA = 0X4087, |
| 948 | WID_REMOVE_STA = 0X4088, |
| 949 | WID_EDIT_STA = 0X4089, |
| 950 | WID_ADD_BEACON = 0x408a, |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 951 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 952 | WID_SETUP_MULTICAST_FILTER = 0x408b, |
| 953 | |
| 954 | /* Miscellaneous WIDs */ |
Leo Kim | 531c7ce | 2015-09-22 14:34:46 +0900 | [diff] [blame] | 955 | WID_ALL = 0x7FFE, |
| 956 | WID_MAX = 0xFFFF |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 957 | } WID_T; |
| 958 | |
| 959 | int wilc_wlan_init(wilc_wlan_inp_t *inp, wilc_wlan_oup_t *oup); |
| 960 | |
| 961 | void wilc_bus_set_max_speed(void); |
| 962 | void wilc_bus_set_default_speed(void); |
Chaehyun Lim | fbc2fe1 | 2015-09-15 14:06:16 +0900 | [diff] [blame] | 963 | u32 wilc_get_chipid(u8 update); |
Chaehyun Lim | dd32257 | 2015-09-22 22:47:43 +0900 | [diff] [blame] | 964 | extern wilc_wlan_oup_t *gpstrWlanOps; |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 965 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 966 | #endif |