Search Linux Wireless

Re: [PATCH 08/11] mt76x02u: implement pre TBTT work for USB

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

 



On 2019-03-18 10:50, Stanislaw Gruszka wrote:
> On Sat, Mar 16, 2019 at 08:44:21PM +0100, Felix Fietkau wrote:
>> On 2019-03-04 10:48, Stanislaw Gruszka wrote:
>> > Program beacons data and PS buffered frames on TBTT work for USB.
>> > We do not have MT_TXQ_PSD queue available via USB endpoints. The way
>> > we can send PS broadcast frames in timely manner before PS stations go
>> > sleep again is program them in beacon data area. Hardware do not modify
>> > those frames since TXWI is properly configured. mt76x02_mac_set_beacon()
>> > already handle this and free no longer used frames.
>> > 
>> > Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx>
>> I think it's a nice idea, but there is one problem with that approach:
>> beacon slots only have 1024 bytes for TXWI + data.
>> I think to support this properly, you probably need to adjust beacon
>> offsets for USB dynamically and limit the number of frames to what you
>> can fit in SRAM.
> That would be good since we could sent more buffered frames (ARP frames
> are small), but for now I would prefer simpler solution to enable 
> AP support for USB: increase slot size to 1600 and make only 5 slots
> available.
Then you should probably limit the number of AP interfaces for USB as
well. Otherwise, people are going to do crazy things like bring up 4
virtual AP interfaces and expect multicast to work :)

- Felix



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux