Skip to contentSkip to conversation

Ozwpan Driver: Removal Recommended

PATCH In review Jason A. Donenfeld 2 participants 6 messages Aug 10, 2015 Staging

lore
Share & tools
lore
#0 lore raw

Hi Greg,

We spoke about this several months ago. Since then, there has been no life from any of the maintainers or anybody at Atmel. Meanwhile Dan Carpenter has posted a patch for a security vulnerability in ozwpan that hasn't been reviewed or merged. There is nobody willing to maintain it. And nobody who has relevant hardware has even said "hello". All of my connections to ozwpan have yielded zero success in trying to find a maintainer or anybody with even remote expertise. Clearly this is dead in the water.

I would thus recommend you remove this buggy, insecure, and unmaintained driver from the tree. It simply didn't pass the "staging test".

Regards,
Jason

Quoted 27 lines · Jason A. Donenfeld
Quoted 2 lines · Greg Kroah-Hartman

I don't know, but I'm a bit loath to delete the driver from the tree as then people will just continue to use the version with all of the bugs.

Yea, I understand that. Though, I'm pretty sure that most users of ozwpan use old forks tied to old kernels, and do not use upstream anyway.

Quoted 3 lines

If Atmel doesn't want to maintain the code anymore, do you want to do it? You can always send patches for this issue, as you seem to have the hardware and can do testing, which I can't.

