misc/167798: problem with "ifconfig list scan" command in ad-hoc mode

Johann jhugo at meraka.csir.co.za
Fri May 11 14:00:27 UTC 2012


>Number:         167798
>Category:       misc
>Synopsis:       problem with "ifconfig list scan" command in ad-hoc mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 11 14:00:27 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Johann
>Release:        9.0-STABLE
>Organization:
CSIR
>Environment:
FreeBSD mesh-2aee 9.0-STABLE FreeBSD 9.0-STABLE #1: Tue Feb 14 09:13:11 SAST 2012     jhay at magrathea.meraka.csir.co.za:/var/scratch/9-stable/obj/i386.i386/var/scratch/9-stable/src/sys/SMALL  i386
>Description:
The "ifconfig list scan" command does not work in adhoc mode if the channel was manually set with "ifconfig wlanX channel Y" 

It only works if the channel was not configured.
>How-To-Repeat:
ifconfig wlan0 create wlandev ath0 wlanmode adhoc
ifconfig wlan0 bssid 66:98:40:46:b7:0a up
ifconfig wlan0 list scan
SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
meraka          0a:02:6f:8b:b6:93   11   54M -91:-96  100 EPS  WME RSN ATH
CSIR Guest      06:02:6f:8b:b6:93   11   54M -90:-96  100 ES   WME ATH

------------------------------------------------------------------
Now lock the channel, after that "list scan" gives no more output.
------------------------------------------------------------------
ifconfig wlan0 down
ifconfig wlan0 channel 13 up
ifconfig wlan0 list scan

------------------------------------------------------------------
Remove the channel selection and it works again
------------------------------------------------------------------
ifconfig wlan0 down
ifconfig wlan0 channel -
ifconfig wlan0 up
mesh-2aee:~ # ifconfig wlan0 list scan
SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
CSIR Wireless   00:02:6f:8b:b6:93   11   54M -89:-96  100 EPS  WME RSN ATH
CSIR Guest      06:02:6f:8b:b6:93   11   54M -90:-96  100 ES   WME ATH

>Fix:


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


More information about the freebsd-bugs mailing list