Ming,

On Mon, May 9, 2011 at 7:54 PM, MingANn Ng <devil_eddi...@hotmail.com> wrote:
> I attached here wuth the dubugging message of the authsae:
>
> ----------
> mgtk:  hexdump
> 38 8c d1 84 f8 c7 62 a8 9b 52 09 09 c3 ed ed 1c
> ----------
>
> ----------
> Fixed Information Elements in this STA hexdump
> 01 08 02 03 04 05 06 09 0b 0c 32 0c 12 16 18 1b 24 2c 30 36
> 42 48 60 6c
> ----------
>
> meshd: Staring mesh with mesh id = mesh
> NL80211_CMD_NEW_PEER_CANDIDATE(1304992579.846996)
> new unauthed sta (seq num=1304992591)
> tx_frame(0x805d340, 0xbff855ac, 128)
> tx frame (seq num=1304992592)
> ----------
> tx frame (seq num=%d) hexdump
> b0 00 00 00 00 0e 8e 27 db 2e 00 0e 8e 27 db 2c 00 0e 8e 27
> db 2e 00 00 03 00 01 00 00 00 13 00 0e d0 50 a6 06 4d 3b 9c
> a6 ce a1 7f 72 2c 5c b8 58 f6 95 f5 a9 44 8d e8 99 af e6 d4
> 9f 90 46 59 ae ca 76 64 29 4e 38 6d b0 82 44 8d 9e 3c e5 f0
> 64 45 a7 3e 11 6f e4 85 e7 d9 da 59 76 e6 24 ae 49 aa 0b 27
> c7 02 87 6b 47 79 04 a6 12 f6 fc 1c 61 69 02 5f 36 de cf 9f
> 4b 88 f7 b5 03 da 86 ca
> ----------
>
> NL80211_CMD_NEW_STATION (1304992579.854079)
> tx_frame(0x805d340, 0xbff85b5c, 128)
> tx frame (seq num=0)
> ----------
> tx frame (seq num=%d) hexdump
> b0 00 00 00 00 0e 8e 27 db 2e 00 0e 8e 27 db 2c 00 0e 8e 27
> db 2e 00 00 03 00 01 00 00 00 13 00 0e d0 50 a6 06 4d 3b 9c
> a6 ce a1 7f 72 2c 5c b8 58 f6 95 f5 a9 44 8d e8 99 af e6 d4
> 9f 90 46 59 ae ca 76 64 29 4e 38 6d b0 82 44 8d 9e 3c e5 f0
> 64 45 a7 3e 11 6f e4 85 e7 d9 da 59 76 e6 24 ae 49 aa 0b 27
> c7 02 87 6b 47 79 04 a6 12 f6 fc 1c 61 69 02 5f 36 de cf 9f
> 4b 88 f7 b5 03 da 86 ca
> ----------
>
> tx_frame(0x805d340, 0xbff85b5c, 128)
> tx frame (seq num=0)
> ----------
> tx frame (seq num=%d) hexdump
> b0 00 00 00 00 0e 8e 27 db 2e 00 0e 8e 27 db 2c 00 0e 8e 27
> db 2e 00 00 03 00 01 00 00 00 13 00 0e d0 50 a6 06 4d 3b 9c
> a6 ce a1 7f 72 2c 5c b8 58 f6 95 f5 a9 44 8d e8 99 af e6 d4
> 9f 90 46 59 ae ca 76 64 29 4e 38 6d b0 82 44 8d 9e 3c e5 f0
> 64 45 a7 3e 11 6f e4 85 e7 d9 da 59 76 e6 24 ae 49 aa 0b 27
> c7 02 87 6b 47 79 04 a6 12 f6 fc 1c 61 69 02 5f 36 de cf 9f
> 4b 88 f7 b5 03 da 86 ca
> ----------
>
> tx_frame(0x805d340, 0xbff85b5c, 128)
> tx frame (seq num=0)
> ----------
> tx frame (seq num=%d) hexdump
> b0 00 00 00 00 0e 8e 27 db 2e 00 0e 8e 27 db 2c 00 0e 8e 27
> db 2e 00 00 03 00 01 00 00 00 13 00 0e d0 50 a6 06 4d 3b 9c
> a6 ce a1 7f 72 2c 5c b8 58 f6 95 f5 a9 44 8d e8 99 af e6 d4
> 9f 90 46 59 ae ca 76 64 29 4e 38 6d b0 82 44 8d 9e 3c e5 f0
> 64 45 a7 3e 11 6f e4 85 e7 d9 da 59 76 e6 24 ae 49 aa 0b 27
> c7 02 87 6b 47 79 04 a6 12 f6 fc 1c 61 69 02 5f 36 de cf 9f
> 4b 88 f7 b5 03 da 86 ca
> ----------
>
> tx_frame(0x805d340, 0xbff85b5c, 128)
> tx frame (seq num=0)
> ----------
> tx frame (seq num=%d) hexdump
> b0 00 00 00 00 0e 8e 27 db 2e 00 0e 8e 27 db 2c 00 0e 8e 27
> db 2e 00 00 03 00 01 00 00 00 13 00 0e d0 50 a6 06 4d 3b 9c
> a6 ce a1 7f 72 2c 5c b8 58 f6 95 f5 a9 44 8d e8 99 af e6 d4
> 9f 90 46 59 ae ca 76 64 29 4e 38 6d b0 82 44 8d 9e 3c e5 f0
> 64 45 a7 3e 11 6f e4 85 e7 d9 da 59 76 e6 24 ae 49 aa 0b 27
> c7 02 87 6b 47 79 04 a6 12 f6 fc 1c 61 69 02 5f 36 de cf 9f
> 4b 88 f7 b5 03 da 86 ca
> ----------
>
> tx_frame(0x805d340, 0xbff85b5c, 128)
> tx frame (seq num=0)
> ----------
> tx frame (seq num=%d) hexdump
> b0 00 00 00 00 0e 8e 27 db 2e 00 0e 8e 27 db 2c 00 0e 8e 27
> db 2e 00 00 03 00 01 00 00 00 13 00 0e d0 50 a6 06 4d 3b 9c
> a6 ce a1 7f 72 2c 5c b8 58 f6 95 f5 a9 44 8d e8 99 af e6 d4
> 9f 90 46 59 ae ca 76 64 29 4e 38 6d b0 82 44 8d 9e 3c e5 f0
> 64 45 a7 3e 11 6f e4 85 e7 d9 da 59 76 e6 24 ae 49 aa 0b 27
> c7 02 87 6b 47 79 04 a6 12 f6 fc 1c 61 69 02 5f 36 de cf 9f
> 4b 88 f7 b5 03 da 86 ca
> ----------
>
> tx_frame(0x805d340, 0xbff85b5c, 128)
> tx frame (seq num=0)
> ----------
> tx frame (seq num=%d) hexdump
> b0 00 00 00 00 0e 8e 27 db 2e 00 0e 8e 27 db 2c 00 0e 8e 27
> db 2e 00 00 03 00 01 00 00 00 13 00 0e d0 50 a6 06 4d 3b 9c
> a6 ce a1 7f 72 2c 5c b8 58 f6 95 f5 a9 44 8d e8 99 af e6 d4
> 9f 90 46 59 ae ca 76 64 29 4e 38 6d b0 82 44 8d 9e 3c e5 f0
> 64 45 a7 3e 11 6f e4 85 e7 d9 da 59 76 e6 24 ae 49 aa 0b 27
> c7 02 87 6b 47 79 04 a6 12 f6 fc 1c 61 69 02 5f 36 de cf 9f
> 4b 88 f7 b5 03 da 86 ca
> ----------
>
> fin: 16, key len:0 me:00:0e:8e:27:db:2e peer:00:0e:8e:27:db:2c

