Home
last modified time | relevance | path

Searched refs:ntxstreams (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/sys/net80211/
Dieee80211_ra.c533 uint32_t ntxstreams = 1; in ieee80211_ra_valid_tx_mcs() local
539 ntxstreams += ((ic->ic_tx_mcs_set & IEEE80211_TX_SPATIAL_STREAMS) >> 2); in ieee80211_ra_valid_tx_mcs()
540 if (ntxstreams < 1 || ntxstreams > 4) in ieee80211_ra_valid_tx_mcs()
541 panic("invalid number of Tx streams: %u", ntxstreams); in ieee80211_ra_valid_tx_mcs()
542 return (mcs <= max_mcs[ntxstreams - 1] && isset(ic->ic_sup_mcs, mcs)); in ieee80211_ra_valid_tx_mcs()
/openbsd/src/sys/dev/ic/
Dathn.c184 int i, ntxstreams, nrxstreams; in athn_config_ht() local
208 ntxstreams = sc->ntxchains; in athn_config_ht()
211 ntxstreams = MIN(ntxstreams, 2); in athn_config_ht()
216 ntxstreams = nrxstreams = 1; in athn_config_ht()
221 if (ntxstreams != nrxstreams) { in athn_config_ht()
223 ic->ic_tx_mcs_set |= (ntxstreams - 1) << 2; in athn_config_ht()