Lines Matching refs:str
409 struct {char *req; char *str;} mode[] = {{"wme_ac_sta", "sta"}, {"wme_ac_ap", "ap"},
427 snprintf(nv, sizeof(nv), nv_name, prefix, mode[i].str, ac[j]);
499 snprintf(nv, sizeof(nv), nv_name, prefix, mode[2].str, ac[j]);
863 char var[80], *next, phy[] = "a", *str, *addr = NULL;
1074 str = nvram_safe_get(strcat_r(prefix, "mode", tmp));
1075 ap = (!strcmp(str, "") || !strcmp(str, "ap"));
1076 apsta = (!strcmp(str, "apsta") ||
1077 ((!strcmp(str, "sta") || !strcmp(str, "wet")) &&
1079 sta = (!strcmp(str, "sta") && bclist->count == 1);
1080 wds = !strcmp(str, "wds");
1081 wet = !strcmp(str, "wet");
1082 mac_spoof = !strcmp(str, "mac_spoof");
1222 str = nvram_get(strcat_r(prefix, "phytype", tmp));
1223 val = WLCONF_STR2PHYTYPE(str);
1226 str = nvram_get(strcat_r(prefix, "nband", tmp));
1227 if (str)
1228 val = atoi(str);
1333 str = nvram_safe_get(strcat_r(prefix, "nctrlsb", tmp));
1336 if (!strcmp(str, "lower")) {
1339 } else if (!strcmp(str, "upper")) {
1479 str = nvram_safe_get(strcat_r(bsscfg->prefix, "wme_bss_disable", tmp));
1480 val = (str[0] == '1') ? 1 : 0;