On Wed, May 9, 2012 at 5:19 PM, Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote: > On 05/08/2012 11:11 PM, Johannes Berg wrote: >> >> On Tue, 2012-05-08 at 22:53 +0300, Arik Nemtsov wrote: >>> >>> Allow low-level drivers to change the feature bit for a vif's underlying >>> net_device struct. >> >> >> What are you planning to use this for? I'm not really sure I see the >> need for an exported function? Is it not going to just be set the same >> for all interfaces? >> >> Out of the many netdev feature bits, we can handle maybe a handful in >> mac80211, so I'm worried this API will suggest to people they can look >> at netdev_features.h... > > > If the regular ethtool api is implemented, we might could support > some of the features like 'rx-all' that instruct the driver to > pass (more) errored frames up the stack... > > But, I have no idea what the original poster was trying to accomplish. > We're trying to add support for HW checksum for a mac80211 based driver. Johannes suggested to instead implement this as a field in mac80211 that will be filled out by the lower driver. This values will be checked against a white list and then propagated to all netdevs belonging to this HW. Arik -- 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