Linux Audio

Check our new training course

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