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

Function ht_announce

freebsd/net80211/ieee80211_ht.c:393–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393static void
394ht_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
415void
416ieee80211_ht_announce(struct ieee80211com *ic)

Callers 1

ieee80211_ht_announceFunction · 0.85

Calls 2

ic_printfFunction · 0.85
ht_rateprintFunction · 0.85

Tested by

no test coverage detected