[Zrouter-src-freebsd] [rt2860-in-ral] push by r... at ddteam.net - RT2860_TXQ_WCID_MASK is required, because we need to use only 8 bits on 2012-03-21 11:59 GMT

rt2860-in-ral at googlecode.com rt2860-in-ral at googlecode.com
Wed Mar 21 12:00:29 UTC 2012


Revision: e0052c7dab46
Author:   ray at ddteam.net
Date:     Wed Mar 21 04:59:39 2012
Log:      RT2860_TXQ_WCID_MASK is required, because we need to use only 8  
bits
http://code.google.com/p/rt2860-in-ral/source/detail?r=e0052c7dab46

Modified:
  /sys/dev/ral/rt2860reg.h

=======================================
--- /sys/dev/ral/rt2860reg.h	Wed Mar 14 06:43:30 2012
+++ /sys/dev/ral/rt2860reg.h	Wed Mar 21 04:59:39 2012
@@ -1,4 +1,3 @@
-
  /*-
   * Copyright (c) 2009-2010 Alexander Egorenkov <egorenar at gmail.com>
   * Copyright (c) 2009 Damien Bergamini <damien.bergamini at free.fr>
@@ -477,6 +476,7 @@
  /* possible flags for register TX_STAT_FIFO */
  #define RT2860_TXQ_MCS_SHIFT	16
  #define RT2860_TXQ_WCID_SHIFT	8
+#define RT2860_TXQ_WCID_MASK	0xff00
  #define RT2860_TXQ_ACKREQ	(1 << 7)
  #define RT2860_TXQ_AGG		(1 << 6)
  #define RT2860_TXQ_OK		(1 << 5)


More information about the Zrouter-src-freebsd mailing list