linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christian Felsing <hostmaster@taunusstein.net>
To: linux-wireless@vger.kernel.org
Subject: Re: Multiple BSSID problem with hostapd
Date: Sun, 02 Aug 2009 08:33:33 +0200	[thread overview]
Message-ID: <4A75333D.9070100@taunusstein.net> (raw)
In-Reply-To: <4A73F9CB.8000606@taunusstein.net>

After investigating source code following function caused my problem:

static int i802_bss_add(void *priv, const char *ifname, const u8 *bssid)
{
        int ifidx;

        /*
         * The kernel supports that when the low-level driver does,
         * but we currently don't because we need per-BSS data that
         * currently we can't handle easily.
         */
        return -1;

        ifidx = nl80211_create_iface(priv, ifname, NL80211_IFTYPE_AP,
bssid);
        if (ifidx < 0)
                return -1;
        if (hostapd_set_iface_flags(priv, ifname, 1)) {
                nl80211_remove_iface(priv, ifidx);
                return -1;
        }
        return 0;
}

Obviously hostapd does not support multiple SSIDs because that function
returns always an error.

It would be nice to mention that in documentation...

Christian


  reply	other threads:[~2009-08-02  6:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-01  8:16 Multiple BSSID problem with hostapd Christian Felsing
2009-08-02  6:33 ` Christian Felsing [this message]
2009-08-17 10:23   ` Jouni Malinen
2009-08-17 10:25     ` Christian Felsing

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=4A75333D.9070100@taunusstein.net \
    --to=hostmaster@taunusstein.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).