diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-10 23:04:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-05-11 14:54:54 -0400 |
commit | 4b19fcc363e9d3886d45818ad72633d5f0cba88d (patch) | |
tree | 897d5bca32f3c66aabbc1523385b97abe6c4ba87 /drivers/net/wireless/libertas/wext.c | |
parent | 3ce4023275a9d65d913d738846cea4a844e24b51 (diff) |
[PATCH] libertas: Purge non-mesh ioctls
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 274 |
1 files changed, 0 insertions, 274 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index c62ffcd214c2..69f52b6e59c8 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c | |||
@@ -986,137 +986,18 @@ static const struct iw_priv_args wlan_private_args[] = { | |||
986 | /* | 986 | /* |
987 | * { cmd, set_args, get_args, name } | 987 | * { cmd, set_args, get_args, name } |
988 | */ | 988 | */ |
989 | { | ||
990 | WLANSCAN_TYPE, | ||
991 | IW_PRIV_TYPE_CHAR | 8, | ||
992 | IW_PRIV_TYPE_CHAR | 8, | ||
993 | "scantype"}, | ||
994 | |||
995 | { | ||
996 | WLAN_SETINT_GETINT, | ||
997 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
998 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
999 | ""}, | ||
1000 | { | ||
1001 | WLANNF, | ||
1002 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1003 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1004 | "getNF"}, | ||
1005 | { | ||
1006 | WLANRSSI, | ||
1007 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1008 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1009 | "getRSSI"}, | ||
1010 | { | ||
1011 | WLANENABLE11D, | ||
1012 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1013 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1014 | "enable11d"}, | ||
1015 | { | ||
1016 | WLANADHOCGRATE, | ||
1017 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1018 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1019 | "adhocgrate"}, | ||
1020 | |||
1021 | { | ||
1022 | WLAN_SUBCMD_SET_PRESCAN, | ||
1023 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1024 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1025 | "prescan"}, | ||
1026 | { | ||
1027 | WLAN_SETONEINT_GETONEINT, | ||
1028 | IW_PRIV_TYPE_INT | 1, | ||
1029 | IW_PRIV_TYPE_INT | 1, | ||
1030 | ""}, | ||
1031 | { | ||
1032 | WLAN_BEACON_INTERVAL, | ||
1033 | IW_PRIV_TYPE_INT | 1, | ||
1034 | IW_PRIV_TYPE_INT | 1, | ||
1035 | "bcninterval"}, | ||
1036 | { | ||
1037 | WLAN_LISTENINTRVL, | ||
1038 | IW_PRIV_TYPE_INT | 1, | ||
1039 | IW_PRIV_TYPE_INT | 1, | ||
1040 | "lolisteninter"}, | ||
1041 | { | ||
1042 | WLAN_TXCONTROL, | ||
1043 | IW_PRIV_TYPE_INT | 1, | ||
1044 | IW_PRIV_TYPE_INT | 1, | ||
1045 | "txcontrol"}, | ||
1046 | { | ||
1047 | WLAN_NULLPKTINTERVAL, | ||
1048 | IW_PRIV_TYPE_INT | 1, | ||
1049 | IW_PRIV_TYPE_INT | 1, | ||
1050 | "psnullinterval"}, | ||
1051 | /* Using iwpriv sub-command feature */ | 989 | /* Using iwpriv sub-command feature */ |
1052 | { | 990 | { |
1053 | WLAN_SETONEINT_GETNONE, /* IOCTL: 24 */ | 991 | WLAN_SETONEINT_GETNONE, /* IOCTL: 24 */ |
1054 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | 992 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, |
1055 | IW_PRIV_TYPE_NONE, | 993 | IW_PRIV_TYPE_NONE, |
1056 | ""}, | 994 | ""}, |
1057 | |||
1058 | { | ||
1059 | WLAN_SUBCMD_SETRXANTENNA, | ||
1060 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1061 | IW_PRIV_TYPE_NONE, | ||
1062 | "setrxant"}, | ||
1063 | { | ||
1064 | WLAN_SUBCMD_SETTXANTENNA, | ||
1065 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1066 | IW_PRIV_TYPE_NONE, | ||
1067 | "settxant"}, | ||
1068 | { | ||
1069 | WLANSETENCRYPTIONMODE, | ||
1070 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1071 | IW_PRIV_TYPE_NONE, | ||
1072 | "encryptionmode", | ||
1073 | }, | ||
1074 | { | 995 | { |
1075 | WLANSETREGION, | 996 | WLANSETREGION, |
1076 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | 997 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, |
1077 | IW_PRIV_TYPE_NONE, | 998 | IW_PRIV_TYPE_NONE, |
1078 | "setregioncode"}, | 999 | "setregioncode"}, |
1079 | { | 1000 | { |
1080 | WLAN_SET_LISTEN_INTERVAL, | ||
1081 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1082 | IW_PRIV_TYPE_NONE, | ||
1083 | "setlisteninter"}, | ||
1084 | { | ||
1085 | WLAN_SET_MULTIPLE_DTIM, | ||
1086 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1087 | IW_PRIV_TYPE_NONE, | ||
1088 | "setmultipledtim"}, | ||
1089 | { | ||
1090 | WLAN_SET_ATIM_WINDOW, | ||
1091 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1092 | IW_PRIV_TYPE_NONE, | ||
1093 | "atimwindow"}, | ||
1094 | { | ||
1095 | WLANSETBCNAVG, | ||
1096 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1097 | IW_PRIV_TYPE_NONE, | ||
1098 | "setbcnavg"}, | ||
1099 | { | ||
1100 | WLANSETDATAAVG, | ||
1101 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1102 | IW_PRIV_TYPE_NONE, | ||
1103 | "setdataavg"}, | ||
1104 | { | ||
1105 | WLAN_SET_LINKMODE, | ||
1106 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1107 | IW_PRIV_TYPE_NONE, | ||
1108 | "linkmode"}, | ||
1109 | { | ||
1110 | WLAN_SET_RADIOMODE, | ||
1111 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1112 | IW_PRIV_TYPE_NONE, | ||
1113 | "radiomode"}, | ||
1114 | { | ||
1115 | WLAN_SET_DEBUGMODE, | ||
1116 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1117 | IW_PRIV_TYPE_NONE, | ||
1118 | "debugmode"}, | ||
1119 | { | ||
1120 | WLAN_SUBCMD_MESH_SET_TTL, | 1001 | WLAN_SUBCMD_MESH_SET_TTL, |
1121 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | 1002 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, |
1122 | IW_PRIV_TYPE_NONE, | 1003 | IW_PRIV_TYPE_NONE, |
@@ -1132,41 +1013,6 @@ static const struct iw_priv_args wlan_private_args[] = { | |||
1132 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | 1013 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, |
1133 | "getregioncode"}, | 1014 | "getregioncode"}, |
1134 | { | 1015 | { |
1135 | WLAN_GET_LISTEN_INTERVAL, | ||
1136 | IW_PRIV_TYPE_NONE, | ||
1137 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1138 | "getlisteninter"}, | ||
1139 | { | ||
1140 | WLAN_GET_MULTIPLE_DTIM, | ||
1141 | IW_PRIV_TYPE_NONE, | ||
1142 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1143 | "getmultipledtim"}, | ||
1144 | { | ||
1145 | WLAN_GET_TX_RATE, | ||
1146 | IW_PRIV_TYPE_NONE, | ||
1147 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1148 | "gettxrate"}, | ||
1149 | { | ||
1150 | WLANGETBCNAVG, | ||
1151 | IW_PRIV_TYPE_NONE, | ||
1152 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1153 | "getbcnavg"}, | ||
1154 | { | ||
1155 | WLAN_GET_LINKMODE, | ||
1156 | IW_PRIV_TYPE_NONE, | ||
1157 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1158 | "get_linkmode"}, | ||
1159 | { | ||
1160 | WLAN_GET_RADIOMODE, | ||
1161 | IW_PRIV_TYPE_NONE, | ||
1162 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1163 | "get_radiomode"}, | ||
1164 | { | ||
1165 | WLAN_GET_DEBUGMODE, | ||
1166 | IW_PRIV_TYPE_NONE, | ||
1167 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | ||
1168 | "get_debugmode"}, | ||
1169 | { | ||
1170 | WLAN_SUBCMD_FWT_CLEANUP, | 1016 | WLAN_SUBCMD_FWT_CLEANUP, |
1171 | IW_PRIV_TYPE_NONE, | 1017 | IW_PRIV_TYPE_NONE, |
1172 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | 1018 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, |
@@ -1182,61 +1028,11 @@ static const struct iw_priv_args wlan_private_args[] = { | |||
1182 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, | 1028 | IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, |
1183 | "mesh_get_ttl"}, | 1029 | "mesh_get_ttl"}, |
1184 | { | 1030 | { |
1185 | WLAN_SETNONE_GETTWELVE_CHAR, | ||
1186 | IW_PRIV_TYPE_NONE, | ||
1187 | IW_PRIV_TYPE_CHAR | 12, | ||
1188 | ""}, | ||
1189 | { | ||
1190 | WLAN_SUBCMD_GETRXANTENNA, | ||
1191 | IW_PRIV_TYPE_NONE, | ||
1192 | IW_PRIV_TYPE_CHAR | 12, | ||
1193 | "getrxant"}, | ||
1194 | { | ||
1195 | WLAN_SUBCMD_GETTXANTENNA, | ||
1196 | IW_PRIV_TYPE_NONE, | ||
1197 | IW_PRIV_TYPE_CHAR | 12, | ||
1198 | "gettxant"}, | ||
1199 | { | ||
1200 | WLAN_GET_TSF, | ||
1201 | IW_PRIV_TYPE_NONE, | ||
1202 | IW_PRIV_TYPE_CHAR | 12, | ||
1203 | "gettsf"}, | ||
1204 | { | ||
1205 | WLAN_SETNONE_GETNONE, | 1031 | WLAN_SETNONE_GETNONE, |
1206 | IW_PRIV_TYPE_NONE, | 1032 | IW_PRIV_TYPE_NONE, |
1207 | IW_PRIV_TYPE_NONE, | 1033 | IW_PRIV_TYPE_NONE, |
1208 | ""}, | 1034 | ""}, |
1209 | { | 1035 | { |
1210 | WLANDEAUTH, | ||
1211 | IW_PRIV_TYPE_NONE, | ||
1212 | IW_PRIV_TYPE_NONE, | ||
1213 | "deauth"}, | ||
1214 | { | ||
1215 | WLANADHOCSTOP, | ||
1216 | IW_PRIV_TYPE_NONE, | ||
1217 | IW_PRIV_TYPE_NONE, | ||
1218 | "adhocstop"}, | ||
1219 | { | ||
1220 | WLANRADIOON, | ||
1221 | IW_PRIV_TYPE_NONE, | ||
1222 | IW_PRIV_TYPE_NONE, | ||
1223 | "radioon"}, | ||
1224 | { | ||
1225 | WLANRADIOOFF, | ||
1226 | IW_PRIV_TYPE_NONE, | ||
1227 | IW_PRIV_TYPE_NONE, | ||
1228 | "radiooff"}, | ||
1229 | { | ||
1230 | WLANWLANIDLEON, | ||
1231 | IW_PRIV_TYPE_NONE, | ||
1232 | IW_PRIV_TYPE_NONE, | ||
1233 | "wlanidle-on"}, | ||
1234 | { | ||
1235 | WLANWLANIDLEOFF, | ||
1236 | IW_PRIV_TYPE_NONE, | ||
1237 | IW_PRIV_TYPE_NONE, | ||
1238 | "wlanidle-off"}, | ||
1239 | { | ||
1240 | WLAN_SUBCMD_FWT_RESET, | 1036 | WLAN_SUBCMD_FWT_RESET, |
1241 | IW_PRIV_TYPE_NONE, | 1037 | IW_PRIV_TYPE_NONE, |
1242 | IW_PRIV_TYPE_NONE, | 1038 | IW_PRIV_TYPE_NONE, |
@@ -1299,85 +1095,15 @@ static const struct iw_priv_args wlan_private_args[] = { | |||
1299 | IW_PRIV_TYPE_CHAR | 128, | 1095 | IW_PRIV_TYPE_CHAR | 128, |
1300 | "fwt_list_route"}, | 1096 | "fwt_list_route"}, |
1301 | { | 1097 | { |
1302 | WLANSCAN_MODE, | ||
1303 | IW_PRIV_TYPE_CHAR | 128, | ||
1304 | IW_PRIV_TYPE_CHAR | 128, | ||
1305 | "scanmode"}, | ||
1306 | { | ||
1307 | WLAN_GET_ADHOC_STATUS, | ||
1308 | IW_PRIV_TYPE_CHAR | 128, | ||
1309 | IW_PRIV_TYPE_CHAR | 128, | ||
1310 | "getadhocstatus"}, | ||
1311 | { | ||
1312 | WLAN_SETNONE_GETWORDCHAR, | ||
1313 | IW_PRIV_TYPE_NONE, | ||
1314 | IW_PRIV_TYPE_CHAR | 128, | ||
1315 | ""}, | ||
1316 | { | ||
1317 | WLANGETLOG, | ||
1318 | IW_PRIV_TYPE_NONE, | ||
1319 | IW_PRIV_TYPE_CHAR | GETLOG_BUFSIZE, | ||
1320 | "getlog"}, | ||
1321 | { | ||
1322 | WLAN_SET_GET_SIXTEEN_INT, | 1098 | WLAN_SET_GET_SIXTEEN_INT, |
1323 | IW_PRIV_TYPE_INT | 16, | 1099 | IW_PRIV_TYPE_INT | 16, |
1324 | IW_PRIV_TYPE_INT | 16, | 1100 | IW_PRIV_TYPE_INT | 16, |
1325 | ""}, | 1101 | ""}, |
1326 | { | 1102 | { |
1327 | WLAN_TPCCFG, | ||
1328 | IW_PRIV_TYPE_INT | 16, | ||
1329 | IW_PRIV_TYPE_INT | 16, | ||
1330 | "tpccfg"}, | ||
1331 | { | ||
1332 | WLAN_POWERCFG, | ||
1333 | IW_PRIV_TYPE_INT | 16, | ||
1334 | IW_PRIV_TYPE_INT | 16, | ||
1335 | "powercfg"}, | ||
1336 | { | ||
1337 | WLAN_AUTO_FREQ_SET, | ||
1338 | IW_PRIV_TYPE_INT | 16, | ||
1339 | IW_PRIV_TYPE_INT | 16, | ||
1340 | "setafc"}, | ||
1341 | { | ||
1342 | WLAN_AUTO_FREQ_GET, | ||
1343 | IW_PRIV_TYPE_INT | 16, | ||
1344 | IW_PRIV_TYPE_INT | 16, | ||
1345 | "getafc"}, | ||
1346 | { | ||
1347 | WLAN_SCANPROBES, | ||
1348 | IW_PRIV_TYPE_INT | 16, | ||
1349 | IW_PRIV_TYPE_INT | 16, | ||
1350 | "scanprobes"}, | ||
1351 | { | ||
1352 | WLAN_LED_GPIO_CTRL, | 1103 | WLAN_LED_GPIO_CTRL, |
1353 | IW_PRIV_TYPE_INT | 16, | 1104 | IW_PRIV_TYPE_INT | 16, |
1354 | IW_PRIV_TYPE_INT | 16, | 1105 | IW_PRIV_TYPE_INT | 16, |
1355 | "ledgpio"}, | 1106 | "ledgpio"}, |
1356 | { | ||
1357 | WLAN_ADAPT_RATESET, | ||
1358 | IW_PRIV_TYPE_INT | 16, | ||
1359 | IW_PRIV_TYPE_INT | 16, | ||
1360 | "rateadapt"}, | ||
1361 | { | ||
1362 | WLAN_INACTIVITY_TIMEOUT, | ||
1363 | IW_PRIV_TYPE_INT | 16, | ||
1364 | IW_PRIV_TYPE_INT | 16, | ||
1365 | "inactivityto"}, | ||
1366 | { | ||
1367 | WLANSNR, | ||
1368 | IW_PRIV_TYPE_INT | 16, | ||
1369 | IW_PRIV_TYPE_INT | 16, | ||
1370 | "getSNR"}, | ||
1371 | { | ||
1372 | WLAN_GET_RATE, | ||
1373 | IW_PRIV_TYPE_INT | 16, | ||
1374 | IW_PRIV_TYPE_INT | 16, | ||
1375 | "getrate"}, | ||
1376 | { | ||
1377 | WLAN_GET_RXINFO, | ||
1378 | IW_PRIV_TYPE_INT | 16, | ||
1379 | IW_PRIV_TYPE_INT | 16, | ||
1380 | "getrxinfo"}, | ||
1381 | }; | 1107 | }; |
1382 | 1108 | ||
1383 | static struct iw_statistics *wlan_get_wireless_stats(struct net_device *dev) | 1109 | static struct iw_statistics *wlan_get_wireless_stats(struct net_device *dev) |