Lines Matching refs:val

147 static void set80211(int s, int type, int val, int len, void *data);
150 static int get80211val(int s, int type, int *val);
151 static const char *get_string(const char *val, const char *sep,
348 int val;
350 if (get80211val(s, IEEE80211_IOC_CHANNEL, &val) < 0)
353 mapchan(&curchan, val, 0);
551 set80211ssid(const char *val, int d, int s, const struct afswtch *rafp)
558 len = strlen(val);
559 if (len > 2 && isdigit((int)val[0]) && val[1] == ':') {
560 ssid = atoi(val)-1;
561 val += 2;
566 if (get_string(val, NULL, data, &len) == NULL)
573 set80211meshid(const char *val, int d, int s, const struct afswtch *rafp)
580 if (get_string(val, NULL, data, &len) == NULL)
587 set80211stationname(const char *val, int d, int s, const struct afswtch *rafp)
594 get_string(val, NULL, data, &len);
612 getchannelflags(const char *val, int freq)
620 cp = strchr(val, ':');
654 val, *cp);
658 cp = strchr(val, '/');
681 errx(-1, "%s: Invalid channel width\n", val);
721 getchannel(int s, struct ieee80211_channel *chan, const char *val)
727 if (isanyarg(val)) {
733 v = strtol(val, &eptr, 10);
734 if (val[0] == '\0' || val == eptr || errno == ERANGE ||
739 flags = getchannelflags(val, v);
748 set80211channel(const char *val, int d, int s, const struct afswtch *rafp)
752 getchannel(s, &chan, val);
757 set80211chanswitch(const char *val, int d, int s, const struct afswtch *rafp)
761 getchannel(s, &csr.csa_chan, val);
768 set80211authmode(const char *val, int d, int s, const struct afswtch *rafp)
772 if (strcasecmp(val, "none") == 0) {
774 } else if (strcasecmp(val, "open") == 0) {
776 } else if (strcasecmp(val, "shared") == 0) {
778 } else if (strcasecmp(val, "8021x") == 0) {
780 } else if (strcasecmp(val, "wpa") == 0) {
790 set80211powersavemode(const char *val, int d, int s, const struct afswtch *rafp)
794 if (strcasecmp(val, "off") == 0) {
796 } else if (strcasecmp(val, "on") == 0) {
798 } else if (strcasecmp(val, "cam") == 0) {
800 } else if (strcasecmp(val, "psp") == 0) {
802 } else if (strcasecmp(val, "psp-cam") == 0) {
812 set80211powersave(const char *val, int d, int s, const struct afswtch *rafp)
823 set80211powersavesleep(const char *val, int d, int s, const struct afswtch *rafp)
825 set80211(s, IEEE80211_IOC_POWERSAVESLEEP, atoi(val), 0, NULL);
829 set80211wepmode(const char *val, int d, int s, const struct afswtch *rafp)
833 if (strcasecmp(val, "off") == 0) {
835 } else if (strcasecmp(val, "on") == 0) {
837 } else if (strcasecmp(val, "mixed") == 0) {
847 set80211wep(const char *val, int d, int s, const struct afswtch *rafp)
859 set80211weptxkey(const char *val, int d, int s, const struct afswtch *rafp)
861 if (isundefarg(val))
864 set80211(s, IEEE80211_IOC_WEPTXKEY, atoi(val)-1, 0, NULL);
868 set80211wepkey(const char *val, int d, int s, const struct afswtch *rafp)
874 if (isdigit((int)val[0]) && val[1] == ':') {
875 key = atoi(val)-1;
876 val += 2;
881 get_string(val, NULL, data, &len);
892 set80211nwkey(const char *val, int d, int s, const struct afswtch *rafp)
900 if (isdigit((int)val[0]) && val[1] == ':') {
901 txkey = val[0]-'0'-1;
902 val += 2;
907 val = get_string(val, ",", data, &len);
908 if (val == NULL)
916 get_string(val, NULL, data, &len);
930 set80211rtsthreshold(const char *val, int d, int s, const struct afswtch *rafp)
933 isundefarg(val) ? IEEE80211_RTS_MAX : atoi(val), 0, NULL);
937 set80211protmode(const char *val, int d, int s, const struct afswtch *rafp)
941 if (strcasecmp(val, "off") == 0) {
943 } else if (strcasecmp(val, "cts") == 0) {
945 } else if (strncasecmp(val, "rtscts", 3) == 0) {
955 set80211htprotmode(const char *val, int d, int s, const struct afswtch *rafp)
959 if (strcasecmp(val, "off") == 0) {
961 } else if (strncasecmp(val, "rts", 3) == 0) {
971 set80211txpower(const char *val, int d, int s, const struct afswtch *rafp)
973 double v = atof(val);
987 set80211roaming(const char *val, int d, int s, const struct afswtch *rafp)
991 if (strcasecmp(val, "device") == 0) {
993 } else if (strcasecmp(val, "auto") == 0) {
995 } else if (strcasecmp(val, "manual") == 0) {
1004 set80211wme(const char *val, int d, int s, const struct afswtch *rafp)
1010 set80211hidessid(const char *val, int d, int s, const struct afswtch *rafp)
1016 set80211apbridge(const char *val, int d, int s, const struct afswtch *rafp)
1022 set80211fastframes(const char *val, int d, int s, const struct afswtch *rafp)
1028 set80211dturbo(const char *val, int d, int s, const struct afswtch *rafp)
1034 set80211chanlist(const char *val, int d, int s, const struct afswtch *rafp)
1039 temp = malloc(strlen(val) + 1);
1042 strcpy(temp, val);
1085 set80211bssid(const char *val, int d, int s, const struct afswtch *rafp)
1088 if (!isanyarg(val)) {
1092 temp = malloc(strlen(val) + 2); /* ':' and '\0' */
1096 strcpy(temp + 1, val);
1127 DECL_CMD_FUNC2(set80211cwmin, ac, val)
1129 set80211(s, IEEE80211_IOC_WME_CWMIN, atoi(val), getac(ac), NULL);
1133 DECL_CMD_FUNC2(set80211cwmax, ac, val)
1135 set80211(s, IEEE80211_IOC_WME_CWMAX, atoi(val), getac(ac), NULL);
1139 DECL_CMD_FUNC2(set80211aifs, ac, val)
1141 set80211(s, IEEE80211_IOC_WME_AIFS, atoi(val), getac(ac), NULL);
1145 DECL_CMD_FUNC2(set80211txoplimit, ac, val)
1147 set80211(s, IEEE80211_IOC_WME_TXOPLIMIT, atoi(val), getac(ac), NULL);
1173 DECL_CMD_FUNC2(set80211bsscwmin, ac, val)
1175 set80211(s, IEEE80211_IOC_WME_CWMIN, atoi(val),
1180 DECL_CMD_FUNC2(set80211bsscwmax, ac, val)
1182 set80211(s, IEEE80211_IOC_WME_CWMAX, atoi(val),
1187 DECL_CMD_FUNC2(set80211bssaifs, ac, val)
1189 set80211(s, IEEE80211_IOC_WME_AIFS, atoi(val),
1194 DECL_CMD_FUNC2(set80211bsstxoplimit, ac, val)
1196 set80211(s, IEEE80211_IOC_WME_TXOPLIMIT, atoi(val),
1201 DECL_CMD_FUNC(set80211dtimperiod, val, d)
1203 set80211(s, IEEE80211_IOC_DTIM_PERIOD, atoi(val), 0, NULL);
1207 DECL_CMD_FUNC(set80211bintval, val, d)
1209 set80211(s, IEEE80211_IOC_BEACON_INTERVAL, atoi(val), 0, NULL);
1213 set80211macmac(int s, int op, const char *val)
1218 temp = malloc(strlen(val) + 2); /* ':' and '\0' */
1222 strcpy(temp + 1, val);
1232 DECL_CMD_FUNC(set80211addmac, val, d)
1234 set80211macmac(s, IEEE80211_IOC_ADDMAC, val);
1238 DECL_CMD_FUNC(set80211delmac, val, d)
1240 set80211macmac(s, IEEE80211_IOC_DELMAC, val);
1244 DECL_CMD_FUNC(set80211kickmac, val, d)
1250 temp = malloc(strlen(val) + 2); /* ':' and '\0' */
1254 strcpy(temp + 1, val);
1268 DECL_CMD_FUNC(set80211maccmd, val, d)
1274 set80211meshrtmac(int s, int req, const char *val)
1279 temp = malloc(strlen(val) + 2); /* ':' and '\0' */
1283 strcpy(temp + 1, val);
1294 DECL_CMD_FUNC(set80211addmeshrt, val, d)
1296 set80211meshrtmac(s, IEEE80211_MESH_RTCMD_ADD, val);
1300 DECL_CMD_FUNC(set80211delmeshrt, val, d)
1302 set80211meshrtmac(s, IEEE80211_MESH_RTCMD_DELETE, val);
1306 DECL_CMD_FUNC(set80211meshrtcmd, val, d)
1312 DECL_CMD_FUNC(set80211hwmprootmode, val, d)
1316 if (strcasecmp(val, "normal") == 0)
1318 else if (strcasecmp(val, "proactive") == 0)
1320 else if (strcasecmp(val, "rann") == 0)
1328 DECL_CMD_FUNC(set80211hwmpmaxhops, val, d)
1330 set80211(s, IEEE80211_IOC_HWMP_MAXHOPS, atoi(val), 0, NULL);
1334 set80211pureg(const char *val, int d, int s, const struct afswtch *rafp)
1340 set80211bgscan(const char *val, int d, int s, const struct afswtch *rafp)
1346 DECL_CMD_FUNC(set80211bgscanidle, val, d)
1348 set80211(s, IEEE80211_IOC_BGSCAN_IDLE, atoi(val), 0, NULL);
1352 DECL_CMD_FUNC(set80211bgscanintvl, val, d)
1354 set80211(s, IEEE80211_IOC_BGSCAN_INTERVAL, atoi(val), 0, NULL);
1358 DECL_CMD_FUNC(set80211scanvalid, val, d)
1360 set80211(s, IEEE80211_IOC_SCANVALID, atoi(val), 0, NULL);
1374 getmodeflags(const char *val)
1381 cp = strchr(val, ':');
1420 val, *cp);
1499 DECL_CMD_FUNC(set80211roamrssi, val, d)
1501 double v = atof(val);
1507 flags = getmodeflags(val);
1518 getrate(const char *val, const char *tag)
1520 double v = atof(val);
1530 DECL_CMD_FUNC(set80211roamrate, val, d)
1534 rate = getrate(val, "roam");
1535 flags = getmodeflags(val);
1546 DECL_CMD_FUNC(set80211mcastrate, val, d)
1550 rate = getrate(val, "mcast");
1551 flags = getmodeflags(val);
1562 DECL_CMD_FUNC(set80211mgtrate, val, d)
1566 rate = getrate(val, "mgmt");
1567 flags = getmodeflags(val);
1578 DECL_CMD_FUNC(set80211ucastrate, val, d)
1583 flags = getmodeflags(val);
1584 if (isanyarg(val)) {
1593 int rate = getrate(val, "ucast");
1604 DECL_CMD_FUNC(set80211maxretry, val, d)
1606 int v = atoi(val), flags;
1608 flags = getmodeflags(val);
1623 DECL_CMD_FUNC(set80211fragthreshold, val, d)
1626 isundefarg(val) ? IEEE80211_FRAG_MAX : atoi(val), 0, NULL);
1630 DECL_CMD_FUNC(set80211bmissthreshold, val, d)
1633 isundefarg(val) ? IEEE80211_HWBMISS_MAX : atoi(val), 0, NULL);
1637 set80211burst(const char *val, int d, int s, const struct afswtch *rafp)
1643 set80211doth(const char *val, int d, int s, const struct afswtch *rafp)
1649 set80211dfs(const char *val, int d, int s, const struct afswtch *rafp)
1655 set80211shortgi(const char *val, int d, int s, const struct afswtch *rafp)
1663 set80211ampdu(const char *val, int d, int s, const struct afswtch *rafp)
1678 DECL_CMD_FUNC(set80211ampdulimit, val, d)
1682 switch (atoi(val)) {
1700 errx(-1, "invalid A-MPDU limit %s", val);
1706 DECL_CMD_FUNC(set80211ampdudensity, val, d)
1710 if (isanyarg(val) || strcasecmp(val, "na") == 0)
1712 else switch ((int)(atof(val)*4)) {
1738 errx(-1, "invalid A-MPDU density %s", val);
1744 set80211amsdu(const char *val, int d, int s, const struct afswtch *rafp)
1759 DECL_CMD_FUNC(set80211amsdulimit, val, d)
1761 set80211(s, IEEE80211_IOC_AMSDU_LIMIT, atoi(val), 0, NULL);
1765 set80211puren(const char *val, int d, int s, const struct afswtch *rafp)
1771 set80211htcompat(const char *val, int d, int s, const struct afswtch *rafp)
1777 set80211htconf(const char *val, int d, int s, const struct afswtch *rafp)
1784 set80211dwds(const char *val, int d, int s, const struct afswtch *rafp)
1790 set80211inact(const char *val, int d, int s, const struct afswtch *rafp)
1796 set80211tsn(const char *val, int d, int s, const struct afswtch *rafp)
1802 set80211dotd(const char *val, int d, int s, const struct afswtch *rafp)
1808 set80211smps(const char *val, int d, int s, const struct afswtch *rafp)
1814 set80211rifs(const char *val, int d, int s, const struct afswtch *rafp)
1820 DECL_CMD_FUNC(set80211tdmaslot, val, d)
1822 set80211(s, IEEE80211_IOC_TDMA_SLOT, atoi(val), 0, NULL);
1826 DECL_CMD_FUNC(set80211tdmaslotcnt, val, d)
1828 set80211(s, IEEE80211_IOC_TDMA_SLOTCNT, atoi(val), 0, NULL);
1832 DECL_CMD_FUNC(set80211tdmaslotlen, val, d)
1834 set80211(s, IEEE80211_IOC_TDMA_SLOTLEN, atoi(val), 0, NULL);
1838 DECL_CMD_FUNC(set80211tdmabintval, val, d)
1840 set80211(s, IEEE80211_IOC_TDMA_BINTERVAL, atoi(val), 0, NULL);
1844 DECL_CMD_FUNC(set80211meshttl, val, d)
1846 set80211(s, IEEE80211_IOC_MESH_TTL, atoi(val), 0, NULL);
1850 DECL_CMD_FUNC(set80211meshforward, val, d)
1856 DECL_CMD_FUNC(set80211meshpeering, val, d)
1862 DECL_CMD_FUNC(set80211meshmetric, val, d)
1866 memcpy(v, val, sizeof(v));
1871 DECL_CMD_FUNC(set80211meshpath, val, d)
1875 memcpy(v, val, sizeof(v));
2218 DECL_CMD_FUNC(set80211regdomain, val, d)
2223 rd = lib80211_regdomain_findbyname(rdp, val);
2226 long sku = strtol(val, &eptr, 0);
2228 if (eptr != val)
2230 if (eptr == val || rd == NULL)
2231 errx(1, "unknown regdomain %s", val);
2246 DECL_CMD_FUNC(set80211country, val, d)
2251 cc = lib80211_country_findbyname(rdp, val);
2254 long code = strtol(val, &eptr, 0);
2256 if (eptr != val)
2258 if (eptr == val || cc == NULL)
2259 errx(1, "unknown ISO country code %s", val);
2270 set80211location(const char *val, int d, int s, const struct afswtch *rafp)
2278 set80211ecm(const char *val, int d, int s, const struct afswtch *rafp)
3247 DECL_CMD_FUNC(set80211scan, val, d)
3671 get80211wme(int s, int param, int ac, int *val)
3685 *val = ireq.i_val;
3692 int val;
3697 if (get80211wme(s, IEEE80211_IOC_WME_CWMIN, ac, &val) != -1)
3698 printf(" cwmin %2u", val);
3699 if (get80211wme(s, IEEE80211_IOC_WME_CWMAX, ac, &val) != -1)
3700 printf(" cwmax %2u", val);
3701 if (get80211wme(s, IEEE80211_IOC_WME_AIFS, ac, &val) != -1)
3702 printf(" aifs %2u", val);
3703 if (get80211wme(s, IEEE80211_IOC_WME_TXOPLIMIT, ac, &val) != -1)
3704 printf(" txopLimit %3u", val);
3705 if (get80211wme(s, IEEE80211_IOC_WME_ACM, ac, &val) != -1) {
3706 if (val)
3713 if (get80211wme(s, IEEE80211_IOC_WME_ACKPOLICY, ac, &val) != -1) {
3714 if (!val)
4201 int i, num, wpa, wme, bgscan, bgscaninterval, val, len, wepmode;
4264 if (get80211val(s, IEEE80211_IOC_AUTHMODE, &val) != -1) {
4265 switch (val) {
4297 LINE_CHECK("authmode UNKNOWN (0x%x)", val);
4303 if (get80211val(s, IEEE80211_IOC_WPS, &val) != -1) {
4304 if (val)
4309 if (get80211val(s, IEEE80211_IOC_TSN, &val) != -1) {
4310 if (val)
4315 if (ioctl(s, IEEE80211_IOC_COUNTERMEASURES, &val) != -1) {
4316 if (val)
4377 if (get80211val(s, IEEE80211_IOC_WEPTXKEY, &val) < 0) {
4381 if (val != -1)
4382 LINE_CHECK("deftxkey %d", val+1);
4410 if (get80211val(s, IEEE80211_IOC_POWERSAVE, &val) != -1 &&
4411 val != IEEE80211_POWERSAVE_NOSUP ) {
4412 if (val != IEEE80211_POWERSAVE_OFF || verbose) {
4413 switch (val) {
4427 if (get80211val(s, IEEE80211_IOC_POWERSAVESLEEP, &val) != -1)
4428 LINE_CHECK("powersavesleep %d", val);
4432 if (get80211val(s, IEEE80211_IOC_TXPOWER, &val) != -1) {
4433 if (val & 1)
4434 LINE_CHECK("txpower %d.5", val/2);
4436 LINE_CHECK("txpower %d", val/2);
4439 if (get80211val(s, IEEE80211_IOC_TXPOWMAX, &val) != -1)
4440 LINE_CHECK("txpowmax %.1f", val/2.);
4443 if (get80211val(s, IEEE80211_IOC_DOTD, &val) != -1) {
4444 if (val)
4450 if (get80211val(s, IEEE80211_IOC_RTSTHRESHOLD, &val) != -1) {
4451 if (val != IEEE80211_RTS_MAX || verbose)
4452 LINE_CHECK("rtsthreshold %d", val);
4455 if (get80211val(s, IEEE80211_IOC_FRAGTHRESHOLD, &val) != -1) {
4456 if (val != IEEE80211_FRAG_MAX || verbose)
4457 LINE_CHECK("fragthreshold %d", val);
4460 if (get80211val(s, IEEE80211_IOC_BMISSTHRESHOLD, &val) != -1) {
4461 if (val != IEEE80211_HWBMISS_MAX || verbose)
4462 LINE_CHECK("bmiss %d", val);
4485 if (get80211val(s, IEEE80211_IOC_SCANVALID, &val) != -1) {
4486 if (val != bgscaninterval || verbose)
4487 LINE_CHECK("scanvalid %u", val);
4500 if (get80211val(s, IEEE80211_IOC_BGSCAN_IDLE, &val) != -1)
4501 LINE_CHECK("bgscanidle %u", val);
4518 if (get80211val(s, IEEE80211_IOC_PUREG, &val) != -1) {
4519 if (val)
4524 if (get80211val(s, IEEE80211_IOC_PROTMODE, &val) != -1) {
4525 switch (val) {
4536 LINE_CHECK("protmode UNKNOWN (0x%x)", val);
4557 if (get80211val(s, IEEE80211_IOC_HTCOMPAT, &val) != -1) {
4558 if (!val)
4563 if (get80211val(s, IEEE80211_IOC_AMPDU, &val) != -1) {
4564 switch (val) {
4580 if (get80211val(s, IEEE80211_IOC_AMPDU_LIMIT, &val) != -1) {
4581 switch (val) {
4596 if (get80211val(s, IEEE80211_IOC_AMPDU_DENSITY, &val) != -1) {
4597 switch (val) {
4625 if (get80211val(s, IEEE80211_IOC_AMSDU, &val) != -1) {
4626 switch (val) {
4643 if (get80211val(s, IEEE80211_IOC_SHORTGI, &val) != -1) {
4644 if (val)
4649 if (get80211val(s, IEEE80211_IOC_HTPROTMODE, &val) != -1) {
4650 if (val == IEEE80211_PROTMODE_OFF)
4652 else if (val != IEEE80211_PROTMODE_RTSCTS)
4653 LINE_CHECK("htprotmode UNKNOWN (0x%x)", val);
4657 if (get80211val(s, IEEE80211_IOC_PUREN, &val) != -1) {
4658 if (val)
4663 if (get80211val(s, IEEE80211_IOC_SMPS, &val) != -1) {
4664 if (val == IEEE80211_HTCAP_SMPS_DYNAMIC)
4666 else if (val == IEEE80211_HTCAP_SMPS_ENA)
4671 if (get80211val(s, IEEE80211_IOC_RIFS, &val) != -1) {
4672 if (val)
4687 if (get80211val(s, IEEE80211_IOC_BURST, &val) != -1) {
4688 if (val)
4694 if (get80211val(s, IEEE80211_IOC_FF, &val) != -1) {
4695 if (val)
4700 if (get80211val(s, IEEE80211_IOC_TURBOP, &val) != -1) {
4701 if (val)
4706 if (get80211val(s, IEEE80211_IOC_DWDS, &val) != -1) {
4707 if (val)
4714 if (get80211val(s, IEEE80211_IOC_HIDESSID, &val) != -1) {
4715 if (val)
4720 if (get80211val(s, IEEE80211_IOC_APBRIDGE, &val) != -1) {
4721 if (!val)
4726 if (get80211val(s, IEEE80211_IOC_DTIM_PERIOD, &val) != -1)
4727 LINE_CHECK("dtimperiod %u", val);
4729 if (get80211val(s, IEEE80211_IOC_DOTH, &val) != -1) {
4730 if (!val)
4735 if (get80211val(s, IEEE80211_IOC_DFS, &val) != -1) {
4736 if (!val)
4741 if (get80211val(s, IEEE80211_IOC_INACTIVITY, &val) != -1) {
4742 if (!val)
4748 if (get80211val(s, IEEE80211_IOC_ROAMING, &val) != -1) {
4749 if (val != IEEE80211_ROAMING_AUTO || verbose) {
4750 switch (val) {
4762 val);
4770 if (get80211val(s, IEEE80211_IOC_TDMA_SLOT, &val) != -1)
4771 LINE_CHECK("tdmaslot %u", val);
4772 if (get80211val(s, IEEE80211_IOC_TDMA_SLOTCNT, &val) != -1)
4773 LINE_CHECK("tdmaslotcnt %u", val);
4774 if (get80211val(s, IEEE80211_IOC_TDMA_SLOTLEN, &val) != -1)
4775 LINE_CHECK("tdmaslotlen %u", val);
4776 if (get80211val(s, IEEE80211_IOC_TDMA_BINTERVAL, &val) != -1)
4777 LINE_CHECK("tdmabintval %u", val);
4778 } else if (get80211val(s, IEEE80211_IOC_BEACON_INTERVAL, &val) != -1) {
4780 if (val != 100 || verbose)
4781 LINE_CHECK("bintval %u", val);
4790 if (get80211val(s, IEEE80211_IOC_MESH_TTL, &val) != -1) {
4791 LINE_CHECK("meshttl %u", val);
4793 if (get80211val(s, IEEE80211_IOC_MESH_AP, &val) != -1) {
4794 if (val)
4799 if (get80211val(s, IEEE80211_IOC_MESH_FWRD, &val) != -1) {
4800 if (val)
4815 if (get80211val(s, IEEE80211_IOC_HWMP_ROOTMODE, &val) != -1) {
4816 switch (val) {
4830 LINE_CHECK("hwmprootmode UNKNOWN(%d)", val);
4834 if (get80211val(s, IEEE80211_IOC_HWMP_MAXHOPS, &val) != -1) {
4835 LINE_CHECK("hwmpmaxhops %u", val);
4873 get80211val(int s, int type, int *val)
4882 *val = ireq.i_val;
4887 set80211(int s, int type, int val, int len, void *data)
4894 ireq.i_val = val;
4903 get_string(const char *val, const char *sep, u_int8_t *buf, int *lenp)
4911 hexstr = (val[0] == '0' && tolower((u_char)val[1]) == 'x');
4913 val += 2;
4915 if (*val == '\0')
4917 if (sep != NULL && strchr(sep, *val) != NULL) {
4918 val++;
4922 if (!isxdigit((u_char)val[0])) {
4926 if (!isxdigit((u_char)val[1])) {
4940 *p++ = (tohex((u_char)val[0]) << 4) |
4941 tohex((u_char)val[1]);
4943 val += 2;
4945 *p++ = *val++;
4955 return val;
5063 set80211clone_beacons(const char *val, int d, int s, const struct afswtch *rafp)
5073 set80211clone_bssid(const char *val, int d, int s, const struct afswtch *rafp)
5082 set80211clone_wdslegacy(const char *val, int d, int s, const struct afswtch *rafp)