Thank you for the offer, and I would actually love to maintain a part of the kernel. But I am likely the wrong man for ozwpan (inspite of the Internet's claims of my wizardry [1]). The debugging I've done thus far is on a readily available consumer embedded device, which I was required to root and unsandbox and partake in other "security dark magic" in order to get a decent debugging interface. My rig is rather brittle and is likely to fall to pieces like aging solder at any moment. I'd recommend this be maintained by someone with proper test hardware and a suit of unit tests. This means: Atmel, or one of the many clients to whom Atmel has sold high volumes of ozwpan chips. I'll reach out where I can to see if I can find someone in a good position to maintain it.

[1] https://twitter.com/drgfragkos/status/598776229282578432

#1 lore raw
Quoted 3 lines · Jason A. Donenfeld

Meanwhile Dan
Carpenter has posted a patch for a security vulnerability in ozwpan that hasn't been reviewed or merged.

Sorry, I see that you did in fact pick up this patch, so I retract that statement.

Nonetheless, the remainder of the points in that email remain relevant. The maintainers are nowhere to be found. And it doesn't seem like anybody cares about it.

#2 lore raw

PATCH 1/2 ozwpan: The maintainers are MIA, so orphan

In reply to Jason A. Donenfeld

Ozwpan is completely unmaintained and potentially a security problem. As this is a staging driver, it should be removed, since it has been abandoned. Marking it as orphaned is the first step here.

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 2d3d55c..0e14772 100644
@@ -9717,7 +9717,7 @@ F:	drivers/staging/olpc_dcon/
 
 STAGING - OZMO DEVICES USB OVER WIFI DRIVER
 M:	Shigekatsu Tateno <[email protected]>
-S:	Maintained
+S:	Orphan
 F:	drivers/staging/ozwpan/
 
 STAGING - PARALLEL LCD/KEYPAD PANEL DRIVER
Signature · 1 line
2.5.0
#3 lore raw

PATCH 2/2 ozwpan: Remove from tree

Ozwpan is unmaintained and potentially a security issue. Since it's merely in the staging tree, remove.

---
 drivers/staging/Kconfig                |    2 -
 drivers/staging/Makefile               |    1 -
 drivers/staging/ozwpan/Kconfig         |    9 -
 drivers/staging/ozwpan/Makefile        |   16 -
 drivers/staging/ozwpan/README          |   25 -
 drivers/staging/ozwpan/TODO            |   14 -
 drivers/staging/ozwpan/ozappif.h       |   36 -
 drivers/staging/ozwpan/ozcdev.c        |  554 --------
 drivers/staging/ozwpan/ozcdev.h        |   17 -
 drivers/staging/ozwpan/ozdbg.h         |   54 -
 drivers/staging/ozwpan/ozeltbuf.c      |  252 ----
 drivers/staging/ozwpan/ozeltbuf.h      |   65 -
 drivers/staging/ozwpan/ozhcd.c         | 2301 --------------------------------
 drivers/staging/ozwpan/ozhcd.h         |   15 -
 drivers/staging/ozwpan/ozmain.c        |   71 -
 drivers/staging/ozwpan/ozpd.c          |  886 ------------
 drivers/staging/ozwpan/ozpd.h          |  134 --
 drivers/staging/ozwpan/ozproto.c       |  813 -----------
 drivers/staging/ozwpan/ozproto.h       |   62 -
 drivers/staging/ozwpan/ozprotocol.h    |  375 ------
 drivers/staging/ozwpan/ozurbparanoia.c |   54 -
 drivers/staging/ozwpan/ozurbparanoia.h |   19 -
 drivers/staging/ozwpan/ozusbif.h       |   43 -
 drivers/staging/ozwpan/ozusbsvc.c      |  263 ----
 drivers/staging/ozwpan/ozusbsvc.h      |   32 -
 drivers/staging/ozwpan/ozusbsvc1.c     |  471 -------
 26 files changed, 6584 deletions(-)
 delete mode 100644 drivers/staging/ozwpan/Kconfig
 delete mode 100644 drivers/staging/ozwpan/Makefile
 delete mode 100644 drivers/staging/ozwpan/README
 delete mode 100644 drivers/staging/ozwpan/TODO
 delete mode 100644 drivers/staging/ozwpan/ozappif.h
 delete mode 100644 drivers/staging/ozwpan/ozcdev.c
 delete mode 100644 drivers/staging/ozwpan/ozcdev.h
 delete mode 100644 drivers/staging/ozwpan/ozdbg.h
 delete mode 100644 drivers/staging/ozwpan/ozeltbuf.c
 delete mode 100644 drivers/staging/ozwpan/ozeltbuf.h
 delete mode 100644 drivers/staging/ozwpan/ozhcd.c
 delete mode 100644 drivers/staging/ozwpan/ozhcd.h
 delete mode 100644 drivers/staging/ozwpan/ozmain.c
 delete mode 100644 drivers/staging/ozwpan/ozpd.c
 delete mode 100644 drivers/staging/ozwpan/ozpd.h
 delete mode 100644 drivers/staging/ozwpan/ozproto.c
 delete mode 100644 drivers/staging/ozwpan/ozproto.h
 delete mode 100644 drivers/staging/ozwpan/ozprotocol.h
 delete mode 100644 drivers/staging/ozwpan/ozurbparanoia.c
 delete mode 100644 drivers/staging/ozwpan/ozurbparanoia.h
 delete mode 100644 drivers/staging/ozwpan/ozusbif.h
 delete mode 100644 drivers/staging/ozwpan/ozusbsvc.c
 delete mode 100644 drivers/staging/ozwpan/ozusbsvc.h
 delete mode 100644 drivers/staging/ozwpan/ozusbsvc1.c
drivers/staging/Kconfig +0 -2
index 7f6cae5..2be77af 100644
@@ -78,8 +78,6 @@ source "drivers/staging/android/Kconfig"
 
 source "drivers/staging/board/Kconfig"
 
-source "drivers/staging/ozwpan/Kconfig"
-
 source "drivers/staging/gdm72xx/Kconfig"
 
 source "drivers/staging/gdm724x/Kconfig"
drivers/staging/Makefile +0 -1
index 347f647..7afc1b2 100644
@@ -32,7 +32,6 @@ obj-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4)	+= ste_rmi4/
 obj-$(CONFIG_MFD_NVEC)		+= nvec/
 obj-$(CONFIG_ANDROID)		+= android/
 obj-$(CONFIG_STAGING_BOARD)	+= board/
