/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/ |
H A D | wireless.h | 16 * struct wiphy - wireless hardware description 17 * @idx: the wiphy index assigned to this item 18 * @class_dev: the class device representing /sys/class/ieee80211/<wiphy-name> 20 struct wiphy { struct 21 /* assign these fields before you register the wiphy */ 28 * know whether it points to a wiphy your driver has registered 30 * help determine whether you own this wiphy or not. */ 52 * @wiphy: pointer to hardware description 55 struct wiphy *wiphy; member in struct:wireless_dev 65 wiphy_priv(struct wiphy *wiphy) argument 74 set_wiphy_dev(struct wiphy *wiphy, struct device *dev) argument 82 wiphy_dev(struct wiphy *wiphy) argument 90 wiphy_name(struct wiphy *wiphy) argument [all...] |
H A D | cfg80211.h | 15 struct wiphy; 35 int (*add_virtual_intf)(struct wiphy *wiphy, char *name, 37 int (*del_virtual_intf)(struct wiphy *wiphy, int ifindex);
|
H A D | mac80211.h | 433 /* points to the cfg80211 wiphy for this piece. Note 436 struct wiphy *wiphy; member in struct:ieee80211_hw 538 set_wiphy_dev(hw->wiphy, dev); 543 memcpy(hw->wiphy->perm_addr, addr, ETH_ALEN);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/wireless/ |
H A D | core.h | 24 /* wiphy index, internal only */ 33 struct wiphy wiphy __attribute__((__aligned__(NETDEV_ALIGN))); member in struct:cfg80211_registered_device 37 struct cfg80211_registered_device *wiphy_to_dev(struct wiphy *wiphy) argument 39 BUG_ON(!wiphy); 40 return container_of(wiphy, struct cfg80211_registered_device, wiphy);
|
H A D | core.c | 41 struct wiphy *wiphy_new(struct cfg80211_ops *ops, int sizeof_priv) 72 snprintf(drv->wiphy.dev.bus_id, BUS_ID_SIZE, 79 device_initialize(&drv->wiphy.dev); 80 drv->wiphy.dev.class = &ieee80211_class; 81 drv->wiphy.dev.platform_data = drv; 83 return &drv->wiphy; 87 int wiphy_register(struct wiphy *wiphy) argument 89 struct cfg80211_registered_device *drv = wiphy_to_dev(wiphy); 94 res = device_add(&drv->wiphy 112 wiphy_unregister(struct wiphy *wiphy) argument 150 wiphy_free(struct wiphy *wiphy) argument [all...] |
H A D | sysfs.c | 2 * This file provides /sys/class/ieee80211/<wiphy name>/ 23 return container_of(dev, struct cfg80211_registered_device, wiphy.dev); 36 unsigned char *addr = dev_to_rdev(dev)->wiphy.perm_addr;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/mac80211/ |
H A D | ieee80211_cfg.c | 15 static int ieee80211_add_iface(struct wiphy *wiphy, char *name, argument 18 struct ieee80211_local *local = wiphy_priv(wiphy); 44 static int ieee80211_del_iface(struct wiphy *wiphy, int ifindex) argument 46 struct ieee80211_local *local = wiphy_priv(wiphy);
|
H A D | ieee80211_iface.c | 58 memcpy(ndev->dev_addr, local->hw.wiphy->perm_addr, ETH_ALEN); 63 SET_NETDEV_DEV(ndev, wiphy_dev(local->hw.wiphy)); 67 sdata->wdev.wiphy = local->hw.wiphy; 116 memcpy(ndev->dev_addr, local->hw.wiphy->perm_addr, ETH_ALEN); 117 SET_NETDEV_DEV(ndev, wiphy_dev(local->hw.wiphy)); 121 nsdata->wdev.wiphy = local->hw.wiphy;
|
H A D | ieee80211_led.c | 42 "%srx", wiphy_name(local->hw.wiphy)); 53 "%stx", wiphy_name(local->hw.wiphy));
|
H A D | debugfs_netdev.c | 378 sdata->local->hw.wiphy->debugfsdir); 405 if (!dev->ieee80211_ptr || !dev->ieee80211_ptr->wiphy) 408 if (dev->ieee80211_ptr->wiphy->privid != mac80211_wiphy_privid)
|
H A D | ieee80211.c | 4582 struct wiphy *wiphy; local 4585 * We use the wiphy priv data for both our ieee80211_local and for 4591 * | struct wiphy | 4603 wiphy = wiphy_new(&mac80211_config_ops, priv_size); 4605 if (!wiphy) 4608 wiphy->privid = mac80211_wiphy_privid; 4610 local = wiphy_priv(wiphy); 4611 local->hw.wiphy = wiphy; [all...] |
H A D | debugfs.c | 296 struct dentry *phyd = local->hw.wiphy->debugfsdir;
|
H A D | wme.c | 391 dev->ieee80211_ptr->wiphy->privid != mac80211_wiphy_privid)
|