aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/cfg80211.h36
1 files changed, 35 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 24fab439d415..07085216532d 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1253,8 +1253,14 @@ struct wireless_dev {
1253#ifdef CONFIG_WIRELESS_EXT 1253#ifdef CONFIG_WIRELESS_EXT
1254 /* wext data */ 1254 /* wext data */
1255 struct { 1255 struct {
1256 struct cfg80211_ibss_params ibss; 1256 union {
1257 struct cfg80211_ibss_params ibss;
1258 struct cfg80211_connect_params connect;
1259 };
1260 u8 *ie;
1261 size_t ie_len;
1257 u8 bssid[ETH_ALEN]; 1262 u8 bssid[ETH_ALEN];
1263 u8 ssid[IEEE80211_MAX_SSID_LEN];
1258 s8 default_key, default_mgmt_key; 1264 s8 default_key, default_mgmt_key;
1259 } wext; 1265 } wext;
1260#endif 1266#endif
@@ -1535,6 +1541,34 @@ int cfg80211_ibss_wext_giwap(struct net_device *dev,
1535 struct iw_request_info *info, 1541 struct iw_request_info *info,
1536 struct sockaddr *ap_addr, char *extra); 1542 struct sockaddr *ap_addr, char *extra);
1537 1543
1544int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
1545 struct iw_request_info *info,
1546 struct iw_freq *freq, char *extra);
1547int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
1548 struct iw_request_info *info,
1549 struct iw_freq *freq, char *extra);
1550int cfg80211_mgd_wext_siwessid(struct net_device *dev,
1551 struct iw_request_info *info,
1552 struct iw_point *data, char *ssid);
1553int cfg80211_mgd_wext_giwessid(struct net_device *dev,
1554 struct iw_request_info *info,
1555 struct iw_point *data, char *ssid);
1556int cfg80211_mgd_wext_siwap(struct net_device *dev,
1557 struct iw_request_info *info,
1558 struct sockaddr *ap_addr, char *extra);
1559int cfg80211_mgd_wext_giwap(struct net_device *dev,
1560 struct iw_request_info *info,
1561 struct sockaddr *ap_addr, char *extra);
1562int cfg80211_wext_siwgenie(struct net_device *dev,
1563 struct iw_request_info *info,
1564 struct iw_point *data, char *extra);
1565int cfg80211_wext_siwauth(struct net_device *dev,
1566 struct iw_request_info *info,
1567 struct iw_param *data, char *extra);
1568int cfg80211_wext_giwauth(struct net_device *dev,
1569 struct iw_request_info *info,
1570 struct iw_param *data, char *extra);
1571
1538struct ieee80211_channel *cfg80211_wext_freq(struct wiphy *wiphy, 1572struct ieee80211_channel *cfg80211_wext_freq(struct wiphy *wiphy,
1539 struct iw_freq *freq); 1573 struct iw_freq *freq);
1540 1574