Initial commit: Uploaded everything from abs/core
[arch-rock.git] / support / rt2x00-cvs / rt2x00-mac80211.patch
blob0c0fd9a9b5e44bb20ddd34381d2b74e2909a01d0
1 diff -Nur rt2x00.orig/rt2400pci.c rt2x00/rt2400pci.c
2 --- rt2x00.orig/rt2400pci.c 2007-08-25 16:07:27.000000000 +0200
3 +++ rt2x00/rt2400pci.c 2007-08-26 12:19:31.000000000 +0200
4 @@ -1154,7 +1154,7 @@
5 rt2x00_set_field32(&word, TXD_W0_IFS, desc->ifs);
6 rt2x00_set_field32(&word, TXD_W0_RETRY_MODE,
7 !!(control->flags &
8 - IEEE80211_TXCTL_LONG_RETRY_LIMIT));
9 + 0));
10 rt2x00_desc_write(txd, 0, word);
13 diff -Nur rt2x00.orig/rt2500pci.c rt2x00/rt2500pci.c
14 --- rt2x00.orig/rt2500pci.c 2007-08-25 16:07:27.000000000 +0200
15 +++ rt2x00/rt2500pci.c 2007-08-26 12:19:35.000000000 +0200
16 @@ -1281,7 +1281,7 @@
17 rt2x00_set_field32(&word, TXD_W0_IFS, desc->ifs);
18 rt2x00_set_field32(&word, TXD_W0_RETRY_MODE,
19 !!(control->flags &
20 - IEEE80211_TXCTL_LONG_RETRY_LIMIT));
21 + 0));
22 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, length);
23 rt2x00_set_field32(&word, TXD_W0_CIPHER_ALG, CIPHER_NONE);
24 rt2x00_desc_write(txd, 0, word);
25 diff -Nur rt2x00.orig/rt2x00mac.c rt2x00/rt2x00mac.c
26 --- rt2x00.orig/rt2x00mac.c 2007-08-25 16:07:27.000000000 +0200
27 +++ rt2x00/rt2x00mac.c 2007-08-26 12:19:07.000000000 +0200
28 @@ -57,11 +57,11 @@
29 skb_put(skb, size);
31 if (control->flags & IEEE80211_TXCTL_USE_CTS_PROTECT)
32 - ieee80211_ctstoself_get(rt2x00dev->hw, rt2x00dev->interface.id,
33 + ieee80211_ctstoself_get(rt2x00dev->hw,
34 frag_skb->data, frag_skb->len, control,
35 (struct ieee80211_cts *)(skb->data));
36 else
37 - ieee80211_rts_get(rt2x00dev->hw, rt2x00dev->interface.id,
38 + ieee80211_rts_get(rt2x00dev->hw,
39 frag_skb->data, frag_skb->len, control,
40 (struct ieee80211_rts *)(skb->data));
42 diff -Nur rt2x00.orig/rt61pci.c rt2x00/rt61pci.c
43 --- rt2x00.orig/rt61pci.c 2007-08-25 16:07:27.000000000 +0200
44 +++ rt2x00/rt61pci.c 2007-08-26 12:19:38.000000000 +0200
45 @@ -1678,7 +1678,7 @@
46 rt2x00_set_field32(&word, TXD_W0_IFS, desc->ifs);
47 rt2x00_set_field32(&word, TXD_W0_RETRY_MODE,
48 !!(control->flags &
49 - IEEE80211_TXCTL_LONG_RETRY_LIMIT));
50 + 0));
51 rt2x00_set_field32(&word, TXD_W0_TKIP_MIC, 0);
52 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, length);
53 rt2x00_set_field32(&word, TXD_W0_BURST,
54 diff -Nur rt2x00.orig/rt73usb.c rt2x00/rt73usb.c
55 --- rt2x00.orig/rt73usb.c 2007-08-25 16:07:28.000000000 +0200
56 +++ rt2x00/rt73usb.c 2007-08-26 12:19:42.000000000 +0200
57 @@ -1314,7 +1314,7 @@
58 rt2x00_set_field32(&word, TXD_W0_IFS, desc->ifs);
59 rt2x00_set_field32(&word, TXD_W0_RETRY_MODE,
60 !!(control->flags &
61 - IEEE80211_TXCTL_LONG_RETRY_LIMIT));
62 + 0));
63 rt2x00_set_field32(&word, TXD_W0_TKIP_MIC, 0);
64 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, length);
65 rt2x00_set_field32(&word, TXD_W0_BURST2,