XXX 11ac density/size is different */
| 1779 | |
| 1780 | /* XXX 11ac density/size is different */ |
| 1781 | static void |
| 1782 | set80211ampdu(const char *val, int d, int s, const struct afswtch *rafp) |
| 1783 | { |
| 1784 | int ampdu; |
| 1785 | |
| 1786 | if (get80211val(s, IEEE80211_IOC_AMPDU, &du) < 0) |
| 1787 | errx(-1, "cannot set AMPDU setting"); |
| 1788 | if (d < 0) { |
| 1789 | d = -d; |
| 1790 | ampdu &= ~d; |
| 1791 | } else |
| 1792 | ampdu |= d; |
| 1793 | set80211(s, IEEE80211_IOC_AMPDU, ampdu, 0, NULL); |
| 1794 | } |
| 1795 | |
| 1796 | static void |
| 1797 | set80211stbc(const char *val, int d, int s, const struct afswtch *rafp) |
nothing calls this directly
no test coverage detected