Searched refs:HE_PREP (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/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 292 he->data3 = HE_PREP(DATA3_BSS_COLOR, BSS_COLOR, rxv[14]) | in mt7921_mac_decode_he_radiotap() 293 HE_PREP(DATA3_LDPC_XSYMSEG, LDPC_EXT_SYM, rxv[2]); in mt7921_mac_decode_he_radiotap() 294 he->data4 = HE_PREP(DATA4_SU_MU_SPTL_REUSE, SR_MASK, rxv[11]); in mt7921_mac_decode_he_radiotap() 295 he->data5 = HE_PREP(DATA5_PE_DISAMBIG, PE_DISAMBIG, rxv[2]) | in mt7921_mac_decode_he_radiotap() 300 he->data6 = HE_PREP(DATA6_TXOP, TXOP_DUR, rxv[14]) | in mt7921_mac_decode_he_radiotap() 301 HE_PREP(DATA6_DOPPLER, DOPPLER, rxv[14]); in mt7921_mac_decode_he_radiotap() 310 he->data3 |= HE_PREP(DATA3_BEAM_CHANGE, BEAM_CHNG, rxv[14]) | in mt7921_mac_decode_he_radiotap() 311 HE_PREP(DATA3_UL_DL, UPLINK, rxv[2]); in mt7921_mac_decode_he_radiotap() 318 he->data3 |= HE_PREP(DATA3_UL_DL, UPLINK, rxv[2]); in mt7921_mac_decode_he_radiotap() [all …]
|
/linux-5.19.10/net/mac80211/ |
D | status.c | 448 #define HE_PREP(f, val) le16_encode_bits(val, IEEE80211_RADIOTAP_HE_##f) in ieee80211_add_tx_radiotap_header() macro 450 he->data6 |= HE_PREP(DATA6_NSTS, status_rate->rate_idx.nss); in ieee80211_add_tx_radiotap_header() 460 he->data3 |= HE_PREP(DATA3_DATA_MCS, status_rate->rate_idx.mcs); in ieee80211_add_tx_radiotap_header() 461 he->data3 |= HE_PREP(DATA3_DATA_DCM, status_rate->rate_idx.he_dcm); in ieee80211_add_tx_radiotap_header() 463 he->data5 |= HE_PREP(DATA5_GI, status_rate->rate_idx.he_gi); in ieee80211_add_tx_radiotap_header() 467 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header() 471 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header() 475 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header() 479 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header() 495 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header()
|
D | rx.c | 589 #define HE_PREP(f, val) le16_encode_bits(val, IEEE80211_RADIOTAP_HE_##f) in ieee80211_add_rx_radiotap_header() macro 592 he.data6 |= HE_PREP(DATA6_NSTS, in ieee80211_add_rx_radiotap_header() 595 he.data3 |= HE_PREP(DATA3_STBC, 1); in ieee80211_add_rx_radiotap_header() 597 he.data6 |= HE_PREP(DATA6_NSTS, status->nss); in ieee80211_add_rx_radiotap_header() 608 he.data3 |= HE_PREP(DATA3_DATA_MCS, status->rate_idx); in ieee80211_add_rx_radiotap_header() 609 he.data3 |= HE_PREP(DATA3_DATA_DCM, status->he_dcm); in ieee80211_add_rx_radiotap_header() 610 he.data3 |= HE_PREP(DATA3_CODING, in ieee80211_add_rx_radiotap_header() 613 he.data5 |= HE_PREP(DATA5_GI, status->he_gi); in ieee80211_add_rx_radiotap_header() 617 he.data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_rx_radiotap_header() 621 he.data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_rx_radiotap_header() [all …]
|
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mac.c | 14 #define HE_PREP(f, m, v) le16_encode_bits(le32_get_bits(v, MT_CRXV_HE_##m),\ macro 337 he->data3 = HE_PREP(DATA3_BSS_COLOR, BSS_COLOR, rxv[14]) | in mt7915_mac_decode_he_radiotap() 338 HE_PREP(DATA3_LDPC_XSYMSEG, LDPC_EXT_SYM, rxv[2]); in mt7915_mac_decode_he_radiotap() 339 he->data4 = HE_PREP(DATA4_SU_MU_SPTL_REUSE, SR_MASK, rxv[11]); in mt7915_mac_decode_he_radiotap() 340 he->data5 = HE_PREP(DATA5_PE_DISAMBIG, PE_DISAMBIG, rxv[2]) | in mt7915_mac_decode_he_radiotap() 345 he->data6 = HE_PREP(DATA6_TXOP, TXOP_DUR, rxv[14]) | in mt7915_mac_decode_he_radiotap() 346 HE_PREP(DATA6_DOPPLER, DOPPLER, rxv[14]); in mt7915_mac_decode_he_radiotap() 355 he->data3 |= HE_PREP(DATA3_BEAM_CHANGE, BEAM_CHNG, rxv[14]) | in mt7915_mac_decode_he_radiotap() 356 HE_PREP(DATA3_UL_DL, UPLINK, rxv[2]); in mt7915_mac_decode_he_radiotap() 363 he->data3 |= HE_PREP(DATA3_UL_DL, UPLINK, rxv[2]); in mt7915_mac_decode_he_radiotap() [all …]
|