Search Linux Wireless

Re: [PATCH 00/13] o11s: mesh interface support for mac80211

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

 



On Feb 19, 2008 4:13 PM, Luis Carlos Cobo <luisca@xxxxxxxxxxx> wrote:
> On Thu, 2008-02-07 at 01:13 +0100, Johannes Berg wrote:
> > > - Scan support: we were waiting for scan to be moved to cfg80211 to avoid
> > >   messing unnecessarily with wext, is there any effort in this direction?
> >
> > What specifically do you need? Scanning for mesh networks? Wouldn't a
> > regular scan find them as well? As far as I know nobody is currently
> > working on scan support in nl80211. Maybe you can simply report the
> > relevant mesh IEs in a custom element and sort it out in userspace (for
> > now)?
>
> Currently, bss are sorted by ssid, bssid and frequency.

I wouldn't use "sort" here but instead "are made unique". As John has
mentioned in a recent thread this was done to account for "some
strange AP implementations that use the same BSSID either on different
frequencies or in different SSIDs". We actually don't currently sort
the list of BSSes by any specific value but the idea was to end up
sorting by signal strength measured, for which I have a base patch.
Userspace should then be sort by whatever key it wants to presents its
data to the user.

> In mesh beacons
> and (not yet implemented) mesh probes, the bssid is left zeroed and
> there is no ssid (actually there is a 0 length ssid IE), so all mesh
> networks in a single channel would collapse to one scan entry.

I can see how this can be an issue :)

> I can add
> the mesh IE, but I also need a substitute for those.
>
> One option would be to use mesh id as bssid and source address as bssid
> (with this we would get a different entry for every mesh peer in rage,
> not sure if that's what we want), maybe set the mode to IW_MODE_ADHOC
> and add the extra mesh IE. This way we would not need changes in the
> wireless extesions layer.

The key'ing of the BSSes based on BSSID/freq/SSID was just a to deal
with an issue, how about we just detect if a beacon is from a mesh and
if so add it to the list using another type of rule? Since we have no
BSSID/SSID strange issue we don't have to apply that rule there.

> I am also curious about the interfaces life cycle. Looks like interfaces
> report any available network (infra or adhoc), regardless their type.
> Then a network-manager-like interface would have to bring up an
> interface to be able to scan, and the if the user chooses a different
> kind of network (if the interface where the scan is performed is infra
> but the user chooses an ad-hoc network), change the type of the
> interface and the proceed to connect. Am I right?

Hopefully nothing will be added via wext, but instead nl80211/cfg80211.

  Luis
-
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