Lines Matching refs:ppdu_info
93 struct hal_rx_ppdu_info *ppdu_info){ in hal_rx_get_phyrx_abort() argument
97 ppdu_info->rx_status.phyrx_abort = in hal_rx_get_phyrx_abort()
100 ppdu_info->rx_status.phyrx_abort_reason = in hal_rx_get_phyrx_abort()
110 hal_rx_get_ht_sig_info(struct hal_rx_ppdu_info *ppdu_info, in hal_rx_get_ht_sig_info() argument
113 ppdu_info->rx_status.ht_length = in hal_rx_get_ht_sig_info()
115 ppdu_info->rx_status.smoothing = in hal_rx_get_ht_sig_info()
117 ppdu_info->rx_status.not_sounding = in hal_rx_get_ht_sig_info()
119 ppdu_info->rx_status.aggregation = in hal_rx_get_ht_sig_info()
121 ppdu_info->rx_status.ht_stbc = in hal_rx_get_ht_sig_info()
123 ppdu_info->rx_status.ht_crc = in hal_rx_get_ht_sig_info()
128 hal_rx_get_l_sig_a_info(struct hal_rx_ppdu_info *ppdu_info, in hal_rx_get_l_sig_a_info() argument
131 ppdu_info->rx_status.l_sig_length = in hal_rx_get_l_sig_a_info()
133 ppdu_info->rx_status.l_sig_a_parity = in hal_rx_get_l_sig_a_info()
135 ppdu_info->rx_status.l_sig_a_pkt_type = in hal_rx_get_l_sig_a_info()
137 ppdu_info->rx_status.l_sig_a_implicit_sounding = in hal_rx_get_l_sig_a_info()
143 hal_rx_get_vht_sig_a_info(struct hal_rx_ppdu_info *ppdu_info, in hal_rx_get_vht_sig_a_info() argument
146 ppdu_info->rx_status.vht_no_txop_ps = in hal_rx_get_vht_sig_a_info()
149 ppdu_info->rx_status.vht_crc = in hal_rx_get_vht_sig_a_info()
154 hal_rx_get_crc_he_sig_a_su_info(struct hal_rx_ppdu_info *ppdu_info, in hal_rx_get_crc_he_sig_a_su_info() argument
156 ppdu_info->rx_status.he_crc = in hal_rx_get_crc_he_sig_a_su_info()
161 hal_rx_get_crc_he_sig_a_mu_dl_info(struct hal_rx_ppdu_info *ppdu_info, in hal_rx_get_crc_he_sig_a_mu_dl_info() argument
163 ppdu_info->rx_status.he_crc = in hal_rx_get_crc_he_sig_a_mu_dl_info()
169 struct hal_rx_ppdu_info *ppdu_info) in hal_rx_get_phyrx_abort() argument
174 hal_rx_get_ht_sig_info(struct hal_rx_ppdu_info *ppdu_info, in hal_rx_get_ht_sig_info() argument
180 hal_rx_get_l_sig_a_info(struct hal_rx_ppdu_info *ppdu_info, in hal_rx_get_l_sig_a_info() argument
186 hal_rx_get_vht_sig_a_info(struct hal_rx_ppdu_info *ppdu_info, in hal_rx_get_vht_sig_a_info() argument
192 hal_rx_get_crc_he_sig_a_su_info(struct hal_rx_ppdu_info *ppdu_info, in hal_rx_get_crc_he_sig_a_su_info() argument
198 hal_rx_get_crc_he_sig_a_mu_dl_info(struct hal_rx_ppdu_info *ppdu_info, in hal_rx_get_crc_he_sig_a_mu_dl_info() argument
334 struct hal_rx_ppdu_info *ppdu_info) in hal_rx_handle_other_tlvs() argument
345 ppdu_info->rx_status.he_flags = 1; in hal_rx_handle_other_tlvs()
350 ppdu_info->rx_status.he_data1 = in hal_rx_handle_other_tlvs()
353 ppdu_info->rx_status.he_data1 = in hal_rx_handle_other_tlvs()
358 ppdu_info->rx_status.he_data1 |= in hal_rx_handle_other_tlvs()
364 ppdu_info->rx_status.he_data2 |= in hal_rx_handle_other_tlvs()
370 ppdu_info->rx_status.he_data3 = value; in hal_rx_handle_other_tlvs()
374 ppdu_info->rx_status.he_data3 |= value; in hal_rx_handle_other_tlvs()
379 ppdu_info->rx_status.he_data4 = value; in hal_rx_handle_other_tlvs()
384 ppdu_info->rx_status.he_data5 = value; in hal_rx_handle_other_tlvs()
385 ppdu_info->rx_status.bw = value; in hal_rx_handle_other_tlvs()
391 ppdu_info->rx_status.he_data6 |= value; in hal_rx_handle_other_tlvs()
401 struct hal_rx_ppdu_info *ppdu_info) in hal_rx_handle_other_tlvs() argument
451 struct hal_rx_ppdu_info *ppdu_info = in hal_rx_populate_byte_count() local
455 mon_rx_user_status->mpdu_ok_byte_count = ppdu_info->rx_status.ppdu_len; in hal_rx_populate_byte_count()
466 struct hal_rx_ppdu_info *ppdu_info = in hal_rx_populate_mu_user_info() local
469 mon_rx_info = &ppdu_info->rx_info; in hal_rx_populate_mu_user_info()
470 mon_rx_user_info = &ppdu_info->rx_user_info[user_id]; in hal_rx_populate_mu_user_info()
475 mon_rx_user_status->ast_index = ppdu_info->rx_status.ast_index; in hal_rx_populate_mu_user_info()
476 mon_rx_user_status->tid = ppdu_info->rx_status.tid; in hal_rx_populate_mu_user_info()
478 ppdu_info->rx_status.tcp_msdu_count; in hal_rx_populate_mu_user_info()
480 ppdu_info->rx_status.udp_msdu_count; in hal_rx_populate_mu_user_info()
482 ppdu_info->rx_status.other_msdu_count; in hal_rx_populate_mu_user_info()
483 mon_rx_user_status->frame_control = ppdu_info->rx_status.frame_control; in hal_rx_populate_mu_user_info()
485 ppdu_info->rx_status.frame_control_info_valid; in hal_rx_populate_mu_user_info()
487 ppdu_info->rx_status.data_sequence_control_info_valid; in hal_rx_populate_mu_user_info()
489 ppdu_info->rx_status.first_data_seq_ctrl; in hal_rx_populate_mu_user_info()
490 mon_rx_user_status->preamble_type = ppdu_info->rx_status.preamble_type; in hal_rx_populate_mu_user_info()
491 mon_rx_user_status->ht_flags = ppdu_info->rx_status.ht_flags; in hal_rx_populate_mu_user_info()
492 mon_rx_user_status->rtap_flags = ppdu_info->rx_status.rtap_flags; in hal_rx_populate_mu_user_info()
493 mon_rx_user_status->vht_flags = ppdu_info->rx_status.vht_flags; in hal_rx_populate_mu_user_info()
494 mon_rx_user_status->he_flags = ppdu_info->rx_status.he_flags; in hal_rx_populate_mu_user_info()
495 mon_rx_user_status->rs_flags = ppdu_info->rx_status.rs_flags; in hal_rx_populate_mu_user_info()
498 ppdu_info->com_info.mpdu_cnt_fcs_ok; in hal_rx_populate_mu_user_info()
500 ppdu_info->com_info.mpdu_cnt_fcs_err; in hal_rx_populate_mu_user_info()
502 &ppdu_info->com_info.mpdu_fcs_ok_bitmap, in hal_rx_populate_mu_user_info()
504 sizeof(ppdu_info->com_info.mpdu_fcs_ok_bitmap[0])); in hal_rx_populate_mu_user_info()
506 hal_rx_populate_byte_count(rx_tlv, ppdu_info, mon_rx_user_status); in hal_rx_populate_mu_user_info()
510 ppdu_info, rssi_info_tlv) \ argument
512 ppdu_info->rx_status.rssi_chain[chain][0] = \
515 ppdu_info->rx_status.rssi_chain[chain][1] = \
518 ppdu_info->rx_status.rssi_chain[chain][2] = \
521 ppdu_info->rx_status.rssi_chain[chain][3] = \
524 ppdu_info->rx_status.rssi_chain[chain][4] = \
527 ppdu_info->rx_status.rssi_chain[chain][5] = \
530 ppdu_info->rx_status.rssi_chain[chain][6] = \
533 ppdu_info->rx_status.rssi_chain[chain][7] = \
538 #define HAL_RX_PPDU_UPDATE_RSSI(ppdu_info, rssi_info_tlv) \ argument
539 {HAL_RX_UPDATE_RSSI_PER_CHAIN_BW(0, 0, 1, ppdu_info, rssi_info_tlv) \
540 HAL_RX_UPDATE_RSSI_PER_CHAIN_BW(1, 2, 3, ppdu_info, rssi_info_tlv) \
541 HAL_RX_UPDATE_RSSI_PER_CHAIN_BW(2, 4, 5, ppdu_info, rssi_info_tlv) \
542 HAL_RX_UPDATE_RSSI_PER_CHAIN_BW(3, 6, 7, ppdu_info, rssi_info_tlv) \
543 HAL_RX_UPDATE_RSSI_PER_CHAIN_BW(4, 8, 9, ppdu_info, rssi_info_tlv) \
544 HAL_RX_UPDATE_RSSI_PER_CHAIN_BW(5, 10, 11, ppdu_info, rssi_info_tlv) \
545 HAL_RX_UPDATE_RSSI_PER_CHAIN_BW(6, 12, 13, ppdu_info, rssi_info_tlv) \
546 HAL_RX_UPDATE_RSSI_PER_CHAIN_BW(7, 14, 15, ppdu_info, rssi_info_tlv)} \
549 hal_rx_update_rssi_chain(struct hal_rx_ppdu_info *ppdu_info, in hal_rx_update_rssi_chain() argument
552 HAL_RX_PPDU_UPDATE_RSSI(ppdu_info, rssi_info_tlv) in hal_rx_update_rssi_chain()
559 struct hal_rx_ppdu_info *ppdu_info) in hal_get_qos_control() argument
561 ppdu_info->rx_info.qos_control_info_valid = in hal_get_qos_control()
565 if (ppdu_info->rx_info.qos_control_info_valid) in hal_get_qos_control()
566 ppdu_info->rx_info.qos_control = in hal_get_qos_control()
574 struct hal_rx_ppdu_info *ppdu_info) in hal_get_mac_addr1() argument
576 if ((ppdu_info->sw_frame_group_id in hal_get_mac_addr1()
578 (ppdu_info->sw_frame_group_id == in hal_get_mac_addr1()
580 ppdu_info->rx_info.mac_addr1_valid = in hal_get_mac_addr1()
583 *(uint32_t *)&ppdu_info->rx_info.mac_addr1[0] = in hal_get_mac_addr1()
587 if (ppdu_info->sw_frame_group_id == in hal_get_mac_addr1()
589 *(uint16_t *)&ppdu_info->rx_info.mac_addr1[4] = in hal_get_mac_addr1()
599 struct hal_rx_ppdu_info *ppdu_info) in hal_get_qos_control() argument
605 struct hal_rx_ppdu_info *ppdu_info) in hal_get_mac_addr1() argument
613 struct hal_rx_ppdu_info *ppdu_info) in hal_update_frame_type_cnt() argument
624 ppdu_info->frm_type_info.rx_mgmt_cnt++; in hal_update_frame_type_cnt()
626 ppdu_info->frm_type_info.rx_ctrl_cnt++; in hal_update_frame_type_cnt()
628 ppdu_info->frm_type_info.rx_data_cnt++; in hal_update_frame_type_cnt()
634 struct hal_rx_ppdu_info *ppdu_info) in hal_update_frame_type_cnt() argument
641 hal_update_rx_ctrl_frame_stats(struct hal_rx_ppdu_info *ppdu_info, in hal_update_rx_ctrl_frame_stats() argument
644 uint16_t fc = ppdu_info->nac_info.frame_control; in hal_update_rx_ctrl_frame_stats()
649 ppdu_info->ctrl_frm_info[user_id].ndpa = 1; in hal_update_rx_ctrl_frame_stats()
652 ppdu_info->ctrl_frm_info[user_id].bar = 1; in hal_update_rx_ctrl_frame_stats()
657 hal_update_rx_ctrl_frame_stats(struct hal_rx_ppdu_info *ppdu_info, in hal_update_rx_ctrl_frame_stats() argument
687 struct hal_rx_ppdu_info *ppdu_info = in hal_rx_status_get_tlv_info_generic_li() local
699 if (qdf_unlikely(ppdu_info->com_info.last_ppdu_id == in hal_rx_status_get_tlv_info_generic_li()
702 ppdu_info->com_info.last_ppdu_id); in hal_rx_status_get_tlv_info_generic_li()
705 qdf_mem_zero(ppdu_info, in hal_rx_status_get_tlv_info_generic_li()
708 ppdu_info->com_info.last_ppdu_id = in hal_rx_status_get_tlv_info_generic_li()
709 ppdu_info->com_info.ppdu_id = in hal_rx_status_get_tlv_info_generic_li()
714 ppdu_info->rx_status.chan_num = in hal_rx_status_get_tlv_info_generic_li()
717 ppdu_info->rx_status.chan_freq = in hal_rx_status_get_tlv_info_generic_li()
720 if (ppdu_info->rx_status.chan_num) { in hal_rx_status_get_tlv_info_generic_li()
721 ppdu_info->rx_status.chan_freq = in hal_rx_status_get_tlv_info_generic_li()
723 ppdu_info->rx_status.chan_num, in hal_rx_status_get_tlv_info_generic_li()
724 ppdu_info->rx_status.chan_freq); in hal_rx_status_get_tlv_info_generic_li()
726 ppdu_info->com_info.ppdu_timestamp = in hal_rx_status_get_tlv_info_generic_li()
729 ppdu_info->rx_status.ppdu_timestamp = in hal_rx_status_get_tlv_info_generic_li()
730 ppdu_info->com_info.ppdu_timestamp; in hal_rx_status_get_tlv_info_generic_li()
731 ppdu_info->rx_state = HAL_RX_MON_PPDU_START; in hal_rx_status_get_tlv_info_generic_li()
743 ppdu_info->rx_state = HAL_RX_MON_PPDU_END; in hal_rx_status_get_tlv_info_generic_li()
747 hal_rx_get_rtt_info(hal_soc_hdl, rx_tlv, ppdu_info); in hal_rx_status_get_tlv_info_generic_li()
751 ppdu_info->rx_status.rx_antenna = in hal_rx_status_get_tlv_info_generic_li()
753 ppdu_info->rx_status.tsft = in hal_rx_status_get_tlv_info_generic_li()
756 ppdu_info->rx_status.tsft = (ppdu_info->rx_status.tsft << 32) | in hal_rx_status_get_tlv_info_generic_li()
759 ppdu_info->rx_status.duration = in hal_rx_status_get_tlv_info_generic_li()
762 hal_rx_get_bb_info(hal_soc_hdl, rx_tlv, ppdu_info); in hal_rx_status_get_tlv_info_generic_li()
763 hal_rx_get_phyrx_abort(hal, rx_tlv, ppdu_info); in hal_rx_status_get_tlv_info_generic_li()
775 ppdu_info->rx_status.ast_index = in hal_rx_status_get_tlv_info_generic_li()
781 ppdu_info->rx_status.tid = qdf_find_first_bit(&tid, in hal_rx_status_get_tlv_info_generic_li()
784 if (ppdu_info->rx_status.tid == (sizeof(tid) * 8)) in hal_rx_status_get_tlv_info_generic_li()
785 ppdu_info->rx_status.tid = HAL_TID_INVALID; in hal_rx_status_get_tlv_info_generic_li()
787 ppdu_info->rx_status.tcp_msdu_count = in hal_rx_status_get_tlv_info_generic_li()
792 ppdu_info->rx_status.udp_msdu_count = in hal_rx_status_get_tlv_info_generic_li()
795 ppdu_info->rx_status.other_msdu_count = in hal_rx_status_get_tlv_info_generic_li()
799 if (ppdu_info->sw_frame_group_id in hal_rx_status_get_tlv_info_generic_li()
801 ppdu_info->rx_status.frame_control_info_valid = in hal_rx_status_get_tlv_info_generic_li()
805 if (ppdu_info->rx_status.frame_control_info_valid) in hal_rx_status_get_tlv_info_generic_li()
806 ppdu_info->rx_status.frame_control = in hal_rx_status_get_tlv_info_generic_li()
811 hal_get_qos_control(rx_tlv, ppdu_info); in hal_rx_status_get_tlv_info_generic_li()
814 ppdu_info->rx_status.data_sequence_control_info_valid = in hal_rx_status_get_tlv_info_generic_li()
820 if (ppdu_info->rx_status.data_sequence_control_info_valid) in hal_rx_status_get_tlv_info_generic_li()
821 ppdu_info->rx_status.first_data_seq_ctrl = seq; in hal_rx_status_get_tlv_info_generic_li()
823 ppdu_info->rx_status.preamble_type = in hal_rx_status_get_tlv_info_generic_li()
826 switch (ppdu_info->rx_status.preamble_type) { in hal_rx_status_get_tlv_info_generic_li()
828 ppdu_info->rx_status.ht_flags = 1; in hal_rx_status_get_tlv_info_generic_li()
829 ppdu_info->rx_status.rtap_flags |= HT_SGI_PRESENT; in hal_rx_status_get_tlv_info_generic_li()
832 ppdu_info->rx_status.vht_flags = 1; in hal_rx_status_get_tlv_info_generic_li()
835 ppdu_info->rx_status.he_flags = 1; in hal_rx_status_get_tlv_info_generic_li()
841 ppdu_info->com_info.mpdu_cnt_fcs_ok = in hal_rx_status_get_tlv_info_generic_li()
844 ppdu_info->com_info.mpdu_cnt_fcs_err = in hal_rx_status_get_tlv_info_generic_li()
847 if ((ppdu_info->com_info.mpdu_cnt_fcs_ok | in hal_rx_status_get_tlv_info_generic_li()
848 ppdu_info->com_info.mpdu_cnt_fcs_err) > 1) in hal_rx_status_get_tlv_info_generic_li()
849 ppdu_info->rx_status.rs_flags |= IEEE80211_AMPDU_FLAG; in hal_rx_status_get_tlv_info_generic_li()
851 ppdu_info->rx_status.rs_flags &= in hal_rx_status_get_tlv_info_generic_li()
854 ppdu_info->com_info.mpdu_fcs_ok_bitmap[0] = in hal_rx_status_get_tlv_info_generic_li()
858 ppdu_info->com_info.mpdu_fcs_ok_bitmap[1] = in hal_rx_status_get_tlv_info_generic_li()
864 &ppdu_info->rx_user_status[user_id]; in hal_rx_status_get_tlv_info_generic_li()
868 ppdu_info->com_info.num_users++; in hal_rx_status_get_tlv_info_generic_li()
870 hal_rx_populate_mu_user_info(rx_tlv, ppdu_info, in hal_rx_status_get_tlv_info_generic_li()
878 ppdu_info->com_info.mpdu_fcs_ok_bitmap[2] = in hal_rx_status_get_tlv_info_generic_li()
882 ppdu_info->com_info.mpdu_fcs_ok_bitmap[3] = in hal_rx_status_get_tlv_info_generic_li()
886 ppdu_info->com_info.mpdu_fcs_ok_bitmap[4] = in hal_rx_status_get_tlv_info_generic_li()
890 ppdu_info->com_info.mpdu_fcs_ok_bitmap[5] = in hal_rx_status_get_tlv_info_generic_li()
894 ppdu_info->com_info.mpdu_fcs_ok_bitmap[6] = in hal_rx_status_get_tlv_info_generic_li()
898 ppdu_info->com_info.mpdu_fcs_ok_bitmap[7] = in hal_rx_status_get_tlv_info_generic_li()
916 ppdu_info->rx_status.ldpc = (value == HAL_SU_MU_CODING_LDPC) ? in hal_rx_status_get_tlv_info_generic_li()
918 ppdu_info->rx_status.mcs = HAL_RX_GET(ht_sig_info, in hal_rx_status_get_tlv_info_generic_li()
920 ppdu_info->rx_status.ht_mcs = ppdu_info->rx_status.mcs; in hal_rx_status_get_tlv_info_generic_li()
921 ppdu_info->rx_status.bw = HAL_RX_GET(ht_sig_info, in hal_rx_status_get_tlv_info_generic_li()
923 ppdu_info->rx_status.sgi = HAL_RX_GET(ht_sig_info, in hal_rx_status_get_tlv_info_generic_li()
925 ppdu_info->rx_status.reception_type = HAL_RX_TYPE_SU; in hal_rx_status_get_tlv_info_generic_li()
926 ppdu_info->rx_status.nss = ((ppdu_info->rx_status.mcs) >> in hal_rx_status_get_tlv_info_generic_li()
928 ppdu_info->rx_status.mcs &= ((1 << HT_SIG_SU_NSS_SHIFT) - 1); in hal_rx_status_get_tlv_info_generic_li()
929 hal_rx_get_ht_sig_info(ppdu_info, ht_sig_info); in hal_rx_status_get_tlv_info_generic_li()
940 ppdu_info->rx_status.l_sig_b_info = *((uint32_t *)l_sig_b_info); in hal_rx_status_get_tlv_info_generic_li()
943 ppdu_info->rx_status.rate = HAL_11B_RATE_3MCS; in hal_rx_status_get_tlv_info_generic_li()
944 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS3; in hal_rx_status_get_tlv_info_generic_li()
947 ppdu_info->rx_status.rate = HAL_11B_RATE_2MCS; in hal_rx_status_get_tlv_info_generic_li()
948 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS2; in hal_rx_status_get_tlv_info_generic_li()
951 ppdu_info->rx_status.rate = HAL_11B_RATE_1MCS; in hal_rx_status_get_tlv_info_generic_li()
952 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS1; in hal_rx_status_get_tlv_info_generic_li()
955 ppdu_info->rx_status.rate = HAL_11B_RATE_0MCS; in hal_rx_status_get_tlv_info_generic_li()
956 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS0; in hal_rx_status_get_tlv_info_generic_li()
959 ppdu_info->rx_status.rate = HAL_11B_RATE_6MCS; in hal_rx_status_get_tlv_info_generic_li()
960 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS6; in hal_rx_status_get_tlv_info_generic_li()
963 ppdu_info->rx_status.rate = HAL_11B_RATE_5MCS; in hal_rx_status_get_tlv_info_generic_li()
964 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS5; in hal_rx_status_get_tlv_info_generic_li()
967 ppdu_info->rx_status.rate = HAL_11B_RATE_4MCS; in hal_rx_status_get_tlv_info_generic_li()
968 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS4; in hal_rx_status_get_tlv_info_generic_li()
973 ppdu_info->rx_status.cck_flag = 1; in hal_rx_status_get_tlv_info_generic_li()
974 ppdu_info->rx_status.reception_type = HAL_RX_TYPE_SU; in hal_rx_status_get_tlv_info_generic_li()
985 ppdu_info->rx_status.l_sig_a_info = *((uint32_t *)l_sig_a_info); in hal_rx_status_get_tlv_info_generic_li()
988 ppdu_info->rx_status.rate = HAL_11A_RATE_0MCS; in hal_rx_status_get_tlv_info_generic_li()
989 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS0; in hal_rx_status_get_tlv_info_generic_li()
992 ppdu_info->rx_status.rate = HAL_11A_RATE_1MCS; in hal_rx_status_get_tlv_info_generic_li()
993 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS1; in hal_rx_status_get_tlv_info_generic_li()
996 ppdu_info->rx_status.rate = HAL_11A_RATE_2MCS; in hal_rx_status_get_tlv_info_generic_li()
997 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS2; in hal_rx_status_get_tlv_info_generic_li()
1000 ppdu_info->rx_status.rate = HAL_11A_RATE_3MCS; in hal_rx_status_get_tlv_info_generic_li()
1001 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS3; in hal_rx_status_get_tlv_info_generic_li()
1004 ppdu_info->rx_status.rate = HAL_11A_RATE_4MCS; in hal_rx_status_get_tlv_info_generic_li()
1005 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS4; in hal_rx_status_get_tlv_info_generic_li()
1008 ppdu_info->rx_status.rate = HAL_11A_RATE_5MCS; in hal_rx_status_get_tlv_info_generic_li()
1009 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS5; in hal_rx_status_get_tlv_info_generic_li()
1012 ppdu_info->rx_status.rate = HAL_11A_RATE_6MCS; in hal_rx_status_get_tlv_info_generic_li()
1013 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS6; in hal_rx_status_get_tlv_info_generic_li()
1016 ppdu_info->rx_status.rate = HAL_11A_RATE_7MCS; in hal_rx_status_get_tlv_info_generic_li()
1017 ppdu_info->rx_status.mcs = HAL_LEGACY_MCS7; in hal_rx_status_get_tlv_info_generic_li()
1022 ppdu_info->rx_status.ofdm_flag = 1; in hal_rx_status_get_tlv_info_generic_li()
1023 ppdu_info->rx_status.reception_type = HAL_RX_TYPE_SU; in hal_rx_status_get_tlv_info_generic_li()
1024 hal_rx_get_l_sig_a_info(ppdu_info, l_sig_a_info); in hal_rx_status_get_tlv_info_generic_li()
1036 ppdu_info->rx_status.ldpc = (value == HAL_SU_MU_CODING_LDPC) ? in hal_rx_status_get_tlv_info_generic_li()
1040 ppdu_info->rx_status.vht_flag_values5 = group_id; in hal_rx_status_get_tlv_info_generic_li()
1041 ppdu_info->rx_status.mcs = HAL_RX_GET(vht_sig_a_info, in hal_rx_status_get_tlv_info_generic_li()
1043 ppdu_info->rx_status.sgi = HAL_RX_GET(vht_sig_a_info, in hal_rx_status_get_tlv_info_generic_li()
1058 ppdu_info->rx_status.is_stbc = in hal_rx_status_get_tlv_info_generic_li()
1064 if (ppdu_info->rx_status.is_stbc && (value > 0)) in hal_rx_status_get_tlv_info_generic_li()
1066 ppdu_info->rx_status.nss = in hal_rx_status_get_tlv_info_generic_li()
1072 ppdu_info->rx_status.is_stbc = in hal_rx_status_get_tlv_info_generic_li()
1078 if (ppdu_info->rx_status.is_stbc && (value > 0)) in hal_rx_status_get_tlv_info_generic_li()
1080 ppdu_info->rx_status.nss = in hal_rx_status_get_tlv_info_generic_li()
1083 ppdu_info->rx_status.nss = 0; in hal_rx_status_get_tlv_info_generic_li()
1087 ppdu_info->rx_status.nss = 0; in hal_rx_status_get_tlv_info_generic_li()
1092 ppdu_info->rx_status.vht_flag_values3[0] = in hal_rx_status_get_tlv_info_generic_li()
1093 (((ppdu_info->rx_status.mcs) << 4) in hal_rx_status_get_tlv_info_generic_li()
1094 | ppdu_info->rx_status.nss); in hal_rx_status_get_tlv_info_generic_li()
1095 ppdu_info->rx_status.bw = HAL_RX_GET(vht_sig_a_info, in hal_rx_status_get_tlv_info_generic_li()
1097 ppdu_info->rx_status.vht_flag_values2 = in hal_rx_status_get_tlv_info_generic_li()
1098 ppdu_info->rx_status.bw; in hal_rx_status_get_tlv_info_generic_li()
1099 ppdu_info->rx_status.vht_flag_values4 = in hal_rx_status_get_tlv_info_generic_li()
1103 ppdu_info->rx_status.beamformed = HAL_RX_GET(vht_sig_a_info, in hal_rx_status_get_tlv_info_generic_li()
1106 ppdu_info->rx_status.reception_type = HAL_RX_TYPE_SU; in hal_rx_status_get_tlv_info_generic_li()
1108 ppdu_info->rx_status.reception_type = in hal_rx_status_get_tlv_info_generic_li()
1111 hal_rx_get_vht_sig_a_info(ppdu_info, vht_sig_a_info); in hal_rx_status_get_tlv_info_generic_li()
1119 ppdu_info->rx_status.he_flags = 1; in hal_rx_status_get_tlv_info_generic_li()
1123 ppdu_info->rx_status.he_data1 = in hal_rx_status_get_tlv_info_generic_li()
1126 ppdu_info->rx_status.he_data1 = in hal_rx_status_get_tlv_info_generic_li()
1131 ppdu_info->rx_status.he_data1 |= in hal_rx_status_get_tlv_info_generic_li()
1144 ppdu_info->rx_status.he_data2 = in hal_rx_status_get_tlv_info_generic_li()
1146 ppdu_info->rx_status.he_data2 |= in hal_rx_status_get_tlv_info_generic_li()
1157 ppdu_info->rx_status.he_data3 = value; in hal_rx_status_get_tlv_info_generic_li()
1161 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1165 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1169 ppdu_info->rx_status.mcs = value; in hal_rx_status_get_tlv_info_generic_li()
1171 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1177 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1180 ppdu_info->rx_status.ldpc = (value == HAL_SU_MU_CODING_LDPC) ? in hal_rx_status_get_tlv_info_generic_li()
1183 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1188 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1193 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1198 ppdu_info->rx_status.he_data4 = value; in hal_rx_status_get_tlv_info_generic_li()
1203 ppdu_info->rx_status.he_data5 = value; in hal_rx_status_get_tlv_info_generic_li()
1204 ppdu_info->rx_status.bw = value; in hal_rx_status_get_tlv_info_generic_li()
1230 ppdu_info->rx_status.sgi = he_gi; in hal_rx_status_get_tlv_info_generic_li()
1231 ppdu_info->rx_status.ltf_size = he_ltf; in hal_rx_status_get_tlv_info_generic_li()
1234 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1236 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1240 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1245 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1249 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1253 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1258 ppdu_info->rx_status.nss = value; in hal_rx_status_get_tlv_info_generic_li()
1259 ppdu_info->rx_status.he_data6 = value; in hal_rx_status_get_tlv_info_generic_li()
1263 ppdu_info->rx_status.he_data6 |= value; in hal_rx_status_get_tlv_info_generic_li()
1267 ppdu_info->rx_status.he_data6 |= value; in hal_rx_status_get_tlv_info_generic_li()
1269 ppdu_info->rx_status.beamformed = HAL_RX_GET(he_sig_a_su_info, in hal_rx_status_get_tlv_info_generic_li()
1271 ppdu_info->rx_status.reception_type = HAL_RX_TYPE_SU; in hal_rx_status_get_tlv_info_generic_li()
1272 hal_rx_get_crc_he_sig_a_su_info(ppdu_info, he_sig_a_su_info); in hal_rx_status_get_tlv_info_generic_li()
1281 ppdu_info->rx_status.he_mu_flags = 1; in hal_rx_status_get_tlv_info_generic_li()
1285 ppdu_info->rx_status.he_data1 = in hal_rx_status_get_tlv_info_generic_li()
1287 ppdu_info->rx_status.he_data1 |= in hal_rx_status_get_tlv_info_generic_li()
1296 ppdu_info->rx_status.he_data2 = in hal_rx_status_get_tlv_info_generic_li()
1298 ppdu_info->rx_status.he_data2 |= in hal_rx_status_get_tlv_info_generic_li()
1308 ppdu_info->rx_status.he_data3 = value; in hal_rx_status_get_tlv_info_generic_li()
1313 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1319 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1325 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1330 ppdu_info->rx_status.he_data4 = value; in hal_rx_status_get_tlv_info_generic_li()
1335 ppdu_info->rx_status.he_data5 = value; in hal_rx_status_get_tlv_info_generic_li()
1336 ppdu_info->rx_status.bw = value; in hal_rx_status_get_tlv_info_generic_li()
1358 ppdu_info->rx_status.sgi = he_gi; in hal_rx_status_get_tlv_info_generic_li()
1359 ppdu_info->rx_status.ltf_size = he_ltf; in hal_rx_status_get_tlv_info_generic_li()
1362 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1365 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1370 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1375 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1380 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1386 ppdu_info->rx_status.he_data6 |= value; in hal_rx_status_get_tlv_info_generic_li()
1391 ppdu_info->rx_status.he_data6 |= value; in hal_rx_status_get_tlv_info_generic_li()
1395 ppdu_info->rx_status.he_flags1 = in hal_rx_status_get_tlv_info_generic_li()
1404 ppdu_info->rx_status.he_flags1 |= value; in hal_rx_status_get_tlv_info_generic_li()
1408 ppdu_info->rx_status.he_flags1 |= value; in hal_rx_status_get_tlv_info_generic_li()
1411 ppdu_info->rx_status.he_flags2 = in hal_rx_status_get_tlv_info_generic_li()
1416 ppdu_info->rx_status.he_flags2 |= value; in hal_rx_status_get_tlv_info_generic_li()
1420 ppdu_info->rx_status.he_flags2 |= value; in hal_rx_status_get_tlv_info_generic_li()
1425 ppdu_info->rx_status.he_flags2 |= value; in hal_rx_status_get_tlv_info_generic_li()
1426 ppdu_info->rx_status.reception_type = HAL_RX_TYPE_MU_MIMO; in hal_rx_status_get_tlv_info_generic_li()
1427 hal_rx_get_crc_he_sig_a_mu_dl_info(ppdu_info, in hal_rx_status_get_tlv_info_generic_li()
1437 ppdu_info->rx_status.he_sig_b_common_known |= in hal_rx_status_get_tlv_info_generic_li()
1445 ppdu_info->rx_status.he_RU[0] = value; in hal_rx_status_get_tlv_info_generic_li()
1446 ppdu_info->rx_status.reception_type = HAL_RX_TYPE_MU_MIMO; in hal_rx_status_get_tlv_info_generic_li()
1461 ppdu_info->rx_status.he_data1 |= in hal_rx_status_get_tlv_info_generic_li()
1470 ppdu_info->rx_status.mcs = value; in hal_rx_status_get_tlv_info_generic_li()
1472 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1477 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1483 ppdu_info->rx_status.he_data4 |= value; in hal_rx_status_get_tlv_info_generic_li()
1492 ppdu_info->rx_status.nss = value; in hal_rx_status_get_tlv_info_generic_li()
1493 ppdu_info->rx_status.he_data6 |= value; in hal_rx_status_get_tlv_info_generic_li()
1511 ppdu_info->rx_status.he_data1 |= in hal_rx_status_get_tlv_info_generic_li()
1517 ppdu_info->rx_status.he_data2 |= in hal_rx_status_get_tlv_info_generic_li()
1523 ppdu_info->rx_status.mcs = value; in hal_rx_status_get_tlv_info_generic_li()
1525 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1531 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1536 ppdu_info->rx_status.he_data3 |= value; in hal_rx_status_get_tlv_info_generic_li()
1542 ppdu_info->rx_status.he_data4 |= value; in hal_rx_status_get_tlv_info_generic_li()
1548 ppdu_info->rx_status.he_data5 |= value; in hal_rx_status_get_tlv_info_generic_li()
1555 ppdu_info->rx_status.nss = value; in hal_rx_status_get_tlv_info_generic_li()
1556 ppdu_info->rx_status.he_data6 |= value; in hal_rx_status_get_tlv_info_generic_li()
1557 ppdu_info->rx_status.reception_type = HAL_RX_TYPE_MU_OFDMA; in hal_rx_status_get_tlv_info_generic_li()
1568 ppdu_info->rx_status.rssi_comb = in hal_rx_status_get_tlv_info_generic_li()
1570 ppdu_info->rx_status.bw = hal->ops->hal_rx_get_tlv(rx_tlv); in hal_rx_status_get_tlv_info_generic_li()
1571 ppdu_info->rx_status.he_re = 0; in hal_rx_status_get_tlv_info_generic_li()
1578 ppdu_info->rx_status.reception_type = in hal_rx_status_get_tlv_info_generic_li()
1580 ppdu_info->rx_status.ulofdma_flag = 1; in hal_rx_status_get_tlv_info_generic_li()
1581 ppdu_info->rx_status.he_data1 = in hal_rx_status_get_tlv_info_generic_li()
1585 ppdu_info->rx_status.reception_type = in hal_rx_status_get_tlv_info_generic_li()
1587 ppdu_info->rx_status.he_data1 = in hal_rx_status_get_tlv_info_generic_li()
1591 ppdu_info->rx_status.reception_type = in hal_rx_status_get_tlv_info_generic_li()
1595 hal_rx_update_rssi_chain(ppdu_info, rssi_info_tlv); in hal_rx_status_get_tlv_info_generic_li()
1598 ppdu_info->rx_status.rssi[0] = rssi_value; in hal_rx_status_get_tlv_info_generic_li()
1603 ppdu_info->rx_status.rssi[1] = rssi_value; in hal_rx_status_get_tlv_info_generic_li()
1608 ppdu_info->rx_status.rssi[2] = rssi_value; in hal_rx_status_get_tlv_info_generic_li()
1613 ppdu_info->rx_status.rssi[3] = rssi_value; in hal_rx_status_get_tlv_info_generic_li()
1618 ppdu_info->rx_status.rssi[4] = rssi_value; in hal_rx_status_get_tlv_info_generic_li()
1624 ppdu_info->rx_status.rssi[5] = rssi_value; in hal_rx_status_get_tlv_info_generic_li()
1630 ppdu_info->rx_status.rssi[6] = rssi_value; in hal_rx_status_get_tlv_info_generic_li()
1636 ppdu_info->rx_status.rssi[7] = rssi_value; in hal_rx_status_get_tlv_info_generic_li()
1642 ppdu_info); in hal_rx_status_get_tlv_info_generic_li()
1646 struct hal_rx_ppdu_common_info *com_info = &ppdu_info->com_info; in hal_rx_status_get_tlv_info_generic_li()
1648 if (ppdu_info->fcs_ok_cnt >= in hal_rx_status_get_tlv_info_generic_li()
1651 ppdu_info->fcs_ok_cnt); in hal_rx_status_get_tlv_info_generic_li()
1658 ppdu_info->ppdu_msdu_info[ppdu_info->fcs_ok_cnt].first_msdu_payload = in hal_rx_status_get_tlv_info_generic_li()
1660 ppdu_info->ppdu_msdu_info[ppdu_info->fcs_ok_cnt].payload_len = tlv_len; in hal_rx_status_get_tlv_info_generic_li()
1661 ppdu_info->msdu_info.first_msdu_payload = rx_tlv; in hal_rx_status_get_tlv_info_generic_li()
1662 ppdu_info->msdu_info.payload_len = tlv_len; in hal_rx_status_get_tlv_info_generic_li()
1663 ppdu_info->user_id = user_id; in hal_rx_status_get_tlv_info_generic_li()
1664 ppdu_info->hdr_len = tlv_len; in hal_rx_status_get_tlv_info_generic_li()
1665 ppdu_info->data = rx_tlv; in hal_rx_status_get_tlv_info_generic_li()
1666 ppdu_info->data += 4; in hal_rx_status_get_tlv_info_generic_li()
1678 hal_update_frame_type_cnt(rx_mpdu_start, ppdu_info); in hal_rx_status_get_tlv_info_generic_li()
1680 ppdu_info->nac_info.fc_valid = in hal_rx_status_get_tlv_info_generic_li()
1683 ppdu_info->nac_info.to_ds_flag = in hal_rx_status_get_tlv_info_generic_li()
1686 ppdu_info->nac_info.frame_control = in hal_rx_status_get_tlv_info_generic_li()
1691 ppdu_info->sw_frame_group_id = in hal_rx_status_get_tlv_info_generic_li()
1694 ppdu_info->rx_user_status[user_id].sw_peer_id = in hal_rx_status_get_tlv_info_generic_li()
1697 hal_update_rx_ctrl_frame_stats(ppdu_info, user_id); in hal_rx_status_get_tlv_info_generic_li()
1699 if (ppdu_info->sw_frame_group_id == in hal_rx_status_get_tlv_info_generic_li()
1701 ppdu_info->rx_status.frame_control_info_valid = in hal_rx_status_get_tlv_info_generic_li()
1702 ppdu_info->nac_info.fc_valid; in hal_rx_status_get_tlv_info_generic_li()
1703 ppdu_info->rx_status.frame_control = in hal_rx_status_get_tlv_info_generic_li()
1704 ppdu_info->nac_info.frame_control; in hal_rx_status_get_tlv_info_generic_li()
1708 ppdu_info); in hal_rx_status_get_tlv_info_generic_li()
1710 ppdu_info->nac_info.mac_addr2_valid = in hal_rx_status_get_tlv_info_generic_li()
1713 *(uint16_t *)&ppdu_info->nac_info.mac_addr2[0] = in hal_rx_status_get_tlv_info_generic_li()
1718 *(uint32_t *)&ppdu_info->nac_info.mac_addr2[2] = in hal_rx_status_get_tlv_info_generic_li()
1723 if (ppdu_info->rx_status.prev_ppdu_id != ppdu_id) { in hal_rx_status_get_tlv_info_generic_li()
1724 ppdu_info->rx_status.prev_ppdu_id = ppdu_id; in hal_rx_status_get_tlv_info_generic_li()
1725 ppdu_info->rx_status.ppdu_len = in hal_rx_status_get_tlv_info_generic_li()
1729 ppdu_info->rx_status.ppdu_len += in hal_rx_status_get_tlv_info_generic_li()
1738 ppdu_info->rx_status.rxpcu_filter_pass = 1; in hal_rx_status_get_tlv_info_generic_li()
1740 ppdu_info->rx_status.monitor_direct_used = 1; in hal_rx_status_get_tlv_info_generic_li()
1742 ppdu_info->nac_info.mcast_bcast = in hal_rx_status_get_tlv_info_generic_li()
1749 ppdu_info->user_id = user_id; in hal_rx_status_get_tlv_info_generic_li()
1750 ppdu_info->fcs_err = in hal_rx_status_get_tlv_info_generic_li()
1756 ppdu_info->rx_msdu_info[user_id].cce_metadata = in hal_rx_status_get_tlv_info_generic_li()
1758 ppdu_info->rx_msdu_info[user_id].fse_metadata = in hal_rx_status_get_tlv_info_generic_li()
1760 ppdu_info->rx_msdu_info[user_id].is_flow_idx_timeout = in hal_rx_status_get_tlv_info_generic_li()
1762 ppdu_info->rx_msdu_info[user_id].is_flow_idx_invalid = in hal_rx_status_get_tlv_info_generic_li()
1764 ppdu_info->rx_msdu_info[user_id].flow_idx = in hal_rx_status_get_tlv_info_generic_li()
1772 if (hal_rx_handle_other_tlvs(tlv_tag, rx_tlv, ppdu_info)) in hal_rx_status_get_tlv_info_generic_li()