Deleted Added
full compact
if_uralvar.h (288095) if_uralvar.h (289168)
1/* $FreeBSD: head/sys/dev/usb/wlan/if_uralvar.h 288095 2015-09-22 06:34:07Z adrian $ */
1/* $FreeBSD: head/sys/dev/usb/wlan/if_uralvar.h 289168 2015-10-12 05:21:51Z adrian $ */
2
3/*-
4 * Copyright (c) 2005
5 * Damien Bergamini <damien.bergamini@free.fr>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

--- 110 unchanged lines hidden (view full) ---

120
121 int led_mode;
122 int hw_radio;
123 int rx_ant;
124 int tx_ant;
125 int nb_ant;
126
127 struct ural_rx_radiotap_header sc_rxtap;
2
3/*-
4 * Copyright (c) 2005
5 * Damien Bergamini <damien.bergamini@free.fr>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

--- 110 unchanged lines hidden (view full) ---

120
121 int led_mode;
122 int hw_radio;
123 int rx_ant;
124 int tx_ant;
125 int nb_ant;
126
127 struct ural_rx_radiotap_header sc_rxtap;
128 int sc_rxtap_len;
129
130 struct ural_tx_radiotap_header sc_txtap;
128 struct ural_tx_radiotap_header sc_txtap;
131 int sc_txtap_len;
132};
133
134#define RAL_LOCK(sc) mtx_lock(&(sc)->sc_mtx)
135#define RAL_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx)
136#define RAL_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t)
129};
130
131#define RAL_LOCK(sc) mtx_lock(&(sc)->sc_mtx)
132#define RAL_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx)
133#define RAL_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t)