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

Function getregdomain

tools/ifconfig/ifieee80211.c:474–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472}
473
474static void
475getregdomain(int s)
476{
477 if (gotregdomain)
478 return;
479 if (get80211(s, IEEE80211_IOC_REGDOMAIN,
480 &regdomain, sizeof(regdomain)) < 0)
481 err(1, "unable to get regulatory domain info");
482 gotregdomain = 1;
483}
484
485static void
486getdevcaps(int s, struct ieee80211_devcaps_req *dc)

Callers 5

ifieee80211.cFile · 0.85
set80211locationFunction · 0.85
set80211ecmFunction · 0.85
list_regdomainFunction · 0.85
setdefregdomainFunction · 0.85

Calls 1

get80211Function · 0.85

Tested by

no test coverage detected