Release 4.11 net/wireless/ethtool.c
#include <linux/utsname.h>
#include <net/cfg80211.h>
#include "core.h"
#include "rdev-ops.h"
void cfg80211_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
{
struct wireless_dev *wdev = dev->ieee80211_ptr;
strlcpy(info->driver, wiphy_dev(wdev->wiphy)->driver->name,
sizeof(info->driver));
strlcpy(info->version, init_utsname()->release, sizeof(info->version));
if (wdev->wiphy->fw_version[0])
strlcpy(info->fw_version, wdev->wiphy->fw_version,
sizeof(info->fw_version));
else
strlcpy(info->fw_version, "N/A", sizeof(info->fw_version));
strlcpy(info->bus_info, dev_name(wiphy_dev(wdev->wiphy)),
sizeof(info->bus_info));
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
John W. Linville | 107 | 76.43% | 1 | 33.33% |
Kalle Valo | 31 | 22.14% | 1 | 33.33% |
Jiri Pirko | 2 | 1.43% | 1 | 33.33% |
Total | 140 | 100.00% | 3 | 100.00% |
EXPORT_SYMBOL(cfg80211_get_drvinfo);
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
John W. Linville | 119 | 75.80% | 2 | 28.57% |
Kalle Valo | 31 | 19.75% | 1 | 14.29% |
Jiri Pirko | 2 | 1.27% | 1 | 14.29% |
Ben Greear | 2 | 1.27% | 1 | 14.29% |
Johannes Berg | 2 | 1.27% | 1 | 14.29% |
Hila Gonen | 1 | 0.64% | 1 | 14.29% |
Total | 157 | 100.00% | 7 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.