RE: [PATCH 1/2] mac80211/wlcore: Add ieee80211_hw variable to get_expected_throughput

From: Altshul, Maxim
Date: Wed Aug 10 2016 - 16:51:49 EST


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