From owner-freebsd-net@FreeBSD.ORG Mon Feb 7 08:11:17 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 D8EA31065672 for ; Mon, 7 Feb 2011 08:11:17 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7418D8FC14 for ; Mon, 7 Feb 2011 08:11:17 +0000 (UTC) Received: by fxm16 with SMTP id 16so4733254fxm.13 for ; Mon, 07 Feb 2011 00:11:16 -0800 (PST) Received: by 10.223.93.140 with SMTP id v12mr9834753fam.96.1297066276425; Mon, 07 Feb 2011 00:11:16 -0800 (PST) Received: from jessie.localnet (p5B2ECF7C.dip0.t-ipconnect.de [91.46.207.124]) by mx.google.com with ESMTPS id n3sm1039493fax.31.2011.02.07.00.11.14 (version=SSLv3 cipher=RC4-MD5); Mon, 07 Feb 2011 00:11:15 -0800 (PST) Sender: Bernhard Schmidt From: Bernhard Schmidt To: Alexander Zagrebin Date: Mon, 7 Feb 2011 09:11:02 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.32-28-generic; KDE/4.4.5; i686; ; ) References: <20110204060808.GA97298@gw.zagrebin.ru> <201102061132.41032.bschmidt@freebsd.org> <20110207061001.GB59910@gw.zagrebin.ru> In-Reply-To: <20110207061001.GB59910@gw.zagrebin.ru> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102070911.02791.bschmidt@freebsd.org> 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 Reply-To: bschmidt@freebsd.org 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 08:11:17 -0000 On Monday, February 07, 2011 07:10:01 Alexander Zagrebin wrote: > 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? For example, if you call 'ifconfig wlan0 ssid ' the new ssid is passed over using a IOCTL. It would be interesting to know what function in net80211 are called regarding beacon updates and which of those call into the run driver. Ultimately it's about figuring out if special handling for such cases are required and if so, how to do it. Thanks -- Bernhard