-obj-$(CONFIG_USB_WPAN_HCD)	+= ozwpan/
 obj-$(CONFIG_WIMAX_GDM72XX)	+= gdm72xx/
 obj-$(CONFIG_LTE_GDM724X)	+= gdm724x/
 obj-$(CONFIG_FIREWIRE_SERIAL)	+= fwserial/
drivers/staging/ozwpan/Kconfig deleted +0 -9
deleted file mode 100644
index 7904cae..0000000
@@ -1,9 +0,0 @@
-config USB_WPAN_HCD
-	tristate "USB over WiFi Host Controller"
-	depends on USB && NET
-	help
-	  A driver for USB Host Controllers that are compatible with
-	  Ozmo Devices USB over WiFi technology.
-
-	  To compile this driver a module, choose M here: the module
-	  will be called "ozwpan".
drivers/staging/ozwpan/Makefile deleted +0 -16
deleted file mode 100644
index 29529c1..0000000
@@ -1,16 +0,0 @@
-# -----------------------------------------------------------------------------
-# Copyright (c) 2011 Ozmo Inc
-# Released under the GNU General Public License Version 2 (GPLv2).
-# -----------------------------------------------------------------------------
-
-obj-$(CONFIG_USB_WPAN_HCD) += ozwpan.o
-ozwpan-y := \
-	ozmain.o \
-	ozpd.o \
-	ozusbsvc.o \
-	ozusbsvc1.o \
-	ozhcd.o \
-	ozeltbuf.o \
-	ozproto.o \
-	ozcdev.o \
-	ozurbparanoia.o
drivers/staging/ozwpan/README deleted +0 -25
deleted file mode 100644
index 7c055ec..0000000
@@ -1,25 +0,0 @@
-OZWPAN USB Host Controller Driver
----------------------------------
-This driver is a USB HCD driver that does not have an associated a physical
-device but instead uses Wi-Fi to communicate with the wireless peripheral.
-The USB requests are converted into a layer 2 network protocol and transmitted
-on the network using an ethertype (0x892e) regestered to Ozmo Device Inc.
-This driver is compatible with existing wireless devices that use Ozmo Devices
-technology.
-
-To operate the driver must be bound to a suitable network interface. This can
-be done when the module is loaded (specifying the name of the network interface
-as a parameter - e.g. 'insmod ozwpan g_net_dev=go0') or can be bound after
-loading using an ioctl call. See the ozappif.h file and the ioctls
-OZ_IOCTL_ADD_BINDING and OZ_IOCTL_REMOVE_BINDING.
-
-The devices connect to the host use Wi-Fi Direct so a network card that supports
-Wi-Fi direct is required. A recent version (0.8.x or later) version of the
-wpa_supplicant can be used to setup the network interface to create a persistent
-autonomous group (for older pre-WFD peripherals) or put in a listen state to
-allow group negotiation to occur for more recent devices that support WFD.
-
-The protocol used over the network does not directly mimic the USB bus
-transactions as this would be rather busy and inefficient. Instead the chapter 9
-requests are converted into a request/response pair of messages. (See
-ozprotocol.h for data structures used in the protocol).
drivers/staging/ozwpan/TODO deleted +0 -14
deleted file mode 100644
index f32c1c0..0000000
@@ -1,14 +0,0 @@
-TODO:
-	- Convert event tracing code to in-kernel tracing infrastructure
-	- Check for remaining ioctl & check if that can be converted into
-	  sysfs entries
-	- Convert debug prints to appropriate dev_debug or something better
-	- Modify Kconfig to add CONFIG option for enabling/disabling event
-	  tracing.
-	- check USB HCD implementation is complete and correct.
-	- code review by USB developer community.
-	- testing with as many devices as possible.
-
-Please send any patches for this driver to
-Shigekatsu Tateno <[email protected]>
-and Greg Kroah-Hartman <[email protected]>.
drivers/staging/ozwpan/ozappif.h deleted +0 -36
deleted file mode 100644
index ea1b271..0000000
@@ -1,36 +0,0 @@
-/* -----------------------------------------------------------------------------
- * Copyright (c) 2011 Ozmo Inc
- * Released under the GNU General Public License Version 2 (GPLv2).
- * -----------------------------------------------------------------------------
- */
-#ifndef _OZAPPIF_H
-#define _OZAPPIF_H
-
-#define OZ_IOCTL_MAGIC	0xf4
-
-struct oz_mac_addr {
-	__u8 a[6];
-};
-
-#define OZ_MAX_PDS	8
-
-struct oz_pd_list {
-	__u32 count;
-	struct oz_mac_addr addr[OZ_MAX_PDS];
-};
-
-#define OZ_MAX_BINDING_LEN	32
-
-struct oz_binding_info {
-	char name[OZ_MAX_BINDING_LEN];
-};
-
-#define OZ_IOCTL_GET_PD_LIST	_IOR(OZ_IOCTL_MAGIC, 0, struct oz_pd_list)
-#define OZ_IOCTL_SET_ACTIVE_PD	_IOW(OZ_IOCTL_MAGIC, 1, struct oz_mac_addr)
-#define OZ_IOCTL_GET_ACTIVE_PD	_IOR(OZ_IOCTL_MAGIC, 2, struct oz_mac_addr)
-#define OZ_IOCTL_ADD_BINDING	_IOW(OZ_IOCTL_MAGIC, 3, struct oz_binding_info)
-#define OZ_IOCTL_REMOVE_BINDING	_IOW(OZ_IOCTL_MAGIC, 4, struct oz_binding_info)
-#define OZ_IOCTL_MAX		5
-
-
-#endif /* _OZAPPIF_H */
drivers/staging/ozwpan/ozcdev.c deleted +0 -554

