Re: Oddity with an(4): Channel reported by ifconfig is wrong

From: Øyvind Kolbu <oyvind_at_kolbu.ws>
Date: Thu, 12 Jul 2007 12:05:21 +0200
On 2007-07-12 at 13:12, Andrew Thompson wrote:
> So wi is still not working at all? Can you post the log again with
> debug.wi set to 2.
I can't get my wi to work either. Didn't find debug.wi, but used:

kolbu# sysctl hw.wi.debug=2
hw.wi.debug: 0 -> 2

> Does 'ifconfig wi0 scan' show anything?

kolbu# ifconfig wi0 scan
SSID            BSSID              CHAN RATE   S:N     INT CAPS
uio             00:1c:0e:42:59:90    9    1M   6:3    100 EPS 
uio             00:1c:0e:42:5c:70    2    1M   3:2    100 EPS 

If I bring the interface up and then scan again, ifconfig never return the
result, even though the log says "scan complete".

Jul 12 11:53:43 kolbu kernel: wi_info_intr: LINK_STAT 0x6
Jul 12 11:53:43 kolbu kernel: wi_newstate: INIT -> INIT
Jul 12 11:53:45 kolbu kernel: wi_info_intr: LINK_STAT 0x6
Jul 12 11:53:45 kolbu kernel: wi_newstate: INIT -> INIT
Jul 12 11:53:46 kolbu kernel: wi_info_intr: LINK_STAT 0x6
Jul 12 11:53:46 kolbu kernel: wi_newstate: INIT -> INIT
Jul 12 11:53:48 kolbu kernel: wi_scan_ap: start scanning, chamask 0x3fff txrate 0xf
Jul 12 11:53:48 kolbu kernel: wi_info_intr: LINK_STAT 0x6
Jul 12 11:53:48 kolbu kernel: wi_newstate: INIT -> INIT
Jul 12 11:53:50 kolbu kernel: wi_info_intr: LINK_STAT 0x6
Jul 12 11:53:50 kolbu kernel: wi_newstate: INIT -> INIT
Jul 12 11:53:51 kolbu kernel: wi_watchdog: inquire scan
Jul 12 11:53:51 kolbu kernel: wi_scan_result: #0: off 8 bssid 00:1c:0e:42:59:90
Jul 12 11:53:51 kolbu kernel: calling add_scan, bssid 00:1c:0e:42:59:90 chan 9 signal 10
Jul 12 11:53:51 kolbu kernel: wi_scan_result: #1: off 70 bssid 00:1c:0e:42:5c:70
Jul 12 11:53:51 kolbu kernel: calling add_scan, bssid 00:1c:0e:42:5c:70 chan 2 signal 2
Jul 12 11:53:51 kolbu kernel: wi_scan_result: scan complete: ap 2
Jul 12 11:53:51 kolbu kernel: wi_info_intr: LINK_STAT 0x6
Jul 12 11:53:51 kolbu kernel: wi_newstate: INIT -> INIT
Jul 12 11:53:53 kolbu kernel: wi_info_intr: LINK_STAT 0x6

kolbu# uname -a
FreeBSD kolbu.uio.no 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Thu Jul 12
10:56:20 CEST 2007     kolbu_at_kolbu.uio.no:/usr/obj/usr/src/sys/LAP  i386

kolbu# dmesg |grep wi0
wi0: <Intersil Prism2.5> mem 0xf8000000-0xf8000fff irq 11 at device 2.0 on
pci2
wi0: [ITHREAD]
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9)
wi0: Ethernet address: 00:05:3c:04:89:1c

-- 
Øyvind Kolbu

Received on Thu Jul 12 2007 - 08:36:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC