linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arend van Spriel <aspriel@gmail.com>
To: Arend van Spriel <arend@broadcom.com>, johannes@sipsolutions.net
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [RFC 0/2] nl80211: allow configuration of BSS selection
Date: Fri, 25 Dec 2015 11:08:56 +0100	[thread overview]
Message-ID: <567D15B8.6080704@gmail.com> (raw)
In-Reply-To: <1450959550-19655-1-git-send-email-arend@broadcom.com>

On 24-12-15 13:19, Arend van Spriel wrote:
> This patch series adds support for configuration of BSS selection done by
> the driver and/or firmware. It allows user-space to pass selection criteria
> with the NL80211_CMD_CONNECT using NL80211_ATTR_BSS_SELECT. When user-space
> does provide this attribute and no explicit BSSID is provided it will pass
> the BSS selection criteria to the driver if the driver supports it.
> 
> When multiple BSS-es are found belonging to the same ESS, ie. Infra-BSS with
> same SSID, the criteria can be used to select a BSS. The criteria defined are:
> 
> 1. select BSS in specific band regardless RSSI level.

Not really regardless, but band would take precedence. So if there are
two BSS-es in the specified band it will still select the one with
highest RSSI.

> 2. adjust RSSI level for BSS-es in specified band.

I defined the attribute as unsigned, but maybe there are scenarios that
justify a signed value here. People may prefer using 5G band as it is
usually more quiet and channels are further apart. However, range can be
limited so people may use a penalty on RSSI, ie. a negative value.

Gr. AvS

> Open issue:
> -----------
> * NL80211_CMD_CONNECT support ATTR_MAC and ATTR_MAC_HINT. When ATTR_MAC is
>   used BSS selection criteria are ignored. What about ATTR_MAC_HINT?
> 
> Arend van Spriel (2):
>   nl80211: add extended feature for BSS selection support
>   brcmfmac: add support for nl80211 BSS_SELECT feature
> 
>  drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c | 47 ++++++++++++++++++++++
>  drivers/net/wireless/brcm80211/brcmfmac/common.c   | 38 ++++++++++-------
>  drivers/net/wireless/brcm80211/brcmfmac/core.h     |  1 +
>  include/net/cfg80211.h                             | 17 ++++++++
>  include/uapi/linux/nl80211.h                       | 35 ++++++++++++++++
>  net/wireless/nl80211.c                             | 46 +++++++++++++++++++++
>  6 files changed, 169 insertions(+), 15 deletions(-)
> 

      parent reply	other threads:[~2015-12-25 10:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-24 12:19 [RFC 0/2] nl80211: allow configuration of BSS selection Arend van Spriel
2015-12-24 12:19 ` [RFC 1/2] nl80211: add extended feature for BSS selection support Arend van Spriel
2016-01-05  9:25   ` Johannes Berg
2016-01-05  9:50     ` Arend van Spriel
2016-01-05 16:31       ` Johannes Berg
2016-01-06 10:16         ` Arend van Spriel
2016-01-06 14:36           ` Johannes Berg
2016-01-06 14:37             ` Johannes Berg
2016-01-07 12:52             ` Arend van Spriel
2016-01-07 14:41               ` Johannes Berg
2016-01-08  9:18                 ` Arend van Spriel
2015-12-24 12:19 ` [RFC 2/2] brcmfmac: add support for nl80211 BSS_SELECT feature Arend van Spriel
2015-12-25 10:08 ` Arend van Spriel [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=567D15B8.6080704@gmail.com \
    --to=aspriel@gmail.com \
    --cc=arend@broadcom.com \
    --cc=johannes@sipsolutions.net \
    --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).