From owner-freebsd-wireless@FreeBSD.ORG Tue May 29 20:37:28 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F581106566B for ; Tue, 29 May 2012 20:37:28 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id CBB468FC08 for ; Tue, 29 May 2012 20:37:27 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so6764471pbb.13 for ; Tue, 29 May 2012 13:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vM3rWo1Q1S/pPmI+k8OfdXyrEwJToLonVFye/O2q7Xg=; b=Jxu58htKNOIFu7PvH2Tj7f6eO6XhL3FkUWsYuJLTvzleW4VsSlGG3Um4ZV7/tGOEcD wNILz8WX/Txm97VDI+IU/vcMww/hGNpzRRxzkUs5Awr2MINBVjDemUhMILpvCGJB3PSV X5kLPHWraOixCQK2t6xOqjO0NcO8smWq1zdxrOSi/T67xXo4Sg/mDN/F6HNKKaT1cE7n fG65CBQ/gBVzVd0+VPvgPj4pWb781P6IAVSyDBdPhbmJ4n36Ywv1HMOtlqTqCU4VwZ08 ZswuQO9tvrP6Ml174xQRD1aQd77IdoMGAnpF6xxicv9PZXD8H7Ks/YaNEqgYDfOc2MEk Tmew== MIME-Version: 1.0 Received: by 10.68.234.35 with SMTP id ub3mr42028192pbc.8.1338323847245; Tue, 29 May 2012 13:37:27 -0700 (PDT) Received: by 10.142.203.2 with HTTP; Tue, 29 May 2012 13:37:27 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 May 2012 13:37:27 -0700 Message-ID: From: Adrian Chadd To: Monthadar Al Jaberi Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ifconfig txpower and ni->ni_txpower are disconnected? X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2012 20:37:28 -0000 [punting to -wireless, as we should really have an open discussion about this kind of thing] On 29 May 2012 12:04, Monthadar Al Jaberi wrote: > Hi > > I have been testing the txpower power thing abit, and I noticed > something. Thought I hear what you think before I patch. I have tested > with Witness/Invariants and didnt get any warning messages. Ok, good. Let's just do a final review of what's going on with that code path before we commit it. > The thing is this: > > ifconfig wlan0 txpower controls global txpower. Its the device limit. > > ifconfig wlan0 statxpower controls txpower for frames associated to a node. > > But I am missing a txpower that controls boradcast frames. Would you > see it logical if I implement something like > > ifconfig wlan0 statxpower FF:FF:FF:FF:FF:FF ?? > > > for now beacons are sent with max txpower, which I can change by > ifconfig txpower. But I want to control broadcast message Right. So this is where things get a bit "special". Is this global or per-vap? Ie, do you want to be able to set the TX power for multicast and beacon traffic per-VAP or just per-interface? I think I'm at the point where I'd better just implement per-packet TPC on the 11n chips so we at least have something to test with. Adrian