Lines Matching refs:vhtcap
73 * + ensure vhtinfo/vhtcap parameters correctly use the negotiated
342 * opmode is '1' for "vhtcap as if I'm a STA", 0 otherwise.
346 struct ieee80211_ie_vhtcap *vhtcap, int opmode)
354 vhtcap->ie = IEEE80211_ELEMID_VHT_CAP;
355 vhtcap->len = sizeof(struct ieee80211_ie_vhtcap) - 2;
366 * vhtcap/vhtinfo IE in the node.
639 * already-learnt vhtcap/vhtinfo IE information.
643 vhtcap->supp_mcs.rx_mcs_map = vap->iv_vht_mcsinfo.rx_mcs_map;
644 vhtcap->supp_mcs.rx_highest = 0;
645 vhtcap->supp_mcs.tx_mcs_map = vap->iv_vht_mcsinfo.tx_mcs_map;
646 vhtcap->supp_mcs.tx_highest = 0;
648 vhtcap->vht_cap_info = new_vhtcap;
661 val1 = (vhtcap->supp_mcs.tx_mcs_map >> (i*2)) & 0x3;
666 vhtcap->supp_mcs.tx_mcs_map &= ~(0x3 << (i*2));
667 vhtcap->supp_mcs.tx_mcs_map |= (val << (i*2));
684 struct ieee80211_ie_vhtcap vhtcap;
691 ieee80211_vht_get_vhtcap_ie(ni, &vhtcap, opmode);
700 ADDWORD(frm, vhtcap.vht_cap_info);
703 ADDSHORT(frm, vhtcap.supp_mcs.rx_mcs_map);
704 ADDSHORT(frm, vhtcap.supp_mcs.rx_highest);
705 ADDSHORT(frm, vhtcap.supp_mcs.tx_mcs_map);
706 ADDSHORT(frm, vhtcap.supp_mcs.tx_highest);