Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for packets being rejected in the ring buffer used by the xHCI co… #805

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions drivers/net/usb/qmi_wwan.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,13 @@ static int qmi_wwan_bind(struct usbnet *dev, struct usb_interface *intf)
}
dev->net->netdev_ops = &qmi_wwan_netdev_ops;
dev->net->sysfs_groups[0] = &qmi_wwan_sysfs_attr_group;
/* LTE Networks don't always respect their own MTU on receive side;
* e.g. AT&T pushes 1430 MTU but still allows 1500 byte packets from
* far-end network. Make receive buffer large enough to accommodate
* them, and add four bytes so MTU does not equal MRU on network
* with 1500 MTU otherwise usbnet_change_mtu() will change both.
*/
dev->rx_urb_size = ETH_DATA_LEN + 4;
err:
return status;
}
Expand Down