1/*-
2 * Copyright (c) 2016 Andriy Voskoboinyk <avos@FreeBSD.org>
3 *
4 * Permission to use, copy, modify, and 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.
7 *
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
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 *
16 * $FreeBSD$
17 */
18
19#ifndef IF_RTWN_NOP_H
20#define IF_RTWN_NOP_H
21
22static __inline void
23rtwn_nop_softc(struct rtwn_softc *sc)
24{
25}
26
27static __inline int
28rtwn_nop_int_softc(struct rtwn_softc *sc)
29{
30	return (0);
31}
32
33static __inline int
34rtwn_nop_int_softc_mbuf(struct rtwn_softc *sc, struct mbuf *m)
35{
36	return (0);
37}
38
39static __inline void
40rtwn_nop_softc_int(struct rtwn_softc *sc, int id)
41{
42}
43
44static __inline void
45rtwn_nop_softc_uint32(struct rtwn_softc *sc, uint32_t reg)
46{
47}
48
49static __inline void
50rtwn_nop_softc_chan(struct rtwn_softc *sc, struct ieee80211_channel *c)
51{
52}
53
54static __inline void
55rtwn_nop_softc_vap(struct rtwn_softc *sc, struct ieee80211vap *vap)
56{
57}
58
59static __inline void
60rtwn_nop_softc_uint8_int(struct rtwn_softc *sc, uint8_t *buf, int len)
61{
62}
63
64static __inline void
65rtwn_nop_void_int(void *buf, int is5ghz)
66{
67}
68
69#endif	/* IF_RTWN_NOP_H */
70