• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/

Lines Matching defs:wiphy

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 {
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;
63 * wiphy_priv - return priv from wiphy
65 static inline void *wiphy_priv(struct wiphy *wiphy)
67 BUG_ON(!wiphy);
68 return &wiphy->priv;
72 * set_wiphy_dev - set device pointer for wiphy
74 static inline void set_wiphy_dev(struct wiphy *wiphy, struct device *dev)
76 wiphy->dev.parent = dev;
80 * wiphy_dev - get wiphy dev pointer
82 static inline struct device *wiphy_dev(struct wiphy *wiphy)
84 return wiphy->dev.parent;
88 * wiphy_name - get wiphy name
90 static inline char *wiphy_name(struct wiphy *wiphy)
92 return wiphy->dev.bus_id;
96 * wdev_priv - return wiphy priv from wireless_dev
101 return wiphy_priv(wdev->wiphy);
105 * wiphy_new - create a new wiphy for use with cfg80211
107 * create a new wiphy and associate the given operations with it.
113 struct wiphy *wiphy_new(struct cfg80211_ops *ops, int sizeof_priv);
116 * wiphy_register - register a wiphy with cfg80211
118 * register the given wiphy
120 * Returns a non-negative wiphy index or a negative error code.
122 extern int wiphy_register(struct wiphy *wiphy);
125 * wiphy_unregister - deregister a wiphy from cfg80211
132 extern void wiphy_unregister(struct wiphy *wiphy);
135 * wiphy_free - free wiphy
137 extern void wiphy_free(struct wiphy *wiphy);