Changeset View
Changeset View
Standalone View
Standalone View
sys/net80211/ieee80211_vht.c
Show First 20 Lines • Show All 199 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
int i, tx, rx; | int i, tx, rx; | ||||
if (! IEEE80211_CONF_VHT(ic)) | if (! IEEE80211_CONF_VHT(ic)) | ||||
return; | return; | ||||
/* Channel width */ | /* Channel width */ | ||||
ic_printf(ic, "[VHT] Channel Widths: 20MHz, 40MHz, 80MHz"); | ic_printf(ic, "[VHT] Channel Widths: 20MHz, 40MHz, 80MHz"); | ||||
if (MS(ic->ic_vhtcaps, IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK) == 2) | |||||
printf(" 80+80MHz"); | |||||
if (MS(ic->ic_vhtcaps, IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK) >= 1) | if (MS(ic->ic_vhtcaps, IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK) >= 1) | ||||
printf(" 160MHz"); | printf(" 160MHz"); | ||||
if (MS(ic->ic_vhtcaps, IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK) == 2) | |||||
printf(" 80+80MHz"); | |||||
printf("\n"); | printf("\n"); | ||||
/* Features */ | /* Features */ | ||||
ic_printf(ic, "[VHT] Features: %b\n", ic->ic_vhtcaps, | ic_printf(ic, "[VHT] Features: %b\n", ic->ic_vhtcaps, | ||||
IEEE80211_VHTCAP_BITS); | IEEE80211_VHTCAP_BITS); | ||||
/* For now, just 5GHz VHT. Worry about 2GHz VHT later */ | /* For now, just 5GHz VHT. Worry about 2GHz VHT later */ | ||||
for (i = 0; i < 7; i++) { | for (i = 0; i < 7; i++) { | ||||
▲ Show 20 Lines • Show All 634 Lines • Show Last 20 Lines |