On Wednesday 12 December 2007 02:13:08 Zhu Yi wrote: > > On Tue, 2007-12-11 at 13:50 +0100, Michael Buesch wrote: > > On Tuesday 11 December 2007 09:17:28 Zhu Yi wrote: > > > I want to add ethtool .get_eeprom and .get_eeprom_len support for > > > iwlwifi. But it seems mac80211 hides the netdev structure from the > > > driver. What's the suggested way for doing so (i.e dump EEPROM) for > > > mac80211 devices? > > > > In ssb we simply create a sysfs file for this. > > Yeah, we can do this also. But the users want a standard way, especially > when there is already such kernel interface and user space tools ready > there. Any chance mac80211 supports ethtool or something similar? You could write a patch. Add a callback to mac80211 that mac80211 uses to register the eeprom ethtool interface. -- Greetings Michael. - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html