History log of /net/wireless/ethtool.c
Revision Date Author Comments
b7ffbd7ef6751f6cde73082346e365738daf00d2 04-Jun-2014 Johannes Berg <johannes.berg@intel.com> cfg80211: make ethtool the driver's responsibility

Currently, cfg80211 tries to implement ethtool, but that doesn't
really scale well, with all the different operations. Make the
lower-level driver responsible for it, which currently only has
an effect on mac80211. It will similarly not scale well at that
level though, since mac80211 also has many drivers.

To cleanly implement this in mac80211, introduce a new file and
move some code to appropriate places.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
f26cbf401be935eec13da6fca7088b50d797d78b 20-Apr-2014 Zhao, Gang <gamerh2o@gmail.com> cfg80211: change wiphy_to_dev function name

Name wiphy_to_rdev is more accurate to describe what the function
does, i.e., return a pointer pointing to struct
cfg80211_registered_device.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
7826d43f2db45c9305a6e0ba165650e1a203f517 06-Jan-2013 Jiri Pirko <jiri@resnulli.us> ethtool: fix drvinfo strings set in drivers

Use strlcpy where possible to ensure the string is \0 terminated.
Use always sizeof(string) instead of 32, ETHTOOL_BUSINFO_LEN
and custom defines.
Use snprintf instead of sprint.
Remove unnecessary inits of ->fw_version
Remove unnecessary inits of drvinfo struct.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
e35e4d28b687d4e849573419fdcf90f1cce2a14c 27-Jun-2012 Hila Gonen <hila.gonen@intel.com> cfg80211: add wrappers for registered_device_ops

This will allow adding central tracing like in mac80211.

Signed-off-by: Hila Gonen <hila.gonen@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
d61992182e41e1beec0507fd7bce4ba1face12d6 23-Apr-2012 Ben Greear <greearb@candelatech.com> cfg80211: Add framework to support ethtool stats.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
3677713b799155c96637cdef3fa025e42f3fcf48 07-Mar-2011 John W. Linville <linville@tuxdriver.com> wireless: add support for ethtool_ops->{get,set}_ringparam

Signed-off-by: John W. Linville <linville@tuxdriver.com>
dfce95f51fe34fa18c87a7d0bea53594b9bf1b9a 24-Sep-2009 Kalle Valo <kalle.valo@nokia.com> cfg80211: add firmware and hardware version to wiphy

It's useful to provide firmware and hardware version to user space and have a
generic interface to retrieve them. Users can provide the version information
in bug reports etc.

Add fields for firmware and hardware version to struct wiphy.

(Dropped nl80211 bits for now and modified remaining bits in favor of
ethtool. -- JWL)

Cc: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
4890e3beddfb4a6859c4bb782c9cd05dd94ead82 30-Sep-2009 John W. Linville <linville@tuxdriver.com> wireless: implement basic ethtool support for cfg80211 devices

Signed-off-by: John W. Linville <linville@tuxdriver.com>