From owner-freebsd-bugs@FreeBSD.ORG Mon May 14 12:20:09 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6C511065677 for ; Mon, 14 May 2012 12:20:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AEDAF8FC1A for ; Mon, 14 May 2012 12:20:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4ECK9qx025261 for ; Mon, 14 May 2012 12:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4ECK9mm025260; Mon, 14 May 2012 12:20:09 GMT (envelope-from gnats) Resent-Date: Mon, 14 May 2012 12:20:09 GMT Resent-Message-Id: <201205141220.q4ECK9mm025260@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johann Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB6E9106564A for ; Mon, 14 May 2012 12:17:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id B60C88FC12 for ; Mon, 14 May 2012 12:17:39 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q4ECHc82012726 for ; Mon, 14 May 2012 12:17:38 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q4ECHcnw012725; Mon, 14 May 2012 12:17:38 GMT (envelope-from nobody) Message-Id: <201205141217.q4ECHcnw012725@red.freebsd.org> Date: Mon, 14 May 2012 12:17:38 GMT From: Johann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/167870: [ath] adhoc wifi client does not join an existing IBSS if channel set manually X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2012 12:20:09 -0000 >Number: 167870 >Category: misc >Synopsis: [ath] adhoc wifi client does not join an existing IBSS if channel set manually >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: Mon May 14 12:20:09 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: When the channel is manually set with "ifconfig wlanX channel Y" for an Adhoc wifi client, then it does not join an existing IBSS (bssid not set). If the channel was not configured (bssid not set), then it works. >How-To-Repeat: Node A: ifconfig wlan0 create wlandev ath0 wlanmode adhoc ifconfig wlan0 inet 192.168.0.1/24 ssid mesh channel 13 bssid 66:98:40:46:b7:0a up ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:80:48:4f:28:4f inet6 fe80::280:48ff:fe4f:284f%wlan0 prefixlen 64 scopeid 0x7 inet6 fd9c:6829:597c:20:280:48ff:fe4f:284f prefixlen 64 inet6 fd9c:6829:597c:20:: prefixlen 64 anycast nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid mesh channel 13 (2472 MHz 11g) bssid 66:98:40:46:b7:0a regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 30 scanvalid 60 protmode CTS wme burst Node B: - with channel set (selects random bssid 72:5e:d0:6d:ad:84) ifconfig wlan0 create wlandev ath0 wlanmode adhoc ifconfig wlan0 inet 192.168.0.1/24 ssid mesh channel 13 up wlan0: flags=8843 metric 0 mtu 1500 ether 00:80:48:4f:2a:ee inet6 fe80::280:48ff:fe4f:2aee%wlan0 prefixlen 64 scopeid 0x7 inet6 fd9c:6829:597c:20:280:48ff:fe4f:2aee prefixlen 64 inet6 fd9c:6829:597c:20:: prefixlen 64 anycast nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid mesh channel 13 (2472 MHz 11g) bssid 72:5e:d0:6d:ad:84 regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 30 scanvalid 60 protmode CTS wme burst Node B: - with no channel set (joins existing IBSS - bssid 66:98:40:46:b7:0a) ifconfig wlan0 down ifconfig wlan0 channel - ifconfig wlan0 up ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:80:48:4f:2a:ee inet6 fe80::280:48ff:fe4f:2aee%wlan0 prefixlen 64 scopeid 0x7 inet6 fd9c:6829:597c:20:280:48ff:fe4f:2aee prefixlen 64 inet6 fd9c:6829:597c:20:: prefixlen 64 anycast nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid mesh channel 13 (2472 MHz 11g) bssid 66:98:40:46:b7:0a regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 30 scanvalid 60 protmode CTS wme burst Node B: with fixed channel ((selects random bssid 1a:34:1f:0a:b2:a8) ifconfig wlan0 down ifconfig wlan0 channel 13 ifconfig wlan0 up wlan0: flags=8843 metric 0 mtu 1500 ether 00:80:48:4f:2a:ee inet6 fe80::280:48ff:fe4f:2aee%wlan0 prefixlen 64 scopeid 0x7 inet6 fd9c:6829:597c:20:280:48ff:fe4f:2aee prefixlen 64 inet6 fd9c:6829:597c:20:: prefixlen 64 anycast nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid mesh channel 13 (2472 MHz 11g) bssid 1a:34:1f:0a:b2:a8 regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 30 scanvalid 60 protmode CTS wme burst >Fix: >Release-Note: >Audit-Trail: >Unformatted: