Skip to content

RFC: Driver for Wireless RNDIS USB devices.

Jussi Kivilinna linux-wireless netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 of 14 patches 13 repliesIn review

5 of 14 patches are in this archive. The cover letter announces 14.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
4/14Halt device if rndis_bind fails.drivers/net/usb/rndis_host.c+9 -31 reply
7/14Split up rndis_host.cdrivers/net/usb/rndis_host.c drivers/net/usb/rndis_host.h+249 -2221 reply
8/14export functionsdrivers/net/usb/rndis_host.c drivers/net/usb/rndis_host.h+22 -71 reply
10/14Add rndis_early_init function pointer to 'struct rndis_data'.drivers/net/usb/rndis_host.c drivers/net/usb/usbnet.h+9 -02 replies
12/14Move usbnet.h and rndis_host.h to include/linux/usbdrivers/net/usb/asix.c drivers/net/usb/cdc_ether.c drivers/net/usb/cdc_subset.c +12 more+480 -4910 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchDavid Brownell
4/14A-b
7/14A-b
8/14A-b
10/14
12/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] RFC: Driver for Wireless RNDIS USB devices.

Hello,

This is second try on wireless RNDIS patchset started by Bjorge Dijkstra. Since Bjorge has disappeared, I claim maintainership of rndis_wext and this patchset until he returns.

This patchset adds support for various 802.11 USB devices based on Broadcom 4320 chip. Chip uses RNDIS to communicate with the host, so module depend heavily on rndis_host/cdc_ether/usbnet and needs some changes on these modules in order to work.

Patches 1-6 are from first patchset:
1. Fix sparse warning: returning void valued expression
2. [cdc_ether] Hardwire CDC descriptors when missing
3. [rndis_host] Use 1KB buffer in rndis_unbind
4. [rndis_host] Halt device if rndis_bind fails
5. [rndis_host] Fix rndis packet filter flags
6. [usbnet] Use wlan device name for RNDIS wireless devices

Of these 1, 3 and 4 are not required for this version of rndis_wext to work.

Actual wireless part is changed from extension on rndis_host to separate driver. Different devices are detected by device specific USB vendor/product IDs as the way done with Windows drivers instead of detecting RNDIS media type like in first patchset.

New patches 7-14:
7. [rndis_host] Split up rndis_host.c
8. [rndis_host] export functions
9. [usbnet] add driver_priv pointer to 'struct usbnet'
10. [rndis_host] Add rndis_early_init function pointer to 'struct rndis_data'.
11. [rndis_host] Add rndis_link_change function pointer to 'struct rndis_data'.
12. Move usbnet.h and rndis_host.h to include/linux/usb
13. [rndis_host] blacklist known wireless RNDIS devices
14. Add new driver 'rndis_wext' for wireless RNDIS devices.

Patches should be applied in order, series apply cleanly to 2.6.24-rc8.

- Jussi Kivilinna