MCPcopy Create free account
hub / github.com/F-Stack/f-stack / set80211ampdu

Function set80211ampdu

tools/ifconfig/ifieee80211.c:1781–1794  ·  view source on GitHub ↗

XXX 11ac density/size is different */

Source from the content-addressed store, hash-verified

1779
1780/* XXX 11ac density/size is different */
1781static void
1782set80211ampdu(const char *val, int d, int s, const struct afswtch *rafp)
1783{
1784 int ampdu;
1785
1786 if (get80211val(s, IEEE80211_IOC_AMPDU, &ampdu) < 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
1796static void
1797set80211stbc(const char *val, int d, int s, const struct afswtch *rafp)

Callers

nothing calls this directly

Calls 2

get80211valFunction · 0.85
set80211Function · 0.85

Tested by

no test coverage detected