aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index 7832a5996a8c..75ac6624bf9e 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -36,6 +36,7 @@
36#include <linux/mutex.h> 36#include <linux/mutex.h>
37#include <linux/etherdevice.h> 37#include <linux/etherdevice.h>
38#include <linux/input-polldev.h> 38#include <linux/input-polldev.h>
39#include <linux/kfifo.h>
39 40
40#include <net/mac80211.h> 41#include <net/mac80211.h>
41 42
@@ -457,6 +458,7 @@ struct rt2x00lib_erp {
457 short eifs; 458 short eifs;
458 459
459 u16 beacon_int; 460 u16 beacon_int;
461 u16 ht_opmode;
460}; 462};
461 463
462/* 464/*
@@ -522,6 +524,11 @@ struct rt2x00lib_ops {
522 irq_handler_t irq_handler_thread; 524 irq_handler_t irq_handler_thread;
523 525
524 /* 526 /*
527 * TX status tasklet handler.
528 */
529 void (*txstatus_tasklet) (unsigned long data);
530
531 /*
525 * Device init handlers. 532 * Device init handlers.
526 */ 533 */
527 int (*probe_hw) (struct rt2x00_dev *rt2x00dev); 534 int (*probe_hw) (struct rt2x00_dev *rt2x00dev);
@@ -651,6 +658,7 @@ enum rt2x00_flags {
651 DRIVER_REQUIRE_DMA, 658 DRIVER_REQUIRE_DMA,
652 DRIVER_REQUIRE_COPY_IV, 659 DRIVER_REQUIRE_COPY_IV,
653 DRIVER_REQUIRE_L2PAD, 660 DRIVER_REQUIRE_L2PAD,
661 DRIVER_REQUIRE_TXSTATUS_FIFO,
654 662
655 /* 663 /*
656 * Driver features 664 * Driver features
@@ -884,6 +892,16 @@ struct rt2x00_dev {
884 * and interrupt thread routine. 892 * and interrupt thread routine.
885 */ 893 */
886 u32 irqvalue[2]; 894 u32 irqvalue[2];
895
896 /*
897 * FIFO for storing tx status reports between isr and tasklet.
898 */
899 struct kfifo txstatus_fifo;
900
901 /*
902 * Tasklet for processing tx status reports (rt2800pci).
903 */
904 struct tasklet_struct txstatus_tasklet;
887}; 905};
888 906
889/* 907/*