From owner-freebsd-net@FreeBSD.ORG Mon Feb 7 06:10:05 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 197E1106564A; Mon, 7 Feb 2011 06:10:05 +0000 (UTC) (envelope-from alex@zagrebin.ru) Received: from mail.zagrebin.ru (gw.zagrebin.ru [91.215.205.128]) by mx1.freebsd.org (Postfix) with ESMTP id B31008FC16; Mon, 7 Feb 2011 06:10:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zagrebin.ru; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=hGiyVh4R3Vpbp/sLMLnGsa94Oqbk9MPAFAT6QOEDDDY=; b=sglOjb6rLI3Q+B3RZVSAB0ufECEQko8ClC9KtdjbqDWgCHoOZ+gw8P3bUtnKYccW9xo0ll8+A9l0V0/+9f2zUmfXzF/DnQtX/j9+MUFfTepEby7Zn0TEIiQuQDV5wvMIJUA83QfiEsI8bKPQtPcny7tkJEISjn3ehW5n1PChKoM=; Received: from alex by mail.zagrebin.ru with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1PmKIU-000Fgt-0l; Mon, 07 Feb 2011 09:10:02 +0300 Date: Mon, 7 Feb 2011 09:10:01 +0300 From: Alexander Zagrebin To: Bernhard Schmidt Message-ID: <20110207061001.GB59910@gw.zagrebin.ru> References: <20110204060808.GA97298@gw.zagrebin.ru> <201102040951.34201.bschmidt@freebsd.org> <20110204223339.GA12555@gw.zagrebin.ru> <201102061132.41032.bschmidt@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201102061132.41032.bschmidt@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@freebsd.org Subject: Re: if_run in hostap mode: issue with stations in the power save mode X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2011 06:10:05 -0000 Hi! On 06.02.2011 11:32:40 +0100, Bernhard Schmidt wrote: > > I had the doubts about ability to change or hide/unhide the SSID, but > > it works too. It seems that after `ifconfig wlan0 ssid ...` or > > `ifconfig wlan0 (hidessid|-hidessid)` the following occurs: > > 1. run_newstate() is called > > 2. run_newstate() invokes run_update_beacon_cb() > > 3. run_update_beacon_cb() invokes ieee80211_beacon_update() > > But I couldn't understand where ieee80211_beacon_update() can change > > a SSID... > > As I see it, it can't. Only a call to ieee80211_beacon_construct() would > do that. Can I talk you into figuring out what's going on here? Getting > a definitive statement about SSID changes are correctly handled (by > means of a trace) would help alot. Yes, sure! What kind of information you need? -- Alexander Zagrebin