Re: [PATCH] staging: r8712u: Fix driver to support ad-hoc mode

From: clemens fischer
Date: Fri Apr 29 2011 - 21:42:30 EST


> Jeff Chua:

> On Sat, Apr 30, 2011 at 6:25 AM, clemens fischer
> <ino-news@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > whereas "r8712u" has only DHCP offers in the logs but no ACKs.
>
> Are you saying you're seeing dhcpd being offered in the log? Please
> post the log from the time your mobile starts up the r8712u.

Presently I cannot reproduce this peculiar situation. The win-CE device
provides next to nothing regarding helpful logs, but I know that it said
"connected" at various occasions without any link being active. Also,
it seems DHCP leases are not verified, instead the remaining lease time
being taken for granted.

The only thing I can present are the following link-level messages from
an unsuccessful attempt using "r8712u" (sorry for the overlong lines):

2011-04-30_03:18:07 + exec /command/chpst -v -m 11333000 /usr/sbin/tcpdump -v -e -n -l -t -i wlan0 -Z nobody -s 512
2011-04-30_03:18:07 tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 512 bytes
2011-04-30_03:18:07 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 126: LLC, dsap RS511 (0x4e) Group, ssap Unknown (0x8c) Command, ctrl 0x1b: Unnumbered, 0b, Flags [Poll], length 112
2011-04-30_03:18:07 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 58: LLC, dsap Unknown (0x52) Individual, ssap Unknown (0xfc) Command, ctrl 0x0059: Supervisory, Reject, rcv seq 0, Flags [Command], length 44
2011-04-30_03:18:08 00:22:43:4e:2a:82 > 33:33:00:01:00:03, 802.3, length 101: LLC, dsap Unknown (0x5a) Group, ssap Unknown (0xee) Response, ctrl 0x2f: Unnumbered, 2f, Flags [Response], length 87
2011-04-30_03:18:08 00:22:43:4e:2a:82 > 33:33:00:00:00:02, 802.3, length 102: LLC, dsap Unknown (0x60) Group, ssap Unknown (0xf6) Response, ctrl 0x002d: Supervisory, ?, rcv seq 0, Flags [Response], length 88
2011-04-30_03:18:08 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 58: LLC, dsap Unknown (0x62) Individual, ssap Unknown (0x16) Command, ctrl 0xeb: Unnumbered, eb, Flags [Command], length 44
2011-04-30_03:18:09 00:22:43:4e:2a:82 > 33:33:00:01:00:03, 802.3, length 101: LLC, dsap Unknown (0x6a) Group, ssap Unknown (0x16) Response, ctrl 0x007a: Information, send seq 61, rcv seq 0, Flags [Response], length 87
2011-04-30_03:18:09 00:22:43:4e:2a:82 > 33:33:ff:4e:2a:82, 802.3, length 102: LLC, dsap Unknown (0x78) Individual, ssap Unknown (0xe4) Response, ctrl 0x0099: Supervisory, Reject, rcv seq 0, Flags [Response], length 88
2011-04-30_03:18:10 00:22:43:4e:2a:82 > 33:33:00:00:00:02, 802.3, length 86: LLC, dsap Unknown (0x88) Individual, ssap Unknown (0x18) Command, ctrl 0x0036: Information, send seq 27, rcv seq 0, Flags [Command], length 72
2011-04-30_03:18:11 00:22:43:4e:2a:82 > 33:33:00:01:00:03, 802.3, length 101: LLC, dsap Unknown (0x8a) Individual, ssap Unknown (0xc0) Command, ctrl 0x0060: Information, send seq 48, rcv seq 0, Flags [Command], length 87
2011-04-30_03:18:12 00:22:43:4e:2a:82 > 33:33:00:01:00:03, 802.3, length 102: LLC, dsap Unknown (0xa0) Group, ssap Unknown (0x80) Command, ctrl 0x004a: Information, send seq 37, rcv seq 0, Flags [Command], length 88
2011-04-30_03:18:15 00:22:43:4e:2a:82 > 33:33:00:00:00:02, 802.3, length 86: LLC, dsap Unknown (0xc6) Group, ssap RS511 (0x4e) Response, ctrl 0xd3: Unnumbered, c3, Flags [Final], length 72
2011-04-30_03:18:16 00:22:43:4e:2a:82 > 33:33:00:01:00:03, 802.3, length 102: LLC, dsap Unknown (0xd6) Individual, ssap Unknown (0x8c) Response, ctrl 0x43: Unnumbered, disc, Flags [Response], length 88
2011-04-30_03:18:21 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 358: LLC, dsap Unknown (0x2c) Individual, ssap Unknown (0x74) Response, ctrl 0xe3: Unnumbered, test, Flags [Response], length 344
2011-04-30_03:18:22 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 358: LLC, dsap Unknown (0x3a) Group, ssap Unknown (0x84) Response, ctrl 0x009e: Information, send seq 79, rcv seq 0, Flags [Response], length 344
2011-04-30_03:18:25 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 358: LLC, dsap Unknown (0x62) Group, ssap Null (0x00) Command, ctrl 0xcf: Unnumbered, cf, Flags [Command], length 344
2011-04-30_03:18:29 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 358: LLC, dsap Unknown (0x9e) Group, ssap Unknown (0x3a) Response, ctrl 0x0038: Information, send seq 28, rcv seq 0, Flags [Response], length 344
2011-04-30_03:18:56 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 108: LLC, dsap Unknown (0x38) Group, ssap Unknown (0xba) Response, ctrl 0x0052: Information, send seq 41, rcv seq 0, Flags [Response], length 94
2011-04-30_03:18:56 00:22:43:4e:2a:82 > 33:33:00:01:00:03, 802.3, length 106: LLC, dsap Unknown (0x3a) Individual, ssap Unknown (0x26) Response, ctrl 0x0068: Information, send seq 52, rcv seq 0, Flags [Response], length 92
2011-04-30_03:18:56 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 108: LLC, dsap Unknown (0x3c) Group, ssap Unknown (0x28) Command, ctrl 0x002d: Supervisory, ?, rcv seq 0, Flags [Command], length 94
2011-04-30_03:18:56 00:22:43:4e:2a:82 > 33:33:00:01:00:03, 802.3, length 109: LLC, dsap Unknown (0x3c) Group, ssap Unknown (0x3c) Command, ctrl 0x00d2: Information, send seq 105, rcv seq 0, Flags [Command], length 95
2011-04-30_03:18:57 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 108: LLC, dsap Unknown (0x48) Individual, ssap Unknown (0xf2) Command, ctrl 0x23: Unnumbered, 23, Flags [Command], length 94
2011-04-30_03:18:57 00:22:43:4e:2a:82 > 33:33:00:01:00:03, 802.3, length 106: LLC, dsap Unknown (0x48) Group, ssap Unknown (0x5c) Response, ctrl 0xd3: Unnumbered, c3, Flags [Final], length 92
2011-04-30_03:18:57 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 108: LLC, dsap Unknown (0x4c) Individual, ssap Unknown (0x46) Command, ctrl 0xc3: Unnumbered, c3, Flags [Command], length 94
2011-04-30_03:18:57 00:22:43:4e:2a:82 > 33:33:00:01:00:03, 802.3, length 109: LLC, dsap Unknown (0x4c) Individual, ssap Unknown (0x50) Command, ctrl 0x0015: Supervisory, Receiver not Ready, rcv seq 0, Flags [Command], length 95
2011-04-30_03:18:58 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 108: LLC, dsap Unknown (0x5c) Individual, ssap Unknown (0xda) Response, ctrl 0x00a1: Supervisory, Receiver Ready, rcv seq 0, Flags [Response], length 94
2011-04-30_03:18:58 00:22:43:4e:2a:82 > 33:33:00:01:00:03, 802.3, length 111: LLC, dsap Unknown (0x5c) Individual, ssap Unknown (0xee) Command, ctrl 0x00ad: Supervisory, ?, rcv seq 0, Flags [Command], length 97
2011-04-30_03:18:59 00:22:43:4e:2a:82 > ff:ff:ff:ff:ff:ff, 802.3, length 108: LLC, dsap Unknown (0x6c) Individual, ssap IP (0x06) Response, ctrl 0x03: Unnumbered, ui, Flags [Response], length 94
2011-04-30_03:18:59 00:22:43:4e:2a:82 > 33:33:00:01:00:03, 802.3, length 111: LLC, dsap Unknown (0x6c) Individual, ssap Unknown (0x10) Command, ctrl 0x0081: Supervisory, Receiver Ready, rcv seq 0, Flags [Command], length 97


regards, clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/