1 Index: linux2.6-devel/drivers/net/wireless/rt2x00/rt2x00mac.c
2 ===================================================================
3 --- linux2.6-devel.orig/drivers/net/wireless/rt2x00/rt2x00mac.c 2007-11-14 15:16:34.000000000 +0100
4 +++ linux2.6-devel/drivers/net/wireless/rt2x00/rt2x00mac.c 2007-11-14 17:09:44.000000000 +0100
6 * The passed variables are stored as real value ((2^n)-1).
7 * Ralink registers require to know the bit number 'n'.
11 ring->tx_params.cw_min = fls(params->cw_min);
14 ring->tx_params.aifs = params->aifs;
16 ring->tx_params.aifs = 2;
21 + ring->tx_params.aifs = 2;
22 + ring->tx_params.cw_max = 4;
23 + ring->tx_params.cw_min = 3;
26 + ring->tx_params.aifs = 2;
27 + ring->tx_params.cw_max = 5;
28 + ring->tx_params.cw_min = 4;
31 + ring->tx_params.aifs = 3;
32 + ring->tx_params.cw_max = 10;
33 + ring->tx_params.cw_min = 5;
36 + ring->tx_params.aifs = 7;
37 + ring->tx_params.cw_max = 10;
38 + ring->tx_params.cw_min = 5;
41 + ring->tx_params.aifs = 15;
42 + ring->tx_params.cw_max = 15;
43 + ring->tx_params.cw_min = 10;
48 "Configured TX ring %d - CWmin: %d, CWmax: %d, Aifs: %d.\n",
49 Index: linux2.6-devel/net/mac80211/wme.c
50 ===================================================================
51 --- linux2.6-devel.orig/net/mac80211/wme.c 2007-11-14 15:16:34.000000000 +0100
52 +++ linux2.6-devel/net/mac80211/wme.c 2007-11-14 15:17:58.000000000 +0100
55 /* is this a QoS frame? */
56 qos = fc & IEEE80211_STYPE_QOS_DATA;
60 skb->priority = 0; /* required for correct WPA/11i MIC */
61 return ieee802_1d_to_ac[skb->priority];
65 /* use the data classifier to determine what 802.1d tag the
67 skb->priority = classify_1d(skb, qd);