| 1973 | } |
| 1974 | |
| 1975 | static void |
| 1976 | set80211vhtconf(const char *val, int d, int s, const struct afswtch *rafp) |
| 1977 | { |
| 1978 | if (get80211val(s, IEEE80211_IOC_VHTCONF, &vhtconf) < 0) |
| 1979 | errx(-1, "cannot set VHT setting"); |
| 1980 | printf("%s: vhtconf=0x%08x, d=%d\n", __func__, vhtconf, d); |
| 1981 | if (d < 0) { |
| 1982 | d = -d; |
| 1983 | vhtconf &= ~d; |
| 1984 | } else |
| 1985 | vhtconf |= d; |
| 1986 | printf("%s: vhtconf is now 0x%08x\n", __func__, vhtconf); |
| 1987 | set80211(s, IEEE80211_IOC_VHTCONF, vhtconf, 0, NULL); |
| 1988 | } |
| 1989 | |
| 1990 | static |
| 1991 | DECL_CMD_FUNC(set80211tdmaslot, val, d) |
nothing calls this directly
no test coverage detected