| 1794 | } |
| 1795 | |
| 1796 | static void |
| 1797 | set80211stbc(const char *val, int d, int s, const struct afswtch *rafp) |
| 1798 | { |
| 1799 | int stbc; |
| 1800 | |
| 1801 | if (get80211val(s, IEEE80211_IOC_STBC, &stbc) < 0) |
| 1802 | errx(-1, "cannot set STBC setting"); |
| 1803 | if (d < 0) { |
| 1804 | d = -d; |
| 1805 | stbc &= ~d; |
| 1806 | } else |
| 1807 | stbc |= d; |
| 1808 | set80211(s, IEEE80211_IOC_STBC, stbc, 0, NULL); |
| 1809 | } |
| 1810 | |
| 1811 | static void |
| 1812 | set80211ldpc(const char *val, int d, int s, const struct afswtch *rafp) |
nothing calls this directly
no test coverage detected