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