[PATCH 1/6] bss coloring: add support for handling collision events and triggering CCA
Ryder Lee
ryder.lee at mediatek.com
Thu Nov 4 22:40:07 PDT 2021
> > + /* check if there has been a recent collision */
> > + if (now.sec - hapd->last_color_collision.sec >= 10)
> > + return;
>
> What is this trying to do? Skip changes if there has not been
> additional
> collisions during the last 10 seconds of the previously scheduled 50
> second timeout? What is that 10 seconds based on?
Yes, 10s is the approximate margin of collision persistent for current
implementation. Therefore a driver needs to report collision events
constantly to update the last_color_collision.sec to trigger CCA. I
could add some comments on this as an initial implementation and a todo
for note - maybe we can come out with a better method in the future.
Ryder
More information about the Hostap
mailing list