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

Function set80211powersave

tools/ifconfig/ifieee80211.c:899–908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

897}
898
899static void
900set80211powersave(const char *val, int d, int s, const struct afswtch *rafp)
901{
902 if (d == 0)
903 set80211(s, IEEE80211_IOC_POWERSAVE, IEEE80211_POWERSAVE_OFF,
904 0, NULL);
905 else
906 set80211(s, IEEE80211_IOC_POWERSAVE, IEEE80211_POWERSAVE_ON,
907 0, NULL);
908}
909
910static void
911set80211powersavesleep(const char *val, int d, int s, const struct afswtch *rafp)

Callers

nothing calls this directly

Calls 1

set80211Function · 0.85

Tested by

no test coverage detected