Search Linux Wireless

Re: [PATCH v4 2/5] mac80211: use chanctx reservation for AP CSA

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

 



On 7 May 2014 13:17, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> On Wed, 2014-05-07 at 11:41 +0200, Michal Kazior wrote:
>
>> > I'm not really sure how this would work though - drivers that have
>> > firmware generating beacons don't generally seem to be in a position to
>> > just stop that aspect and continue operating otherwise, with active
>> > clients and all that. It seems to me this might be really difficult to
>> > implement.
>>
>> Yeah. This seems like a problem for template drivers. But on the other
>> hand if they are capable of handling CSA IE counter they should
>> understand CSA, shouldn't they?
>
> Yeah but that doesn't mean they can simply stop beaconing for "extended"
> periods of time.

We can't really guarantee how long we'll need to stop beaconing for.

Assume: AP+STA. Start AP CSA bcn_int=100ms, cs_count=5. While CSA
progresses STA receives cs_count=100 (with bcn_int=100ms).

This is all theory and in practice you won't get cs_count that big and
the lag greater shouldn't be greater than 5 or 6 beacon intervals. Is
that an "extended" period of time? I don't know. Should we even worry
about this? I don't think so.


>> > Remind me why we're doing this - didn't you originally have something in
>> > mind that was forcing them all to be synchronized with the switch?
>>
>> No, not really.
>>
>> With per-vif CSA requests you can end up submitting requests between
>> vif TBTTs, no? Having an atomic "switch vif1,vif2,vif3 to chanX" could
>> help - although currently ieee80211_beacon_get() isn't really
>> synchronized well so you still hit the problem.
>>
>> And how do you expect to deal with multi-vif with APs with different
>> beacon intervals? Those inherently can't be tightly synchronized. The
>> same goes for AP+STA if you start AP first (with the other way around
>> you could, in theory, match STA's AP TBTT with your own).
>
> I'm not really sure all of these are cases that we need to consider
> though?
>
> Multi-BSS I totally see, but if you're trying to do that with different
> beacon intervals you're probably in a world of pain already - not sure
> we should support that to start with...

You still can have different TBTTs across your AP vifs. ath10k does
this, although it should be possible to force it to beacon in bursts.


> AP/GO-follows-STA I can also see, due to regulatory and concurrent
> BSS/P2P usage.
>
> As for those other cases, are they really relevant?

I think I lost track of the point of the discussion at some point :-)
Weren't we discussing csa_active?


Michał
--
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