Searched refs:HE_PREP (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mac.c | 13 #define HE_PREP(f, m, v) le16_encode_bits(le32_get_bits(v, MT_CRXV_HE_##m),\ macro 208 he->data3 = HE_PREP(DATA3_BSS_COLOR, BSS_COLOR, rxv[14]) | in mt7921_mac_decode_he_radiotap() 209 HE_PREP(DATA3_LDPC_XSYMSEG, LDPC_EXT_SYM, rxv[2]); in mt7921_mac_decode_he_radiotap() 210 he->data5 = HE_PREP(DATA5_PE_DISAMBIG, PE_DISAMBIG, rxv[2]) | in mt7921_mac_decode_he_radiotap() 213 he->data6 = HE_PREP(DATA6_TXOP, TXOP_DUR, rxv[14]) | in mt7921_mac_decode_he_radiotap() 214 HE_PREP(DATA6_DOPPLER, DOPPLER, rxv[14]); in mt7921_mac_decode_he_radiotap() 223 he->data3 |= HE_PREP(DATA3_BEAM_CHANGE, BEAM_CHNG, rxv[14]) | in mt7921_mac_decode_he_radiotap() 224 HE_PREP(DATA3_UL_DL, UPLINK, rxv[2]); in mt7921_mac_decode_he_radiotap() 225 he->data4 |= HE_PREP(DATA4_SU_MU_SPTL_REUSE, SR_MASK, rxv[11]); in mt7921_mac_decode_he_radiotap() 231 he->data3 |= HE_PREP(DATA3_UL_DL, UPLINK, rxv[2]); in mt7921_mac_decode_he_radiotap() [all …]
|
/Linux-v5.15/net/mac80211/ |
D | status.c | 435 #define HE_PREP(f, val) le16_encode_bits(val, IEEE80211_RADIOTAP_HE_##f) in ieee80211_add_tx_radiotap_header() macro 437 he->data6 |= HE_PREP(DATA6_NSTS, status->rate->nss); in ieee80211_add_tx_radiotap_header() 447 he->data3 |= HE_PREP(DATA3_DATA_MCS, status->rate->mcs); in ieee80211_add_tx_radiotap_header() 448 he->data3 |= HE_PREP(DATA3_DATA_DCM, status->rate->he_dcm); in ieee80211_add_tx_radiotap_header() 450 he->data5 |= HE_PREP(DATA5_GI, status->rate->he_gi); in ieee80211_add_tx_radiotap_header() 454 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header() 458 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header() 462 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header() 466 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header() 482 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header()
|
D | rx.c | 584 #define HE_PREP(f, val) le16_encode_bits(val, IEEE80211_RADIOTAP_HE_##f) in ieee80211_add_rx_radiotap_header() macro 587 he.data6 |= HE_PREP(DATA6_NSTS, in ieee80211_add_rx_radiotap_header() 590 he.data3 |= HE_PREP(DATA3_STBC, 1); in ieee80211_add_rx_radiotap_header() 592 he.data6 |= HE_PREP(DATA6_NSTS, status->nss); in ieee80211_add_rx_radiotap_header() 603 he.data3 |= HE_PREP(DATA3_DATA_MCS, status->rate_idx); in ieee80211_add_rx_radiotap_header() 604 he.data3 |= HE_PREP(DATA3_DATA_DCM, status->he_dcm); in ieee80211_add_rx_radiotap_header() 605 he.data3 |= HE_PREP(DATA3_CODING, in ieee80211_add_rx_radiotap_header() 608 he.data5 |= HE_PREP(DATA5_GI, status->he_gi); in ieee80211_add_rx_radiotap_header() 612 he.data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_rx_radiotap_header() 616 he.data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_rx_radiotap_header() [all …]
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mac.c | 13 #define HE_PREP(f, m, v) le16_encode_bits(le32_get_bits(v, MT_CRXV_HE_##m),\ macro 256 he->data3 = HE_PREP(DATA3_BSS_COLOR, BSS_COLOR, rxv[14]) | in mt7915_mac_decode_he_radiotap() 257 HE_PREP(DATA3_LDPC_XSYMSEG, LDPC_EXT_SYM, rxv[2]); in mt7915_mac_decode_he_radiotap() 258 he->data5 = HE_PREP(DATA5_PE_DISAMBIG, PE_DISAMBIG, rxv[2]) | in mt7915_mac_decode_he_radiotap() 261 he->data6 = HE_PREP(DATA6_TXOP, TXOP_DUR, rxv[14]) | in mt7915_mac_decode_he_radiotap() 262 HE_PREP(DATA6_DOPPLER, DOPPLER, rxv[14]); in mt7915_mac_decode_he_radiotap() 271 he->data3 |= HE_PREP(DATA3_BEAM_CHANGE, BEAM_CHNG, rxv[14]) | in mt7915_mac_decode_he_radiotap() 272 HE_PREP(DATA3_UL_DL, UPLINK, rxv[2]); in mt7915_mac_decode_he_radiotap() 273 he->data4 |= HE_PREP(DATA4_SU_MU_SPTL_REUSE, SR_MASK, rxv[11]); in mt7915_mac_decode_he_radiotap() 279 he->data3 |= HE_PREP(DATA3_UL_DL, UPLINK, rxv[2]); in mt7915_mac_decode_he_radiotap() [all …]
|