| 391 | } |
| 392 | |
| 393 | static void |
| 394 | ht_announce(struct ieee80211com *ic, enum ieee80211_phymode mode) |
| 395 | { |
| 396 | const char *modestr = ieee80211_phymode_name[mode]; |
| 397 | |
| 398 | ic_printf(ic, "%s MCS 20MHz\n", modestr); |
| 399 | ht_rateprint(ic, mode, 0); |
| 400 | if (ic->ic_htcaps & IEEE80211_HTCAP_SHORTGI20) { |
| 401 | ic_printf(ic, "%s MCS 20MHz SGI\n", modestr); |
| 402 | ht_rateprint(ic, mode, 1); |
| 403 | } |
| 404 | if (ic->ic_htcaps & IEEE80211_HTCAP_CHWIDTH40) { |
| 405 | ic_printf(ic, "%s MCS 40MHz:\n", modestr); |
| 406 | ht_rateprint(ic, mode, 2); |
| 407 | } |
| 408 | if ((ic->ic_htcaps & IEEE80211_HTCAP_CHWIDTH40) && |
| 409 | (ic->ic_htcaps & IEEE80211_HTCAP_SHORTGI40)) { |
| 410 | ic_printf(ic, "%s MCS 40MHz SGI:\n", modestr); |
| 411 | ht_rateprint(ic, mode, 3); |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | void |
| 416 | ieee80211_ht_announce(struct ieee80211com *ic) |
no test coverage detected