Lines Matching defs:wiphy
3 * This file provides /sys/class/ieee80211/<wiphy name>/
23 return container_of(dev, struct cfg80211_registered_device, wiphy.dev);
36 SHOW_FMT(macaddress, "%pM", wiphy.perm_addr);
37 SHOW_FMT(address_mask, "%pM", wiphy.addr_mask);
43 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy;
45 return sprintf(buf, "%s\n", wiphy_name(wiphy));
53 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy;
57 if (!wiphy->addresses)
58 return sprintf(buf, "%pM\n", wiphy->perm_addr);
60 for (i = 0; i < wiphy->n_addresses; i++)
61 buf += sprintf(buf, "%pM\n", wiphy->addresses[i].addr);
95 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list)
107 if (rdev->wiphy.registered) {
108 if (!rdev->wiphy.wowlan_config) {
113 ret = rdev_suspend(rdev, rdev->wiphy.wowlan_config);
135 if (rdev->wiphy.registered && rdev->ops->resume)
150 struct wiphy *wiphy = container_of(d, struct wiphy, dev);
152 return wiphy_net(wiphy);