Commit 921cd68b authored by Jesper Juhl's avatar Jesper Juhl Committed by Greg Kroah-Hartman

staging: vt6656: iwctl: fix up function declarations/prototypes

The way function prototypes/declarations are written in iwctl.[ch] is
an inconsistent mess.

This patch makes the whole thing consistent by putting the first
function arguments (op to a column width of at most 80) on the same
line as the function name and the remaining ones on the following line
indented by two tabs.

Besides getting rid of the current tabs vs spaces mess it also
shortens the files quite a bit and puts them more in line with most
other kernel files.
Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4c0ad72f
...@@ -87,10 +87,8 @@ struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev) ...@@ -87,10 +87,8 @@ struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev)
/* /*
* Wireless Handler : get protocol name * Wireless Handler : get protocol name
*/ */
int iwctl_giwname(struct net_device *dev, int iwctl_giwname(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, char *wrq, char *extra)
char *wrq,
char *extra)
{ {
strcpy(wrq, "802.11-a/b/g"); strcpy(wrq, "802.11-a/b/g");
return 0; return 0;
...@@ -99,10 +97,8 @@ int iwctl_giwname(struct net_device *dev, ...@@ -99,10 +97,8 @@ int iwctl_giwname(struct net_device *dev,
/* /*
* Wireless Handler : set scan * Wireless Handler : set scan
*/ */
int iwctl_siwscan(struct net_device *dev, int iwctl_siwscan(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -173,10 +169,8 @@ if(pDevice->byReAssocCount > 0) { //reject scan when re-associating! ...@@ -173,10 +169,8 @@ if(pDevice->byReAssocCount > 0) { //reject scan when re-associating!
/* /*
* Wireless Handler : get scan results * Wireless Handler : get scan results
*/ */
int iwctl_giwscan(struct net_device *dev, int iwctl_giwscan(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
int ii, jj, kk; int ii, jj, kk;
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
...@@ -323,10 +317,8 @@ int iwctl_giwscan(struct net_device *dev, ...@@ -323,10 +317,8 @@ int iwctl_giwscan(struct net_device *dev,
/* /*
* Wireless Handler : set frequence or channel * Wireless Handler : set frequence or channel
*/ */
int iwctl_siwfreq(struct net_device *dev, int iwctl_siwfreq(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_freq *wrq, char *extra)
struct iw_freq *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
int rc = 0; int rc = 0;
...@@ -365,10 +357,8 @@ int iwctl_siwfreq(struct net_device *dev, ...@@ -365,10 +357,8 @@ int iwctl_siwfreq(struct net_device *dev,
/* /*
* Wireless Handler : get frequence or channel * Wireless Handler : get frequence or channel
*/ */
int iwctl_giwfreq(struct net_device *dev, int iwctl_giwfreq(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_freq *wrq, char *extra)
struct iw_freq *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -393,10 +383,8 @@ int iwctl_giwfreq(struct net_device *dev, ...@@ -393,10 +383,8 @@ int iwctl_giwfreq(struct net_device *dev,
/* /*
* Wireless Handler : set operation mode * Wireless Handler : set operation mode
*/ */
int iwctl_siwmode(struct net_device *dev, int iwctl_siwmode(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, __u32 *wmode, char *extra)
__u32 *wmode,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -459,10 +447,8 @@ int iwctl_siwmode(struct net_device *dev, ...@@ -459,10 +447,8 @@ int iwctl_siwmode(struct net_device *dev,
/* /*
* Wireless Handler : get operation mode * Wireless Handler : get operation mode
*/ */
void iwctl_giwmode(struct net_device *dev, void iwctl_giwmode(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, __u32 *wmode, char *extra)
__u32 *wmode,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -491,10 +477,8 @@ void iwctl_giwmode(struct net_device *dev, ...@@ -491,10 +477,8 @@ void iwctl_giwmode(struct net_device *dev,
/* /*
* Wireless Handler : get capability range * Wireless Handler : get capability range
*/ */
void iwctl_giwrange(struct net_device *dev, void iwctl_giwrange(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
struct iw_range *range = (struct iw_range *) extra; struct iw_range *range = (struct iw_range *) extra;
int i,k; int i,k;
...@@ -589,10 +573,8 @@ void iwctl_giwrange(struct net_device *dev, ...@@ -589,10 +573,8 @@ void iwctl_giwrange(struct net_device *dev,
/* /*
* Wireless Handler : set ap mac address * Wireless Handler : set ap mac address
*/ */
int iwctl_siwap(struct net_device *dev, int iwctl_siwap(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct sockaddr *wrq, char *extra)
struct sockaddr *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -638,10 +620,8 @@ int iwctl_siwap(struct net_device *dev, ...@@ -638,10 +620,8 @@ int iwctl_siwap(struct net_device *dev,
/* /*
* Wireless Handler : get ap mac address * Wireless Handler : get ap mac address
*/ */
int iwctl_giwap(struct net_device *dev, int iwctl_giwap(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct sockaddr *wrq, char *extra)
struct sockaddr *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -664,10 +644,8 @@ int iwctl_giwap(struct net_device *dev, ...@@ -664,10 +644,8 @@ int iwctl_giwap(struct net_device *dev,
/* /*
* Wireless Handler : get ap list * Wireless Handler : get ap list
*/ */
int iwctl_giwaplist(struct net_device *dev, int iwctl_giwaplist(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
int ii,jj, rc = 0; int ii,jj, rc = 0;
struct sockaddr sock[IW_MAX_AP]; struct sockaddr sock[IW_MAX_AP];
...@@ -711,11 +689,8 @@ int iwctl_giwaplist(struct net_device *dev, ...@@ -711,11 +689,8 @@ int iwctl_giwaplist(struct net_device *dev,
/* /*
* Wireless Handler : set essid * Wireless Handler : set essid
*/ */
int iwctl_siwessid(struct net_device *dev, struct iw_request_info *info,
int iwctl_siwessid(struct net_device *dev, struct iw_point *wrq, char *extra)
struct iw_request_info *info,
struct iw_point *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -824,10 +799,8 @@ int iwctl_siwessid(struct net_device *dev, ...@@ -824,10 +799,8 @@ int iwctl_siwessid(struct net_device *dev,
/* /*
* Wireless Handler : get essid * Wireless Handler : get essid
*/ */
void iwctl_giwessid(struct net_device *dev, void iwctl_giwessid(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -850,10 +823,8 @@ void iwctl_giwessid(struct net_device *dev, ...@@ -850,10 +823,8 @@ void iwctl_giwessid(struct net_device *dev,
/* /*
* Wireless Handler : set data rate * Wireless Handler : set data rate
*/ */
int iwctl_siwrate(struct net_device *dev, int iwctl_siwrate(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra)
struct iw_param *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
int rc = 0; int rc = 0;
...@@ -931,10 +902,8 @@ int iwctl_siwrate(struct net_device *dev, ...@@ -931,10 +902,8 @@ int iwctl_siwrate(struct net_device *dev,
/* /*
* Wireless Handler : get data rate * Wireless Handler : get data rate
*/ */
void iwctl_giwrate(struct net_device *dev, void iwctl_giwrate(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra)
struct iw_param *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -974,8 +943,7 @@ void iwctl_giwrate(struct net_device *dev, ...@@ -974,8 +943,7 @@ void iwctl_giwrate(struct net_device *dev,
/* /*
* Wireless Handler : set rts threshold * Wireless Handler : set rts threshold
*/ */
int iwctl_siwrts(struct net_device *dev, int iwctl_siwrts(struct net_device *dev, struct iw_param *wrq)
struct iw_param *wrq)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
...@@ -993,10 +961,8 @@ int iwctl_siwrts(struct net_device *dev, ...@@ -993,10 +961,8 @@ int iwctl_siwrts(struct net_device *dev,
/* /*
* Wireless Handler : get rts * Wireless Handler : get rts
*/ */
int iwctl_giwrts(struct net_device *dev, int iwctl_giwrts(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra)
struct iw_param *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
...@@ -1011,10 +977,8 @@ int iwctl_giwrts(struct net_device *dev, ...@@ -1011,10 +977,8 @@ int iwctl_giwrts(struct net_device *dev,
/* /*
* Wireless Handler : set fragment threshold * Wireless Handler : set fragment threshold
*/ */
int iwctl_siwfrag(struct net_device *dev, int iwctl_siwfrag(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra)
struct iw_param *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
int rc = 0; int rc = 0;
...@@ -1036,11 +1000,8 @@ int iwctl_siwfrag(struct net_device *dev, ...@@ -1036,11 +1000,8 @@ int iwctl_siwfrag(struct net_device *dev,
/* /*
* Wireless Handler : get fragment threshold * Wireless Handler : get fragment threshold
*/ */
int iwctl_giwfrag(struct net_device *dev, struct iw_request_info *info,
int iwctl_giwfrag(struct net_device *dev, struct iw_param *wrq, char *extra)
struct iw_request_info *info,
struct iw_param *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
...@@ -1055,10 +1016,8 @@ int iwctl_giwfrag(struct net_device *dev, ...@@ -1055,10 +1016,8 @@ int iwctl_giwfrag(struct net_device *dev,
/* /*
* Wireless Handler : set retry threshold * Wireless Handler : set retry threshold
*/ */
int iwctl_siwretry(struct net_device *dev, int iwctl_siwretry(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra)
struct iw_param *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
int rc = 0; int rc = 0;
...@@ -1090,10 +1049,8 @@ int iwctl_siwretry(struct net_device *dev, ...@@ -1090,10 +1049,8 @@ int iwctl_siwretry(struct net_device *dev,
/* /*
* Wireless Handler : get retry threshold * Wireless Handler : get retry threshold
*/ */
int iwctl_giwretry(struct net_device *dev, int iwctl_giwretry(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra)
struct iw_param *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCGIWRETRY \n"); DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCGIWRETRY \n");
...@@ -1119,10 +1076,8 @@ int iwctl_giwretry(struct net_device *dev, ...@@ -1119,10 +1076,8 @@ int iwctl_giwretry(struct net_device *dev,
/* /*
* Wireless Handler : set encode mode * Wireless Handler : set encode mode
*/ */
int iwctl_siwencode(struct net_device *dev, int iwctl_siwencode(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -1221,10 +1176,8 @@ int iwctl_siwencode(struct net_device *dev, ...@@ -1221,10 +1176,8 @@ int iwctl_siwencode(struct net_device *dev,
return rc; return rc;
} }
int iwctl_giwencode(struct net_device *dev, int iwctl_giwencode(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -1281,10 +1234,8 @@ int iwctl_giwencode(struct net_device *dev, ...@@ -1281,10 +1234,8 @@ int iwctl_giwencode(struct net_device *dev,
/* /*
* Wireless Handler : set power mode * Wireless Handler : set power mode
*/ */
int iwctl_siwpower(struct net_device *dev, int iwctl_siwpower(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra)
struct iw_param *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -1331,10 +1282,8 @@ int iwctl_siwpower(struct net_device *dev, ...@@ -1331,10 +1282,8 @@ int iwctl_siwpower(struct net_device *dev,
/* /*
* Wireless Handler : get power mode * Wireless Handler : get power mode
*/ */
int iwctl_giwpower(struct net_device *dev, int iwctl_giwpower(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra)
struct iw_param *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -1359,10 +1308,8 @@ int iwctl_giwpower(struct net_device *dev, ...@@ -1359,10 +1308,8 @@ int iwctl_giwpower(struct net_device *dev,
/* /*
* Wireless Handler : get Sensitivity * Wireless Handler : get Sensitivity
*/ */
int iwctl_giwsens(struct net_device *dev, int iwctl_giwsens(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra)
struct iw_param *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
long ldBm; long ldBm;
...@@ -1382,10 +1329,8 @@ int iwctl_giwsens(struct net_device *dev, ...@@ -1382,10 +1329,8 @@ int iwctl_giwsens(struct net_device *dev,
#ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
int iwctl_siwauth(struct net_device *dev, int iwctl_siwauth(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra)
struct iw_param *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -1485,18 +1430,14 @@ int iwctl_siwauth(struct net_device *dev, ...@@ -1485,18 +1430,14 @@ int iwctl_siwauth(struct net_device *dev,
return ret; return ret;
} }
int iwctl_giwauth(struct net_device *dev, int iwctl_giwauth(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra)
struct iw_param *wrq,
char *extra)
{ {
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }
int iwctl_siwgenie(struct net_device *dev, int iwctl_siwgenie(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -1526,10 +1467,8 @@ int iwctl_siwgenie(struct net_device *dev, ...@@ -1526,10 +1467,8 @@ int iwctl_siwgenie(struct net_device *dev,
return ret; return ret;
} }
int iwctl_giwgenie(struct net_device *dev, int iwctl_giwgenie(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -1549,10 +1488,8 @@ int iwctl_giwgenie(struct net_device *dev, ...@@ -1549,10 +1488,8 @@ int iwctl_giwgenie(struct net_device *dev,
return ret; return ret;
} }
int iwctl_siwencodeext(struct net_device *dev, int iwctl_siwencodeext(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
...@@ -1674,18 +1611,14 @@ kfree(param); ...@@ -1674,18 +1611,14 @@ kfree(param);
return ret; return ret;
} }
int iwctl_giwencodeext(struct net_device *dev, int iwctl_giwencodeext(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }
int iwctl_siwmlme(struct net_device *dev, int iwctl_siwmlme(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info * info, struct iw_point *wrq, char *extra)
struct iw_point *wrq,
char *extra)
{ {
PSDevice pDevice = (PSDevice)netdev_priv(dev); PSDevice pDevice = (PSDevice)netdev_priv(dev);
PSMgmtObject pMgmt = &(pDevice->sMgmtObj); PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
......
...@@ -41,170 +41,104 @@ ...@@ -41,170 +41,104 @@
struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev); struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev);
int iwctl_siwap(struct net_device *dev, int iwctl_siwap(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct sockaddr *wrq, char *extra);
struct sockaddr *wrq,
char *extra); void iwctl_giwrange(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wrq, char *extra);
void iwctl_giwrange(struct net_device *dev,
struct iw_request_info *info, void iwctl_giwmode(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wrq, __u32 *wmode, char *extra);
char *extra);
int iwctl_siwmode(struct net_device *dev, struct iw_request_info *info,
__u32 *wmode, char *extra);
void iwctl_giwmode(struct net_device *dev,
struct iw_request_info *info, int iwctl_giwfreq(struct net_device *dev, struct iw_request_info *info,
__u32 *wmode, struct iw_freq *wrq, char *extra);
char *extra);
int iwctl_siwfreq(struct net_device *dev, struct iw_request_info *info,
int iwctl_siwmode(struct net_device *dev, struct iw_freq *wrq, char *extra);
struct iw_request_info *info,
__u32 *wmode, int iwctl_giwname(struct net_device *dev, struct iw_request_info *info,
char *extra); char *wrq, char *extra);
int iwctl_giwfreq(struct net_device *dev, int iwctl_giwsens(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra);
struct iw_freq *wrq,
char *extra); int iwctl_giwap(struct net_device *dev, struct iw_request_info *info,
struct sockaddr *wrq, char *extra);
int iwctl_siwfreq(struct net_device *dev,
struct iw_request_info *info, int iwctl_giwaplist(struct net_device *dev, struct iw_request_info *info,
struct iw_freq *wrq, struct iw_point *wrq, char *extra);
char *extra);
int iwctl_siwessid(struct net_device *dev, struct iw_request_info *info,
int iwctl_giwname(struct net_device *dev, struct iw_point *wrq, char *extra);
struct iw_request_info *info,
char *wrq, void iwctl_giwessid(struct net_device *dev, struct iw_request_info *info,
char *extra); struct iw_point *wrq, char *extra);
int iwctl_giwsens(struct net_device *dev, int iwctl_siwrate(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra);
struct iw_param *wrq,
char *extra); void iwctl_giwrate(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, char *extra);
int iwctl_giwap(struct net_device *dev,
struct iw_request_info *info, int iwctl_siwrts(struct net_device *dev, struct iw_param *wrq);
struct sockaddr *wrq,
char *extra); int iwctl_giwrts(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, char *extra);
int iwctl_giwaplist(struct net_device *dev,
struct iw_request_info *info, int iwctl_siwfrag(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wrq, struct iw_param *wrq, char *extra);
char *extra);
int iwctl_giwfrag(struct net_device *dev, struct iw_request_info *info,
int iwctl_siwessid(struct net_device *dev, struct iw_param *wrq, char *extra);
struct iw_request_info *info,
struct iw_point *wrq, int iwctl_siwretry(struct net_device *dev, struct iw_request_info *info,
char *extra); struct iw_param *wrq, char *extra);
void iwctl_giwessid(struct net_device *dev, int iwctl_giwretry(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra);
struct iw_point *wrq,
char *extra); int iwctl_siwencode(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wrq, char *extra);
int iwctl_siwrate(struct net_device *dev,
struct iw_request_info *info, int iwctl_giwencode(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, struct iw_point *wrq, char *extra);
char *extra);
int iwctl_siwpower(struct net_device *dev, struct iw_request_info *info,
void iwctl_giwrate(struct net_device *dev, struct iw_param *wrq, char *extra);
struct iw_request_info *info,
struct iw_param *wrq, int iwctl_giwpower(struct net_device *dev, struct iw_request_info *info,
char *extra); struct iw_param *wrq, char *extra);
int iwctl_siwrts(struct net_device *dev, int iwctl_giwscan(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq); struct iw_point *wrq, char *extra);
int iwctl_giwrts(struct net_device *dev, int iwctl_siwscan(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra);
struct iw_param *wrq,
char *extra);
int iwctl_siwfrag(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_giwfrag(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_siwretry(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_giwretry(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_siwencode(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra);
int iwctl_giwencode(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra);
int iwctl_siwpower(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_giwpower(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_giwscan(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra);
int iwctl_siwscan(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
#ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
int iwctl_siwauth(struct net_device *dev, int iwctl_siwauth(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra);
struct iw_param *wrq,
char *extra); int iwctl_giwauth(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, char *extra);
int iwctl_giwauth(struct net_device *dev,
struct iw_request_info *info, int iwctl_siwgenie(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, struct iw_point *wrq, char *extra);
char *extra);
int iwctl_giwgenie(struct net_device *dev, struct iw_request_info *info,
int iwctl_siwgenie(struct net_device *dev, struct iw_point *wrq, char *extra);
struct iw_request_info *info,
struct iw_point *wrq, int iwctl_siwencodeext(struct net_device *dev, struct iw_request_info *info,
char *extra); struct iw_point *wrq, char *extra);
int iwctl_giwgenie(struct net_device *dev, int iwctl_giwencodeext(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra);
struct iw_point *wrq,
char *extra); int iwctl_siwmlme(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wrq, char *extra);
int iwctl_siwencodeext(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra);
int iwctl_giwencodeext(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra);
int iwctl_siwmlme(struct net_device *dev,
struct iw_request_info * info,
struct iw_point *wrq,
char *extra);
#endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT #endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
extern const struct iw_handler_def iwctl_handler_def; extern const struct iw_handler_def iwctl_handler_def;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment