diff options
Diffstat (limited to 'at76_usb.c')
-rw-r--r-- | at76_usb.c | 42 |
1 files changed, 0 insertions, 42 deletions
@@ -3577,48 +3577,6 @@ static const struct iw_handler_def at76_handler_def = { .get_wireless_stats = at76_get_wireless_stats, }; -/* A short overview on Ethernet-II, 802.2, 802.3 and SNAP - (taken from http://www.geocities.com/billalexander/ethernet.html): - -Ethernet Frame Formats: - -Ethernet (a.k.a. Ethernet II) - - +---------+---------+---------+---------- - | Dst | Src | Type | Data... - +---------+---------+---------+---------- - - <-- 6 --> <-- 6 --> <-- 2 --> <-46-1500-> - - Type 0x80 0x00 = TCP/IP - Type 0x06 0x00 = XNS - Type 0x81 0x37 = Novell NetWare - -802.3 - - +---------+---------+---------+---------- - | Dst | Src | Length | Data... - +---------+---------+---------+---------- - - <-- 6 --> <-- 6 --> <-- 2 --> <-46-1500-> - -802.2 (802.3 with 802.2 header) - - +---------+---------+---------+-------+-------+-------+---------- - | Dst | Src | Length | DSAP | SSAP |Control| Data... - +---------+---------+---------+-------+-------+-------+---------- - - <- 1 -> <- 1 -> <- 1 -> <-43-1497-> - -SNAP (802.3 with 802.2 and SNAP headers) - - +---------+---------+---------+-------+-------+-------+-----------+---------+----------- - | Dst | Src | Length | 0xAA | 0xAA | 0x03 | Org Code | Type | Data... - +---------+---------+---------+-------+-------+-------+-----------+---------+----------- - - <-- 3 --> <-- 2 --> <-38-1492-> - -*/ static const u8 snapsig[] = { 0xaa, 0xaa, 0x03 }; /* RFC 1042 encapsulates Ethernet frames in 802.2 SNAP (0xaa, 0xaa, 0x03) with |