diff options
author | Pavel Roskin <proski@gnu.org> | 2007-07-11 03:55:46 -0400 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-07-15 12:19:04 -0400 |
commit | 31401464db0dbbdfec2487af9c959a35d6d9547b (patch) | |
tree | 797e1d88a4ded6a69d415963872e6c1d0dd3b40b | |
parent | a835fc372bb42dfb4858ad8e3d1f4ab28ead75f1 (diff) |
[PATCH] Improve comments, reorder some fields in at76_usb.h
Signed-off-by: Pavel Roskin <proski@gnu.org>
-rw-r--r-- | at76_usb.h | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -399,9 +399,9 @@ struct bss_info { u8 channel; u16 capa; /* BSS capabilities */ u16 beacon_interval; /* beacon interval in Kus (1024 microseconds) */ - u8 rates[BSS_LIST_MAX_RATE_LEN]; /* supported rates (list of bytes: - (basic_rate ? 0x80 : 0) + rate/(500 Kbit/s); e.g. - x82,x84,x8b,x96 for basic rates 1,2,5.5,11 MBit/s) */ + u8 rates[BSS_LIST_MAX_RATE_LEN]; /* supported rates in units of + 500 kbps, ORed with 0x80 for + basic rates */ u8 rates_len; /* quality of received beacon */ @@ -444,16 +444,17 @@ struct fwentry { struct at76_priv { struct usb_device *udev; /* USB device pointer */ struct net_device *netdev; /* net device pointer */ - struct net_device_stats stats; - struct iw_statistics wstats; + struct net_device_stats stats; /* net device stats */ + struct iw_statistics wstats; /* wireless stats */ - struct sk_buff *rx_skb; /* skbuff for receiving packets */ - unsigned int rx_bulk_pipe; /* bulk in endpoint */ + struct sk_buff *rx_skb; /* skbuff for receiving data */ + void *bulk_out_buffer; /* buffer for sending data */ + + struct urb *write_urb; /* URB for sending data */ + struct urb *read_urb; /* URB for receiving data */ - void *bulk_out_buffer; /* the buffer to send data */ - struct urb *write_urb; /* the urb used to send data */ - struct urb *read_urb; unsigned int tx_bulk_pipe; /* bulk out endpoint */ + unsigned int rx_bulk_pipe; /* bulk in endpoint */ struct mutex mtx; /* locks this structure */ |