Lines Matching refs:argv
123 int SoftapController::setSoftap(int argc, char *argv[]) { in setSoftap() argument
133 if (!strcasecmp(argv[4], "hidden")) in setSoftap()
137 channel = atoi(argv[5]); in setSoftap()
151 argv[2], argv[3], channel, (channel <= 14) ? 'g' : 'a', hidden)); in setSoftap()
156 if (!strcmp(argv[6], "wpa-psk")) { in setSoftap()
157 generatePsk(argv[3], argv[7], psk_str); in setSoftap()
159 } else if (!strcmp(argv[6], "wpa2-psk")) { in setSoftap()
160 generatePsk(argv[3], argv[7], psk_str); in setSoftap()
162 } else if (!strcmp(argv[6], "open")) { in setSoftap()
166 if (!strcmp(argv[6], "open")) { in setSoftap()
185 int SoftapController::fwReloadSoftap(int argc, char *argv[]) in fwReloadSoftap() argument
194 if (strcmp(argv[3], "AP") == 0) { in fwReloadSoftap()
196 } else if (strcmp(argv[3], "P2P") == 0) { in fwReloadSoftap()
198 } else if (strcmp(argv[3], "STA") == 0) { in fwReloadSoftap()