162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci#ifndef __NET_CFG80211_WEXT_H
362306a36Sopenharmony_ci#define __NET_CFG80211_WEXT_H
462306a36Sopenharmony_ci/*
562306a36Sopenharmony_ci * 802.11 device and configuration interface -- wext handlers
662306a36Sopenharmony_ci *
762306a36Sopenharmony_ci * Copyright 2006-2010	Johannes Berg <johannes@sipsolutions.net>
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#include <linux/netdevice.h>
1162306a36Sopenharmony_ci#include <linux/wireless.h>
1262306a36Sopenharmony_ci#include <net/iw_handler.h>
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci/*
1562306a36Sopenharmony_ci * Temporary wext handlers & helper functions
1662306a36Sopenharmony_ci *
1762306a36Sopenharmony_ci * These are used only by drivers that aren't yet fully
1862306a36Sopenharmony_ci * converted to cfg80211.
1962306a36Sopenharmony_ci */
2062306a36Sopenharmony_ciint cfg80211_wext_giwname(struct net_device *dev,
2162306a36Sopenharmony_ci			  struct iw_request_info *info,
2262306a36Sopenharmony_ci			  union iwreq_data *wrqu, char *extra);
2362306a36Sopenharmony_ciint cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info,
2462306a36Sopenharmony_ci			  union iwreq_data *wrqu, char *extra);
2562306a36Sopenharmony_ciint cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info,
2662306a36Sopenharmony_ci			  union iwreq_data *wrqu, char *extra);
2762306a36Sopenharmony_ciint cfg80211_wext_siwscan(struct net_device *dev,
2862306a36Sopenharmony_ci			  struct iw_request_info *info,
2962306a36Sopenharmony_ci			  union iwreq_data *wrqu, char *extra);
3062306a36Sopenharmony_ciint cfg80211_wext_giwscan(struct net_device *dev,
3162306a36Sopenharmony_ci			  struct iw_request_info *info,
3262306a36Sopenharmony_ci			  union iwreq_data *wrqu, char *extra);
3362306a36Sopenharmony_ciint cfg80211_wext_giwrange(struct net_device *dev,
3462306a36Sopenharmony_ci			   struct iw_request_info *info,
3562306a36Sopenharmony_ci			   union iwreq_data *wrqu, char *extra);
3662306a36Sopenharmony_ciint cfg80211_wext_siwrts(struct net_device *dev,
3762306a36Sopenharmony_ci			 struct iw_request_info *info,
3862306a36Sopenharmony_ci			 union iwreq_data *wrqu, char *extra);
3962306a36Sopenharmony_ciint cfg80211_wext_giwrts(struct net_device *dev,
4062306a36Sopenharmony_ci			 struct iw_request_info *info,
4162306a36Sopenharmony_ci			 union iwreq_data *wrqu, char *extra);
4262306a36Sopenharmony_ciint cfg80211_wext_siwfrag(struct net_device *dev,
4362306a36Sopenharmony_ci			  struct iw_request_info *info,
4462306a36Sopenharmony_ci			  union iwreq_data *wrqu, char *extra);
4562306a36Sopenharmony_ciint cfg80211_wext_giwfrag(struct net_device *dev,
4662306a36Sopenharmony_ci			  struct iw_request_info *info,
4762306a36Sopenharmony_ci			  union iwreq_data *wrqu, char *extra);
4862306a36Sopenharmony_ciint cfg80211_wext_giwretry(struct net_device *dev,
4962306a36Sopenharmony_ci			   struct iw_request_info *info,
5062306a36Sopenharmony_ci			   union iwreq_data *wrqu, char *extra);
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci#endif /* __NET_CFG80211_WEXT_H */
53