| 1897 | } |
| 1898 | |
| 1899 | static void |
| 1900 | set80211amsdu(const char *val, int d, int s, const struct afswtch *rafp) |
| 1901 | { |
| 1902 | int amsdu; |
| 1903 | |
| 1904 | if (get80211val(s, IEEE80211_IOC_AMSDU, &amsdu) < 0) |
| 1905 | err(-1, "cannot get AMSDU setting"); |
| 1906 | if (d < 0) { |
| 1907 | d = -d; |
| 1908 | amsdu &= ~d; |
| 1909 | } else |
| 1910 | amsdu |= d; |
| 1911 | set80211(s, IEEE80211_IOC_AMSDU, amsdu, 0, NULL); |
| 1912 | } |
| 1913 | |
| 1914 | static |
| 1915 | DECL_CMD_FUNC(set80211amsdulimit, val, d) |
nothing calls this directly
no test coverage detected