On Wed, 2020-06-17 at 17:37 +0000, Shay Bar wrote: > Channel switch is invoked from user-space while collision will always > be invoked from kernel. > Driver/mac80211 can handle the cca IE addition/counter and update > hostapd with the new color when finish CAC. > This way, kernel can determine the initial color > (random/fixed/scan/other method) and update hostapd at startup, > Later, upon collision handle all the change (including IE addition > with counter) in kernel and update hostapd with the new color once > done. I'm not sure this is a good idea? What if this collides with hostapd updating the beacon? Or what if hostapd wants to change the color later for some reason? Or if we get a concurrent CSA? Especially that last point seems a bit tricky, if we have it both in hostapd at least we can decide not to do them in parallel? OTOH, if we do this one in the kernel it might be a bit easier to do them in parallel (at the expense of the more complex code), but is that desirable? Will clients understand it? johannes _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap