From owner-freebsd-wireless@FreeBSD.ORG Sun Jan 29 09:16:14 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 B32B51065679 for ; Sun, 29 Jan 2012 09:16:14 +0000 (UTC) (envelope-from zeus@ibs.dn.ua) Received: from relay.ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by mx1.freebsd.org (Postfix) with ESMTP id F2D178FC08 for ; Sun, 29 Jan 2012 09:16:13 +0000 (UTC) Received: from ibs.dn.ua (localhost [127.0.0.1]) by relay.ibs.dn.ua with ESMTP id q0T95wKE031634 for ; Sun, 29 Jan 2012 11:05:58 +0200 (EET) Message-ID: <20120129110558.31632@relay.ibs.dn.ua> Date: Sun, 29 Jan 2012 11:05:58 +0200 From: Zeus Panchenko To: cc: Organization: IBS LLC X-Mailer: MH-E 8.2; GNU Mailutils 2.99.94; GNU Emacs 23.3.1 X-Face: &sReWXo3Iwtqql1[My(t1Gkx; y?KF@KF`4X+'9Cs@PtK^y%}^.>Mtbpyz6U=,Op:KPOT.uG )Nvx`=er!l?WASh7KeaGhga"1[&yz$_7ir'cVp7o%CGbJ/V)j/=]vzvvcqcZkf; JDurQG6wTg+?/xA go`}1.Ze//K; Fk&/&OoHd'[b7iGt2UO>o(YskCT[_D)kh4!yY'<&:yt+zM=A`@`~9U+P[qS:f; #9z~ Or/Bo#N-'S'!'[3Wog'ADkyMqmGDvga?WW)qd=?)`Y&k=o}>!ST\ Fcc: +sent-messages/201201 Subject: BCM4313 + 9.0R amd64 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Zeus Panchenko 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: Sun, 29 Jan 2012 09:16:14 -0000 Hi all, please, may somebody answer: is there way to get working ndis driver for BCM4313 on FreeBSD09.0-RELEASE amd64? here is data: # dmidecode ... System Information Manufacturer: Hewlett-Packard Product Name: HP Pavilion dm1 Notebook PC ... # uname -a FreeBSD 9.0-RELEASE amd64 I was much surprised when found at PCBSD wiki page http://wiki.pcbsd.org/index.php/Wireless_Testing information concerning my notebook WiFi card support the very card is: # pciconf -lvcb none1@pci0:3:0:0: class=0x028000 card=0x1795103c chip=0x472714e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4313 802.11b/g/n Wireless LAN Controller' class = network bar [10] = type Memory, range 64, base 0xf0200000, size 16384, enabled cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 09[58] = vendor (length 120) cap 05[48] = MSI supports 1 message, 64 bit cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1) ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0002[13c] = VC 1 max VC0 ecap 0003[160] = Serial 1 000019ffff6660d8 ecap 0004[16c] = unknown 1 so, while trying to get NDISulator working on 9.0-RELEASE i receive errors: ... In file included from /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c:51: @/compat/ndis/hal_var.h:46:1: warning: "X86_BUS_SPACE_MEM" redefined In file included from ./machine/bus.h:6, from /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c:46: ./x86/bus.h:120:1: warning: this is the location of the previous definition /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c: In function 'WRITE_PORT_ULONG': /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c:101: error: 'AMD64_BUS_SPACE_IO' undeclared (first use in this function) /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c:101: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c:101: error: for each function it appears in.) /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c: In function 'WRITE_PORT_USHORT': /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c:108: error: 'AMD64_BUS_SPACE_IO' undeclared (first use in this function) /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c: In function 'WRITE_PORT_UCHAR': ... /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c:175: error: 'AMD64_BUS_SPACE_IO' undeclared (first use in this function) /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c: In function 'READ_PORT_BUFFER_UCHAR': /usr/src/sys/modules/ndis/../../compat/ndis/subr_hal.c:183: error: 'AMD64_BUS_SPACE_IO' undeclared (first use in this function) *** Error code 1 so, is it because of RELEASE code? after that I risked to convert win drivers with original ndisgen despite warning on PCBSD wiki page and have got wlan0 visible by ifconfig and wpa_supplicant but wpa_supplicant was flapping and got no authorisation ... in log i see this: ... Jan 29 01:40:46 hp wpa_supplicant[293]: Associated with 00:90:4c:91:00:01 Jan 29 01:40:56 hp wpa_supplicant[293]: Authentication with 00:90:4c:91:00:01 timed out. Jan 29 01:40:56 hp wpa_supplicant[293]: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0 Jan 29 01:41:03 hp wpa_supplicant[293]: Trying to associate with 00:90:4c:91:00:01 (SSID='AP' freq=2437 MHz) Jan 29 01:41:04 hp wpa_supplicant[293]: Associated with 00:90:4c:91:00:01 Jan 29 01:41:14 hp wpa_supplicant[293]: Authentication with 00:90:4c:91:00:01 timed out. Jan 29 01:41:14 hp wpa_supplicant[293]: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0 Jan 29 01:41:21 hp wpa_supplicant[293]: Trying to associate with 00:90:4c:91:00:01 (SSID='AP' freq=2437 MHz) Jan 29 01:41:22 hp wpa_supplicant[293]: Associated with 00:90:4c:91:00:01 ... when ifconfig was showing wlan0 associated with AP, dhclient was unable to get IP address ... so, the question: is there *any* way to get BCM4313 working on FreeBSD 9.0-R? 9-STABLE? please, share the experience -- Zeus V. Panchenko IT Dpt., I.B.S. LLC GMT+2 (EET)