While using the bwi0 WiFi on a Dell 1501 laptop, a lot of packets
are being dropped (no firewall, 4 yards away from AP, AP is fine
as iPhone drops no packets). After a while, the device completely
stops responding. I do:

$ sudo ifconfig bwi0 down
$ sudo ifconfig bwi0 up

and within 10 secs, the device works again, but drops a lot of
packets until it completely stops responding again, and repeat.
I can not tell if the problem is in the kernel (default GENERIC
4.4-STABLE) or in the firmware. Any ideas on how I could figure
out the source of the problem and a way to fix would be greatly
appreciated. Unless I missed it, I do not see any recent patches
for the bwi device.

$ dmesg | grep bwi
bwi0 at pci3 dev 0 function 0 "Broadcom BCM4312" rev 0x01: apic 2 int 18
(irq
11), address 00:19:7d:5e:f5:1f

$ uname -a
OpenBSD jupiter32-bsd.rexregis.org 4.4 GENERIC.MP#844 i386

$ ifconfig bwi0
bwi0: flags=8843 mtu 1500
lladdr 00:19:7d:5e:f5:1f
groups: wlan egress
media: IEEE802.11 autoselect (OFDM36 mode 11g)
status: active
ieee80211: nwid DDWRT chan 11 bssid 00:40:10:10:00:03 51dB wpapsk
wpaprotos wpa1,wpa2 wpaakms psk,802.1x wpaciphers tkip,ccmp
wpagroupcipher tkip
inet6 fe80::219:7dff:fe5e:f51f%bwi0 prefixlen 64 scopeid 0x1
inet 10.192.168.201 netmask 0xffffff00 broadcast 10.192.168.255

$ ls /var/db/pkg/ | grep bwi
bwi-firmware-1.4

$ ping -c 1000 10.192.168.1
64 bytes from 10.192.168.1: icmp_seq=280 ttl=255 time=0.831 ms
64 bytes from 10.192.168.1: icmp_seq=281 ttl=255 time=0.879 ms
64 bytes from 10.192.168.1: icmp_seq=282 ttl=255 time=0.902 ms
ping: sendto: Host is down
ping: wrote 10.192.168.1 64 chars, ret=-1
ping: sendto: Host is down
ping: wrote 10.192.168.1 64 chars, ret=-1
--- 10.192.168.1 ping statistics ---
390 packets transmitted, 162 packets received, 58.5% packet loss
round-trip min/avg/max/std-dev = 0.728/1.011/7.031/0.782 ms

As you can see, I only made it to 390 packets, but device quit
responding at 282 packets. But with only 162 packets received,
that's still a 42.5% packet loss. FYI: 10.192.168.1 is still up.

Jason

P.S: Yes, I know, Broadcom is a POS for OpenSource. I will do a better
job next time when I shop for a laptop. Are the Apple MacBook Pros
completely OpenBSD compatible?

Reply via email to