if_upgtvar.h (253757) | if_upgtvar.h (286410) |
---|---|
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 253757 2013-07-29 05:54:13Z hselasky $ */ | 2/* $FreeBSD: head/sys/dev/usb/wlan/if_upgtvar.h 286410 2015-08-07 11:43:14Z glebius $ */ |
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 * --- 402 unchanged lines hidden (view full) --- 413struct upgt_vap { 414 struct ieee80211vap vap; 415 int (*newstate)(struct ieee80211vap *, 416 enum ieee80211_state, int); 417}; 418#define UPGT_VAP(vap) ((struct upgt_vap *)(vap)) 419 420struct upgt_softc { | 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 * --- 402 unchanged lines hidden (view full) --- 413struct upgt_vap { 414 struct ieee80211vap vap; 415 int (*newstate)(struct ieee80211vap *, 416 enum ieee80211_state, int); 417}; 418#define UPGT_VAP(vap) ((struct upgt_vap *)(vap)) 419 420struct upgt_softc { |
421 struct ieee80211com sc_ic; 422 struct mbufq sc_snd; |
|
421 device_t sc_dev; | 423 device_t sc_dev; |
422 struct ifnet *sc_ifp; | |
423 struct usb_device *sc_udev; 424 void *sc_rx_dma_buf; 425 void *sc_tx_dma_buf; 426 struct mtx sc_mtx; 427 struct upgt_stat sc_stat; 428 int sc_flags; 429#define UPGT_FLAG_FWLOADED (1 << 0) 430#define UPGT_FLAG_INITDONE (1 << 1) 431#define UPGT_FLAG_DETACHED (1 << 2) | 424 struct usb_device *sc_udev; 425 void *sc_rx_dma_buf; 426 void *sc_tx_dma_buf; 427 struct mtx sc_mtx; 428 struct upgt_stat sc_stat; 429 int sc_flags; 430#define UPGT_FLAG_FWLOADED (1 << 0) 431#define UPGT_FLAG_INITDONE (1 << 1) 432#define UPGT_FLAG_DETACHED (1 << 2) |
432 int sc_if_flags; | |
433 int sc_debug; 434 | 433 int sc_debug; 434 |
435 uint8_t sc_myaddr[IEEE80211_ADDR_LEN]; 436 | |
437 enum ieee80211_state sc_state; 438 int sc_arg; 439 int sc_led_blink; 440 struct callout sc_led_ch; 441 uint8_t sc_cur_rateset[8]; 442 443 /* watchdog */ 444 int sc_tx_timer; --- 40 unchanged lines hidden --- | 435 enum ieee80211_state sc_state; 436 int sc_arg; 437 int sc_led_blink; 438 struct callout sc_led_ch; 439 uint8_t sc_cur_rateset[8]; 440 441 /* watchdog */ 442 int sc_tx_timer; --- 40 unchanged lines hidden --- |