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

Function set80211amsdu

tools/ifconfig/ifieee80211.c:1899–1912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1897}
1898
1899static void
1900set80211amsdu(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
1914static
1915DECL_CMD_FUNC(set80211amsdulimit, val, d)

Callers

nothing calls this directly

Calls 2

get80211valFunction · 0.85
set80211Function · 0.85

Tested by

no test coverage detected