From: Johannes Berg <johannes@sipsolutions.net>
To: tamizhr@codeaurora.org
Cc: linux-wireless@vger.kernel.org, tamizhr@qti.qualcomm.com
Subject: Re: [PATCH 4/4] mac80211: implement cqm using rx data signal
Date: Mon, 22 Jan 2018 14:01:54 +0100 [thread overview]
Message-ID: <1516626114.2508.27.camel@sipsolutions.net> (raw)
In-Reply-To: <1516174276-16789-5-git-send-email-tamizhr@codeaurora.org>
On Wed, 2018-01-17 at 13:01 +0530, tamizhr@codeaurora.org wrote:
>
> + if (!fast_rx->uses_rss) {
> ewma_signal_add(&sta->rx_stats_avg.signal,
> -status->signal);
> + sta->count_rx_signal++;
> + if (sta->count_rx_signal >=
> + IEEE80211_STA_SIGNAL_AVE_MIN_COUNT)
> + ieee80211_sta_rx_signal_thold_check(rx);
> + }
>
Obviously this also means that not all mac80211 drivers will get the
feature, which also means we really do need a feature bit for it, and
one that mac80211 can only set if the driver promised not to use RSS.
johannes
prev parent reply other threads:[~2018-01-22 13:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-17 7:31 [PATCH 0/4] cfg80211/mac80211: cqm rssi config for AP mode tamizhr
2018-01-17 7:31 ` [PATCH 1/4] wireless: allow send peer mac in rssi cqm notify tamizhr
2018-01-22 12:56 ` Johannes Berg
2018-01-17 7:31 ` [PATCH 2/4] cfg80211: enable setting cqm config for AP mode tamizhr
2018-01-22 12:56 ` Johannes Berg
2018-01-22 13:01 ` Johannes Berg
2018-01-17 7:31 ` [PATCH 3/4] mac80211: " tamizhr
2018-01-22 12:57 ` Johannes Berg
2018-01-17 7:31 ` [PATCH 4/4] mac80211: implement cqm using rx data signal tamizhr
2018-01-22 13:01 ` Johannes Berg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1516626114.2508.27.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=tamizhr@codeaurora.org \
--cc=tamizhr@qti.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).