aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2008-02-12 08:02:06 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:37:14 -0500
commit5200e8cdf26e32d15f7a125fd75310150f9b2812 (patch)
tree372380ec588088d19787eeddf58f4bb3b1876ab9 /drivers/net/wireless
parent2c1a1b124f793aaf9f6bcb8f6b5d05c29c2db690 (diff)
p54: use IEEE 802.11e defaults for initialization
This trival one-liner changes the QoS initialization values to match IEEE 802.11e defaults. Signed-off-by: Christian Lamparter <chunkeey@web.de> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/p54common.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/wireless/p54common.c b/drivers/net/wireless/p54common.c
index 0e9f887178ce..424de9f4d5e7 100644
--- a/drivers/net/wireless/p54common.c
+++ b/drivers/net/wireless/p54common.c
@@ -782,15 +782,9 @@ static void p54_init_vdcf(struct ieee80211_hw *dev)
782 782
783 vdcf = (struct p54_tx_control_vdcf *) hdr->data; 783 vdcf = (struct p54_tx_control_vdcf *) hdr->data;
784 784
785 /*
786 * FIXME: The default values in the spec (IEEE 802.11
787 * 7.3.2.19 Table 37) are 47, 94, 0, 0, why use
788 * 47, 94, 63, 0 here? Also, the default AIFS
789 * values (second parameter) are 2, 2, 3, 7...
790 */
791 P54_SET_QUEUE(vdcf->queue[0], 0x0002, 0x0003, 0x0007, 47); 785 P54_SET_QUEUE(vdcf->queue[0], 0x0002, 0x0003, 0x0007, 47);
792 P54_SET_QUEUE(vdcf->queue[1], 0x0002, 0x0007, 0x000f, 94); 786 P54_SET_QUEUE(vdcf->queue[1], 0x0002, 0x0007, 0x000f, 94);
793 P54_SET_QUEUE(vdcf->queue[2], 0x0002, 0x000f, 0x03ff, 63); 787 P54_SET_QUEUE(vdcf->queue[2], 0x0003, 0x000f, 0x03ff, 0);
794 P54_SET_QUEUE(vdcf->queue[3], 0x0007, 0x000f, 0x03ff, 0); 788 P54_SET_QUEUE(vdcf->queue[3], 0x0007, 0x000f, 0x03ff, 0);
795} 789}
796 790