Search Linux Wireless

Re: 802.11s mode without HWMP

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

 



On Tue, May 20, 2014 at 7:36 PM, Thomas Pedersen <thomas@xxxxxxxx> wrote:
> Hi Henning,
> mac80211 keeps a separate table for bridged endpoints (mpp_paths).
> Unfortunately this table currently isn't exported by the cfg80211
> mpath_dump API. If you really need access to this information from
> cfg80211 / userspace, then the quickest thing for now would be to hack
> in support for iterating over both tables.
>
> I'm not really sure why the decision was made to go with 2 different
> path tables (see 79617dee for the initial implementation), but it
> seems the cleaner approach would be to merge these and stick with the
> existing mpath_dump commands.

After looking at both tables (especially the m***_path_add()
functions) I think the two tables could be joined.

Mesh-nodes could be just a special case where mpp and dst is the same
address. The alternative would be to have a flag that states the same
thing.

I don't even think this would slow down the path_lookup that much,
because normally the proxied destinations should be in different hash
buckets than the normal ones.

Of course cfg80211 would have to deliver both mpp and dst to
userspace, I am not quite sure how to do this without breaking
compatibility in the output. Maybe an additional netlink command (dump
"full" mpath?) would be better than putting more output into the
existing one.

Henning Rogge
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux