can not set channel on wi card in hostap

From: JoaoBR <joao_at_matik.com.br>
Date: Fri, 10 Aug 2007 20:21:46 -0300
I can not set the channel when running the wi card in hostap mode, it seems to 
be blocked on channel 3 

it is a prism card which is ok and just worked minutes before on releng_6

I tried channel as channel id or freq with and without :b, no chance

it is not a display erro, the stations are definitly connected at channel 3 

wicontrol gives me with any option
wicontrol: SIOCGWAVELAN: Invalid argument


wi0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 
1500
        ether 00:02:6f:3a:98:b3
        media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b <hostap> 
(DS/2Mbps <hostap>)
        status: associated
        ssid CS channel 3 (2422 Mhz 11b) bssid 00:02:6f:3a:98:b3
        stationname AP-C
        authmode OPEN privacy MIXED deftxkey 1
        wepkey 1:40-bit
        wepkey 2:40-bit
        wepkey 3:40-bit
        wepkey 4:40-bit powersavemode OFF powersavesleep 100 txpowmax 100
        rtsthreshold 2346 fragthreshold 2346 bmiss 7 mcastrate 1 scanvalid 60
        -bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11a 14 roam:rate11a 12
        roam:rssi11b 14 roam:rate11b 1 roam:rssi11g 14 roam:rate11g 5 -pureg
        protmode CTS -wme -burst -ff -dturbo -hidessid -apbridge dtimperiod 1
        doth bintval 100
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether be:8f:ad:8b:d5:5d
        groups: bridge
        id 00:02:6f:3a:98:b3 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 150 timeout 1200
        root id 00:02:6f:3a:98:b3 priority 32768 ifcost 0 port 0
        member: vr0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
        member: wi0 flags=167<LEARNING,DISCOVER,STP,EDGE,AUTOEDGE,AUTOPTP>
                port 4 priority 128 path cost 1818181 proto rstp
                role designated state forwarding



-- 

Joćo







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
Received on Fri Aug 10 2007 - 22:39:21 UTC

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