Lines Matching defs:wepkey
430 {WEPKEY, "wepkey|1-4", NULL, do_set_wepkey, WO},
1559 "\t\t\t\t 5 chars or 10 hex digits for 40bit wepkey;\n"
1560 "\t\t\t\t 13 chars or 26 hex digits for 128bit wepkey\n"
1648 "wepkey.\n"), gExecName, WIFI_WEP_AUTH);
2318 * if wepkey is set in the profile, display wepkey|n=*****
2392 * identify whether wepkey is set
2419 * identify whether wepkey is set
2882 "wepkey should be:\n"
2891 * get_valid_wepkey: get an valid wepkey from stdin
2907 * wepkey should not be see by others, so we disable echo too.
2927 (void) fprintf(stderr, gettext("%s: wepkey length "
2940 * do_set_wepkey: Set parameters in wepkey, and call ioctl
2949 const char *wepkey = NULL;
2959 wepkey = get_value(pbuf);
2960 length = strlen(wepkey);
2965 (void) sscanf(wepkey + i * 2, "%2x", &keytmp);
2972 (void) strlcpy(key, wepkey, MAX_KEY_LENGTH);
2978 "wepkey should be:\n"
3005 * get the committed wepkey. the return form is like wepkey1=*****;
3013 char *wepkey = NULL;
3023 (void) printf(gettext("input wepkey%d:"), key);
3024 wepkey = get_valid_wepkey();
3025 if (wepkey == NULL) {
3028 (void) printf(gettext("confirm wepkey%d:"), key);
3031 free(wepkey);
3034 if (strcmp(wepkey, wepkey_confirm) != 0) {
3035 free(wepkey);
3038 gettext("%s: wepkey: "
3046 safe_snprintf(pbuf, len, "%s%d=%s", "wepkey", key, wepkey);
3048 free(wepkey); /* wepkey is no longer used */
4089 const char *wepkey;
4093 wepkey = get_value(argv[i]);
4094 if (value_is_valid(WEPKEY, wepkey) == B_FALSE) {
4097 "'wepkey'\n"), gExecName, wepkey);