I don't see anything wrong in the logs.  That said, I can only see one
side of the protocol.  You might want to compare the logs between two
peers and check the following:

1. mesh gtk is correctly communicated to peers:

for instance, peer one picks this mgtk:

mgtk:  hexdump
c8 2e 98 6d 2d af 50 06 03 0a bd 74 f1 53 8f 87

other peers should show:

Received mgtk:  hexdump
c8 2e 98 6d 2d af 50 06 03 0a bd 74 f1 53 8f 87

2. Pairwise mtk matches for each pair of peers:

mtk:  hexdump
56 ea e3 d6 c0 a8 56 ce 7c eb 85 57 ee b8 73 a9
mtk:  hexdump
56 ea e3 d6 c0 a8 56 ce 7c eb 85 57 ee b8 73 a9

3. Peer links make it to the ESTAB state:

Mesh plink (peer, state, llid, plid, event): 02:04:05:00:04:00 ESTAB
54937 63155 1

4. The state is reported correctly by iw

iw dev mesh0 station dump
Station 02:04:05:00:00:00 (on mesh0)
        inactive time:  200 ms
        rx bytes:       17621
        rx packets:     331
        tx bytes:       2494
        tx packets:     19
        tx retries:     0
        tx failed:      0
        signal:         -30 dBm
        signal avg:     -30 dBm
        tx bitrate:     1.0 MBit/s
        mesh llid:      0
        mesh plid:      0
        mesh plink:     ESTAB