554 lines not on this page · raw message

drivers/staging/ozwpan/ozcdev.h deleted +0 -17
deleted file mode 100644
index dd11935..0000000
@@ -1,17 +0,0 @@
-/* -----------------------------------------------------------------------------
- * Copyright (c) 2011 Ozmo Inc
- * Released under the GNU General Public License Version 2 (GPLv2).
- * -----------------------------------------------------------------------------
- */
-#ifndef _OZCDEV_H
-#define _OZCDEV_H
-
-int oz_cdev_register(void);
-int oz_cdev_deregister(void);
-int oz_cdev_init(void);
-void oz_cdev_term(void);
-int oz_cdev_start(struct oz_pd *pd, int resume);
-void oz_cdev_stop(struct oz_pd *pd, int pause);
-void oz_cdev_rx(struct oz_pd *pd, struct oz_elt *elt);
-
-#endif /* _OZCDEV_H */
drivers/staging/ozwpan/ozdbg.h deleted +0 -54

54 lines not on this page · raw message

drivers/staging/ozwpan/ozeltbuf.c deleted +0 -252

252 lines not on this page · raw message

drivers/staging/ozwpan/ozeltbuf.h deleted +0 -65

65 lines not on this page · raw message

drivers/staging/ozwpan/ozhcd.c deleted +0 -2301

1,943 lines not on this page · raw message

drivers/staging/ozwpan/ozhcd.h deleted +0 -15
deleted file mode 100644
index 55e97b1..0000000

Lines of this file are not shown. View the raw message.

drivers/staging/ozwpan/ozmain.c deleted +0 -71

71 lines not on this page · raw message

drivers/staging/ozwpan/ozpd.c deleted +0 -886

886 lines not on this page · raw message

drivers/staging/ozwpan/ozpd.h deleted +0 -134

134 lines not on this page · raw message

drivers/staging/ozwpan/ozproto.c deleted +0 -813

813 lines not on this page · raw message

drivers/staging/ozwpan/ozproto.h deleted +0 -62

62 lines not on this page · raw message

drivers/staging/ozwpan/ozprotocol.h deleted +0 -375

375 lines not on this page · raw message

drivers/staging/ozwpan/ozurbparanoia.c deleted +0 -54

54 lines not on this page · raw message

