if_uralvar.h (196219) | if_uralvar.h (206358) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/wlan/if_uralvar.h 196219 2009-08-14 20:03:53Z jhb $ */ | 1/* $FreeBSD: head/sys/dev/usb/wlan/if_uralvar.h 206358 2010-04-07 15:29:13Z rpaulo $ */ |
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. --- 56 unchanged lines hidden (view full) --- 66 struct ural_softc *sc; 67 struct ural_tx_desc desc; 68 struct mbuf *m; 69 struct ieee80211_node *ni; 70 int rate; 71}; 72typedef STAILQ_HEAD(, ural_tx_data) ural_txdhead; 73 | 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. --- 56 unchanged lines hidden (view full) --- 66 struct ural_softc *sc; 67 struct ural_tx_desc desc; 68 struct mbuf *m; 69 struct ieee80211_node *ni; 70 int rate; 71}; 72typedef STAILQ_HEAD(, ural_tx_data) ural_txdhead; 73 |
74struct ural_node { 75 struct ieee80211_node ni; 76 struct ieee80211_amrr_node amn; 77}; 78#define URAL_NODE(ni) ((struct ural_node *)(ni)) 79 | |
80struct ural_vap { 81 struct ieee80211vap vap; 82 struct ieee80211_beacon_offsets bo; | 74struct ural_vap { 75 struct ieee80211vap vap; 76 struct ieee80211_beacon_offsets bo; |
83 struct ieee80211_amrr amrr; 84 struct usb_callout amrr_ch; 85 struct task amrr_task; | 77 struct usb_callout ratectl_ch; 78 struct task ratectl_task; |
86 87 int (*newstate)(struct ieee80211vap *, 88 enum ieee80211_state, int); 89}; 90#define URAL_VAP(vap) ((struct ural_vap *)(vap)) 91 92enum { 93 URAL_BULK_WR, --- 48 unchanged lines hidden --- | 79 80 int (*newstate)(struct ieee80211vap *, 81 enum ieee80211_state, int); 82}; 83#define URAL_VAP(vap) ((struct ural_vap *)(vap)) 84 85enum { 86 URAL_BULK_WR, --- 48 unchanged lines hidden --- |