linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Andrew Zaborowski <andrew.zaborowski@intel.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH v2 3/4] cfg80211: Accept multiple RSSI thresholds for CQM
Date: Tue, 24 Jan 2017 10:44:22 +0100	[thread overview]
Message-ID: <1485251062.7244.10.camel@sipsolutions.net> (raw)
In-Reply-To: <CAOq732JhLoeMQSwadM=ReBv7gAy9zb1uQ9RZAzEtvyDo7je+ww@mail.gmail.com> (sfid-20170107_104335_299116_3D4EAE6E)

On Sat, 2017-01-07 at 04:43 -0500, Andrew Zaborowski wrote:

> With the basic mac80211 implementation in my patch 4/4 this feature
> should be set when IEEE80211_VIF_BEACON_FILTER is not set.  The
> problem with a nl80211_ext_feature is that it's per wiphy instead of
> per interface.  So in the case mac80211, it would need to be set if
> all interfaces can accept lists of thresholds and that can change
> dynamically as interfaces are added.  And nl80211 has no per-
> interface features.

Right - it doesn't even have that concept, and I'm not sure that really
makes sense.

> I wonder if it's better to add a ieee80211_hw_flags flag to advertise
> this feature per wiphy, or, as an approximation, set the flag based
> on the default interface that is created in ieee80211_register_hw.

I think we should just leave the new flag up to the driver then. The
only driver using per-interface beacon filtering (iwlwifi, afaik) will
either need to convert to actually handle it in the beacon filtering
case (which is the normal case anyway).

johannes

  reply	other threads:[~2017-01-24  9:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-12  1:52 [PATCH v2 2/4] cfg80211: Pass new RSSI level in CQM RSSI notification Andrew Zaborowski
2016-12-12  1:52 ` [PATCH v2 3/4] cfg80211: Accept multiple RSSI thresholds for CQM Andrew Zaborowski
2017-01-04 15:53   ` Johannes Berg
2017-01-04 20:19     ` Andrew Zaborowski
2017-01-05 11:49       ` Johannes Berg
2017-01-07  9:43         ` Andrew Zaborowski
2017-01-24  9:44           ` Johannes Berg [this message]
2016-12-12  1:52 ` [PATCH v2 4/4] mac80211: Add set_cqm_rssi_range_config Andrew Zaborowski

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=1485251062.7244.10.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=andrew.zaborowski@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    /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).