drivers/staging/ozwpan/ozurbparanoia.h deleted +0 -19
deleted file mode 100644
index 5080ea7..0000000

Lines of this file are not shown. View the raw message.

drivers/staging/ozwpan/ozusbif.h deleted +0 -43

43 lines not on this page · raw message

drivers/staging/ozwpan/ozusbsvc.c deleted +0 -263

263 lines not on this page · raw message

drivers/staging/ozwpan/ozusbsvc.h deleted +0 -32
deleted file mode 100644
index 58e05a5..0000000

Lines of this file are not shown. View the raw message.

drivers/staging/ozwpan/ozusbsvc1.c deleted +0 -471

471 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.5.0

Part of the diff is not shown here. View the raw message.

maintainer
#4 lore raw

Re: [PATCH 1/2] ozwpan: The maintainers are MIA, so orphan

In reply to Jason A. Donenfeld
Quoted 14 lines · Jason A. Donenfeld

Ozwpan is completely unmaintained and potentially a security problem. As this is a staging driver, it should be removed, since it has been abandoned. Marking it as orphaned is the first step here.

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +0 -0
index 2d3d55c..0e14772 100644

MAINTAINERS F: drivers/staging/olpc_dcon/ · line 9721

Quoted 6 lines
MAINTAINERS +1 -1
@@ -9717,7 +9717,7 @@ F:	drivers/staging/olpc_dcon/
 
 STAGING - OZMO DEVICES USB OVER WIFI DRIVER
 M:	Shigekatsu Tateno <[email protected]>
-S:	Maintained
+S:	Orphan
 F:	drivers/staging/ozwpan/

As you are deleting the whole driver, this whole entry should be removed as well, marking it "Orphan" doesn't mean anything after your second patch.

Just do it all in one patch, that makes more sense.

thanks,

greg k-h

#5 lore raw

PATCH 1/1 ozwpan: Remove from tree

Ozwpan is completely unmaintained and potentially a security problem. As this is a staging driver, it should be removed, since it has been abandoned.

---
 MAINTAINERS                            |    5 -
 drivers/staging/Kconfig                |    2 -
 drivers/staging/Makefile               |    1 -
 drivers/staging/ozwpan/Kconfig         |    9 -
 drivers/staging/ozwpan/Makefile        |   16 -
 drivers/staging/ozwpan/README          |   25 -
 drivers/staging/ozwpan/TODO            |   14 -
 drivers/staging/ozwpan/ozappif.h       |   36 -
 drivers/staging/ozwpan/ozcdev.c        |  554 --------
 drivers/staging/ozwpan/ozcdev.h        |   17 -
 drivers/staging/ozwpan/ozdbg.h         |   54 -
 drivers/staging/ozwpan/ozeltbuf.c      |  252 ----
 drivers/staging/ozwpan/ozeltbuf.h      |   65 -
 drivers/staging/ozwpan/ozhcd.c         | 2301 --------------------------------
 drivers/staging/ozwpan/ozhcd.h         |   15 -
 drivers/staging/ozwpan/ozmain.c        |   71 -
 drivers/staging/ozwpan/ozpd.c          |  886 ------------
 drivers/staging/ozwpan/ozpd.h          |  134 --
 drivers/staging/ozwpan/ozproto.c       |  813 -----------
 drivers/staging/ozwpan/ozproto.h       |   62 -
 drivers/staging/ozwpan/ozprotocol.h    |  375 ------
 drivers/staging/ozwpan/ozurbparanoia.c |   54 -
 drivers/staging/ozwpan/ozurbparanoia.h |   19 -
 drivers/staging/ozwpan/ozusbif.h       |   43 -
 drivers/staging/ozwpan/ozusbsvc.c      |  263 ----
 drivers/staging/ozwpan/ozusbsvc.h      |   32 -
 drivers/staging/ozwpan/ozusbsvc1.c     |  471 -------
 27 files changed, 6589 deletions(-)
 delete mode 100644 drivers/staging/ozwpan/Kconfig
 delete mode 100644 drivers/staging/ozwpan/Makefile
 delete mode 100644 drivers/staging/ozwpan/README
 delete mode 100644 drivers/staging/ozwpan/TODO
 delete mode 100644 drivers/staging/ozwpan/ozappif.h
 delete mode 100644 drivers/staging/ozwpan/ozcdev.c
 delete mode 100644 drivers/staging/ozwpan/ozcdev.h
 delete mode 100644 drivers/staging/ozwpan/ozdbg.h
 delete mode 100644 drivers/staging/ozwpan/ozeltbuf.c
 delete mode 100644 drivers/staging/ozwpan/ozeltbuf.h
 delete mode 100644 drivers/staging/ozwpan/ozhcd.c
 delete mode 100644 drivers/staging/ozwpan/ozhcd.h
 delete mode 100644 drivers/staging/ozwpan/ozmain.c
 delete mode 100644 drivers/staging/ozwpan/ozpd.c
 delete mode 100644 drivers/staging/ozwpan/ozpd.h
 delete mode 100644 drivers/staging/ozwpan/ozproto.c
 delete mode 100644 drivers/staging/ozwpan/ozproto.h
 delete mode 100644 drivers/staging/ozwpan/ozprotocol.h
 delete mode 100644 drivers/staging/ozwpan/ozurbparanoia.c
 delete mode 100644 drivers/staging/ozwpan/ozurbparanoia.h
 delete mode 100644 drivers/staging/ozwpan/ozusbif.h
 delete mode 100644 drivers/staging/ozwpan/ozusbsvc.c
 delete mode 100644 drivers/staging/ozwpan/ozusbsvc.h
 delete mode 100644 drivers/staging/ozwpan/ozusbsvc1.c
