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

Function set80211chanswitch

tools/ifconfig/ifieee80211.c:844–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

842}
843
844static void
845set80211chanswitch(const char *val, int d, int s, const struct afswtch *rafp)
846{
847 struct ieee80211_chanswitch_req csr;
848
849 getchannel(s, &csr.csa_chan, val);
850 csr.csa_mode = 1;
851 csr.csa_count = 5;
852 set80211(s, IEEE80211_IOC_CHANSWITCH, 0, sizeof(csr), &csr);
853}
854
855static void
856set80211authmode(const char *val, int d, int s, const struct afswtch *rafp)

Callers

nothing calls this directly

Calls 2

set80211Function · 0.85
getchannelFunction · 0.70

Tested by

no test coverage detected