NET: usb: cdc_ncm: adding MBIM RESET_FUNCTION request and modifying ncm bind common code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | NET: usb: cdc_ncm: adding MBIM RESET_FUNCTION request and modifying ncm bind common codedrivers/ include/ | +28 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] NET: usb: cdc_ncm: adding MBIM RESET_FUNCTION request and modifying ncm bind common code
Some latest QC based modems seem not to properly accept altsetting toggling in cdc_ncm_bind_common, making them to fail. The workaround was to introduce an empirically decided pause to avoid the failure.
This patch introduces a different approach: for MBIM devices, instead of toggling interfaces, the MBIM class-specific request code RESET_FUNCTION is used in order to reset the function to its initial state, removing the need for the pause.
Patch has been tested with a few Telit QC and Intel based MBIM modems.
Patch has also been tested with an Intel NCM based device, for regression checking.
Daniele Palmas (1):
NET: usb: cdc_ncm: adding MBIM RESET_FUNCTION request and modifying
ncm bind common code
drivers/net/usb/cdc_ncm.c | 39 +++++++++++++++++++++++++++------------ include/uapi/linux/usb/cdc.h | 1 + 2 files changed, 28 insertions(+), 12 deletions(-)
Signature · 1 line
2.7.4