MAINTAINERS +0 -5
index 2d3d55c..a52ee14 100644
@@ -9715,11 +9715,6 @@ W:	http://wiki.laptop.org/go/DCON
 S:	Maintained
 F:	drivers/staging/olpc_dcon/
 
-STAGING - OZMO DEVICES USB OVER WIFI DRIVER
-M:	Shigekatsu Tateno <[email protected]>
-S:	Maintained
-F:	drivers/staging/ozwpan/
-
 STAGING - PARALLEL LCD/KEYPAD PANEL DRIVER
 M:	Willy Tarreau <[email protected]>
 S:	Odd Fixes
drivers/staging/Kconfig +0 -2
index 7f6cae5..2be77af 100644
@@ -78,8 +78,6 @@ source "drivers/staging/android/Kconfig"
 
 source "drivers/staging/board/Kconfig"
 
-source "drivers/staging/ozwpan/Kconfig"
-
 source "drivers/staging/gdm72xx/Kconfig"
 
 source "drivers/staging/gdm724x/Kconfig"
drivers/staging/Makefile +0 -1
index 347f647..7afc1b2 100644
@@ -32,7 +32,6 @@ obj-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4)	+= ste_rmi4/
 obj-$(CONFIG_MFD_NVEC)		+= nvec/
 obj-$(CONFIG_ANDROID)		+= android/
 obj-$(CONFIG_STAGING_BOARD)	+= board/
-obj-$(CONFIG_USB_WPAN_HCD)	+= ozwpan/
 obj-$(CONFIG_WIMAX_GDM72XX)	+= gdm72xx/
 obj-$(CONFIG_LTE_GDM724X)	+= gdm724x/
 obj-$(CONFIG_FIREWIRE_SERIAL)	+= fwserial/
