diff options
Diffstat (limited to 'drivers/net/wireless/b43legacy/b43legacy.h')
-rw-r--r-- | drivers/net/wireless/b43legacy/b43legacy.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43legacy/b43legacy.h b/drivers/net/wireless/b43legacy/b43legacy.h index 1d4fc9db7f5e..98e3d44400c6 100644 --- a/drivers/net/wireless/b43legacy/b43legacy.h +++ b/drivers/net/wireless/b43legacy/b43legacy.h | |||
@@ -560,8 +560,16 @@ struct b43legacy_key { | |||
560 | u8 algorithm; | 560 | u8 algorithm; |
561 | }; | 561 | }; |
562 | 562 | ||
563 | #define B43legacy_QOS_QUEUE_NUM 4 | ||
564 | |||
563 | struct b43legacy_wldev; | 565 | struct b43legacy_wldev; |
564 | 566 | ||
567 | /* QOS parameters for a queue. */ | ||
568 | struct b43legacy_qos_params { | ||
569 | /* The QOS parameters */ | ||
570 | struct ieee80211_tx_queue_params p; | ||
571 | }; | ||
572 | |||
565 | /* Data structure for the WLAN parts (802.11 cores) of the b43legacy chip. */ | 573 | /* Data structure for the WLAN parts (802.11 cores) of the b43legacy chip. */ |
566 | struct b43legacy_wl { | 574 | struct b43legacy_wl { |
567 | /* Pointer to the active wireless device on this chip */ | 575 | /* Pointer to the active wireless device on this chip */ |
@@ -611,6 +619,18 @@ struct b43legacy_wl { | |||
611 | bool beacon1_uploaded; | 619 | bool beacon1_uploaded; |
612 | bool beacon_templates_virgin; /* Never wrote the templates? */ | 620 | bool beacon_templates_virgin; /* Never wrote the templates? */ |
613 | struct work_struct beacon_update_trigger; | 621 | struct work_struct beacon_update_trigger; |
622 | /* The current QOS parameters for the 4 queues. */ | ||
623 | struct b43legacy_qos_params qos_params[B43legacy_QOS_QUEUE_NUM]; | ||
624 | |||
625 | /* Packet transmit work */ | ||
626 | struct work_struct tx_work; | ||
627 | |||
628 | /* Queue of packets to be transmitted. */ | ||
629 | struct sk_buff_head tx_queue[B43legacy_QOS_QUEUE_NUM]; | ||
630 | |||
631 | /* Flag that implement the queues stopping. */ | ||
632 | bool tx_queue_stopped[B43legacy_QOS_QUEUE_NUM]; | ||
633 | |||
614 | }; | 634 | }; |
615 | 635 | ||
616 | /* Pointers to the firmware data and meta information about it. */ | 636 | /* Pointers to the firmware data and meta information about it. */ |