Re: [RFC v2 2/2] mac80211: only set CSA beacon when at least one beacon must be transmitted

Johannes Berg
2013-11-06T12:06:07Z

On Wed, 2013-11-06 at 11:52 +0000, Coelho, Luciano wrote:

> Right. I actually added this to the documentation, but I accidentally
> sent it as part of patch 1/2:
>
> > +++ b/include/net/mac80211.h
> > @@ -2676,11 +2676,13 @@ enum ieee80211_roc_type {
> > * @channel_switch_beacon: Starts a channel switch to a new channel.
> [...]
> > + * If the CSA count starts as zero or 1, this function will not be called,
> > + * since there won't be any time to beacon before the switch anyway.
>
> This change should be in patch 2/2 (actually these two patches should
> probably be squashed, I just kept them separate so that reviewing my v2
> would be easier).
>
> I can elaborate more in the documentation if you think it's necessary.

Ah, ok, I guess that's fine.

johannes