From owner-freebsd-wireless@FreeBSD.ORG Wed Aug 22 03:38:50 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 602F9106566C; Wed, 22 Aug 2012 03:38:50 +0000 (UTC) (envelope-from honestqiao@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id DD8128FC19; Wed, 22 Aug 2012 03:38:49 +0000 (UTC) Received: by qcsg15 with SMTP id g15so435602qcs.13 for ; Tue, 21 Aug 2012 20:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=oa922ZuEJz+nAbjAw67ycV36QUlQg17yMLk5+3xVtWw=; b=gvwgKNUyU7JTkzf8iMd+qfEV3HbHbbA6Gv/OVAdj/KtYCzhaxz4QiMcBYs+5aI2qzc QDQCMwCAdXElshGqumCdaMRZXC8Kj47PLW+2IqYZWueIE4CrtBn4ftvoibX7NSo0AUMR vGDzshEnGsPUU7++HUUIevNNmmmtpNhSqYhcgwptc1mshrVO9je3mtRyp0tHLF4nlgSs rikEb6SvvsyKC0AO17JICGKPKLW+25dXRPhmcMyao4Dw03lamp463wbpkaTGZF6vgWR7 U6uj2yQ+62trz+EBrr8CTqkC9ntzHvaOJyqXMy+AVh55II80PPDxmwDu3qcKWSy/viPd arHw== Received: by 10.224.188.76 with SMTP id cz12mr13176063qab.12.1345606723607; Tue, 21 Aug 2012 20:38:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.197.65 with HTTP; Tue, 21 Aug 2012 20:38:03 -0700 (PDT) In-Reply-To: <201208212047.50852.bschmidt@freebsd.org> References: <201207300139326668335@gmail.com> <201208201829.10554.bschmidt@freebsd.org> <201208212047.50852.bschmidt@freebsd.org> From: =?UTF-8?B?5LmU5qWa?= Date: Wed, 22 Aug 2012 11:38:03 +0800 Message-ID: To: Bernhard Schmidt Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless Subject: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2012 03:38:50 -0000 2012/8/22 Bernhard Schmidt : > On Tuesday 21 August 2012 02:49:17 =C7=C7=B3=FE wrote: >> 2012/8/21 Bernhard Schmidt : >> > On Monday 20 August 2012 17:24:56 =C7=C7=B3=FE wrote: >> >> 2012/8/20 Bernhard Schmidt : >> >> > Can you try attached diff? This change is in head and an MFC >> >> > should fix the issue. >> >> >> >> But my src branch is stable/9. >> >> >> >> I need switch to HEAD? >> > >> > No, the patch should apply to stable/9 just fine. >> > >> > -- >> > Bernhard >> >> [8:48:19]root@x201i.pts/1 /usr/src # patch -p < >> /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 sys/net80211/ieee80211.h using Plan A... >> Hunk #1 failed at 709. >> 1 out of 1 hunks failed--saving rejects to sys/net80211/ieee80211.h.rej >> done > > Is your source up 2 date and clean? It applies cleanly here. Check > with svn up and svn stat I guess. > > amy:sys/net80211% pwd > /home/bschmidt/src/svn/freebsd/stable/9/sys/net80211 > amy:sys/net80211% patch -p2 < ~/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 ieee80211.h using Plan A... > Hunk #1 succeeded at 709. > done > amy:sys/net80211% > > -- > Bernhard [11:28:00]root@x201i.pts/2 /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) [11:28:04]root@x201i.pts/2 /usr/src # svn stat [11:28:10]root@x201i.pts/2 /usr/src # svn log -r 231180:231190 ------------------------------------------------------------------------ r231188 | mav | 2012-02-08 15:30:48 +0800 (Wed, 08 Feb 2012) | 10 lines There hasn't r231186 for stable/9. The proximal version is r231188. [11:31:38]root@x201i.pts/2 /usr/src #svn up -r r231188 ...... Updated to revision 231188. [11:31:57]root@x201i.pts/2 /usr/src # cd sys/net80211 [11:31:59]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 [11:33:43]root@x201i.pts/2 sys/net80211 # rm ieee80211.h.* remove ieee80211.h.orig? y remove ieee80211.h.rej? y [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