diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-03-05 15:18:49 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-07 16:02:59 -0500 |
commit | e6f5b934fba8c44c87c551e066aa7ca6fde2939e (patch) | |
tree | b3fabd1b35a044fe0f50d1ab16ca0dd697c3f59a /drivers/net/wireless/b43/xmit.c | |
parent | e5f98f2df903af627a9b9ac55b9352fd54fc431a (diff) |
b43: Add QOS support
This adds QOS support to the b43 driver.
QOS can be disabled on driver level with a module parameter for debugging purposes.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/xmit.c')
-rw-r--r-- | drivers/net/wireless/b43/xmit.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/net/wireless/b43/xmit.c b/drivers/net/wireless/b43/xmit.c index 187c11bee0f..ec10a8e182f 100644 --- a/drivers/net/wireless/b43/xmit.c +++ b/drivers/net/wireless/b43/xmit.c | |||
@@ -705,30 +705,3 @@ void b43_tx_resume(struct b43_wldev *dev) | |||
705 | { | 705 | { |
706 | b43_dma_tx_resume(dev); | 706 | b43_dma_tx_resume(dev); |
707 | } | 707 | } |
708 | |||
709 | #if 0 | ||
710 | static void upload_qos_parms(struct b43_wldev *dev, | ||
711 | const u16 * parms, u16 offset) | ||
712 | { | ||
713 | int i; | ||
714 | |||
715 | for (i = 0; i < B43_NR_QOSPARMS; i++) { | ||
716 | b43_shm_write16(dev, B43_SHM_SHARED, | ||
717 | offset + (i * 2), parms[i]); | ||
718 | } | ||
719 | } | ||
720 | #endif | ||
721 | |||
722 | /* Initialize the QoS parameters */ | ||
723 | void b43_qos_init(struct b43_wldev *dev) | ||
724 | { | ||
725 | /* FIXME: This function must probably be called from the mac80211 | ||
726 | * config callback. */ | ||
727 | return; | ||
728 | |||
729 | b43_hf_write(dev, b43_hf_read(dev) | B43_HF_EDCF); | ||
730 | //FIXME kill magic | ||
731 | b43_write16(dev, 0x688, b43_read16(dev, 0x688) | 0x4); | ||
732 | |||
733 | /*TODO: We might need some stack support here to get the values. */ | ||
734 | } | ||