Lines Matching refs:rx_status

969 ath12k_dp_mon_rx_update_radiotap_he(struct hal_rx_mon_ppdu_info *rx_status,
974 put_unaligned_le16(rx_status->he_data1, &rtap_buf[rtap_len]);
977 put_unaligned_le16(rx_status->he_data2, &rtap_buf[rtap_len]);
980 put_unaligned_le16(rx_status->he_data3, &rtap_buf[rtap_len]);
983 put_unaligned_le16(rx_status->he_data4, &rtap_buf[rtap_len]);
986 put_unaligned_le16(rx_status->he_data5, &rtap_buf[rtap_len]);
989 put_unaligned_le16(rx_status->he_data6, &rtap_buf[rtap_len]);
993 ath12k_dp_mon_rx_update_radiotap_he_mu(struct hal_rx_mon_ppdu_info *rx_status,
998 put_unaligned_le16(rx_status->he_flags1, &rtap_buf[rtap_len]);
1001 put_unaligned_le16(rx_status->he_flags2, &rtap_buf[rtap_len]);
1004 rtap_buf[rtap_len] = rx_status->he_RU[0];
1007 rtap_buf[rtap_len] = rx_status->he_RU[1];
1010 rtap_buf[rtap_len] = rx_status->he_RU[2];
1013 rtap_buf[rtap_len] = rx_status->he_RU[3];
1070 struct ieee80211_rx_status *rx_status;
1120 rx_status = IEEE80211_SKB_RXCB(msdu);
1121 *rx_status = *status;
1131 !(is_mcbc && rx_status->flag & RX_FLAG_DECRYPTED))
1132 rx_status->flag |= RX_FLAG_8023;
1144 struct ieee80211_rx_status *rxs = &dp->rx_status;
1447 cts->duration = cpu_to_le16(tx_ppdu_info->rx_status.rx_duration);
1448 memcpy(cts->ra, tx_ppdu_info->rx_status.addr1, sizeof(cts->ra));
1473 rts->duration = cpu_to_le16(tx_ppdu_info->rx_status.rx_duration);
1474 memcpy(rts->ra, tx_ppdu_info->rx_status.addr1, sizeof(rts->ra));
1475 memcpy(rts->ta, tx_ppdu_info->rx_status.addr2, sizeof(rts->ta));
1500 qhdr->duration_id = cpu_to_le16(tx_ppdu_info->rx_status.rx_duration);
1501 memcpy(qhdr->addr1, tx_ppdu_info->rx_status.addr1, ETH_ALEN);
1502 memcpy(qhdr->addr2, tx_ppdu_info->rx_status.addr2, ETH_ALEN);
1503 memcpy(qhdr->addr3, tx_ppdu_info->rx_status.addr3, ETH_ALEN);
1528 qhdr->duration = cpu_to_le16(tx_ppdu_info->rx_status.rx_duration);
1529 memcpy(qhdr->addr1, tx_ppdu_info->rx_status.addr1, ETH_ALEN);
1530 memcpy(qhdr->addr2, tx_ppdu_info->rx_status.addr2, ETH_ALEN);
1531 memcpy(qhdr->addr3, tx_ppdu_info->rx_status.addr3, ETH_ALEN);
1532 memcpy(qhdr->addr4, tx_ppdu_info->rx_status.addr4, ETH_ALEN);
1557 memcpy(fbmhdr->addr1, tx_ppdu_info->rx_status.addr1, ETH_ALEN);
1576 switch (tx_ppdu_info->rx_status.medium_prot_type) {
1633 tx_ppdu_info->rx_status.ppdu_ts = (tst_15_0 | (tst_31_16 << 16));
1651 tx_ppdu_info->rx_status.ppdu_id =
1653 tx_ppdu_info->rx_status.reception_type =
1655 tx_ppdu_info->rx_status.rx_duration =
1657 tx_ppdu_info->rx_status.mcs =
1659 tx_ppdu_info->rx_status.sgi =
1661 tx_ppdu_info->rx_status.is_stbc =
1663 tx_ppdu_info->rx_status.ldpc =
1665 tx_ppdu_info->rx_status.is_ampdu =
1667 tx_ppdu_info->rx_status.num_users =
1672 ath12k_dp_get_mac_addr(addr_32, addr_16, tx_ppdu_info->rx_status.addr1);
1676 ath12k_dp_get_mac_addr(addr_32, addr_16, tx_ppdu_info->rx_status.addr2);
1678 if (tx_ppdu_info->rx_status.reception_type == 0)
1703 ath12k_dp_get_mac_addr(addr_32, addr_16, tx_ppdu_info->rx_status.addr1);
1710 ath12k_dp_get_mac_addr(addr_32, addr_16, tx_ppdu_info->rx_status.addr2);
1717 ath12k_dp_get_mac_addr(addr_32, addr_16, tx_ppdu_info->rx_status.addr3);
1724 ath12k_dp_get_mac_addr(addr_32, addr_16, tx_ppdu_info->rx_status.addr4);
1737 tx_ppdu_info->rx_status.frame_control =
1740 tx_ppdu_info->rx_status.fc_valid = true;
1750 tx_ppdu_info->rx_status.medium_prot_type =
1777 tx_ppdu_info->rx_status.rx_duration = end_timestamp - start_timestamp;
1791 tx_ppdu_info->rx_status.ppdu_ts =
1796 tx_ppdu_info->rx_status.ppdu_ts |= ppdu_ts << 32;
1806 tx_ppdu_info->rx_status.rx_duration =
1813 ath12k_dp_mon_parse_he_sig_su(tlv_data, &tx_ppdu_info->rx_status);
1817 ath12k_dp_mon_parse_he_sig_mu(tlv_data, &tx_ppdu_info->rx_status);
1821 ath12k_dp_mon_parse_he_sig_b1_mu(tlv_data, &tx_ppdu_info->rx_status);
1825 ath12k_dp_mon_parse_he_sig_b2_mu(tlv_data, &tx_ppdu_info->rx_status);
1829 ath12k_dp_mon_parse_he_sig_b2_ofdma(tlv_data, &tx_ppdu_info->rx_status);
1833 ath12k_dp_mon_parse_vht_sig_a(tlv_data, &tx_ppdu_info->rx_status);
1837 ath12k_dp_mon_parse_l_sig_a(tlv_data, &tx_ppdu_info->rx_status);
1841 ath12k_dp_mon_parse_l_sig_b(tlv_data, &tx_ppdu_info->rx_status);
1857 ath12k_dp_get_mac_addr(addr_32, addr_16, tx_ppdu_info->rx_status.addr1);
1872 tx_ppdu_info->rx_status.beamformed =
1875 tx_ppdu_info->rx_status.preamble_type =
1878 tx_ppdu_info->rx_status.mcs =
1881 tx_ppdu_info->rx_status.ltf_size =
1884 tx_ppdu_info->rx_status.nss =
1887 tx_ppdu_info->rx_status.chan_num =
1890 tx_ppdu_info->rx_status.bw =
1997 &tx_ppdu_info->rx_status, napi);