aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/cfg80211.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 07085216532d..82b7d804f6da 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1023,6 +1023,10 @@ struct cfg80211_ops {
1023#ifdef CONFIG_NL80211_TESTMODE 1023#ifdef CONFIG_NL80211_TESTMODE
1024 int (*testmode_cmd)(struct wiphy *wiphy, void *data, int len); 1024 int (*testmode_cmd)(struct wiphy *wiphy, void *data, int len);
1025#endif 1025#endif
1026
1027 /* some temporary stuff to finish wext */
1028 int (*set_power_mgmt)(struct wiphy *wiphy, struct net_device *dev,
1029 bool enabled, int timeout);
1026}; 1030};
1027 1031
1028/* 1032/*
@@ -1262,6 +1266,8 @@ struct wireless_dev {
1262 u8 bssid[ETH_ALEN]; 1266 u8 bssid[ETH_ALEN];
1263 u8 ssid[IEEE80211_MAX_SSID_LEN]; 1267 u8 ssid[IEEE80211_MAX_SSID_LEN];
1264 s8 default_key, default_mgmt_key; 1268 s8 default_key, default_mgmt_key;
1269 bool ps;
1270 int ps_timeout;
1265 } wext; 1271 } wext;
1266#endif 1272#endif
1267}; 1273};
@@ -1606,6 +1612,13 @@ int cfg80211_wext_giwtxpower(struct net_device *dev,
1606 struct iw_request_info *info, 1612 struct iw_request_info *info,
1607 union iwreq_data *data, char *keybuf); 1613 union iwreq_data *data, char *keybuf);
1608 1614
1615int cfg80211_wext_siwpower(struct net_device *dev,
1616 struct iw_request_info *info,
1617 struct iw_param *wrq, char *extra);
1618int cfg80211_wext_giwpower(struct net_device *dev,
1619 struct iw_request_info *info,
1620 struct iw_param *wrq, char *extra);
1621
1609/* 1622/*
1610 * callbacks for asynchronous cfg80211 methods, notification 1623 * callbacks for asynchronous cfg80211 methods, notification
1611 * functions and BSS handling helpers 1624 * functions and BSS handling helpers