From owner-freebsd-wireless@freebsd.org Thu Nov 17 06:50:29 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C76E5C46CA5 for ; Thu, 17 Nov 2016 06:50:29 +0000 (UTC) (envelope-from andymenderunix@gmail.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F31E1C4D for ; Thu, 17 Nov 2016 06:50:29 +0000 (UTC) (envelope-from andymenderunix@gmail.com) Received: by mail-vk0-x22b.google.com with SMTP id x186so134446314vkd.1 for ; Wed, 16 Nov 2016 22:50:29 -0800 (PST) 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; bh=dLcC4KpIjFvEOcuuoosnn2hVxr2+282jH8Xy6KUa8xo=; b=Fsc6X5U8C8kFINYmjPzCrBNTsRBw6w7cOMoJF7DBUUBSexUXz3aHNl0rKR9e5n0wqt git4wvpP4MJ55g+A2i/Xx9P7U5hGP6iK9zQ6cI81slslRH66uH5taP+lUMF2ym/eauxT Fue2utH4C4pAobJFWUtFXxPus3GPOwE2ku3D65ZfVlhgMyGtniSNYBZRapWasvTjUxZO Tdwd1sZNZNm+2gx+sTDFC2fcvUMGRLjWuwGDzn9V7lrsxMKpsLBF3kjTyec/CDaGvYK6 buZNNXpXpmIgNs23vTwVz/u7p7mn/G7Cjdxm1i7zpOZ7qw0dYUwYKWQlrTi00PsOBa31 3cBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=dLcC4KpIjFvEOcuuoosnn2hVxr2+282jH8Xy6KUa8xo=; b=eYh47EGaaHTs9gUlYKa9RRgxkDT9heYupf72VKCn11HhCzjUAjEE6JpdMQMUrhc3h+ 2opdUI1JlIXNJIixZPK9gyy67emEYsVsRUIHO820XZVhAYBiB1XIMjWydmblq47X7WMh cfNx+IslACzERsuG8DiPLeZ4NZDUAvfIjmT1eDDmVCnRYxGWaMijQ2E1rZHIS7uU79Ak Uioxsll0Lw5fe/ZmtG0OaVZ2rl4poLGadZgcSwXNpIaKLWNOLYV5Heu4q1Bj5pGOOzuP RQ8/IKxwCW08hMIQ1wVtp8R6pqcgUR6tFwzmbO734XDVtE6T+ameV/6nmzrz/GkRFDyp Txvw== X-Gm-Message-State: AKaTC01C1g3hGSJuUiYrqb8hXA+NHN0OnTnjDmp+QqHdkfZo9OZs5Vg24JFr7RzrocI76CVuWk7IQRJDMj0ZRA== X-Received: by 10.31.80.132 with SMTP id e126mr705596vkb.109.1479365428678; Wed, 16 Nov 2016 22:50:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.6.3 with HTTP; Wed, 16 Nov 2016 22:50:28 -0800 (PST) In-Reply-To: References: From: Andy Mender Date: Thu, 17 Nov 2016 07:50:28 +0100 Message-ID: Subject: Re: Broadcom BCM 43xx wireless chips To: Adrian Chadd , freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 17 Nov 2016 06:50:29 -0000 Dear Adrian, Ben, Bingo! That could've been it. I did NOT uncomment the lines you mentioned in /usr/src/sys/modules/bwn prior to recompiling the kernel. I'll try to rebuild the kernel with the lines added and write back with results. Hope it works! Best regards, Andy On 17 November 2016 at 07:44, Adrian Chadd wrote: > hi, > > Something's wrong with that compilation. Check modules/bwn/Makefile > and make sure you uncommented the bwn n_phy source files. > > > -adrian > > > On 16 November 2016 at 22:38, Andy Mender > wrote: > > Dear Adrian, Ben, > > > > sysctl.net.wlan.devices returns only the urtwn0 interface (from a TP-LINK > > USB dongle I use to get any connection). > > > > Below, please find the output of "dmesg | grep bwn": > > andy@mb-2008:~ % dmesg | grep bwn > > link_elf_obj: symbol bwn_nphy_op_allocate undefined > > KLD file if_bwn.ko - could not finalize loading > > siba_bwn0: mem > > 0xd3100000-0xd3103fff at device 0.0 on pci3 > > siba_bwn0: warn: multiple PCI(E) cores > > siba_bwn0: unsupported coreid (USB 2.0 Device) > > siba_bwn0: unsupported coreid (unknown) > > siba_bwn0: unsupported coreid (Internal Memory) > > > > How should I proceed? > > > > Best regards, > > Andy > > > > On 16 November 2016 at 23:35, Ben Woods wrote: > > > >> > >> On Wed., 16 Nov. 2016 at 8:09 pm, Andy Mender > > >> wrote: > >> > >>> Dear Adrian, > >>> > >>> I set the mentioned option (BWN_GPL_PHY just below the bwn driver) in > the > >>> kernel config file and recompiled the STABLE kernel. > >>> Now the additional message about BWN_GPL_PHY is gone, but there is some > >>> 2-3 > >>> features listed as unsupported. The driver gets attached to the network > >>> card as siba_bwn0, but no interface is created by ifconfig. > >>> > >>> What should be the name of the interface in /etc/rc.conf - siba_bwn0 or > >>> bwn0? > >>> > >>> Otherwise, paradox added a link to some Broadcom device datasheets from > >>> Cypress: http://www.cypress.com/search/all?f[0]=meta_type% > >>> 3Atechnical_documents&f[1]=resource_meta_type%3A575&f[2]= > >>> field_related_products%3A110101 > >>> > >>> I had a quick look and although bcm4321 and bcm4322 are not on the > list, > >>> bcm4318, bcm4319 and bcm4325 are. Might be relevant to further testing > and > >>> writing drivers in general. > >>> > >>> Best regards, > >>> Andy > >>> _______________________________________________ > >>> freebsd-wireless@freebsd.org mailing list > >>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > >>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@ > >>> freebsd.org" > >>> > >> > >> Hi Andy, > >> > >> Since 11.0-RELEASE FreeBSD no longer shows the parent interface for > >> wireless devices in ifconfig. It will only show the cloned wlan0 device > >> once it is created. > >> > >> To determine which wireless devices are available to clone to a wlan0 > >> interface, use the following command: > >> $ sysctl net.wlan.devices > >> > >> Once you have found the wireless device, set it up using the normal > method: > >> https://www.freebsd.org/doc/handbook/network-wireless.html > >> > >> Good luck! > >> > >> Regards, > >> Ben > >> > > _______________________________________________ > > freebsd-wireless@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@ > freebsd.org" >