system/4728: ifconfig gives wrong channel information for wi interface

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

system/4728: ifconfig gives wrong channel information for wi interface

Peter J. Philipp
>Number:         4728
>Category:       system
>Synopsis:       ifconfig gives wrong channel information for wi interface
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 21 13:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Peter Philipp
>Release:        
>Organization:
net
>Environment:
       
        System      : OpenBSD 3.8
        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        I have an access point on channel 9.  The SSID of it is "ATLAS",
it's not encrypted.  My wifi cards are Lucent Orinoco Silver cards (wi driver).
When I ifconfig wi0 it gives the wrong channel.

$ ifconfig wi0
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:02:2d:09:4b:44
        media: IEEE802.11 autoselect (DS2)
        status: active
        ieee80211: nwid ATLAS chan 10 -12dBm (auto)
        inet 10.0.0.2 netmask 0xff000000 broadcast 10.255.255.255
        inet6 fe80::202:2dff:fe09:4b44%wi0 prefixlen 64 scopeid 0x1

It says channel 10, yet when I wicontrol wi0 it'll say channel 9.

# wicontrol wi0
NIC serial number:                      [ 00UT37378557 ]
Station name:                           [ WaveLAN/IEEE node ]
SSID for IBSS creation:                 [ IBSS ]
Current netname (SSID):                 [ ATLAS ]
Desired netname (SSID):                 [ ATLAS ]
Current BSSID:                          [ 00:0a:95:f7:1b:b9 ]
Channel list:                           [ 2047 ]
IBSS channel:                           [ 10 ]
Current channel:                        [ 9 ]
Comms quality/signal/noise:             [ 13 72 59 ]
Promiscuous mode:                       [ Off ]
Process 802.11b Frame:                  [ Off ]
Port type (1=BSS, 3=ad-hoc, 6=Host AP): [ 1 ]
MAC address:                            [ 00:02:2d:09:4b:44 ]
TX rate (selection):                    [ 3 ]
TX rate (actual speed):                 [ 2 ]
Maximum data length:                    [ 2304 ]
RTS/CTS handshake threshold:            [ 2347 ]
Create IBSS:                            [ Off ]
Antenna diversity (0=auto,1=pri,2=aux): [ ]
Microwave oven robustness:              [ Off ]
Roaming mode(1=firm,3=disable):         [ ]
Access point density:                   [ 1 ]
Power Management:                       [ Off ]
Max sleep time:                         [ 100 ]
Enhanced Security mode:                 [ ]
Intersil Prism2-based card:             [ 0 ]
Card info:                              [ Lucent WaveLAN/IEEE, Firmware 6.06 var
iant 1 ]
Encryption:                             [ Off ]
Encryption algorithm:                   [ Firmware WEP ]
Authentication type
(1=OpenSys, 2=Shared Key):              [ ]
TX encryption key:                      [ 1 ]
Encryption keys:                        [  ][  ][  ][  ]

A wicontrol -L reveals:

# wicontrol -L| more
AP Information
ap[0]:  netname (SSID):                 [ ATLAS ]
        BSSID:                          [ 00:0a:95:f7:1b:b9 ]
        Channel:                        [ 9 ]
        Beacon Interval:                [ 100 ]
        Quality/Signal/Noise [signal]:  [ 13 / 73 / 60 ]
                                [dBm]:  [ 13 / -76 / -89 ]
        Capinfo:                        [ ESS ]


The BSSID is right, I double checked it with the BSSID written on my AP.
>How-To-Repeat:
       
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted: