On 2018-03-23 19:14, Johannes Berg wrote:
On Fri, 2018-03-23 at 19:11 +0530, ako...@codeaurora.org wrote:
> > +
> > + sinfo->expected_throughput =
> > +
> > ewma_sta_txrate_read(&arsta->ave_sta_txrate);
> > + sinfo->filled |=
> > BIT(NL80211_STA_INFO_EXPECTED_THROUGHPUT);
> > +}
On Fri, 2018-03-23 at 19:11 +0530, ako...@codeaurora.org wrote:
>
> > > +
> > > + sinfo->expected_throughput =
> > > +
> > > ewma_sta_txrate_read(&arsta->ave_sta_txrate);
> > > + sinfo->filled |=
> > > BIT(NL80211_STA_INFO_EXPECTED_THROUGHPUT);
> > > +}
Hi Sven,
Thanks for the review.
On 2018-03-23 13:39, Sven Eckelmann wrote:
On Freitag, 23. März 2018 13:07:00 CET Anilkumar Kolli wrote:
[...]
+static u32 ath10k_get_expected_throughput(struct ieee80211_hw *hw,
+ struct ieee80211_sta *sta)
+{
+ str
On Freitag, 23. März 2018 13:07:00 CET Anilkumar Kolli wrote:
[...]
> +static u32 ath10k_get_expected_throughput(struct ieee80211_hw *hw,
> + struct ieee80211_sta *sta)
> +{
> + struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
> + u3
Enable support for 'drv_get_expected_throughput' callback.
Export expected throughput if available to cfg80211/nl80211.
Signed-off-by: Anilkumar Kolli
Signed-off-by: Tamizh chelvam
---
drivers/net/wireless/ath/ath10k/core.h |5 +
drivers/net/wireless/ath/ath10k/mac.c | 17 +++