| 454 | } |
| 455 | |
| 456 | static void |
| 457 | gettxparams(int s) |
| 458 | { |
| 459 | if (gottxparams) |
| 460 | return; |
| 461 | if (get80211(s, IEEE80211_IOC_TXPARAMS, |
| 462 | &txparams, sizeof(txparams)) < 0) |
| 463 | err(1, "unable to get transmit parameters"); |
| 464 | gottxparams = 1; |
| 465 | } |
| 466 | |
| 467 | static void |
| 468 | settxparams_cb(int s, void *arg) |
no test coverage detected