From owner-freebsd-current@FreeBSD.ORG Mon Feb 27 12:29:40 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA21E16A420 for ; Mon, 27 Feb 2006 12:29:40 +0000 (GMT) (envelope-from shigeru@iij.ad.jp) Received: from omgo.iij.ad.jp (omgo.iij.ad.jp [202.232.30.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2129243D8C for ; Mon, 27 Feb 2006 12:29:23 +0000 (GMT) (envelope-from shigeru@iij.ad.jp) Received: OTM-MO id k1RCTJ1H006528; Mon, 27 Feb 2006 21:29:19 +0900 (JST) DomainKey-Signature: a=rsa-sha1; s=omgo; d=iij.ad.jp; c=nofws; q=dns; h=date:message-id:to:cc:from:in-reply-to:references:x-mailer: mime-version:content-type:content-transfer-encoding; b=Iw0ozjVUu8ERxy+TwTXw1pkwkGaTB7cFqGrYucjyMrYjTxZ9aOEJqc8vnT/iiDdUM yI7t1rTN4Sskh98JEQNgA== Received: OTM-MIX0 id k1RCTIFt026736; Mon, 27 Feb 2006 21:29:19 +0900 (JST) Received: from localhost (mercury.iij.ad.jp [192.168.184.90]) by jc-smtp.iij.ad.jp (JC-SMTP/jc-smtp) id k1RCTIxE001316; Mon, 27 Feb 2006 21:29:18 +0900 (JST) Date: Mon, 27 Feb 2006 21:29:18 +0900 (JST) Message-Id: <20060227.212918.78702145.shigeru@iij.ad.jp> To: sam@errno.com From: Yamamoto Shigeru In-Reply-To: <43F60C99.2090006@errno.com> References: <43F3FAF3.7010000@errno.com> <20060217.122420.38719049.shigeru@iij.ad.jp> <43F60C99.2090006@errno.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: HEADSUP: new ath+hal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 12:29:40 -0000 Hi, sam, I install 20060130 current to same note PC to compare 'current 20060130' and 'current 20060222'. After installing, I watch control message with 'tcpdump -n -i ath0 -y IEEE802_11'. When using '20060130 current', I can watch "Probe request" from my note PC. But I can't watch "Probe request" when using '20060222 current'. I add 'printf()' to codes and I check when 'IEEE80211_CHAN_PASSIVE' is set. I found ath_getchannels() at @src/sys/dev/ath/if_ath.c sets 'IEEE80211_CHAN_PASSIVE', because 'CHANNEL_PASSIVE' in channelFlags is set. I think ath driver send "Probe request" if ignore 'CHANNEL_PASSIVE' in channelFlags. So I add a code to ignore 'CHANNEL_PASSIVE' and to unset 'IEEE80211_CHAN_PASSIVE'. I test this test code at "broadcast SSID in beacon", and my note PC can associate an AP. It seems me current ath hal returns 'CHANNEL_PASSIVE' for all channels. In @src/sys/contrib/dev/ath/ah.h, comment for 'CHANNEL_PASSIVE' is "Only passive scan allowed in the channel". Does it mean my note PC can't send a probe message? Thanks, ------- YAMAMOTO Shigeru