Skip to contentSkip to conversation

at76c50x: remove wext includes

TODO Johannes Berg 4 participants 7 messages Jul 13, 2011 – Jul 16, 2011 Networking drivers (wireless)

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

Not possible right now:
at76c50x-usb.h:404:11: error: ‘IW_ESSID_MAX_SIZE’ undeclared here (not in a function) at76c50x-usb.c: In function ‘at76_startup_device’:
at76c50x-usb.c:1371:263: error: ‘IW_MODE_ADHOC’ undeclared (first use in this function) at76c50x-usb.c:1371:263: note: each undeclared identifier is reported only once for each function it appears in at76c50x-usb.c: In function ‘at76_add_interface’:
at76c50x-usb.c:1863:19: error: ‘IW_MODE_INFRA’ undeclared (first use in this function) at76c50x-usb.c: In function ‘at76_init_new_device’:
at76c50x-usb.c:2269:18: error: ‘IW_MODE_INFRA’ undeclared (first use in this function)

but none of those constants should be used in a mac80211 driver.

Also this driver is missing a MAINTAINERS entry.

Cc Kalle Valo <[email protected]>
---
 drivers/net/wireless/at76c50x-usb.c |    2 --
 1 file changed, 2 deletions(-)
drivers/net/wireless/at76c50x-usb.c +0 -2
@@ -38,8 +38,6 @@
 #include <linux/if_arp.h>
 #include <linux/etherdevice.h>
 #include <linux/ethtool.h>
-#include <linux/wireless.h>
-#include <net/iw_handler.h>
 #include <net/ieee80211_radiotap.h>
 #include <linux/firmware.h>
 #include <linux/leds.h>
#1 lore raw
Quoted 10 lines · Johannes Berg

Not possible right now:
at76c50x-usb.h:404:11: error: ‘IW_ESSID_MAX_SIZE’ undeclared here (not in a function) at76c50x-usb.c: In function ‘at76_startup_device’:
at76c50x-usb.c:1371:263: error: ‘IW_MODE_ADHOC’ undeclared (first use in this function) at76c50x-usb.c:1371:263: note: each undeclared identifier is reported only once for each function it appears in at76c50x-usb.c: In function ‘at76_add_interface’:
at76c50x-usb.c:1863:19: error: ‘IW_MODE_INFRA’ undeclared (first use in this function) at76c50x-usb.c: In function ‘at76_init_new_device’:
at76c50x-usb.c:2269:18: error: ‘IW_MODE_INFRA’ undeclared (first use in this function)

Quoted 3 lines

but none of those constants should be used in a mac80211 driver.

Also this driver is missing a MAINTAINERS entry.

The driver has been broken due to the mac80211 changes for a long time and it's obvious that I can't maintain it anymore as I haven't touched it for a long time. I would like to just remove it altogether. Any objections?

If someone wants to step up and fix it, now is the time to do it.

Kalle

#2 lore raw
Quoted 4 lines · Kalle Valo

The driver has been broken due to the mac80211 changes for a long time and it's obvious that I can't maintain it anymore as I haven't touched it for a long time. I would like to just remove it altogether. Any objections?

What hardware is it for?

Thanks,

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
#3 lore raw
Quoted 7 lines · Julian Calaby
Quoted 4 lines · Kalle Valo

The driver has been broken due to the mac80211 changes for a long time and it's obvious that I can't maintain it anymore as I haven't touched it for a long time. I would like to just remove it altogether. Any objections?

What hardware is it for?

For USB devices from stone age which had Atmel at76c50x chipset. For example Belkin F5D5060 was one of them:

http://www.gearxs.com/gearxs/product_info.php?products_id=3535

Kalle

#4 lore raw
Quoted 7 lines · Kalle Valo
Quoted 6 lines · Julian Calaby
Quoted 4 lines · Kalle Valo

