diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-01 15:26:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 15:01:52 -0400 |
commit | ab737a4f7dbe57b12b73f482a7b973bf00b41942 (patch) | |
tree | 33f3c44073921b9fa4c96ea5501dbfcad59567ac /include/net/cfg80211.h | |
parent | bc92afd92088ab41223383cc6863ab4792533c54 (diff) |
cfg80211: implement IWAP for WDS
This implements siocsiwap/giwap for WDS mode.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 82b7d804f6da..b396d11564bc 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1018,6 +1018,9 @@ struct cfg80211_ops { | |||
1018 | enum tx_power_setting type, int dbm); | 1018 | enum tx_power_setting type, int dbm); |
1019 | int (*get_tx_power)(struct wiphy *wiphy, int *dbm); | 1019 | int (*get_tx_power)(struct wiphy *wiphy, int *dbm); |
1020 | 1020 | ||
1021 | int (*set_wds_peer)(struct wiphy *wiphy, struct net_device *dev, | ||
1022 | u8 *addr); | ||
1023 | |||
1021 | void (*rfkill_poll)(struct wiphy *wiphy); | 1024 | void (*rfkill_poll)(struct wiphy *wiphy); |
1022 | 1025 | ||
1023 | #ifdef CONFIG_NL80211_TESTMODE | 1026 | #ifdef CONFIG_NL80211_TESTMODE |
@@ -1619,6 +1622,13 @@ int cfg80211_wext_giwpower(struct net_device *dev, | |||
1619 | struct iw_request_info *info, | 1622 | struct iw_request_info *info, |
1620 | struct iw_param *wrq, char *extra); | 1623 | struct iw_param *wrq, char *extra); |
1621 | 1624 | ||
1625 | int cfg80211_wds_wext_siwap(struct net_device *dev, | ||
1626 | struct iw_request_info *info, | ||
1627 | struct sockaddr *addr, char *extra); | ||
1628 | int cfg80211_wds_wext_giwap(struct net_device *dev, | ||
1629 | struct iw_request_info *info, | ||
1630 | struct sockaddr *addr, char *extra); | ||
1631 | |||
1622 | /* | 1632 | /* |
1623 | * callbacks for asynchronous cfg80211 methods, notification | 1633 | * callbacks for asynchronous cfg80211 methods, notification |
1624 | * functions and BSS handling helpers | 1634 | * functions and BSS handling helpers |