gelic wireless driver needs MAC80211 support
Subsystems (2)
PATCH 1/1 gelic wireless driver needs MAC80211 support
so select it.
--- drivers/net/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/Kconfig +1 -0
@@ -2363,6 +2363,7 @@ config GELIC_NET config GELIC_WIRELESS bool "PS3 Wireless support" depends on GELIC_NET + select MAC80211 help This option adds the support for the wireless feature of PS3. If you have the wireless-less model of PS3 or have no plan to
Signature · 1 line
1.5.3.8
Quoted 11 lines · Sebastian Siewior
so select it.
Signed-off-by Sebastian Siewior <[email protected]>--- drivers/net/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/net/Kconfig +0
-0
drivers/net/Kconfig config GELIC_NET · line 2369
Quoted 7 lines
drivers/net/Kconfig +1
-0@@ -2363,6 +2363,7 @@ config GELIC_NET config GELIC_WIRELESS bool "PS3 Wireless support" depends on GELIC_NET + select MAC80211 help This option adds the support for the wireless feature of PS3. If you have the wireless-less model of PS3 or have no plan to
Is there any particular reason why this driver is in drivers/net instead of drivers/net/wireless (along with all other wireless drivers?
Additionally, all other mac80211 drivers depend on mac80211 instead of selecting it. So I think for consistency it might be better to also make this driver depend on it, rather then selecting.
Ivo
Quoted 23 lines · Ivo van Doorn
Quoted 11 lines · Sebastian Siewior
so select it.
Signed-off-by Sebastian Siewior <[email protected]>--- drivers/net/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/net/Kconfig +0
-0drivers/net/Kconfig config GELIC_NET · line 2369
Quoted 7 lines
drivers/net/Kconfig +1
-0@@ -2363,6 +2363,7 @@ config GELIC_NET config GELIC_WIRELESS bool "PS3 Wireless support" depends on GELIC_NET + select MAC80211 help This option adds the support for the wireless feature of PS3. If you have the wireless-less model of PS3 or have no plan toIs there any particular reason why this driver is in
drivers/netinstead ofdrivers/net/wireless(along with all other wireless drivers?
Quoted 3 lines
Additionally, all other mac80211 drivers depend on mac80211 instead of selecting it. So I think for consistency it might be better to also make this driver depend on it, rather then selecting.
Additionally, what part of the driver actually uses mac80211? I just browsed to the code, and it seems to work completely without using mac80211. Instead it seems to work directly by registering a net_device structure...
Ivo
Quoted 4 lines · * Ivo van Doorn | 2008-02-23 20:50:34 [+0100]:
Additionally, what part of the driver actually uses mac80211? I just browsed to the code, and it seems to work completely without using mac80211. Instead it seems to work directly by registering a
net_devicestructure...
CC drivers/net/ps3_gelic_wireless.o/home/bigeasy/git/linux-2.6/drivers/net/ps3_gelic_wireless.c: In function 'gelic_wl_setup_netdev_ops':/home/bigeasy/git/linux-2.6/drivers/net/ps3_gelic_wireless.c:2660: error: 'struct net_device' has no member named 'wireless_data' /home/bigeasy/git/linux-2.6/drivers/net/ps3_gelic_wireless.c:2661: error: 'struct net_device' has no member named 'wireless_handlers' make[3]: *** [drivers/net/ps3_gelic_wireless.o] Error 1
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [sub-make] Error 2
I add this to the patch desctiption and post a depends on patach
Quoted 1 line
Ivo
Sebastian
Quoted 1 line · * Sebastian Siewior | 2008-02-23 21:06:37 [+0100]:
I add this to the patch desctiption and post a depends on patach
ARGH, this was CONFIG_WIRELESS_EXT and not MAC80211. You would like to see a select or depend statement on that one?
Quoted 2 lines
Quoted 1 line
Ivo
Sebastian
Quoted 17 lines · Sebastian Siewior
Quoted 4 lines · * Ivo van Doorn | 2008-02-23 20:50:34 [+0100]:
Additionally, what part of the driver actually uses mac80211? I just browsed to the code, and it seems to work completely without using mac80211. Instead it seems to work directly by registering a
net_devicestructure...CC
drivers/net/ps3_gelic_wireless.o/home/bigeasy/git/linux-2.6/drivers/net/ps3_gelic_wireless.c: In function 'gelic_wl_setup_netdev_ops':/home/bigeasy/git/linux-2.6/drivers/net/ps3_gelic_wireless.c:2660: error: 'structnet_device' has no member named 'wireless_data'/home/bigeasy/git/linux-2.6/drivers/net/ps3_gelic_wireless.c:2661: error: 'structnet_device' has no member named 'wireless_handlers' make[3]: *** [drivers/net/ps3_gelic_wireless.o] Error 1
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [sub-make] Error 2
Quoted 1 line
I add this to the patch desctiption and post a depends on patach
Looking at include/linux/netdevice.h:
#ifdef CONFIG_WIRELESS_EXT /* List of functions to handle Wireless Extensions (instead of ioctl). * See <net/iw_handler.h> for details. Jean II */ const struct iw_handler_def * wireless_handlers; /* Instance data managed by the core of Wireless Extensions. */ struct iw_public_data * wireless_data;
#endif
There is no dependency on mac80211 but on WIRELESS_EXT.
That is a config option most other drivers select, so you best change your patch to
select WIRELESS_EXT
instead of MAC80211.
Ivo
Quoted 2 lines · * Ivo van Doorn | 2008-02-23 20:44:59 [+0100]:
Is there any particular reason why this driver is in
drivers/netinstead ofdrivers/net/wireless(along with all other wireless drivers?
My understanding is/was that the wireless device and the eth device are exposed by the hypervisor to the system and they share ressources.
Sebastian
Quoted 5 lines · Sebastian Siewior
Quoted 1 line · * Sebastian Siewior | 2008-02-23 21:06:37 [+0100]:
I add this to the patch desctiption and post a depends on patach
ARGH, this was
CONFIG_WIRELESS_EXTand not MAC80211. You would like to see a select or depend statement on that one?
Other drivers do a select on WIRELESS_EXT, so selecting it would be fine.
Ivo
Quoted 7 lines · Sebastian Siewior
Quoted 2 lines · * Ivo van Doorn | 2008-02-23 20:44:59 [+0100]:
Is there any particular reason why this driver is in
drivers/netinstead ofdrivers/net/wireless(along with all other wireless drivers?My understanding is/was that the wireless device and the eth device are exposed by the hypervisor to the system and they share ressources.
Ah ok, makes sense. :)
Thanks.
Ivo
Quoted 11 lines · Sebastian Siewior
so select it.
Signed-off-by Sebastian Siewior <[email protected]>--- drivers/net/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/net/Kconfig +0
-0
drivers/net/Kconfig config GELIC_NET · line 2366
Quoted 4 lines
drivers/net/Kconfig +1
-0@@ -2363,6 +2363,7 @@ config GELIC_NET config GELIC_WIRELESS bool "PS3 Wireless support" depends on GELIC_NET + select MAC80211
Given that this is straying clearly into wireless territory, I think the linux-wireless folks and John Linville (wireless maintainer) are appropriate patch targets.
Jeff
Quoted 3 lines · * Jeff Garzik | 2008-02-23 15:26:07 [-0500]:
Given that this is straying clearly into wireless territory, I think the linux-wireless folks and John Linville (wireless maintainer) are appropriate patch targets.
Okey, I'm going to forward the pach.
Quoted 1 line
Jeff
Sebastian
Quoted 7 lines · Jeff Garzik
Quoted 6 lines · Sebastian Siewior
so select it.
Signed-off-by Sebastian Siewior <[email protected]>--- drivers/net/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 9 lines
drivers/net/Kconfig config GELIC_NET · line 2366
Quoted 9 lines
drivers/net/Kconfig +1
-0@@ -2363,6 +2363,7 @@ config GELIC_NET config GELIC_WIRELESS bool "PS3 Wireless support" depends on GELIC_NET + select MAC80211
That seems completely wrong since it's a full-mac "chip" (implemented in the HV or so maybe). What exactly does it need from mac80211?
johannes
Quoted 2 lines · * Johannes Berg | 2008-02-25 11:13:56 [+0100]:
That seems completely wrong since it's a full-mac "chip" (implemented in the HV or so maybe). What exactly does it need from mac80211?
Nothing, please drop. I've sent another patch which enables WEXT what is the correct thing to do. Sorry for the noise.
Quoted 1 line
johannes
Sebastian
Quoted 6 lines · Sebastian Siewior
Quoted 2 lines · * Johannes Berg | 2008-02-25 11:13:56 [+0100]:
That seems completely wrong since it's a full-mac "chip" (implemented in the HV or so maybe). What exactly does it need from mac80211?
Nothing, please drop. I've sent another patch which enables WEXT what is the correct thing to do. Sorry for the noise.
No problem. I saw it later on netdev but had read linux-wireless first :)
johannes