More device type integration
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | usbnet: Use wwan%d interface name for mobile broadband devicesdrivers/ drivers/ include/ | +18 | 0 replies | |
| 2/4 | usbnet: Set device type for wlan and wwan devicesdrivers/ | +14 | 0 replies | |
| 3/4 | net: introduce NETDEV_POST_INIT notifierinclude/ net/ | +7 | 0 replies | |
| 4/4 | cfg80211: assign device type in netdev notifier callbacknet/ net/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)