Deleted Added
full compact
if_urtwvar.h (287197) if_urtwvar.h (289168)
1/* $FreeBSD: head/sys/dev/usb/wlan/if_urtwvar.h 287197 2015-08-27 08:56:39Z glebius $ */
1/* $FreeBSD: head/sys/dev/usb/wlan/if_urtwvar.h 289168 2015-10-12 05:21:51Z adrian $ */
2
3/*-
4 * Copyright (c) 2008 Weongyo Jeong <weongyo@FreeBSD.org>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *

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

173
174 uint8_t sc_acmctl;
175 uint64_t sc_txstatus; /* only for 8187B */
176 struct task sc_updateslot_task;
177
178 struct urtw_stats sc_stats;
179
180 struct urtw_rx_radiotap_header sc_rxtap;
2
3/*-
4 * Copyright (c) 2008 Weongyo Jeong <weongyo@FreeBSD.org>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *

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

173
174 uint8_t sc_acmctl;
175 uint64_t sc_txstatus; /* only for 8187B */
176 struct task sc_updateslot_task;
177
178 struct urtw_stats sc_stats;
179
180 struct urtw_rx_radiotap_header sc_rxtap;
181 int sc_rxtap_len;
182 struct urtw_tx_radiotap_header sc_txtap;
181 struct urtw_tx_radiotap_header sc_txtap;
183 int sc_txtap_len;
184};
185
186#define URTW_LOCK(sc) mtx_lock(&(sc)->sc_mtx)
187#define URTW_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx)
188#define URTW_ASSERT_LOCKED(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED)
182};
183
184#define URTW_LOCK(sc) mtx_lock(&(sc)->sc_mtx)
185#define URTW_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx)
186#define URTW_ASSERT_LOCKED(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED)