From owner-freebsd-current@FreeBSD.ORG Fri Oct 29 07:07:40 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 825D9106566B for ; Fri, 29 Oct 2010 07:07:40 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF848FC16 for ; Fri, 29 Oct 2010 07:07:39 +0000 (UTC) Received: by wyb42 with SMTP id 42so2752009wyb.13 for ; Fri, 29 Oct 2010 00:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=lkieSYxpUdtSa96t9tu6xeCWEhSAPE9pBs8N9ES1j7s=; b=QWJ8po62Mnj4jd3RZ6weKrvdtzW9iHv7wgpx/83jLDzESoVVZpC9xOJ9bBG/BmNjCR pNWFa7hq5oJh2N5ZYHu2hS2R3lOIyeoOmss87ih3T92K5v2Kp/qymkpr33xz7leeALpt jklIrk1eYjuiE27oF4SoyxJWiG5lX/8A+OTGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=Dl3YPkaKDhhAnXVB59KuvUCr/sVSPJR54JWr1E88J98Oca9v0h8sTR3j9DB5CQbgql 0ZBcYZSEF1ZoC9TQxqZI4n2OLvbHaeSMrzsjvj8JWjbeXZCHpnlG7fldqlX6fD2P9g14 JVkw7Xk2qBX2XM7C/SCrV3/xNmSMFGfzC1bKs= Received: by 10.216.56.18 with SMTP id l18mr1194649wec.36.1288336058845; Fri, 29 Oct 2010 00:07:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.50.140 with HTTP; Fri, 29 Oct 2010 00:07:18 -0700 (PDT) In-Reply-To: References: <20101025080705.GA33315@current.Sisis.de> <20101028063255.GA17624@current.Sisis.de> <20101029055958.GA2513@current.Sisis.de> From: Paul B Mahol Date: Fri, 29 Oct 2010 07:07:18 +0000 Message-ID: To: Scot Hetzel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Matthias Apitz , current@freebsd.org Subject: Re: Broadcom BCM4310 USB Controller (Wifi) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2010 07:07:40 -0000 On Fri, Oct 29, 2010 at 6:34 AM, Scot Hetzel wrote: > On Fri, Oct 29, 2010 at 12:59 AM, Matthias Apitz wrote= : >> I booted the 8-CURRENT this morning, loaded the module with kldload(8) a= nd >> wlan0 came up by its own (I did not realized this yesterday). I have in >> rc.conf: >> >> wlans_ndis0=3D"wlan0" >> ifconfig_wlan0=3D"WPA DHCP" >> >> wpa_supplicant(8) started after kldload, and associated the >> interface with my AP; had to do the DHCP by hand, don't know why? >> > The problem is that the Broadcom NDIS driver is generating connection > events, but nothing is relaying that information to the wpa_supplicant > daemon. =A0Since the wpa_supplicant daemon doesn't see a connection > event, it retries connecting > > I had created a patch in PR 113915 which solves this problem: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D113915 > > Give it a try, if it solves your problem submit a followup to the PR. Hmm, ndis_events are required if you use -Dndis and wpa/rsn and need to get event of PMKIDs. For other uses it is of no use. Try -Dbsd driver for wpa_supplicant with code from here: Try http://gitorious.org/ndisulator