Search Linux Wireless

Re: [PATCH 3/4] mt76: speed up usb bulk copy

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

 



On Sat, Nov 16, 2019 at 01:43:12PM +0200, Lorenzo Bianconi wrote:
> > +		memcpy(usb->data, val + i, current_batch_size);
> >  		ret = __mt76u_vendor_request(dev, MT_VEND_MULTI_WRITE,
> >  					     USB_DIR_OUT | USB_TYPE_VENDOR,
> > -					     0, offset + i * 4, usb->data,
> > -					     sizeof(u32));
> > +					     0, offset + i, usb->data,
> > +					     current_batch_size);
> 
> @Stanislaw: I vaguely remember you reported some issues if the burst size 
> is greater than 4B (but I can be wrong)

It didn't work as usb vendor requests which were not multiple of 4
were not transferred to the device on some usb host. But this is
properly handled by the latest version of this patch set.
 
Stanislaw






[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