Skip to content

More device type integration

Marcel Holtmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4usbnet: Use wwan%d interface name for mobile broadband devicesdrivers/net/usb/cdc_ether.c drivers/net/usb/usbnet.c include/linux/usb/usbnet.h+18 -60 replies
2/4usbnet: Set device type for wlan and wwan devicesdrivers/net/usb/usbnet.c+14 -00 replies
3/4net: introduce NETDEV_POST_INIT notifierinclude/linux/notifier.h net/core/dev.c+7 -00 replies
4/4cfg80211: assign device type in netdev notifier callbacknet/mac80211/iface.c net/wireless/core.c+7 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] More device type integration

Hi Dave,

I followed the work from Johannes and made sure we can register the device type for wireless devices via the netdev notifier callback for all cfg80211 based devices. This way we don't have to touch any of the drivers.

For the mobile broadband cards from Ericsson, the device type is now set to "wwan" and it also uses "wwan%d" for the default interface name.

Regards

Marcel

Johannes Berg (1):
net: introduce NETDEV_POST_INIT notifier

Marcel Holtmann (3):
usbnet: Use wwan%d interface name for mobile broadband devices
usbnet: Set device type for wlan and wwan devices
cfg80211: assign device type in netdev notifier callback

 drivers/net/usb/cdc_ether.c |   20 ++++++++++++++------
 drivers/net/usb/usbnet.c    |   17 +++++++++++++++++
 include/linux/notifier.h    |    1 +
 include/linux/usb/usbnet.h  |    1 +
 net/core/dev.c              |    6 ++++++
 net/mac80211/iface.c        |    5 -----
 net/wireless/core.c         |    7 +++++++
 7 files changed, 46 insertions(+), 11 deletions(-)