From owner-freebsd-current@FreeBSD.ORG Tue Jul 10 13:14:15 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 708A716A46B for ; Tue, 10 Jul 2007 13:14:15 +0000 (UTC) (envelope-from sfpoof@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by mx1.freebsd.org (Postfix) with ESMTP id 257E813C457 for ; Tue, 10 Jul 2007 13:14:14 +0000 (UTC) (envelope-from sfpoof@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1022786wxd for ; Tue, 10 Jul 2007 06:14:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=TLQb7OUCahvg4eqPy0zlpoAvxIApGdiLKDswqkbPfK7hjPNaUpUcjFwJ6QF6tmlmy395MZOhBUIJvJKpbZjuWAcHVM+t0JhCgUghyuVtuVanJUmW/94Cljcfz5QQb72ZNB7i+FG6EPUUafszXaEH3Kmxu6GqcofbwEesnvG/AL8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=qXP+ywTUNKE0ZYR9Yb2Z8PmwyGLqdGyT25R8dEkEsk0nqEv8SW0HISJiCjOwq4eLz36ap36jZ5ulwIbau7jIEc+WE/TAUdB+raT1lLD02XcY1DqChBzsu0kEKTNu7rls6BJGMQ2qihZ6tET58xUruxmVSsVzLAT5WvVWE7zMuio= Received: by 10.90.68.15 with SMTP id q15mr2808141aga.1184073252919; Tue, 10 Jul 2007 06:14:12 -0700 (PDT) Received: by 10.90.100.16 with HTTP; Tue, 10 Jul 2007 06:14:12 -0700 (PDT) Message-ID: Date: Tue, 10 Jul 2007 06:14:12 -0700 From: "Kevin Gerry" To: "Sam Leffler" In-Reply-To: <46930F7A.6020007@errno.com> MIME-Version: 1.0 References: <468488B3.7010607@errno.com> <46848C1E.2080404@errno.com> <46930F7A.6020007@errno.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Sepherosa Ziehau , freebsd-current@freebsd.org Subject: Re: Wireless NICs not obeying 'SSID' setting. 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: Tue, 10 Jul 2007 13:14:15 -0000 For sure, a mandatory option would be wonderful to be added to the wlan driver. I just find it surprising that after being 'down' for 1-2 seconds, it reassigns to another AP. One of the big 'pains in the butt' is that if I was using that card to NAT off of, I could easily be breaking the law in some US states. On 7/9/07, Sam Leffler wrote: > > Kevin Gerry wrote: > > Well, this is all it gave when it switched: > > > > -- > > messages.0:Jul 9 17:21:22 storage kernel: ral0: sta_roam_check: currssi > > 23 currate 108 roamrssi 14 roamrate 10 > > messages.0:Jul 9 17:21:37 storage kernel: ral0: link state changed to > DOWN > > messages.0:Jul 9 17:21:39 storage kernel: ral0: link state changed to > UP > > messages.0:Jul 9 17:21:54 storage kernel: ral0: sta_roam_check: currssi > > 45 currate 108 roamrssi 14 roamrate 10 > > Looks like you moved to another ap not because of roaming but because > you were dropped from your original ap. This can happen for various > reasons but the fact that you did not go back to it means the station > could not communicate w/ the ap so it chose another one. There are > other wlandebug knobs you can turn on to see exactly what happened (e.g. > state+scan). You can also look at wlanstats output and identify what > happened (probably). > > I changed the behaviour of setting the ssid from being mandatory to > "desired" for various reasons but it's likely I'll have to add back a > way to make it mandatory. But then you'll likely find yourself taking a > long time to re-connect to your ap if the ral card isn't being reset > properly or otherwise getting into a bad state (ral has known issues). > A well-behaved card+driver should locate the ap you want during the > re-scan and/or it should roam quickly if it misses the ap but then picks > it up on a bg scan. > > Sam >