All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: Jouni Malinen <j@w1.fi>,
	"hostap@lists.shmoo.com" <hostap@lists.shmoo.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: Multiple-BSSID issues with hostapd
Date: Thu, 4 Dec 2014 20:04:04 +0100	[thread overview]
Message-ID: <5480B024.5050302@broadcom.com> (raw)
In-Reply-To: <CACna6rzGB7EvMbiteWGbwjdmx+LMZymdk_04L_RKiFkT0hokvA@mail.gmail.com>

On 12/04/14 13:03, Rafał Miłecki wrote:
> On 28 November 2014 at 10:27, Arend van Spriel<arend@broadcom.com>  wrote:
>> For the brcmfmac we started working on Multiple-BSSID support and came
>> across some issues with hostapd that are listed listed below.
>>
>> BSS1 setup on netdev wlan0
>> BSS2 setup on netdev wlan0_0
>>
>> * get_station() done on wrong netdev
>>
>> observed:
>> Upon association of STA1 with BSS2 (wlan0_0) a get_station() is done for
>> STA1 with wlan0 as netdev.
>> expected:
>> get_station() for STA1 with wlan0_0 as netdev. We verified that wlan0_0
>> ifindex was used in NL80211_CMD_NEW_STATION event.
>
> Did you do any progress on this?

Nope.

> According to the nl80211.h you are correct of course, every
> NL80211_CMD_foo_STATION command should include NL80211_ATTR_IFINDEX.
>
> There are two functions in driver_nl80211.c where
> NL80211_CMD_GET_STATION is used.
>
> 1) nl80211_get_link_signal
> It fills NL80211_ATTR_IFINDEX in the following way:
> NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, drv->ifindex);
>
> 2) i802_read_sta_data
> It fills NL80211_ATTR_IFINDEX in the following way:
> NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, if_nametoindex(bss->ifname));
>
> Did you track down which of the above functions in the one sending
> wrong NL80211_ATTR_IFINDEX?

Nope. We simply return empty sta_info. We used the hostapd that comes 
with Ubuntu 12.04 (i think) to assure it is usable. I suppose the code 
you mention here is driver_nl80211.c from the git repo. I intended to 
retry the scenario with hostapd build from git.

Regards,
Arend

  reply	other threads:[~2014-12-04 19:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-28  9:27 Multiple-BSSID issues with hostapd Arend van Spriel
2014-12-04 12:03 ` Rafał Miłecki
2014-12-04 19:04   ` Arend van Spriel [this message]
2015-03-01 17:12 ` Jouni Malinen
2015-03-01 17:30   ` Rafał Miłecki

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=5480B024.5050302@broadcom.com \
    --to=arend@broadcom.com \
    --cc=hostap@lists.shmoo.com \
    --cc=j@w1.fi \
    --cc=linux-wireless@vger.kernel.org \
    --cc=zajec5@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.