Also, what hardware are you using?  You should check that the
driver/wireless card support Management Frame Protection:

# mount -t debugfs null /sys/kernel/debug
# cat /sys/kernel/debug/ieee80211/phy14/hwflags
0x1a240
SIGNAL_DBM
AMPDU_AGGREGATION
MFP_CAPABLE    <<<<<<<<<<<<<<<<<<<<<<<
SUPPORTS_STATIC_SMPS
SUPPORTS_DYNAMIC_SMPS

Hope these pointers help.

Cheers,

Javier


> Thanks,
> Ming Ann
>
>> From: jav...@cozybit.com
>> Date: Mon, 9 May 2011 10:38:34 -0700
>> Subject: Re: FW: Problem on Release0.4.0
>> To: devil_eddi...@hotmail.com
>>
>> Hi Ming
>>
>> Can you retry? Your membership request to the list was approved so
>> you should have no problems sending messages there. Regarding the
>> problems you see, can you post the authsae debug logs?
>>
>> j
>>
>> On Sun, May 8, 2011 at 5:43 PM, MingANn Ng <devil_eddi...@hotmail.com>
>> wrote:
>> >
>> > I'm having problem sending mail to the devel list, sorry that I have to
>> > send
>> > it directly to you.
>> > ________________________________
>> > From: devil_eddi...@hotmail.com
>> > To: devel@lists.open80211s.org
>> > Subject: Problem on Release0.4.0
>> > Date: Fri, 6 May 2011 15:39:02 +0800
>> >
>> > Hi,
>> >
>> > I had downloaded the latest kernel and authsae from release 0.4.0.
>> > I'm currently using ath9k driver for my wireless card on 2 PC.
>> > I'd configure the mesh as in the HOWTO page, but the peer failed to
>> > establish and iw station dump shows the peer is always in Listen stage.
>> >
>> > There is situation where only one of the peer is trasmitting beacon
>> > (observation from Wireshark), the peer which is receiving the beacon is
>> > in
>> > Listen stage where as on the other peer, iw station dump did not show
>> > anything.
>> >
>> > When the two peer are trasmiting beacon, after a few retries, both peer
>> > is
>> > on Listen stage and failed to establish.
>> >
>> > In configuring the mesh network I'd enter the following command on 2
>> > separate PC:
>> >
>> >>sudo iw wlan0 interface add mesh type mp
>> >>sudo iw mesh set channel 11
>> >>sudo ifconfig mesh up
>> >>sudo linux/meshd-nl80211 -I config -s mesh -i mesh
>> >
>> > the sae.conf file is as below:
>> >
>> >
>> > #debug=128
>> > #debug=96
>> > #debug=32
>> > #debug=256
>> > debug=480
>> > password=thisisreallysecret
>> > #
>> > group=19 26 21 25 20
>> > #
>> > blacklist=5
>> > #
>> > thresh=5
>> > #
>> > lifetime=3600
>> >
>> > The meshd.conf is as follow:
>> >
>> > #
>> > ssid=byteme
>> > #
>> > #interface=ath0
>> > #interface=lo0
>> > #
>> > passive=0
>> > #
>> > debug=1
>> > #
>> > # STA=0, ADHOC=1, HOSTAP=2, MONITOR=3
>> > mediaopt=1
>> > #
>> > band=11g
>> > #
>> > channel=11
>> >
>> > Is there anything wrong in my configuration?
>> > I'd tried on OpenMesh configuration on this same Kernel, it's working
>> > fine.
>> > Please help on this.Thanks.
>> >
>> > Regards,
>> > Ming Ann
>>
>>
>>
>> --
>> Javier Cardona
>> cozybit Inc.
>> http://www.cozybit.com
>



-- 
Javier Cardona
cozybit Inc.
http://www.cozybit.com
_______________________________________________
Devel mailing list
Devel@lists.open80211s.org
http://open80211s.com/mailman/listinfo/devel

Reply via email to