Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219826
b: refs/heads/master
c: c5fe41c
h: refs/heads/master
v: v3
  • Loading branch information
Jason Cooper authored and Greg Kroah-Hartman committed Sep 14, 2010
1 parent e1346d3 commit 8b3997f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0d706ef4f2f17541900978b0c1cf629321f56298
refs/heads/master: c5fe41c339180dea243443391d08f620fbf147c3
5 changes: 4 additions & 1 deletion trunk/drivers/staging/brcm80211/include/d11.h
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,10 @@ BWL_PRE_PACKED_STRUCT struct cck_phy_hdr {
#define WLC_GET_CCK_PLCP_LEN(plcp) (plcp[4] + (plcp[5] << 8))
#define WLC_GET_MIMO_PLCP_LEN(plcp) (plcp[1] + (plcp[2] << 8))
#define WLC_SET_MIMO_PLCP_LEN(plcp, len) \
plcp[1] = len & 0xff; plcp[2] = ((len >> 8) & 0xff);
do { \
plcp[1] = len & 0xff; \
plcp[2] = ((len >> 8) & 0xff); \
} while (0);

#define WLC_SET_MIMO_PLCP_AMPDU(plcp) (plcp[3] |= MIMO_PLCP_AMPDU)
#define WLC_CLR_MIMO_PLCP_AMPDU(plcp) (plcp[3] &= ~MIMO_PLCP_AMPDU)
Expand Down
16 changes: 14 additions & 2 deletions trunk/drivers/staging/brcm80211/util/hnddma.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,20 @@

/* debug/trace */
#ifdef BCMDBG
#define DMA_ERROR(args) if (!(*di->msg_level & 1)); else printf args
#define DMA_TRACE(args) if (!(*di->msg_level & 2)); else printf args
#define DMA_ERROR(args) \
do { \
if (!(*di->msg_level & 1)) \
; \
else \
printf args; \
} while (0)
#define DMA_TRACE(args) \
do { \
if (!(*di->msg_level & 2)) \
; \
else \
printf args; \
} while (0)
#else
#define DMA_ERROR(args)
#define DMA_TRACE(args)
Expand Down

0 comments on commit 8b3997f

Please sign in to comment.