Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2012 21:52:10 +0800
From:      =?UTF-8?B?5LmU5qWa?= <honestqiao@gmail.com>
To:        bschmidt <bschmidt@freebsd.org>
Cc:        freebsd-wireless <freebsd-wireless@freebsd.org>
Subject:   Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9
Message-ID:  <CAMAY4ViaTjTL__ZLWh4vRE7E9ZSgj91k1WWmrYoaj058HVWaPw@mail.gmail.com>
In-Reply-To: <201208231430163933460@gmail.com>
References:  <201207300139326668335@gmail.com> <201208201829.10554.bschmidt@freebsd.org> <CAMAY4VjxmjZ8BEdhjq1zSkxC=HgY2zG1LTJe3-zd9Xgzv=xLLw@mail.gmail.com> <201208212047.50852.bschmidt@freebsd.org> <CAMAY4ViG5BaK1SPXHznjmr8hv=rdWn4xyFfCEfTLxNreN6YP%2BQ@mail.gmail.com> <CAAgh0_YSO3gAkAwZCEYRFMiyQopVhoMTW5HTVJD=mjEdDB_RLA@mail.gmail.com> <CAAgh0_YJBPuzEms8J-dkxQPgFAmFH==twOmRRHy1=MTn5vFocA@mail.gmail.com> <201208231430163933460@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2012/8/23 =C7=C7=B3=FE/HonestQiao <honestqiao@gmail.com>:
> 2012-08-23 14:27, Bernhard Schmidt<bschmidt@freebsd.org> wrote:
>>On Wed, Aug 22, 2012 at 12:18 PM, Bernhard Schmidt <bschmidt@freebsd.org>=
 wrote:
>>> On Wed, Aug 22, 2012 at 5:38 AM, =C7=C7=B3=FE <honestqiao@gmail.com> wr=
ote:
>>>> [11:33:57]root@x201i.pts/2 sys/net80211 # cd /usr/src/
>>>> [11:34:09]root@x201i.pts/2 /usr/src # svn up
>>>> .....
>>>> Updated to revision 239552.
>>>>
>>>> [11:35:46]root@x201i.pts/2 /usr/src # cd sys/net80211
>>>> [11:36:01]root@x201i.pts/2 sys/net80211 # patch -p2 <
>>>> /home/HonestQiao/Downloads/r231187.diff
>>>> Hmm...  Looks like a unified diff to me...
>>>> The text leading up to this was:
>>>> --------------------------
>>>> |Index: sys/net80211/ieee80211.h
>>>> |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>>> |--- sys/net80211/ieee80211.h   (revision 231186)
>>>> |+++ sys/net80211/ieee80211.h   (revision 231187)
>>>> --------------------------
>>>> Patching file ieee80211.h using Plan A...
>>>> Hunk #1 failed at 709.
>>>> 1 out of 1 hunks failed--saving rejects to ieee80211.h.rej
>>>> done
>>>
>>> Is there Windows stuff involved which might change line breaks?
>>>
>>> amy:stable/9% pwd
>>> /home/bschmidt/src/svn/freebsd/stable/9
>>> amy:stable/9% svn up
>>> Updating '.':
>>> At revision 239563.
>>> amy:stable/9% svn stat sys/net80211
>>> amy:stable/9% md5 sys/net80211/ieee80211.h
>>> MD5 (sys/net80211/ieee80211.h) =3D f3cc66ca7ab81b3c63d1c1fd95806624
>>> amy:stable/9% md5 ~/tmp/r231187.diff
>>> MD5 (/home/bschmidt/tmp/r231187.diff) =3D e2c5762997088ee1857983a99ddf8=
0bc
>>> amy:stable/9% patch -p0 < ~/tmp/r231187.diff
>>> Hmm...  Looks like a unified diff to me...
>>> The text leading up to this was:
>>> --------------------------
>>> |Index: sys/net80211/ieee80211.h
>>> |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>> |--- sys/net80211/ieee80211.h   (revision 231186)
>>> |+++ sys/net80211/ieee80211.h   (revision 231187)
>>> --------------------------
>>> Patching file sys/net80211/ieee80211.h using Plan A...
>>> Hunk #1 succeeded at 709.
>>> done
>>>
>>> I've attached the patched ieee80211.h
>>
>>Any kind of success yet?
>>
>>I'll push that into the tree as soon as I have received some kind of
>>confirmation.
>>
>>--
>>Bernhard
>
> I'll test it today night.

Good news.
Nothing changed on My AP, My FreeBSD can connect to My AP with your
patched file.

[21:51:10]root@x201i.pts/1 /usr/src # svn info
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/stable/9
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 239552
Node Kind: directory
Schedule: normal
Last Changed Author: kevlo
Last Changed Rev: 239549
Last Changed Date: 2012-08-22 08:59:17 +0800 (Wed, 22 Aug 2012)

[21:51:13]root@x201i.pts/1 /usr/src # svn stat
M       sys/net80211/ieee80211.h
[21:51:19]root@x201i.pts/1 /usr/src # ifconfig -v wlan0 list sta
ADDR               AID CHAN RATE RSSI IDLE  TXSEQ  RXSEQ CAPS FLAG
8c:21:0a:43:ef:d4    4   11  54M 24.0    0    903  13920 EPS  AQEHTRS
SSID<OpenBSD> RATES<B2,B4,B11,B22,12,18,24,36> DSPARMS<11> ERP<0x0>
RSN<v1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK> XRATES<48,72,96,108>
HTCAP<cap 0x11ef param 0x3 mcsset[0-15] extcap 0x400 txbf 0xde7e606
antenna 0x0> ???<331aef1103ffff00000000000000000000-> HTINFO<ctl 11,
7,15,0,0 basicmcs[]> ???<34160b0715000000000000000000000000->
WME<qosinfo 0x83 BE[aifsn 3 cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin
4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2
cwmin 2 cwmax 3 txop 47]> ATH<0x7fff> WPS<v:1.0 st:C
uuid-e:00-01-02-03-04-05-06-07-08-09-0a-0b-0c-0d-0e-0f>
[21:51:28]root@x201i.pts/1 /usr/src #
[21:51:28]root@x201i.pts/1 /usr/src # uname -a
FreeBSD x201i.honestqiao 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0
r239552M: Thu Aug 23 12:36:01 CST 2012
root@x201i.honestqiao:/usr/obj/usr/src/sys/HonestQiaoKernel  amd64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMAY4ViaTjTL__ZLWh4vRE7E9ZSgj91k1WWmrYoaj058HVWaPw>