diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.c | 355 |
1 files changed, 212 insertions, 143 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c index 3dff56ec195a..3e0205ddf7b4 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c | |||
@@ -45,11 +45,60 @@ | |||
45 | /* | 45 | /* |
46 | * Allow hardware encryption to be disabled. | 46 | * Allow hardware encryption to be disabled. |
47 | */ | 47 | */ |
48 | static int modparam_nohwcrypt = 0; | 48 | static int modparam_nohwcrypt; |
49 | module_param_named(nohwcrypt, modparam_nohwcrypt, bool, S_IRUGO); | 49 | module_param_named(nohwcrypt, modparam_nohwcrypt, bool, S_IRUGO); |
50 | MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption."); | 50 | MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption."); |
51 | 51 | ||
52 | /* | 52 | /* |
53 | * Queue handlers. | ||
54 | */ | ||
55 | static void rt2800usb_start_queue(struct data_queue *queue) | ||
56 | { | ||
57 | struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; | ||
58 | u32 reg; | ||
59 | |||
60 | switch (queue->qid) { | ||
61 | case QID_RX: | ||
62 | rt2800_register_read(rt2x00dev, MAC_SYS_CTRL, ®); | ||
63 | rt2x00_set_field32(®, MAC_SYS_CTRL_ENABLE_RX, 1); | ||
64 | rt2800_register_write(rt2x00dev, MAC_SYS_CTRL, reg); | ||
65 | break; | ||
66 | case QID_BEACON: | ||
67 | rt2800_register_read(rt2x00dev, BCN_TIME_CFG, ®); | ||
68 | rt2x00_set_field32(®, BCN_TIME_CFG_TSF_TICKING, 1); | ||
69 | rt2x00_set_field32(®, BCN_TIME_CFG_TBTT_ENABLE, 1); | ||
70 | rt2x00_set_field32(®, BCN_TIME_CFG_BEACON_GEN, 1); | ||
71 | rt2800_register_write(rt2x00dev, BCN_TIME_CFG, reg); | ||
72 | break; | ||
73 | default: | ||
74 | break; | ||
75 | } | ||
76 | } | ||
77 | |||
78 | static void rt2800usb_stop_queue(struct data_queue *queue) | ||
79 | { | ||
80 | struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; | ||
81 | u32 reg; | ||
82 | |||
83 | switch (queue->qid) { | ||
84 | case QID_RX: | ||
85 | rt2800_register_read(rt2x00dev, MAC_SYS_CTRL, ®); | ||
86 | rt2x00_set_field32(®, MAC_SYS_CTRL_ENABLE_RX, 0); | ||
87 | rt2800_register_write(rt2x00dev, MAC_SYS_CTRL, reg); | ||
88 | break; | ||
89 | case QID_BEACON: | ||
90 | rt2800_register_read(rt2x00dev, BCN_TIME_CFG, ®); | ||
91 | rt2x00_set_field32(®, BCN_TIME_CFG_TSF_TICKING, 0); | ||
92 | rt2x00_set_field32(®, BCN_TIME_CFG_TBTT_ENABLE, 0); | ||
93 | rt2x00_set_field32(®, BCN_TIME_CFG_BEACON_GEN, 0); | ||
94 | rt2800_register_write(rt2x00dev, BCN_TIME_CFG, reg); | ||
95 | break; | ||
96 | default: | ||
97 | break; | ||
98 | } | ||
99 | } | ||
100 | |||
101 | /* | ||
53 | * Firmware functions | 102 | * Firmware functions |
54 | */ | 103 | */ |
55 | static char *rt2800usb_get_firmware_name(struct rt2x00_dev *rt2x00dev) | 104 | static char *rt2800usb_get_firmware_name(struct rt2x00_dev *rt2x00dev) |
@@ -107,18 +156,6 @@ static int rt2800usb_write_firmware(struct rt2x00_dev *rt2x00dev, | |||
107 | /* | 156 | /* |
108 | * Device state switch handlers. | 157 | * Device state switch handlers. |
109 | */ | 158 | */ |
110 | static void rt2800usb_toggle_rx(struct rt2x00_dev *rt2x00dev, | ||
111 | enum dev_state state) | ||
112 | { | ||
113 | u32 reg; | ||
114 | |||
115 | rt2800_register_read(rt2x00dev, MAC_SYS_CTRL, ®); | ||
116 | rt2x00_set_field32(®, MAC_SYS_CTRL_ENABLE_RX, | ||
117 | (state == STATE_RADIO_RX_ON) || | ||
118 | (state == STATE_RADIO_RX_ON_LINK)); | ||
119 | rt2800_register_write(rt2x00dev, MAC_SYS_CTRL, reg); | ||
120 | } | ||
121 | |||
122 | static int rt2800usb_init_registers(struct rt2x00_dev *rt2x00dev) | 159 | static int rt2800usb_init_registers(struct rt2x00_dev *rt2x00dev) |
123 | { | 160 | { |
124 | u32 reg; | 161 | u32 reg; |
@@ -165,7 +202,8 @@ static int rt2800usb_enable_radio(struct rt2x00_dev *rt2x00dev) | |||
165 | * this limit so reduce the number to prevent errors. | 202 | * this limit so reduce the number to prevent errors. |
166 | */ | 203 | */ |
167 | rt2x00_set_field32(®, USB_DMA_CFG_RX_BULK_AGG_LIMIT, | 204 | rt2x00_set_field32(®, USB_DMA_CFG_RX_BULK_AGG_LIMIT, |
168 | ((RX_ENTRIES * DATA_FRAME_SIZE) / 1024) - 3); | 205 | ((rt2x00dev->ops->rx->entry_num * DATA_FRAME_SIZE) |
206 | / 1024) - 3); | ||
169 | rt2x00_set_field32(®, USB_DMA_CFG_RX_BULK_EN, 1); | 207 | rt2x00_set_field32(®, USB_DMA_CFG_RX_BULK_EN, 1); |
170 | rt2x00_set_field32(®, USB_DMA_CFG_TX_BULK_EN, 1); | 208 | rt2x00_set_field32(®, USB_DMA_CFG_TX_BULK_EN, 1); |
171 | rt2800_register_write(rt2x00dev, USB_DMA_CFG, reg); | 209 | rt2800_register_write(rt2x00dev, USB_DMA_CFG, reg); |
@@ -183,9 +221,9 @@ static int rt2800usb_set_state(struct rt2x00_dev *rt2x00dev, | |||
183 | enum dev_state state) | 221 | enum dev_state state) |
184 | { | 222 | { |
185 | if (state == STATE_AWAKE) | 223 | if (state == STATE_AWAKE) |
186 | rt2800_mcu_request(rt2x00dev, MCU_WAKEUP, 0xff, 0, 0); | 224 | rt2800_mcu_request(rt2x00dev, MCU_WAKEUP, 0xff, 0, 2); |
187 | else | 225 | else |
188 | rt2800_mcu_request(rt2x00dev, MCU_SLEEP, 0xff, 0, 2); | 226 | rt2800_mcu_request(rt2x00dev, MCU_SLEEP, 0xff, 0xff, 2); |
189 | 227 | ||
190 | return 0; | 228 | return 0; |
191 | } | 229 | } |
@@ -214,12 +252,6 @@ static int rt2800usb_set_device_state(struct rt2x00_dev *rt2x00dev, | |||
214 | rt2800usb_disable_radio(rt2x00dev); | 252 | rt2800usb_disable_radio(rt2x00dev); |
215 | rt2800usb_set_state(rt2x00dev, STATE_SLEEP); | 253 | rt2800usb_set_state(rt2x00dev, STATE_SLEEP); |
216 | break; | 254 | break; |
217 | case STATE_RADIO_RX_ON: | ||
218 | case STATE_RADIO_RX_ON_LINK: | ||
219 | case STATE_RADIO_RX_OFF: | ||
220 | case STATE_RADIO_RX_OFF_LINK: | ||
221 | rt2800usb_toggle_rx(rt2x00dev, state); | ||
222 | break; | ||
223 | case STATE_RADIO_IRQ_ON: | 255 | case STATE_RADIO_IRQ_ON: |
224 | case STATE_RADIO_IRQ_ON_ISR: | 256 | case STATE_RADIO_IRQ_ON_ISR: |
225 | case STATE_RADIO_IRQ_OFF: | 257 | case STATE_RADIO_IRQ_OFF: |
@@ -245,6 +277,49 @@ static int rt2800usb_set_device_state(struct rt2x00_dev *rt2x00dev, | |||
245 | } | 277 | } |
246 | 278 | ||
247 | /* | 279 | /* |
280 | * Watchdog handlers | ||
281 | */ | ||
282 | static void rt2800usb_watchdog(struct rt2x00_dev *rt2x00dev) | ||
283 | { | ||
284 | unsigned int i; | ||
285 | u32 reg; | ||
286 | |||
287 | rt2800_register_read(rt2x00dev, TXRXQ_PCNT, ®); | ||
288 | if (rt2x00_get_field32(reg, TXRXQ_PCNT_TX0Q)) { | ||
289 | WARNING(rt2x00dev, "TX HW queue 0 timed out," | ||
290 | " invoke forced kick\n"); | ||
291 | |||
292 | rt2800_register_write(rt2x00dev, PBF_CFG, 0xf40012); | ||
293 | |||
294 | for (i = 0; i < 10; i++) { | ||
295 | udelay(10); | ||
296 | if (!rt2x00_get_field32(reg, TXRXQ_PCNT_TX0Q)) | ||
297 | break; | ||
298 | } | ||
299 | |||
300 | rt2800_register_write(rt2x00dev, PBF_CFG, 0xf40006); | ||
301 | } | ||
302 | |||
303 | rt2800_register_read(rt2x00dev, TXRXQ_PCNT, ®); | ||
304 | if (rt2x00_get_field32(reg, TXRXQ_PCNT_TX1Q)) { | ||
305 | WARNING(rt2x00dev, "TX HW queue 1 timed out," | ||
306 | " invoke forced kick\n"); | ||
307 | |||
308 | rt2800_register_write(rt2x00dev, PBF_CFG, 0xf4000a); | ||
309 | |||
310 | for (i = 0; i < 10; i++) { | ||
311 | udelay(10); | ||
312 | if (!rt2x00_get_field32(reg, TXRXQ_PCNT_TX1Q)) | ||
313 | break; | ||
314 | } | ||
315 | |||
316 | rt2800_register_write(rt2x00dev, PBF_CFG, 0xf40006); | ||
317 | } | ||
318 | |||
319 | rt2x00usb_watchdog(rt2x00dev); | ||
320 | } | ||
321 | |||
322 | /* | ||
248 | * TX descriptor initialization | 323 | * TX descriptor initialization |
249 | */ | 324 | */ |
250 | static __le32 *rt2800usb_get_txwi(struct queue_entry *entry) | 325 | static __le32 *rt2800usb_get_txwi(struct queue_entry *entry) |
@@ -266,8 +341,14 @@ static void rt2800usb_write_tx_desc(struct queue_entry *entry, | |||
266 | * Initialize TXINFO descriptor | 341 | * Initialize TXINFO descriptor |
267 | */ | 342 | */ |
268 | rt2x00_desc_read(txi, 0, &word); | 343 | rt2x00_desc_read(txi, 0, &word); |
344 | |||
345 | /* | ||
346 | * The size of TXINFO_W0_USB_DMA_TX_PKT_LEN is | ||
347 | * TXWI + 802.11 header + L2 pad + payload + pad, | ||
348 | * so need to decrease size of TXINFO and USB end pad. | ||
349 | */ | ||
269 | rt2x00_set_field32(&word, TXINFO_W0_USB_DMA_TX_PKT_LEN, | 350 | rt2x00_set_field32(&word, TXINFO_W0_USB_DMA_TX_PKT_LEN, |
270 | entry->skb->len - TXINFO_DESC_SIZE); | 351 | entry->skb->len - TXINFO_DESC_SIZE - 4); |
271 | rt2x00_set_field32(&word, TXINFO_W0_WIV, | 352 | rt2x00_set_field32(&word, TXINFO_W0_WIV, |
272 | !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags)); | 353 | !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags)); |
273 | rt2x00_set_field32(&word, TXINFO_W0_QSEL, 2); | 354 | rt2x00_set_field32(&word, TXINFO_W0_QSEL, 2); |
@@ -285,22 +366,29 @@ static void rt2800usb_write_tx_desc(struct queue_entry *entry, | |||
285 | skbdesc->desc_len = TXINFO_DESC_SIZE + TXWI_DESC_SIZE; | 366 | skbdesc->desc_len = TXINFO_DESC_SIZE + TXWI_DESC_SIZE; |
286 | } | 367 | } |
287 | 368 | ||
288 | /* | 369 | static void rt2800usb_write_tx_data(struct queue_entry *entry, |
289 | * TX data initialization | 370 | struct txentry_desc *txdesc) |
290 | */ | ||
291 | static int rt2800usb_get_tx_data_len(struct queue_entry *entry) | ||
292 | { | 371 | { |
293 | int length; | 372 | u8 padding_len; |
294 | 373 | ||
295 | /* | 374 | /* |
296 | * The length _must_ include 4 bytes padding, | 375 | * pad(1~3 bytes) is added after each 802.11 payload. |
297 | * it should always be multiple of 4, | 376 | * USB end pad(4 bytes) is added at each USB bulk out packet end. |
298 | * but it must _not_ be a multiple of the USB packet size. | 377 | * TX frame format is : |
378 | * | TXINFO | TXWI | 802.11 header | L2 pad | payload | pad | USB end pad | | ||
379 | * |<------------- tx_pkt_len ------------->| | ||
299 | */ | 380 | */ |
300 | length = roundup(entry->skb->len + 4, 4); | 381 | rt2800_write_tx_data(entry, txdesc); |
301 | length += (4 * !(length % entry->queue->usb_maxpacket)); | 382 | padding_len = roundup(entry->skb->len + 4, 4) - entry->skb->len; |
383 | memset(skb_put(entry->skb, padding_len), 0, padding_len); | ||
384 | } | ||
302 | 385 | ||
303 | return length; | 386 | /* |
387 | * TX data initialization | ||
388 | */ | ||
389 | static int rt2800usb_get_tx_data_len(struct queue_entry *entry) | ||
390 | { | ||
391 | return entry->skb->len; | ||
304 | } | 392 | } |
305 | 393 | ||
306 | /* | 394 | /* |
@@ -335,14 +423,6 @@ static void rt2800usb_work_txdone(struct work_struct *work) | |||
335 | } | 423 | } |
336 | } | 424 | } |
337 | 425 | ||
338 | static void rt2800usb_kill_tx_queue(struct data_queue *queue) | ||
339 | { | ||
340 | if (queue->qid == QID_BEACON) | ||
341 | rt2x00usb_register_write(queue->rt2x00dev, BCN_TIME_CFG, 0); | ||
342 | |||
343 | rt2x00usb_kill_tx_queue(queue); | ||
344 | } | ||
345 | |||
346 | /* | 426 | /* |
347 | * RX control handlers | 427 | * RX control handlers |
348 | */ | 428 | */ |
@@ -507,6 +587,8 @@ static const struct ieee80211_ops rt2800usb_mac80211_ops = { | |||
507 | .get_tsf = rt2800_get_tsf, | 587 | .get_tsf = rt2800_get_tsf, |
508 | .rfkill_poll = rt2x00mac_rfkill_poll, | 588 | .rfkill_poll = rt2x00mac_rfkill_poll, |
509 | .ampdu_action = rt2800_ampdu_action, | 589 | .ampdu_action = rt2800_ampdu_action, |
590 | .flush = rt2x00mac_flush, | ||
591 | .get_survey = rt2800_get_survey, | ||
510 | }; | 592 | }; |
511 | 593 | ||
512 | static const struct rt2800_ops rt2800usb_rt2800_ops = { | 594 | static const struct rt2800_ops rt2800usb_rt2800_ops = { |
@@ -535,13 +617,15 @@ static const struct rt2x00lib_ops rt2800usb_rt2x00_ops = { | |||
535 | .link_stats = rt2800_link_stats, | 617 | .link_stats = rt2800_link_stats, |
536 | .reset_tuner = rt2800_reset_tuner, | 618 | .reset_tuner = rt2800_reset_tuner, |
537 | .link_tuner = rt2800_link_tuner, | 619 | .link_tuner = rt2800_link_tuner, |
538 | .watchdog = rt2x00usb_watchdog, | 620 | .watchdog = rt2800usb_watchdog, |
621 | .start_queue = rt2800usb_start_queue, | ||
622 | .kick_queue = rt2x00usb_kick_queue, | ||
623 | .stop_queue = rt2800usb_stop_queue, | ||
624 | .flush_queue = rt2x00usb_flush_queue, | ||
539 | .write_tx_desc = rt2800usb_write_tx_desc, | 625 | .write_tx_desc = rt2800usb_write_tx_desc, |
540 | .write_tx_data = rt2800_write_tx_data, | 626 | .write_tx_data = rt2800usb_write_tx_data, |
541 | .write_beacon = rt2800_write_beacon, | 627 | .write_beacon = rt2800_write_beacon, |
542 | .get_tx_data_len = rt2800usb_get_tx_data_len, | 628 | .get_tx_data_len = rt2800usb_get_tx_data_len, |
543 | .kick_tx_queue = rt2x00usb_kick_tx_queue, | ||
544 | .kill_tx_queue = rt2800usb_kill_tx_queue, | ||
545 | .fill_rxdone = rt2800usb_fill_rxdone, | 629 | .fill_rxdone = rt2800usb_fill_rxdone, |
546 | .config_shared_key = rt2800_config_shared_key, | 630 | .config_shared_key = rt2800_config_shared_key, |
547 | .config_pairwise_key = rt2800_config_pairwise_key, | 631 | .config_pairwise_key = rt2800_config_pairwise_key, |
@@ -553,21 +637,21 @@ static const struct rt2x00lib_ops rt2800usb_rt2x00_ops = { | |||
553 | }; | 637 | }; |
554 | 638 | ||
555 | static const struct data_queue_desc rt2800usb_queue_rx = { | 639 | static const struct data_queue_desc rt2800usb_queue_rx = { |
556 | .entry_num = RX_ENTRIES, | 640 | .entry_num = 128, |
557 | .data_size = AGGREGATION_SIZE, | 641 | .data_size = AGGREGATION_SIZE, |
558 | .desc_size = RXINFO_DESC_SIZE + RXWI_DESC_SIZE, | 642 | .desc_size = RXINFO_DESC_SIZE + RXWI_DESC_SIZE, |
559 | .priv_size = sizeof(struct queue_entry_priv_usb), | 643 | .priv_size = sizeof(struct queue_entry_priv_usb), |
560 | }; | 644 | }; |
561 | 645 | ||
562 | static const struct data_queue_desc rt2800usb_queue_tx = { | 646 | static const struct data_queue_desc rt2800usb_queue_tx = { |
563 | .entry_num = TX_ENTRIES, | 647 | .entry_num = 64, |
564 | .data_size = AGGREGATION_SIZE, | 648 | .data_size = AGGREGATION_SIZE, |
565 | .desc_size = TXINFO_DESC_SIZE + TXWI_DESC_SIZE, | 649 | .desc_size = TXINFO_DESC_SIZE + TXWI_DESC_SIZE, |
566 | .priv_size = sizeof(struct queue_entry_priv_usb), | 650 | .priv_size = sizeof(struct queue_entry_priv_usb), |
567 | }; | 651 | }; |
568 | 652 | ||
569 | static const struct data_queue_desc rt2800usb_queue_bcn = { | 653 | static const struct data_queue_desc rt2800usb_queue_bcn = { |
570 | .entry_num = 8 * BEACON_ENTRIES, | 654 | .entry_num = 8, |
571 | .data_size = MGMT_FRAME_SIZE, | 655 | .data_size = MGMT_FRAME_SIZE, |
572 | .desc_size = TXINFO_DESC_SIZE + TXWI_DESC_SIZE, | 656 | .desc_size = TXINFO_DESC_SIZE + TXWI_DESC_SIZE, |
573 | .priv_size = sizeof(struct queue_entry_priv_usb), | 657 | .priv_size = sizeof(struct queue_entry_priv_usb), |
@@ -599,11 +683,19 @@ static struct usb_device_id rt2800usb_device_table[] = { | |||
599 | /* Abocom */ | 683 | /* Abocom */ |
600 | { USB_DEVICE(0x07b8, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) }, | 684 | { USB_DEVICE(0x07b8, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) }, |
601 | { USB_DEVICE(0x07b8, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) }, | 685 | { USB_DEVICE(0x07b8, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) }, |
686 | { USB_DEVICE(0x07b8, 0x3070), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
687 | { USB_DEVICE(0x07b8, 0x3071), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
688 | { USB_DEVICE(0x07b8, 0x3072), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
602 | { USB_DEVICE(0x1482, 0x3c09), USB_DEVICE_DATA(&rt2800usb_ops) }, | 689 | { USB_DEVICE(0x1482, 0x3c09), USB_DEVICE_DATA(&rt2800usb_ops) }, |
690 | /* AirTies */ | ||
691 | { USB_DEVICE(0x1eda, 0x2310), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
603 | /* Allwin */ | 692 | /* Allwin */ |
604 | { USB_DEVICE(0x8516, 0x2070), USB_DEVICE_DATA(&rt2800usb_ops) }, | 693 | { USB_DEVICE(0x8516, 0x2070), USB_DEVICE_DATA(&rt2800usb_ops) }, |
605 | { USB_DEVICE(0x8516, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) }, | 694 | { USB_DEVICE(0x8516, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) }, |
606 | { USB_DEVICE(0x8516, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) }, | 695 | { USB_DEVICE(0x8516, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) }, |
696 | { USB_DEVICE(0x8516, 0x3070), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
697 | { USB_DEVICE(0x8516, 0x3071), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
698 | { USB_DEVICE(0x8516, 0x3072), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
607 | /* Amit */ | 699 | /* Amit */ |
608 | { USB_DEVICE(0x15c5, 0x0008), USB_DEVICE_DATA(&rt2800usb_ops) }, | 700 | { USB_DEVICE(0x15c5, 0x0008), USB_DEVICE_DATA(&rt2800usb_ops) }, |
609 | /* Askey */ | 701 | /* Askey */ |
@@ -612,8 +704,13 @@ static struct usb_device_id rt2800usb_device_table[] = { | |||
612 | { USB_DEVICE(0x0b05, 0x1731), USB_DEVICE_DATA(&rt2800usb_ops) }, | 704 | { USB_DEVICE(0x0b05, 0x1731), USB_DEVICE_DATA(&rt2800usb_ops) }, |
613 | { USB_DEVICE(0x0b05, 0x1732), USB_DEVICE_DATA(&rt2800usb_ops) }, | 705 | { USB_DEVICE(0x0b05, 0x1732), USB_DEVICE_DATA(&rt2800usb_ops) }, |
614 | { USB_DEVICE(0x0b05, 0x1742), USB_DEVICE_DATA(&rt2800usb_ops) }, | 706 | { USB_DEVICE(0x0b05, 0x1742), USB_DEVICE_DATA(&rt2800usb_ops) }, |
707 | { USB_DEVICE(0x0b05, 0x1784), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
615 | /* AzureWave */ | 708 | /* AzureWave */ |
616 | { USB_DEVICE(0x13d3, 0x3247), USB_DEVICE_DATA(&rt2800usb_ops) }, | 709 | { USB_DEVICE(0x13d3, 0x3247), USB_DEVICE_DATA(&rt2800usb_ops) }, |
710 | { USB_DEVICE(0x13d3, 0x3273), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
711 | { USB_DEVICE(0x13d3, 0x3305), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
712 | { USB_DEVICE(0x13d3, 0x3307), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
713 | { USB_DEVICE(0x13d3, 0x3321), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
617 | /* Belkin */ | 714 | /* Belkin */ |
618 | { USB_DEVICE(0x050d, 0x8053), USB_DEVICE_DATA(&rt2800usb_ops) }, | 715 | { USB_DEVICE(0x050d, 0x8053), USB_DEVICE_DATA(&rt2800usb_ops) }, |
619 | { USB_DEVICE(0x050d, 0x805c), USB_DEVICE_DATA(&rt2800usb_ops) }, | 716 | { USB_DEVICE(0x050d, 0x805c), USB_DEVICE_DATA(&rt2800usb_ops) }, |
@@ -624,6 +721,7 @@ static struct usb_device_id rt2800usb_device_table[] = { | |||
624 | { USB_DEVICE(0x14b2, 0x3c06), USB_DEVICE_DATA(&rt2800usb_ops) }, | 721 | { USB_DEVICE(0x14b2, 0x3c06), USB_DEVICE_DATA(&rt2800usb_ops) }, |
625 | { USB_DEVICE(0x14b2, 0x3c07), USB_DEVICE_DATA(&rt2800usb_ops) }, | 722 | { USB_DEVICE(0x14b2, 0x3c07), USB_DEVICE_DATA(&rt2800usb_ops) }, |
626 | { USB_DEVICE(0x14b2, 0x3c09), USB_DEVICE_DATA(&rt2800usb_ops) }, | 723 | { USB_DEVICE(0x14b2, 0x3c09), USB_DEVICE_DATA(&rt2800usb_ops) }, |
724 | { USB_DEVICE(0x14b2, 0x3c12), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
627 | { USB_DEVICE(0x14b2, 0x3c23), USB_DEVICE_DATA(&rt2800usb_ops) }, | 725 | { USB_DEVICE(0x14b2, 0x3c23), USB_DEVICE_DATA(&rt2800usb_ops) }, |
628 | { USB_DEVICE(0x14b2, 0x3c25), USB_DEVICE_DATA(&rt2800usb_ops) }, | 726 | { USB_DEVICE(0x14b2, 0x3c25), USB_DEVICE_DATA(&rt2800usb_ops) }, |
629 | { USB_DEVICE(0x14b2, 0x3c27), USB_DEVICE_DATA(&rt2800usb_ops) }, | 727 | { USB_DEVICE(0x14b2, 0x3c27), USB_DEVICE_DATA(&rt2800usb_ops) }, |
@@ -632,17 +730,36 @@ static struct usb_device_id rt2800usb_device_table[] = { | |||
632 | { USB_DEVICE(0x07aa, 0x002f), USB_DEVICE_DATA(&rt2800usb_ops) }, | 730 | { USB_DEVICE(0x07aa, 0x002f), USB_DEVICE_DATA(&rt2800usb_ops) }, |
633 | { USB_DEVICE(0x07aa, 0x003c), USB_DEVICE_DATA(&rt2800usb_ops) }, | 731 | { USB_DEVICE(0x07aa, 0x003c), USB_DEVICE_DATA(&rt2800usb_ops) }, |
634 | { USB_DEVICE(0x07aa, 0x003f), USB_DEVICE_DATA(&rt2800usb_ops) }, | 732 | { USB_DEVICE(0x07aa, 0x003f), USB_DEVICE_DATA(&rt2800usb_ops) }, |
733 | { USB_DEVICE(0x18c5, 0x0012), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
635 | /* D-Link */ | 734 | /* D-Link */ |
636 | { USB_DEVICE(0x07d1, 0x3c09), USB_DEVICE_DATA(&rt2800usb_ops) }, | 735 | { USB_DEVICE(0x07d1, 0x3c09), USB_DEVICE_DATA(&rt2800usb_ops) }, |
736 | { USB_DEVICE(0x07d1, 0x3c0a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
737 | { USB_DEVICE(0x07d1, 0x3c0d), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
738 | { USB_DEVICE(0x07d1, 0x3c0e), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
739 | { USB_DEVICE(0x07d1, 0x3c0f), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
637 | { USB_DEVICE(0x07d1, 0x3c11), USB_DEVICE_DATA(&rt2800usb_ops) }, | 740 | { USB_DEVICE(0x07d1, 0x3c11), USB_DEVICE_DATA(&rt2800usb_ops) }, |
741 | { USB_DEVICE(0x07d1, 0x3c16), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
742 | /* Draytek */ | ||
743 | { USB_DEVICE(0x07fa, 0x7712), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
638 | /* Edimax */ | 744 | /* Edimax */ |
745 | { USB_DEVICE(0x7392, 0x7711), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
639 | { USB_DEVICE(0x7392, 0x7717), USB_DEVICE_DATA(&rt2800usb_ops) }, | 746 | { USB_DEVICE(0x7392, 0x7717), USB_DEVICE_DATA(&rt2800usb_ops) }, |
640 | { USB_DEVICE(0x7392, 0x7718), USB_DEVICE_DATA(&rt2800usb_ops) }, | 747 | { USB_DEVICE(0x7392, 0x7718), USB_DEVICE_DATA(&rt2800usb_ops) }, |
748 | /* Encore */ | ||
749 | { USB_DEVICE(0x203d, 0x1480), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
750 | { USB_DEVICE(0x203d, 0x14a9), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
641 | /* EnGenius */ | 751 | /* EnGenius */ |
642 | { USB_DEVICE(0x1740, 0x9701), USB_DEVICE_DATA(&rt2800usb_ops) }, | 752 | { USB_DEVICE(0x1740, 0x9701), USB_DEVICE_DATA(&rt2800usb_ops) }, |
643 | { USB_DEVICE(0x1740, 0x9702), USB_DEVICE_DATA(&rt2800usb_ops) }, | 753 | { USB_DEVICE(0x1740, 0x9702), USB_DEVICE_DATA(&rt2800usb_ops) }, |
754 | { USB_DEVICE(0x1740, 0x9703), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
755 | { USB_DEVICE(0x1740, 0x9705), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
756 | { USB_DEVICE(0x1740, 0x9706), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
757 | { USB_DEVICE(0x1740, 0x9707), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
758 | { USB_DEVICE(0x1740, 0x9708), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
759 | { USB_DEVICE(0x1740, 0x9709), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
644 | /* Gigabyte */ | 760 | /* Gigabyte */ |
645 | { USB_DEVICE(0x1044, 0x800b), USB_DEVICE_DATA(&rt2800usb_ops) }, | 761 | { USB_DEVICE(0x1044, 0x800b), USB_DEVICE_DATA(&rt2800usb_ops) }, |
762 | { USB_DEVICE(0x1044, 0x800d), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
646 | /* Hawking */ | 763 | /* Hawking */ |
647 | { USB_DEVICE(0x0e66, 0x0001), USB_DEVICE_DATA(&rt2800usb_ops) }, | 764 | { USB_DEVICE(0x0e66, 0x0001), USB_DEVICE_DATA(&rt2800usb_ops) }, |
648 | { USB_DEVICE(0x0e66, 0x0003), USB_DEVICE_DATA(&rt2800usb_ops) }, | 765 | { USB_DEVICE(0x0e66, 0x0003), USB_DEVICE_DATA(&rt2800usb_ops) }, |
@@ -651,6 +768,10 @@ static struct usb_device_id rt2800usb_device_table[] = { | |||
651 | { USB_DEVICE(0x0e66, 0x0013), USB_DEVICE_DATA(&rt2800usb_ops) }, | 768 | { USB_DEVICE(0x0e66, 0x0013), USB_DEVICE_DATA(&rt2800usb_ops) }, |
652 | { USB_DEVICE(0x0e66, 0x0017), USB_DEVICE_DATA(&rt2800usb_ops) }, | 769 | { USB_DEVICE(0x0e66, 0x0017), USB_DEVICE_DATA(&rt2800usb_ops) }, |
653 | { USB_DEVICE(0x0e66, 0x0018), USB_DEVICE_DATA(&rt2800usb_ops) }, | 770 | { USB_DEVICE(0x0e66, 0x0018), USB_DEVICE_DATA(&rt2800usb_ops) }, |
771 | /* I-O DATA */ | ||
772 | { USB_DEVICE(0x04bb, 0x0945), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
773 | { USB_DEVICE(0x04bb, 0x0947), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
774 | { USB_DEVICE(0x04bb, 0x0948), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
654 | /* Linksys */ | 775 | /* Linksys */ |
655 | { USB_DEVICE(0x1737, 0x0070), USB_DEVICE_DATA(&rt2800usb_ops) }, | 776 | { USB_DEVICE(0x1737, 0x0070), USB_DEVICE_DATA(&rt2800usb_ops) }, |
656 | { USB_DEVICE(0x1737, 0x0071), USB_DEVICE_DATA(&rt2800usb_ops) }, | 777 | { USB_DEVICE(0x1737, 0x0071), USB_DEVICE_DATA(&rt2800usb_ops) }, |
@@ -658,17 +779,44 @@ static struct usb_device_id rt2800usb_device_table[] = { | |||
658 | { USB_DEVICE(0x0789, 0x0162), USB_DEVICE_DATA(&rt2800usb_ops) }, | 779 | { USB_DEVICE(0x0789, 0x0162), USB_DEVICE_DATA(&rt2800usb_ops) }, |
659 | { USB_DEVICE(0x0789, 0x0163), USB_DEVICE_DATA(&rt2800usb_ops) }, | 780 | { USB_DEVICE(0x0789, 0x0163), USB_DEVICE_DATA(&rt2800usb_ops) }, |
660 | { USB_DEVICE(0x0789, 0x0164), USB_DEVICE_DATA(&rt2800usb_ops) }, | 781 | { USB_DEVICE(0x0789, 0x0164), USB_DEVICE_DATA(&rt2800usb_ops) }, |
782 | { USB_DEVICE(0x0789, 0x0166), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
661 | /* Motorola */ | 783 | /* Motorola */ |
662 | { USB_DEVICE(0x100d, 0x9031), USB_DEVICE_DATA(&rt2800usb_ops) }, | 784 | { USB_DEVICE(0x100d, 0x9031), USB_DEVICE_DATA(&rt2800usb_ops) }, |
663 | /* MSI */ | 785 | /* MSI */ |
786 | { USB_DEVICE(0x0db0, 0x3820), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
787 | { USB_DEVICE(0x0db0, 0x3821), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
788 | { USB_DEVICE(0x0db0, 0x3822), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
789 | { USB_DEVICE(0x0db0, 0x3870), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
790 | { USB_DEVICE(0x0db0, 0x3871), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
664 | { USB_DEVICE(0x0db0, 0x6899), USB_DEVICE_DATA(&rt2800usb_ops) }, | 791 | { USB_DEVICE(0x0db0, 0x6899), USB_DEVICE_DATA(&rt2800usb_ops) }, |
792 | { USB_DEVICE(0x0db0, 0x821a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
793 | { USB_DEVICE(0x0db0, 0x822a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
794 | { USB_DEVICE(0x0db0, 0x822b), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
795 | { USB_DEVICE(0x0db0, 0x822c), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
796 | { USB_DEVICE(0x0db0, 0x870a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
797 | { USB_DEVICE(0x0db0, 0x871a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
798 | { USB_DEVICE(0x0db0, 0x871b), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
799 | { USB_DEVICE(0x0db0, 0x871c), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
800 | { USB_DEVICE(0x0db0, 0x899a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
801 | /* Para */ | ||
802 | { USB_DEVICE(0x20b8, 0x8888), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
803 | /* Pegatron */ | ||
804 | { USB_DEVICE(0x1d4d, 0x000c), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
805 | { USB_DEVICE(0x1d4d, 0x000e), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
665 | /* Philips */ | 806 | /* Philips */ |
666 | { USB_DEVICE(0x0471, 0x200f), USB_DEVICE_DATA(&rt2800usb_ops) }, | 807 | { USB_DEVICE(0x0471, 0x200f), USB_DEVICE_DATA(&rt2800usb_ops) }, |
667 | /* Planex */ | 808 | /* Planex */ |
809 | { USB_DEVICE(0x2019, 0xab25), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
668 | { USB_DEVICE(0x2019, 0xed06), USB_DEVICE_DATA(&rt2800usb_ops) }, | 810 | { USB_DEVICE(0x2019, 0xed06), USB_DEVICE_DATA(&rt2800usb_ops) }, |
811 | /* Quanta */ | ||
812 | { USB_DEVICE(0x1a32, 0x0304), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
669 | /* Ralink */ | 813 | /* Ralink */ |
814 | { USB_DEVICE(0x148f, 0x2070), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
670 | { USB_DEVICE(0x148f, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) }, | 815 | { USB_DEVICE(0x148f, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) }, |
671 | { USB_DEVICE(0x148f, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) }, | 816 | { USB_DEVICE(0x148f, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) }, |
817 | { USB_DEVICE(0x148f, 0x3070), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
818 | { USB_DEVICE(0x148f, 0x3071), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
819 | { USB_DEVICE(0x148f, 0x3072), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
672 | /* Samsung */ | 820 | /* Samsung */ |
673 | { USB_DEVICE(0x04e8, 0x2018), USB_DEVICE_DATA(&rt2800usb_ops) }, | 821 | { USB_DEVICE(0x04e8, 0x2018), USB_DEVICE_DATA(&rt2800usb_ops) }, |
674 | /* Siemens */ | 822 | /* Siemens */ |
@@ -681,13 +829,22 @@ static struct usb_device_id rt2800usb_device_table[] = { | |||
681 | { USB_DEVICE(0x0df6, 0x0039), USB_DEVICE_DATA(&rt2800usb_ops) }, | 829 | { USB_DEVICE(0x0df6, 0x0039), USB_DEVICE_DATA(&rt2800usb_ops) }, |
682 | { USB_DEVICE(0x0df6, 0x003b), USB_DEVICE_DATA(&rt2800usb_ops) }, | 830 | { USB_DEVICE(0x0df6, 0x003b), USB_DEVICE_DATA(&rt2800usb_ops) }, |
683 | { USB_DEVICE(0x0df6, 0x003d), USB_DEVICE_DATA(&rt2800usb_ops) }, | 831 | { USB_DEVICE(0x0df6, 0x003d), USB_DEVICE_DATA(&rt2800usb_ops) }, |
832 | { USB_DEVICE(0x0df6, 0x003e), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
684 | { USB_DEVICE(0x0df6, 0x003f), USB_DEVICE_DATA(&rt2800usb_ops) }, | 833 | { USB_DEVICE(0x0df6, 0x003f), USB_DEVICE_DATA(&rt2800usb_ops) }, |
834 | { USB_DEVICE(0x0df6, 0x0040), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
835 | { USB_DEVICE(0x0df6, 0x0042), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
836 | { USB_DEVICE(0x0df6, 0x0047), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
837 | { USB_DEVICE(0x0df6, 0x0048), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
685 | /* SMC */ | 838 | /* SMC */ |
686 | { USB_DEVICE(0x083a, 0x6618), USB_DEVICE_DATA(&rt2800usb_ops) }, | 839 | { USB_DEVICE(0x083a, 0x6618), USB_DEVICE_DATA(&rt2800usb_ops) }, |
840 | { USB_DEVICE(0x083a, 0x7511), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
687 | { USB_DEVICE(0x083a, 0x7512), USB_DEVICE_DATA(&rt2800usb_ops) }, | 841 | { USB_DEVICE(0x083a, 0x7512), USB_DEVICE_DATA(&rt2800usb_ops) }, |
688 | { USB_DEVICE(0x083a, 0x7522), USB_DEVICE_DATA(&rt2800usb_ops) }, | 842 | { USB_DEVICE(0x083a, 0x7522), USB_DEVICE_DATA(&rt2800usb_ops) }, |
689 | { USB_DEVICE(0x083a, 0x8522), USB_DEVICE_DATA(&rt2800usb_ops) }, | 843 | { USB_DEVICE(0x083a, 0x8522), USB_DEVICE_DATA(&rt2800usb_ops) }, |
690 | { USB_DEVICE(0x083a, 0xa618), USB_DEVICE_DATA(&rt2800usb_ops) }, | 844 | { USB_DEVICE(0x083a, 0xa618), USB_DEVICE_DATA(&rt2800usb_ops) }, |
845 | { USB_DEVICE(0x083a, 0xa701), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
846 | { USB_DEVICE(0x083a, 0xa702), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
847 | { USB_DEVICE(0x083a, 0xa703), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
691 | { USB_DEVICE(0x083a, 0xb522), USB_DEVICE_DATA(&rt2800usb_ops) }, | 848 | { USB_DEVICE(0x083a, 0xb522), USB_DEVICE_DATA(&rt2800usb_ops) }, |
692 | /* Sparklan */ | 849 | /* Sparklan */ |
693 | { USB_DEVICE(0x15a9, 0x0006), USB_DEVICE_DATA(&rt2800usb_ops) }, | 850 | { USB_DEVICE(0x15a9, 0x0006), USB_DEVICE_DATA(&rt2800usb_ops) }, |
@@ -701,101 +858,16 @@ static struct usb_device_id rt2800usb_device_table[] = { | |||
701 | /* Zinwell */ | 858 | /* Zinwell */ |
702 | { USB_DEVICE(0x5a57, 0x0280), USB_DEVICE_DATA(&rt2800usb_ops) }, | 859 | { USB_DEVICE(0x5a57, 0x0280), USB_DEVICE_DATA(&rt2800usb_ops) }, |
703 | { USB_DEVICE(0x5a57, 0x0282), USB_DEVICE_DATA(&rt2800usb_ops) }, | 860 | { USB_DEVICE(0x5a57, 0x0282), USB_DEVICE_DATA(&rt2800usb_ops) }, |
861 | { USB_DEVICE(0x5a57, 0x0283), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
862 | { USB_DEVICE(0x5a57, 0x5257), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
704 | /* Zyxel */ | 863 | /* Zyxel */ |
705 | { USB_DEVICE(0x0586, 0x3416), USB_DEVICE_DATA(&rt2800usb_ops) }, | 864 | { USB_DEVICE(0x0586, 0x3416), USB_DEVICE_DATA(&rt2800usb_ops) }, |
706 | #ifdef CONFIG_RT2800USB_RT30XX | 865 | #ifdef CONFIG_RT2800USB_RT33XX |
707 | /* Abocom */ | ||
708 | { USB_DEVICE(0x07b8, 0x3070), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
709 | { USB_DEVICE(0x07b8, 0x3071), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
710 | { USB_DEVICE(0x07b8, 0x3072), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
711 | /* AirTies */ | ||
712 | { USB_DEVICE(0x1eda, 0x2310), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
713 | /* Allwin */ | ||
714 | { USB_DEVICE(0x8516, 0x3070), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
715 | { USB_DEVICE(0x8516, 0x3071), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
716 | { USB_DEVICE(0x8516, 0x3072), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
717 | /* ASUS */ | ||
718 | { USB_DEVICE(0x0b05, 0x1784), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
719 | /* AzureWave */ | ||
720 | { USB_DEVICE(0x13d3, 0x3273), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
721 | { USB_DEVICE(0x13d3, 0x3305), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
722 | { USB_DEVICE(0x13d3, 0x3307), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
723 | { USB_DEVICE(0x13d3, 0x3321), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
724 | /* Conceptronic */ | ||
725 | { USB_DEVICE(0x14b2, 0x3c12), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
726 | /* Corega */ | ||
727 | { USB_DEVICE(0x18c5, 0x0012), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
728 | /* D-Link */ | ||
729 | { USB_DEVICE(0x07d1, 0x3c0a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
730 | { USB_DEVICE(0x07d1, 0x3c0d), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
731 | { USB_DEVICE(0x07d1, 0x3c0e), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
732 | { USB_DEVICE(0x07d1, 0x3c0f), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
733 | { USB_DEVICE(0x07d1, 0x3c16), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
734 | /* Draytek */ | ||
735 | { USB_DEVICE(0x07fa, 0x7712), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
736 | /* Edimax */ | ||
737 | { USB_DEVICE(0x7392, 0x7711), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
738 | /* Encore */ | ||
739 | { USB_DEVICE(0x203d, 0x1480), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
740 | { USB_DEVICE(0x203d, 0x14a9), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
741 | /* EnGenius */ | ||
742 | { USB_DEVICE(0x1740, 0x9703), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
743 | { USB_DEVICE(0x1740, 0x9705), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
744 | { USB_DEVICE(0x1740, 0x9706), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
745 | { USB_DEVICE(0x1740, 0x9707), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
746 | { USB_DEVICE(0x1740, 0x9708), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
747 | { USB_DEVICE(0x1740, 0x9709), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
748 | /* Gigabyte */ | ||
749 | { USB_DEVICE(0x1044, 0x800d), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
750 | /* I-O DATA */ | ||
751 | { USB_DEVICE(0x04bb, 0x0945), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
752 | { USB_DEVICE(0x04bb, 0x0947), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
753 | { USB_DEVICE(0x04bb, 0x0948), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
754 | /* Logitec */ | ||
755 | { USB_DEVICE(0x0789, 0x0166), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
756 | /* MSI */ | ||
757 | { USB_DEVICE(0x0db0, 0x3820), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
758 | { USB_DEVICE(0x0db0, 0x3821), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
759 | { USB_DEVICE(0x0db0, 0x3822), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
760 | { USB_DEVICE(0x0db0, 0x3870), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
761 | { USB_DEVICE(0x0db0, 0x3871), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
762 | { USB_DEVICE(0x0db0, 0x821a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
763 | { USB_DEVICE(0x0db0, 0x822a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
764 | { USB_DEVICE(0x0db0, 0x822b), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
765 | { USB_DEVICE(0x0db0, 0x822c), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
766 | { USB_DEVICE(0x0db0, 0x870a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
767 | { USB_DEVICE(0x0db0, 0x871a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
768 | { USB_DEVICE(0x0db0, 0x871b), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
769 | { USB_DEVICE(0x0db0, 0x871c), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
770 | { USB_DEVICE(0x0db0, 0x899a), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
771 | /* Para */ | ||
772 | { USB_DEVICE(0x20b8, 0x8888), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
773 | /* Pegatron */ | ||
774 | { USB_DEVICE(0x1d4d, 0x000c), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
775 | { USB_DEVICE(0x1d4d, 0x000e), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
776 | /* Planex */ | ||
777 | { USB_DEVICE(0x2019, 0xab25), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
778 | /* Quanta */ | ||
779 | { USB_DEVICE(0x1a32, 0x0304), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
780 | /* Ralink */ | 866 | /* Ralink */ |
781 | { USB_DEVICE(0x148f, 0x2070), USB_DEVICE_DATA(&rt2800usb_ops) }, | 867 | { USB_DEVICE(0x148f, 0x3370), USB_DEVICE_DATA(&rt2800usb_ops) }, |
782 | { USB_DEVICE(0x148f, 0x3070), USB_DEVICE_DATA(&rt2800usb_ops) }, | 868 | { USB_DEVICE(0x148f, 0x8070), USB_DEVICE_DATA(&rt2800usb_ops) }, |
783 | { USB_DEVICE(0x148f, 0x3071), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
784 | { USB_DEVICE(0x148f, 0x3072), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
785 | /* Sitecom */ | 869 | /* Sitecom */ |
786 | { USB_DEVICE(0x0df6, 0x003e), USB_DEVICE_DATA(&rt2800usb_ops) }, | 870 | { USB_DEVICE(0x0df6, 0x0050), USB_DEVICE_DATA(&rt2800usb_ops) }, |
787 | { USB_DEVICE(0x0df6, 0x0040), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
788 | { USB_DEVICE(0x0df6, 0x0042), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
789 | { USB_DEVICE(0x0df6, 0x0047), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
790 | { USB_DEVICE(0x0df6, 0x0048), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
791 | /* SMC */ | ||
792 | { USB_DEVICE(0x083a, 0x7511), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
793 | { USB_DEVICE(0x083a, 0xa701), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
794 | { USB_DEVICE(0x083a, 0xa702), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
795 | { USB_DEVICE(0x083a, 0xa703), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
796 | /* Zinwell */ | ||
797 | { USB_DEVICE(0x5a57, 0x0283), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
798 | { USB_DEVICE(0x5a57, 0x5257), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
799 | #endif | 871 | #endif |
800 | #ifdef CONFIG_RT2800USB_RT35XX | 872 | #ifdef CONFIG_RT2800USB_RT35XX |
801 | /* Allwin */ | 873 | /* Allwin */ |
@@ -809,12 +881,9 @@ static struct usb_device_id rt2800usb_device_table[] = { | |||
809 | /* I-O DATA */ | 881 | /* I-O DATA */ |
810 | { USB_DEVICE(0x04bb, 0x0944), USB_DEVICE_DATA(&rt2800usb_ops) }, | 882 | { USB_DEVICE(0x04bb, 0x0944), USB_DEVICE_DATA(&rt2800usb_ops) }, |
811 | /* Ralink */ | 883 | /* Ralink */ |
812 | { USB_DEVICE(0x148f, 0x3370), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
813 | { USB_DEVICE(0x148f, 0x3572), USB_DEVICE_DATA(&rt2800usb_ops) }, | 884 | { USB_DEVICE(0x148f, 0x3572), USB_DEVICE_DATA(&rt2800usb_ops) }, |
814 | { USB_DEVICE(0x148f, 0x8070), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
815 | /* Sitecom */ | 885 | /* Sitecom */ |
816 | { USB_DEVICE(0x0df6, 0x0041), USB_DEVICE_DATA(&rt2800usb_ops) }, | 886 | { USB_DEVICE(0x0df6, 0x0041), USB_DEVICE_DATA(&rt2800usb_ops) }, |
817 | { USB_DEVICE(0x0df6, 0x0050), USB_DEVICE_DATA(&rt2800usb_ops) }, | ||
818 | /* Zinwell */ | 887 | /* Zinwell */ |
819 | { USB_DEVICE(0x5a57, 0x0284), USB_DEVICE_DATA(&rt2800usb_ops) }, | 888 | { USB_DEVICE(0x5a57, 0x0284), USB_DEVICE_DATA(&rt2800usb_ops) }, |
820 | #endif | 889 | #endif |