The driver has been broken due to the mac80211 changes for a long time and it's obvious that I can't maintain it anymore as I haven't touched it for a long time. I would like to just remove it altogether. Any objections?

Quoted 6 lines
Quoted 1 line

What hardware is it for?

For USB devices from stone age which had Atmel at76c50x chipset. For example Belkin F5D5060 was one of them:

http://www.gearxs.com/gearxs/product_info.php?products_id=3535

Thanks!

I found the device table in the driver which helpfully lists manufacturers and model numbers, of all of those, the only ones I can obtain on eBay are the Linksys ones and the Netgear ones - which means I've probably got a really small chance of laying hands on one of these chipsets as they both like to recycle model numbers.

I'll see what I can get locally and maybe pick this up if I find anything.

Until then, you might as well drop it from the kernel if nobody else shows up - if I find anything I'll restore it from the history. (that said, I *really* need another project at the moment =) )

Thanks,

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
#5 lore raw
In reply to Kalle Valo
Quoted 13 lines · Kalle Valo
Quoted 12 lines · Johannes Berg

Not possible right now:
at76c50x-usb.h:404:11: error: ‘IW_ESSID_MAX_SIZE’ undeclared here (not in a function) at76c50x-usb.c: In function ‘at76_startup_device’:
at76c50x-usb.c:1371:263: error: ‘IW_MODE_ADHOC’ undeclared (first use in this function) at76c50x-usb.c:1371:263: note: each undeclared identifier is reported only once for each function it appears in at76c50x-usb.c: In function ‘at76_add_interface’:
at76c50x-usb.c:1863:19: error: ‘IW_MODE_INFRA’ undeclared (first use in this function) at76c50x-usb.c: In function ‘at76_init_new_device’:
at76c50x-usb.c:2269:18: error: ‘IW_MODE_INFRA’ undeclared (first use in this function)

but none of those constants should be used in a mac80211 driver.

Quoted 8 lines
Quoted 1 line

Also this driver is missing a MAINTAINERS entry.

The driver has been broken due to the mac80211 changes for a long time and it's obvious that I can't maintain it anymore as I haven't touched it for a long time. I would like to just remove it altogether. Any objections?

If someone wants to step up and fix it, now is the time to do it.

Please keep the driver for now! I have a pile of compatible hardware, and I should be able to fix it. I'm placing it onto my TODO list.

There is some really obsolete hardware that we may need to stop supporting, e.g. Atheros AR5210, but the reason is because it's supported by an actively developed driver, ath5k, and the AR5210 code stands in the way all the time.

However, at76c50x-usb is a separate driver and it doesn't stand in the way of anybody except when global changes are made.

Signature · 2 lines
Regards,
Pavel Roskin
#6 lore raw
Quoted 9 lines · Pavel Roskin
Quoted 6 lines · Kalle Valo

The driver has been broken due to the mac80211 changes for a long time and it's obvious that I can't maintain it anymore as I haven't touched it for a long time. I would like to just remove it altogether. Any objections?

If someone wants to step up and fix it, now is the time to do it.

Please keep the driver for now!

Ok, I won't remove it now but I'll send a patch stating that it's broken currently.

Quoted 2 lines

I have a pile of compatible hardware, and I should be able to fix it. I'm placing it onto my TODO list.

Nice. Thank you for stepping in.

Quoted 7 lines

There is some really obsolete hardware that we may need to stop supporting, e.g. Atheros AR5210, but the reason is because it's supported by an actively developed driver, ath5k, and the AR5210 code stands in the way all the time.

However, at76c50x-usb is a separate driver and it doesn't stand in the way of anybody except when global changes are made.

You are right. The problem is that the driver is broken currently as it requires bssid before authentication and mac80211 doesn't provide it. Or at least I haven't found a way to do that.

I know that Johannes has been talking about adding support for providing bssid to the driver before authentication. So there is a chance that we might be able to fix this without major hacks.

Signature · 1 line
Kalle Valo