From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <1398440716.4152.27.camel@jlt4.sipsolutions.net> From: Johannes Berg Date: Fri, 25 Apr 2014 17:45:16 +0200 In-Reply-To: <1397484205-20905-3-git-send-email-antonio@meshcoding.com> References: <1397484205-20905-1-git-send-email-antonio@meshcoding.com> <1397484205-20905-3-git-send-email-antonio@meshcoding.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [B.A.T.M.A.N.] [PATCH 3/7] mac80211: add new RC API to retrieve expected throughput Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Antonio Quartulli Cc: devel@lists.open80211s.org, b.a.t.m.a.n@lists.open-mesh.org, linux-wireless@vger.kernel.org, Antonio Quartulli On Mon, 2014-04-14 at 16:03 +0200, Antonio Quartulli wrote: > From: Antonio Quartulli > > In order to make mac80211 export the expected throughput, > a new API which extracts such information from any mac80211 > SW RC algorithm is needed. > Therefore add the new get_expected_throughput() member > to the rate_control_ops structure. > > The exported value is expressed in Mbps/100. Such unit has > been chosen because it is the highest precision that > MinstrelHT can return. Same as in patch 2 - and realistically 2/3/4 could just be squashed. johannes