Quantcast

BCM4313 + 9.0R amd64

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

BCM4313 + 9.0R amd64

Zeus Panchenko
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)
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: BCM4313 + 9.0R amd64

Zeus Panchenko
Paul B Mahol <[hidden email]> wrote:

> > ...
> > /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?
>
> What branch you are using?

i was trying stable from
https://github.com/richardpl/NDISulator/tree/stable

--
Zeus V. Panchenko
IT Dpt., I.B.S. LLC                                        GMT+2 (EET)
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: BCM4313 + 9.0R amd64

Paul B. Mahol
On 1/29/12, Zeus Panchenko <[hidden email]> wrote:

> Paul B Mahol <[hidden email]> wrote:
>
>> > ...
>> > /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?
>>
>> What branch you are using?
>
> i was trying stable from
> https://github.com/richardpl/NDISulator/tree/stable

Try stable9 instead.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[hidden email]"
Loading...