From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933091AbcHJUvU (ORCPT ); Wed, 10 Aug 2016 16:51:20 -0400 Received: from bear.ext.ti.com ([198.47.19.11]:49504 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933075AbcHJSLk (ORCPT ); Wed, 10 Aug 2016 14:11:40 -0400 From: "Altshul, Maxim" To: Johannes Berg , "linux-kernel@vger.kernel.org" CC: "john.stultz@linaro.org" , Kalle Valo , Eliad Peller , "Machani, Yaniv" Subject: RE: [PATCH 1/2] mac80211/wlcore: Add ieee80211_hw variable to get_expected_throughput Thread-Topic: [PATCH 1/2] mac80211/wlcore: Add ieee80211_hw variable to get_expected_throughput Thread-Index: AQHR7k0rvt6HGsVs9USjRnz3fDXuTKA6Kf4AgAAAjQCAAC5WI4AABqmAgAMgj1CAAPj/gIAANfOggAF6dgCAAbH7kA== Date: Wed, 10 Aug 2016 08:03:53 +0000 Message-ID: References: <20160804124314.7636-1-maxim.altshul@ti.com> <20160804124314.7636-2-maxim.altshul@ti.com> <1470399762.2977.40.camel@sipsolutions.net> ,<1470399880.2977.41.camel@sipsolutions.net> <1470411261.2977.43.camel@sipsolutions.net> <1470636651.2597.10.camel@sipsolutions.net> <1470729510.28531.13.camel@sipsolutions.net> In-Reply-To: <1470729510.28531.13.camel@sipsolutions.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.167.188.42] x-exclaimer-md-config: f9c360f5-3d1e-4c3c-8703-f45bf52eff6b Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u7AKppJe006118 On Tue, Aug 09, 2016 at 10:58:30, Johannes Berg wrote: > Subject: Re: [PATCH 1/2] mac80211/wlcore: Add ieee80211_hw variable to > get_expected_throughput > > > > If you approve the mesh patch, then I will send two patches: > > 1. Check for sta->uploaded in the drv wrapper (will change the drv > > wrapper header to get sta_info) 2. v4 for the mesh patch with > > respect to header change in patch 1. > > I don't think adding the check changes anything wrt. the mesh patch? > I thought about changing the header of drv_get_expected_throughput to receive sta_info *sta so that I can get sta->uploaded from that. I could use get container of &sta->sta to get sta->uploaded, but I think it's better to get the pointer directly? Max