drivers/staging/ozwpan/Kconfig deleted +0 -9
deleted file mode 100644
index 7904cae..0000000
@@ -1,9 +0,0 @@
-config USB_WPAN_HCD
-	tristate "USB over WiFi Host Controller"
-	depends on USB && NET
-	help
-	  A driver for USB Host Controllers that are compatible with
-	  Ozmo Devices USB over WiFi technology.
-
-	  To compile this driver a module, choose M here: the module
-	  will be called "ozwpan".
drivers/staging/ozwpan/Makefile deleted +0 -16
deleted file mode 100644
index 29529c1..0000000
@@ -1,16 +0,0 @@
-# -----------------------------------------------------------------------------
-# Copyright (c) 2011 Ozmo Inc
-# Released under the GNU General Public License Version 2 (GPLv2).
-# -----------------------------------------------------------------------------
-
-obj-$(CONFIG_USB_WPAN_HCD) += ozwpan.o
-ozwpan-y := \
-	ozmain.o \
-	ozpd.o \
-	ozusbsvc.o \
-	ozusbsvc1.o \
-	ozhcd.o \
-	ozeltbuf.o \
-	ozproto.o \
-	ozcdev.o \
-	ozurbparanoia.o
drivers/staging/ozwpan/README deleted +0 -25
deleted file mode 100644
index 7c055ec..0000000
@@ -1,25 +0,0 @@
-OZWPAN USB Host Controller Driver
----------------------------------
-This driver is a USB HCD driver that does not have an associated a physical
-device but instead uses Wi-Fi to communicate with the wireless peripheral.
-The USB requests are converted into a layer 2 network protocol and transmitted
-on the network using an ethertype (0x892e) regestered to Ozmo Device Inc.
-This driver is compatible with existing wireless devices that use Ozmo Devices
-technology.
-
-To operate the driver must be bound to a suitable network interface. This can
-be done when the module is loaded (specifying the name of the network interface
-as a parameter - e.g. 'insmod ozwpan g_net_dev=go0') or can be bound after
-loading using an ioctl call. See the ozappif.h file and the ioctls
-OZ_IOCTL_ADD_BINDING and OZ_IOCTL_REMOVE_BINDING.
-
-The devices connect to the host use Wi-Fi Direct so a network card that supports
-Wi-Fi direct is required. A recent version (0.8.x or later) version of the
-wpa_supplicant can be used to setup the network interface to create a persistent
-autonomous group (for older pre-WFD peripherals) or put in a listen state to
-allow group negotiation to occur for more recent devices that support WFD.
-
-The protocol used over the network does not directly mimic the USB bus
-transactions as this would be rather busy and inefficient. Instead the chapter 9
-requests are converted into a request/response pair of messages. (See
-ozprotocol.h for data structures used in the protocol).
drivers/staging/ozwpan/TODO deleted +0 -14
deleted file mode 100644
index f32c1c0..0000000
@@ -1,14 +0,0 @@
-TODO:
-	- Convert event tracing code to in-kernel tracing infrastructure
-	- Check for remaining ioctl & check if that can be converted into
-	  sysfs entries
-	- Convert debug prints to appropriate dev_debug or something better
-	- Modify Kconfig to add CONFIG option for enabling/disabling event
-	  tracing.
-	- check USB HCD implementation is complete and correct.
-	- code review by USB developer community.
-	- testing with as many devices as possible.
-
-Please send any patches for this driver to
-Shigekatsu Tateno <[email protected]>
-and Greg Kroah-Hartman <[email protected]>.
drivers/staging/ozwpan/ozappif.h deleted +0 -36
deleted file mode 100644
index ea1b271..0000000
@@ -1,36 +0,0 @@
-/* -----------------------------------------------------------------------------
- * Copyright (c) 2011 Ozmo Inc
- * Released under the GNU General Public License Version 2 (GPLv2).
- * -----------------------------------------------------------------------------
- */
-#ifndef _OZAPPIF_H
-#define _OZAPPIF_H
-
-#define OZ_IOCTL_MAGIC	0xf4
-
-struct oz_mac_addr {
-	__u8 a[6];
-};
-
-#define OZ_MAX_PDS	8
-
-struct oz_pd_list {
-	__u32 count;
-	struct oz_mac_addr addr[OZ_MAX_PDS];
-};
-
-#define OZ_MAX_BINDING_LEN	32
-
-struct oz_binding_info {
-	char name[OZ_MAX_BINDING_LEN];
-};
-
-#define OZ_IOCTL_GET_PD_LIST	_IOR(OZ_IOCTL_MAGIC, 0, struct oz_pd_list)
-#define OZ_IOCTL_SET_ACTIVE_PD	_IOW(OZ_IOCTL_MAGIC, 1, struct oz_mac_addr)
-#define OZ_IOCTL_GET_ACTIVE_PD	_IOR(OZ_IOCTL_MAGIC, 2, struct oz_mac_addr)
-#define OZ_IOCTL_ADD_BINDING	_IOW(OZ_IOCTL_MAGIC, 3, struct oz_binding_info)
-#define OZ_IOCTL_REMOVE_BINDING	_IOW(OZ_IOCTL_MAGIC, 4, struct oz_binding_info)
-#define OZ_IOCTL_MAX		5
-
-
-#endif /* _OZAPPIF_H */
drivers/staging/ozwpan/ozcdev.c deleted +0 -554

