if_upgtvar.h (287197) | if_upgtvar.h (289168) |
---|---|
1/* $OpenBSD: if_upgtvar.h,v 1.14 2008/02/02 13:48:44 mglocker Exp $ */ | 1/* $OpenBSD: if_upgtvar.h,v 1.14 2008/02/02 13:48:44 mglocker Exp $ */ |
2/* $FreeBSD: head/sys/dev/usb/wlan/if_upgtvar.h 287197 2015-08-27 08:56:39Z glebius $ */ | 2/* $FreeBSD: head/sys/dev/usb/wlan/if_upgtvar.h 289168 2015-10-12 05:21:51Z adrian $ */ |
3 4/* 5 * Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org> 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. 10 * --- 456 unchanged lines hidden (view full) --- 467 upgt_datahead sc_rx_inactive; 468 struct upgt_data sc_tx_data[UPGT_TX_MAXCOUNT]; 469 upgt_datahead sc_tx_active; 470 upgt_datahead sc_tx_inactive; 471 upgt_datahead sc_tx_pending; 472 473 /* BPF */ 474 struct upgt_rx_radiotap_header sc_rxtap; | 3 4/* 5 * Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org> 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. 10 * --- 456 unchanged lines hidden (view full) --- 467 upgt_datahead sc_rx_inactive; 468 struct upgt_data sc_tx_data[UPGT_TX_MAXCOUNT]; 469 upgt_datahead sc_tx_active; 470 upgt_datahead sc_tx_inactive; 471 upgt_datahead sc_tx_pending; 472 473 /* BPF */ 474 struct upgt_rx_radiotap_header sc_rxtap; |
475 int sc_rxtap_len; | |
476 struct upgt_tx_radiotap_header sc_txtap; | 475 struct upgt_tx_radiotap_header sc_txtap; |
477 int sc_txtap_len; | |
478}; 479 480#define UPGT_LOCK(sc) mtx_lock(&(sc)->sc_mtx) 481#define UPGT_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) 482#define UPGT_ASSERT_LOCKED(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED) | 476}; 477 478#define UPGT_LOCK(sc) mtx_lock(&(sc)->sc_mtx) 479#define UPGT_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) 480#define UPGT_ASSERT_LOCKED(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED) |