Print this page
5832 EOF wireless usb (aka UWB)
Reviewed by: TBD
Reviewed by: TBD
Approved by: TBD

*** 19,28 **** --- 19,30 ---- * CDDL HEADER END */ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * + * Copyright 2014 Garrett D'Amore <garrett@damore.org> */ /* * USBA: Solaris USB Architecture support
*** 521,538 **** /* fix up the MaxPacketSize if it is the default endpoint descr */ if ((ep == &usba_default_ep_descr) && usba_device) { uint16_t maxpktsize; maxpktsize = usba_device->usb_dev_descr->bMaxPacketSize0; - if (usba_device->usb_is_wireless) { - /* - * according to wusb 1.0 spec 4.8.1, the host must - * assume a wMaxPacketSize of 512 for the default - * control pipe of a wusb device - */ - maxpktsize = 0x200; - } USB_DPRINTF_L3(DPRINT_MASK_USBAI, usbai_log_handle, "adjusting max packet size from %d to %d", ph_data->p_ep.wMaxPacketSize, maxpktsize); ph_data->p_ep.wMaxPacketSize = maxpktsize; --- 523,532 ----