554 lines not on this page · raw message

drivers/staging/ozwpan/ozcdev.h deleted +0 -17
deleted file mode 100644
index dd11935..0000000
@@ -1,17 +0,0 @@
-/* -----------------------------------------------------------------------------
- * Copyright (c) 2011 Ozmo Inc
- * Released under the GNU General Public License Version 2 (GPLv2).
- * -----------------------------------------------------------------------------
- */
-#ifndef _OZCDEV_H
-#define _OZCDEV_H
-
-int oz_cdev_register(void);
-int oz_cdev_deregister(void);
-int oz_cdev_init(void);
-void oz_cdev_term(void);
-int oz_cdev_start(struct oz_pd *pd, int resume);
-void oz_cdev_stop(struct oz_pd *pd, int pause);
-void oz_cdev_rx(struct oz_pd *pd, struct oz_elt *elt);
-
-#endif /* _OZCDEV_H */
drivers/staging/ozwpan/ozdbg.h deleted +0 -54

54 lines not on this page · raw message

drivers/staging/ozwpan/ozeltbuf.c deleted +0 -252

252 lines not on this page · raw message

drivers/staging/ozwpan/ozeltbuf.h deleted +0 -65

65 lines not on this page · raw message

drivers/staging/ozwpan/ozhcd.c deleted +0 -2301

1,932 lines not on this page · raw message

drivers/staging/ozwpan/ozhcd.h deleted +0 -15
deleted file mode 100644
index 55e97b1..0000000

Lines of this file are not shown. View the raw message.

drivers/staging/ozwpan/ozmain.c deleted +0 -71

71 lines not on this page · raw message

drivers/staging/ozwpan/ozpd.c deleted +0 -886

886 lines not on this page · raw message

drivers/staging/ozwpan/ozpd.h deleted +0 -134

134 lines not on this page · raw message

drivers/staging/ozwpan/ozproto.c deleted +0 -813

813 lines not on this page · raw message

drivers/staging/ozwpan/ozproto.h deleted +0 -62

62 lines not on this page · raw message

drivers/staging/ozwpan/ozprotocol.h deleted +0 -375

375 lines not on this page · raw message

drivers/staging/ozwpan/ozurbparanoia.c deleted +0 -54

54 lines not on this page · raw message

drivers/staging/ozwpan/ozurbparanoia.h deleted +0 -19
deleted file mode 100644
index 5080ea7..0000000

Lines of this file are not shown. View the raw message.

drivers/staging/ozwpan/ozusbif.h deleted +0 -43

43 lines not on this page · raw message

drivers/staging/ozwpan/ozusbsvc.c deleted +0 -263

263 lines not on this page · raw message

drivers/staging/ozwpan/ozusbsvc.h deleted +0 -32
deleted file mode 100644
index 58e05a5..0000000

Lines of this file are not shown. View the raw message.

drivers/staging/ozwpan/ozusbsvc1.c deleted +0 -471

471 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.5.0

Part of the diff is not shown here. View the raw message.