Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2012 13:54:21 GMT
From:      Johann <jhugo@meraka.csir.co.za>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/167798: problem with "ifconfig list scan" command in ad-hoc mode
Message-ID:  <201205111354.q4BDsLi0074187@red.freebsd.org>
Resent-Message-ID: <201205111400.q4BE0RsN041211@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205111354.q4BDsLi0074187>