Skip to content

RFC mesh/wds channel changes & clarifications

Johannes Berg linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cfg80211: provide channel to join_mesh functioninclude/net/cfg80211.h net/mac80211/cfg.c net/wireless/core.h +3 more+147 -132 replies
2/3cfg80211: disallow setting channel on WDS interfacesnet/wireless/nl80211.c net/wireless/wext-compat.c+2 -50 replies
3/3cfg80211: clarify set_channel APIsdrivers/net/wireless/libertas/cfg.c drivers/net/wireless/orinoco/cfg.c include/net/cfg80211.h +8 more+97 -970 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] mesh/wds channel changes & clarifications

This shows the direction I want to take the cfg80211 APIs in wrt. channel settings.

After these patches, there is no more set_channel(), and set_monitor_channel() is only available when you
* set the channel on a wiphy
* set the channel on a monitor netdev
* set the channel using wext on an unassociated managed interface

All these translate into setting the monitor channel though.

The sole exception is for libertas, so I split that out into a new function that only it will ever have. Not the best thing to do, but I don't really see any good choice that doesn't break libertas.

Note that this requires a lot of patches I've sent over the last two days, or you can find all of them on http://j.sipsolutions.net/patches/kernel/all/LATEST/

johannes