Search Linux Wireless

Re: [PATCH 1/1] mac80211: add sta_notify callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/17/07, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> On Mon, 2007-09-17 at 15:42 +0200, Tomas Winkler wrote:
>
> > +     void (*sta_notify)(struct ieee80211_hw *hw,
> > +                             sta_notify_cmd cmd, const u8 *addr);
>
> I have plans to make the sta_info structs per-netdev so that we can
> support having the same station associate to multiple virtual APs and
> not hurting WDS links etc. This is not too hard, but needs some thought.
>
> However, for this callback to be correct when the same sta_info struct
> can be present for multiple virtual interfaces, we need to be able to
> distinguish somehow, so this callback should probably get an if_idx that
> allows a driver to map to the right interface because in add_interface
> it was given the same if_idx.
>
> I know this doesn't matter for iwlwifi because it only supports a single
> local MAC address and currently not even WDS/AP mode at the same time
> (nor AP mode at all? haven't checked).

Actually I'm interested in this feature 4965AGN HW supports multiple
MAC addresses.
Need to enabled it also in the driver but this is few month away till
I get there.

> And I wonder if there will ever

AP mode is functional yet not the whole code is  published I want to
roll it in slowly and I need the patch I sent for it.
The legacy AP mode (not 11n) should be functional even on the current code base.

> be any hardware that cares and supports the configuration that would
> require it Should we just leave it and add a comment that when the
> driver supports multiple interfaces this callback is unusable?

It

> Thoughts? Do you have plans to, say, support combined WDS/AP modes?
Yes
If
> so, would the firmware be able to distinguish between the same STA
> sending WDS frames and trying to associate?
Yes it will

I don't know if any current
> software supports that but I see nothing precluding it either. Or say
> you have a WDS interface and also associate with a client interface to
> the same AP; we could easily do that with b43 by allowing WDS interfaces
> with the same MAC address in parallel all the time.
>
> johannes
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux