Lines Matching full:nss
147 /* Default to VHT NSS 1 MCS 2; should be reliable! */ in amrr_node_init_vht()
154 "AMRR: VHT: initial rate NSS %d MCS %d", in amrr_node_init_vht()
278 uint8_t nss, mcs; in amrr_update_vht_inc() local
281 * For now just keep looping over MCS to 9, then NSS up, checking if in amrr_update_vht_inc()
287 nss = amn->amn_vht_nss; in amrr_update_vht_inc()
290 while (nss <= 8 && mcs <= 9) { in amrr_update_vht_inc()
291 /* Increment MCS 0..9, NSS 1..8 */ in amrr_update_vht_inc()
294 nss++; in amrr_update_vht_inc()
297 if (nss > 8) in amrr_update_vht_inc()
300 if (ieee80211_vht_node_check_tx_valid_mcs(ni, ni->ni_chw, nss, in amrr_update_vht_inc()
302 amn->amn_vht_nss = nss; in amrr_update_vht_inc()
313 uint8_t nss, mcs; in amrr_update_vht_dec() local
316 * For now just keep looping over MCS 9 .. 0 then NSS down, checking if in amrr_update_vht_dec()
322 nss = amn->amn_vht_nss; in amrr_update_vht_dec()
325 while (nss >= 1 && mcs >= 0) { in amrr_update_vht_dec()
329 nss--; in amrr_update_vht_dec()
332 if (nss < 1) in amrr_update_vht_dec()
335 if (ieee80211_vht_node_check_tx_valid_mcs(ni, ni->ni_chw, nss, in amrr_update_vht_dec()
337 amn->amn_vht_nss = nss; in amrr_update_vht_dec()
357 "AMRR: VHT: current rate NSS %d MCS %d, txcnt=%d, retrycnt=%d", in amrr_update_vht()