mac80211: add rt2800 patches from the rt2x00 git rope
[openwrt/openwrt.git] / package / mac80211 / patches / 307-rt2x00-Clean-header-rt2800usb.patch
1 From 620724c1db862bbb09824855a19a8d1836752be2 Mon Sep 17 00:00:00 2001
2 From: Ivo van Doorn <IvDoorn@gmail.com>
3 Date: Thu, 5 Feb 2009 22:44:30 +0100
4 Subject: [PATCH] rt2x00: Clean header (rt2800usb)
5
6 Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
7 ---
8 drivers/net/wireless/rt2x00/rt2800usb.h | 4 ++--
9 1 files changed, 2 insertions(+), 2 deletions(-)
10
11 --- a/drivers/net/wireless/rt2x00/rt2800usb.h
12 +++ b/drivers/net/wireless/rt2x00/rt2800usb.h
13 @@ -1213,7 +1213,7 @@
14 * TX_STA_FIFO: TX Result for specific PID status fifo register
15 */
16 #define TX_STA_FIFO 0x1718
17 -#define TX_STA_FIFO_B_VALID FIELD32(0x00000001)
18 +#define TX_STA_FIFO_VALID FIELD32(0x00000001)
19 #define TX_STA_FIFO_PID_TYPE FIELD32(0x0000001e)
20 #define TX_STA_FIFO_TX_SUCCESS FIELD32(0x00000020)
21 #define TX_STA_FIFO_TX_AGGRE FIELD32(0x00000040)
22 @@ -1436,7 +1436,7 @@ struct mac_iveiv_entry {
23 /*
24 * HW_BEACON_BASE
25 * In order to support maximum 8 MBSS and its maximum length
26 - * is 512 bytes for each beacon
27 + * is 512 bytes for each beacon
28 * Three section discontinue memory segments will be used.
29 * 1. The original region for BCN 0~3
30 * 2. Extract memory from FCE table for BCN 4~5