Deleted Added
full compact
if_rumvar.h (196219) if_rumvar.h (206358)
1/* $FreeBSD: head/sys/dev/usb/wlan/if_rumvar.h 196219 2009-08-14 20:03:53Z jhb $ */
1/* $FreeBSD: head/sys/dev/usb/wlan/if_rumvar.h 206358 2010-04-07 15:29:13Z rpaulo $ */
2
3/*-
4 * Copyright (c) 2005, 2006 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2006 Niall O'Higgins <niallo@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.

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

62 struct rum_softc *sc;
63 struct rum_tx_desc desc;
64 struct mbuf *m;
65 struct ieee80211_node *ni;
66 int rate;
67};
68typedef STAILQ_HEAD(, rum_tx_data) rum_txdhead;
69
2
3/*-
4 * Copyright (c) 2005, 2006 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2006 Niall O'Higgins <niallo@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.

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

62 struct rum_softc *sc;
63 struct rum_tx_desc desc;
64 struct mbuf *m;
65 struct ieee80211_node *ni;
66 int rate;
67};
68typedef STAILQ_HEAD(, rum_tx_data) rum_txdhead;
69
70struct rum_node {
71 struct ieee80211_node ni;
72 struct ieee80211_amrr_node amn;
73};
74#define RUM_NODE(ni) ((struct rum_node *)(ni))
75
76struct rum_vap {
77 struct ieee80211vap vap;
78 struct ieee80211_beacon_offsets bo;
70struct rum_vap {
71 struct ieee80211vap vap;
72 struct ieee80211_beacon_offsets bo;
79 struct ieee80211_amrr amrr;
80 struct usb_callout amrr_ch;
81 struct task amrr_task;
73 struct usb_callout ratectl_ch;
74 struct task ratectl_task;
82
83 int (*newstate)(struct ieee80211vap *,
84 enum ieee80211_state, int);
85};
86#define RUM_VAP(vap) ((struct rum_vap *)(vap))
87
88enum {
89 RUM_BULK_WR,

--- 52 unchanged lines hidden ---
75
76 int (*newstate)(struct ieee80211vap *,
77 enum ieee80211_state, int);
78};
79#define RUM_VAP(vap) ((struct rum_vap *)(vap))
80
81enum {
82 RUM_BULK_WR,

--- 52 unchanged lines hidden ---