linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Alexander Simon <an.alexsimon@googlemail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH v2 2/4] cfg80211: Add cfg80211_get_bss_ht to also match HT configuration
Date: Wed, 31 Aug 2011 08:37:57 +0200	[thread overview]
Message-ID: <1314772677.4161.14.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <5559682.keg4y6PyKd@alex-1> (sfid-20110829_163151_961847_63AD57DE)

On Mon, 2011-08-29 at 16:30 +0200, Alexander Simon wrote:

> +/**
> + * cfg80211_get_bss_ht - search for an BSS in scan results
> + * @wiphy: the wiphy
> + * @bssid: BSSID to match, if set
> + * @ssid: SSID to match
> + * @ssid_len: length of the SSID
> + * @capa_mask: AND mask for capabilities comparison
> + * @capa_val: SSID capabilities to match
> + * @check_ht: if to match for an HT mode
> + * @ht_mode: HT mode to match
> + *
> + * Return the first BSS found in the last scan.
> + * No match return NULL.
> + */
> +struct cfg80211_bss *
> +cfg80211_get_bss_ht(struct wiphy *wiphy, struct ieee80211_channel *channel,
> +		    const u8 *bssid, const u8 *ssid, size_t ssid_len,
> +		    u16 capa_mask, u16 capa_val, bool check_ht,
> +		    enum nl80211_channel_type ht_mode);
> +
> +struct cfg80211_bss *
> +cfg80211_get_bss(struct wiphy *wiphy, struct ieee80211_channel *channel,
> +		 const u8 *bssid, const u8 *ssid, size_t ssid_len,
> +		 u16 capa_mask, u16 capa_val);

Make this an inline now.

I'm not happy. I told you this before. Next time I'm just going to say
"read my previous comments".

johannes


  reply	other threads:[~2011-08-31  6:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-29 14:15 [PATCH v2 1/4] nl80211: Parse channel type attribute in an IBSS join request Alexander Simon
2011-08-29 14:30 ` [PATCH v2 2/4] cfg80211: Add cfg80211_get_bss_ht to also match HT configuration Alexander Simon
2011-08-31  6:37   ` Johannes Berg [this message]
2011-09-09 14:07   ` Marek Lindner
2011-08-29 14:31 ` [PATCH v2 3/4] mac80211: Add HT helper functions Alexander Simon
2011-08-31  6:38   ` Johannes Berg
2011-08-29 14:32 ` [PATCH v2 4/4] mac80211: Add HT operation modes for IBSS Alexander Simon
2011-09-09 14:17   ` Marek Lindner
2011-08-31  6:36 ` [PATCH v2 1/4] nl80211: Parse channel type attribute in an IBSS join request Johannes Berg
2011-08-31 13:49   ` Alexander Simon
2011-09-01 13:18     ` Johannes Berg
2011-08-31 15:51 ` Marek Lindner
2011-08-31 16:44   ` Alexander Simon

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=1314772677.4161.14.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=an.alexsimon@googlemail.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).