aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2x00/ipw2200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2200.c')
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2200.c83
1 files changed, 41 insertions, 42 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c
index 6dc0733df46b..cb3ba134865e 100644
--- a/drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/ipw2x00/ipw2200.c
@@ -9995,49 +9995,48 @@ static int ipw_wx_sw_reset(struct net_device *dev,
9995} 9995}
9996 9996
9997/* Rebase the WE IOCTLs to zero for the handler array */ 9997/* Rebase the WE IOCTLs to zero for the handler array */
9998#define IW_IOCTL(x) [(x)-SIOCSIWCOMMIT]
9999static iw_handler ipw_wx_handlers[] = { 9998static iw_handler ipw_wx_handlers[] = {
10000 IW_IOCTL(SIOCGIWNAME) = (iw_handler) cfg80211_wext_giwname, 9999 IW_HANDLER(SIOCGIWNAME, (iw_handler)cfg80211_wext_giwname),
10001 IW_IOCTL(SIOCSIWFREQ) = ipw_wx_set_freq, 10000 IW_HANDLER(SIOCSIWFREQ, ipw_wx_set_freq),
10002 IW_IOCTL(SIOCGIWFREQ) = ipw_wx_get_freq, 10001 IW_HANDLER(SIOCGIWFREQ, ipw_wx_get_freq),
10003 IW_IOCTL(SIOCSIWMODE) = ipw_wx_set_mode, 10002 IW_HANDLER(SIOCSIWMODE, ipw_wx_set_mode),
10004 IW_IOCTL(SIOCGIWMODE) = ipw_wx_get_mode, 10003 IW_HANDLER(SIOCGIWMODE, ipw_wx_get_mode),
10005 IW_IOCTL(SIOCSIWSENS) = ipw_wx_set_sens, 10004 IW_HANDLER(SIOCSIWSENS, ipw_wx_set_sens),
10006 IW_IOCTL(SIOCGIWSENS) = ipw_wx_get_sens, 10005 IW_HANDLER(SIOCGIWSENS, ipw_wx_get_sens),
10007 IW_IOCTL(SIOCGIWRANGE) = ipw_wx_get_range, 10006 IW_HANDLER(SIOCGIWRANGE, ipw_wx_get_range),
10008 IW_IOCTL(SIOCSIWAP) = ipw_wx_set_wap, 10007 IW_HANDLER(SIOCSIWAP, ipw_wx_set_wap),
10009 IW_IOCTL(SIOCGIWAP) = ipw_wx_get_wap, 10008 IW_HANDLER(SIOCGIWAP, ipw_wx_get_wap),
10010 IW_IOCTL(SIOCSIWSCAN) = ipw_wx_set_scan, 10009 IW_HANDLER(SIOCSIWSCAN, ipw_wx_set_scan),
10011 IW_IOCTL(SIOCGIWSCAN) = ipw_wx_get_scan, 10010 IW_HANDLER(SIOCGIWSCAN, ipw_wx_get_scan),
10012 IW_IOCTL(SIOCSIWESSID) = ipw_wx_set_essid, 10011 IW_HANDLER(SIOCSIWESSID, ipw_wx_set_essid),
10013 IW_IOCTL(SIOCGIWESSID) = ipw_wx_get_essid, 10012 IW_HANDLER(SIOCGIWESSID, ipw_wx_get_essid),
10014 IW_IOCTL(SIOCSIWNICKN) = ipw_wx_set_nick, 10013 IW_HANDLER(SIOCSIWNICKN, ipw_wx_set_nick),
10015 IW_IOCTL(SIOCGIWNICKN) = ipw_wx_get_nick, 10014 IW_HANDLER(SIOCGIWNICKN, ipw_wx_get_nick),
10016 IW_IOCTL(SIOCSIWRATE) = ipw_wx_set_rate, 10015 IW_HANDLER(SIOCSIWRATE, ipw_wx_set_rate),
10017 IW_IOCTL(SIOCGIWRATE) = ipw_wx_get_rate, 10016 IW_HANDLER(SIOCGIWRATE, ipw_wx_get_rate),
10018 IW_IOCTL(SIOCSIWRTS) = ipw_wx_set_rts, 10017 IW_HANDLER(SIOCSIWRTS, ipw_wx_set_rts),
10019 IW_IOCTL(SIOCGIWRTS) = ipw_wx_get_rts, 10018 IW_HANDLER(SIOCGIWRTS, ipw_wx_get_rts),
10020 IW_IOCTL(SIOCSIWFRAG) = ipw_wx_set_frag, 10019 IW_HANDLER(SIOCSIWFRAG, ipw_wx_set_frag),
10021 IW_IOCTL(SIOCGIWFRAG) = ipw_wx_get_frag, 10020 IW_HANDLER(SIOCGIWFRAG, ipw_wx_get_frag),
10022 IW_IOCTL(SIOCSIWTXPOW) = ipw_wx_set_txpow, 10021 IW_HANDLER(SIOCSIWTXPOW, ipw_wx_set_txpow),
10023 IW_IOCTL(SIOCGIWTXPOW) = ipw_wx_get_txpow, 10022 IW_HANDLER(SIOCGIWTXPOW, ipw_wx_get_txpow),
10024 IW_IOCTL(SIOCSIWRETRY) = ipw_wx_set_retry, 10023 IW_HANDLER(SIOCSIWRETRY, ipw_wx_set_retry),
10025 IW_IOCTL(SIOCGIWRETRY) = ipw_wx_get_retry, 10024 IW_HANDLER(SIOCGIWRETRY, ipw_wx_get_retry),
10026 IW_IOCTL(SIOCSIWENCODE) = ipw_wx_set_encode, 10025 IW_HANDLER(SIOCSIWENCODE, ipw_wx_set_encode),
10027 IW_IOCTL(SIOCGIWENCODE) = ipw_wx_get_encode, 10026 IW_HANDLER(SIOCGIWENCODE, ipw_wx_get_encode),
10028 IW_IOCTL(SIOCSIWPOWER) = ipw_wx_set_power, 10027 IW_HANDLER(SIOCSIWPOWER, ipw_wx_set_power),
10029 IW_IOCTL(SIOCGIWPOWER) = ipw_wx_get_power, 10028 IW_HANDLER(SIOCGIWPOWER, ipw_wx_get_power),
10030 IW_IOCTL(SIOCSIWSPY) = iw_handler_set_spy, 10029 IW_HANDLER(SIOCSIWSPY, iw_handler_set_spy),
10031 IW_IOCTL(SIOCGIWSPY) = iw_handler_get_spy, 10030 IW_HANDLER(SIOCGIWSPY, iw_handler_get_spy),
10032 IW_IOCTL(SIOCSIWTHRSPY) = iw_handler_set_thrspy, 10031 IW_HANDLER(SIOCSIWTHRSPY, iw_handler_set_thrspy),
10033 IW_IOCTL(SIOCGIWTHRSPY) = iw_handler_get_thrspy, 10032 IW_HANDLER(SIOCGIWTHRSPY, iw_handler_get_thrspy),
10034 IW_IOCTL(SIOCSIWGENIE) = ipw_wx_set_genie, 10033 IW_HANDLER(SIOCSIWGENIE, ipw_wx_set_genie),
10035 IW_IOCTL(SIOCGIWGENIE) = ipw_wx_get_genie, 10034 IW_HANDLER(SIOCGIWGENIE, ipw_wx_get_genie),
10036 IW_IOCTL(SIOCSIWMLME) = ipw_wx_set_mlme, 10035 IW_HANDLER(SIOCSIWMLME, ipw_wx_set_mlme),
10037 IW_IOCTL(SIOCSIWAUTH) = ipw_wx_set_auth, 10036 IW_HANDLER(SIOCSIWAUTH, ipw_wx_set_auth),
10038 IW_IOCTL(SIOCGIWAUTH) = ipw_wx_get_auth, 10037 IW_HANDLER(SIOCGIWAUTH, ipw_wx_get_auth),
10039 IW_IOCTL(SIOCSIWENCODEEXT) = ipw_wx_set_encodeext, 10038 IW_HANDLER(SIOCSIWENCODEEXT, ipw_wx_set_encodeext),
10040 IW_IOCTL(SIOCGIWENCODEEXT) = ipw_wx_get_encodeext, 10039 IW_HANDLER(SIOCGIWENCODEEXT, ipw_wx_get_encodeext),
10041}; 10040};
10042 10041
10043enum { 10042enum {