2 * Copyright (c) 2010 Broadcom Corporation
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
14 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20 /* forward declaration */
23 /* This controls how many packets are given to the dongle. This is required as
24 * NTXD needs to be power of 2 but we may not have enough memory to absorb that
25 * large number of frames
28 #define NRPCTXBUFPOST NTXD
31 #define RPCTX_ENAB(pub) (false)
32 #define wlc_rpctx_attach(pub, wlc) (NULL)
33 #define wlc_rpctx_fifoinit(rpctx, fifo, ntxd) (0)
34 #define wlc_rpctx_detach(rpctx) ASSERT(0)
35 #define wlc_rpctx_txavail(rpctx, f) (false)
36 #define wlc_rpctx_dump(rpctx, b) (0)
37 #define wlc_rpctx_getnexttxp(rpctx, f) (NULL)
38 #define wlc_rpctx_txreclaim(rpctx) ASSERT(0)
39 #define wlc_rpctx_pkteng(rpctx, fifo, p) do { } while (0)
40 #define wlc_rpctx_tx(rpctx, f, p, c, fid, t) (0)
41 #define wlc_rpctx_txpktpendinc(rpctx, f, val) do { } while (0)
42 #define wlc_rpctx_txpktpenddec(rpctx, f, val) do { } while (0)
43 #define wlc_rpctx_txpktpendclr(rpctx, f) do { } while (0)
44 #define wlc_rpctx_txpktpend(rpctx, f, all) (0)
47 #endif /* _wlc_rpctx_h_ */