18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci#ifndef __NET_CFG80211_WEXT_H
38c2ecf20Sopenharmony_ci#define __NET_CFG80211_WEXT_H
48c2ecf20Sopenharmony_ci/*
58c2ecf20Sopenharmony_ci * 802.11 device and configuration interface -- wext handlers
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Copyright 2006-2010	Johannes Berg <johannes@sipsolutions.net>
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#include <linux/netdevice.h>
118c2ecf20Sopenharmony_ci#include <linux/wireless.h>
128c2ecf20Sopenharmony_ci#include <net/iw_handler.h>
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci/*
158c2ecf20Sopenharmony_ci * Temporary wext handlers & helper functions
168c2ecf20Sopenharmony_ci *
178c2ecf20Sopenharmony_ci * These are used only by drivers that aren't yet fully
188c2ecf20Sopenharmony_ci * converted to cfg80211.
198c2ecf20Sopenharmony_ci */
208c2ecf20Sopenharmony_ciint cfg80211_wext_giwname(struct net_device *dev,
218c2ecf20Sopenharmony_ci			  struct iw_request_info *info,
228c2ecf20Sopenharmony_ci			  char *name, char *extra);
238c2ecf20Sopenharmony_ciint cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info,
248c2ecf20Sopenharmony_ci			  u32 *mode, char *extra);
258c2ecf20Sopenharmony_ciint cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info,
268c2ecf20Sopenharmony_ci			  u32 *mode, char *extra);
278c2ecf20Sopenharmony_ciint cfg80211_wext_siwscan(struct net_device *dev,
288c2ecf20Sopenharmony_ci			  struct iw_request_info *info,
298c2ecf20Sopenharmony_ci			  union iwreq_data *wrqu, char *extra);
308c2ecf20Sopenharmony_ciint cfg80211_wext_giwscan(struct net_device *dev,
318c2ecf20Sopenharmony_ci			  struct iw_request_info *info,
328c2ecf20Sopenharmony_ci			  struct iw_point *data, char *extra);
338c2ecf20Sopenharmony_ciint cfg80211_wext_giwrange(struct net_device *dev,
348c2ecf20Sopenharmony_ci			   struct iw_request_info *info,
358c2ecf20Sopenharmony_ci			   struct iw_point *data, char *extra);
368c2ecf20Sopenharmony_ciint cfg80211_wext_siwrts(struct net_device *dev,
378c2ecf20Sopenharmony_ci			 struct iw_request_info *info,
388c2ecf20Sopenharmony_ci			 struct iw_param *rts, char *extra);
398c2ecf20Sopenharmony_ciint cfg80211_wext_giwrts(struct net_device *dev,
408c2ecf20Sopenharmony_ci			 struct iw_request_info *info,
418c2ecf20Sopenharmony_ci			 struct iw_param *rts, char *extra);
428c2ecf20Sopenharmony_ciint cfg80211_wext_siwfrag(struct net_device *dev,
438c2ecf20Sopenharmony_ci			  struct iw_request_info *info,
448c2ecf20Sopenharmony_ci			  struct iw_param *frag, char *extra);
458c2ecf20Sopenharmony_ciint cfg80211_wext_giwfrag(struct net_device *dev,
468c2ecf20Sopenharmony_ci			  struct iw_request_info *info,
478c2ecf20Sopenharmony_ci			  struct iw_param *frag, char *extra);
488c2ecf20Sopenharmony_ciint cfg80211_wext_giwretry(struct net_device *dev,
498c2ecf20Sopenharmony_ci			   struct iw_request_info *info,
508c2ecf20Sopenharmony_ci			   struct iw_param *retry, char *extra);
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci#endif /* __NET_CFG80211_WEXT_H */
53