^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef __NET_CFG80211_WEXT_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define __NET_CFG80211_WEXT_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * 802.11 device and configuration interface -- wext handlers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <linux/netdevice.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/wireless.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include <net/iw_handler.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) * Temporary wext handlers & helper functions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) * These are used only by drivers that aren't yet fully
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) * converted to cfg80211.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) int cfg80211_wext_giwname(struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) struct iw_request_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) char *name, char *extra);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) u32 *mode, char *extra);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) u32 *mode, char *extra);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) int cfg80211_wext_siwscan(struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) struct iw_request_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) union iwreq_data *wrqu, char *extra);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) int cfg80211_wext_giwscan(struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) struct iw_request_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) struct iw_point *data, char *extra);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) int cfg80211_wext_giwrange(struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) struct iw_request_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) struct iw_point *data, char *extra);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) int cfg80211_wext_siwrts(struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) struct iw_request_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) struct iw_param *rts, char *extra);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) int cfg80211_wext_giwrts(struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) struct iw_request_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) struct iw_param *rts, char *extra);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) int cfg80211_wext_siwfrag(struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) struct iw_request_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) struct iw_param *frag, char *extra);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) int cfg80211_wext_giwfrag(struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) struct iw_request_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) struct iw_param *frag, char *extra);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) int cfg80211_wext_giwretry(struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) struct iw_request_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) struct iw_param *retry, char *extra);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) #endif /* __NET_CFG80211_WEXT_H */