ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/sys/dev/usb/if_uralvar.h
(Generate patch)

Comparing trunk/sys/dev/usb/if_uralvar.h (file contents):
Revision 2226 by laffer1, Sat Feb 25 02:38:42 2006 UTC vs.
Revision 2227 by laffer1, Sat Nov 29 16:07:31 2008 UTC

# Line 1 | Line 1
1 < /*      $FreeBSD: src/sys/dev/usb/if_uralvar.h,v 1.3.2.3 2006/01/29 14:16:36 damien Exp $       */
1 > /*      $FreeBSD: src/sys/dev/usb/if_uralvar.h,v 1.9 2007/06/11 03:36:52 sam Exp $      */
2  
3   /*-
4 < * Copyright (c) 2005, 2006
4 > * Copyright (c) 2005
5   *      Damien Bergamini <damien.bergamini@free.fr>
6   *
7   * Permission to use, copy, modify, and distribute this software for any
# Line 20 | Line 20
20   #define RAL_RX_LIST_COUNT       1
21   #define RAL_TX_LIST_COUNT       1
22  
23 + #define URAL_SCAN_START         1
24 + #define URAL_SCAN_END           2
25 + #define URAL_SET_CHANNEL        3
26 +
27 +
28   struct ural_rx_radiotap_header {
29          struct ieee80211_radiotap_header wr_ihdr;
30          uint8_t         wr_flags;
# Line 69 | Line 74 | struct ural_rx_data {
74          struct mbuf             *m;
75   };
76  
72 struct ural_amrr {
73        int     txcnt;
74        int     retrycnt;
75        int     success;
76        int     success_threshold;
77        int     recovery;
78 };
79
77   struct ural_softc {
78          struct ifnet                    *sc_ifp;
79          struct ieee80211com             sc_ic;
80          int                             (*sc_newstate)(struct ieee80211com *,
81                                              enum ieee80211_state, int);
82 <        USBBASEDEVICE                   sc_dev;
82 >        device_t                        sc_dev;
83          usbd_device_handle              sc_udev;
84          usbd_interface_handle           sc_iface;
85  
# Line 98 | Line 95 | struct ural_softc {
95          usbd_pipe_handle                sc_tx_pipeh;
96  
97          enum ieee80211_state            sc_state;
98 +        int                             sc_arg;
99 +        int                             sc_scan_action; /* should be an enum */
100          struct usb_task                 sc_task;
101 +        struct usb_task                 sc_scantask;
102  
103 <        struct ural_amrr                amrr;
103 >        struct ieee80211_amrr           amrr;
104 >        struct ieee80211_amrr_node      amn;
105  
106          struct ural_rx_data             rx_data[RAL_RX_LIST_COUNT];
107          struct ural_tx_data             tx_data[RAL_TX_LIST_COUNT];
# Line 110 | Line 111 | struct ural_softc {
111  
112          struct mtx                      sc_mtx;
113  
114 <        struct callout                  scan_ch;
114 >        struct callout                  watchdog_ch;
115          struct callout                  amrr_ch;
115
116          int                             sc_tx_timer;
117  
118          uint16_t                        sta[11];

Comparing trunk/sys/dev/usb/if_uralvar.h (property cvs2svn:cvs-rev):
Revision 2226 by laffer1, Sat Feb 25 02:38:42 2006 UTC vs.
Revision 2227 by laffer1, Sat Nov 29 16:07:31 2008 UTC

# Line 1 | Line 1
1 < 1.1.1.2
1 > 1.2

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines