Searched refs:tlv_log (Results 1 – 3 of 3) sorted by relevance
1419 struct dp_mon_tlv_logger *tlv_log = NULL; in dp_tx_mon_record_index_update() local1422 tlv_log = mon_pdev_be->tx_tlv_log; in dp_tx_mon_record_index_update()1423 tlv_info = (struct dp_tx_mon_tlv_info *)tlv_log->buff; in dp_tx_mon_record_index_update()1425 (tlv_log->curr_ppdu_pos + 1 == MAX_NUM_PPDU_RECORD) ? in dp_tx_mon_record_index_update()1426 tlv_log->curr_ppdu_pos = 0 : in dp_tx_mon_record_index_update()1427 tlv_log->curr_ppdu_pos++; in dp_tx_mon_record_index_update()1429 tlv_log->wrap_flag = 0; in dp_tx_mon_record_index_update()1430 tlv_log->ppdu_start_idx = tlv_log->curr_ppdu_pos * in dp_tx_mon_record_index_update()1432 tlv_log->mpdu_idx = tlv_log->ppdu_start_idx + in dp_tx_mon_record_index_update()1434 tlv_log->ppdu_end_idx = tlv_log->mpdu_idx + MAX_MPDU_TLV_NUM; in dp_tx_mon_record_index_update()[all …]
1086 struct dp_mon_tlv_logger *tlv_log = NULL; in dp_mon_pdev_initialize_tlv_logger() local1088 tlv_log = qdf_mem_malloc(sizeof(struct dp_mon_tlv_logger)); in dp_mon_pdev_initialize_tlv_logger()1089 if (!tlv_log) { in dp_mon_pdev_initialize_tlv_logger()1095 tlv_log->buff = qdf_mem_malloc(MAX_TLV_LOGGING_SIZE * in dp_mon_pdev_initialize_tlv_logger()1098 tlv_log->buff = qdf_mem_malloc(MAX_TLV_LOGGING_SIZE * in dp_mon_pdev_initialize_tlv_logger()1101 if (!tlv_log->buff) { in dp_mon_pdev_initialize_tlv_logger()1103 qdf_mem_free(tlv_log); in dp_mon_pdev_initialize_tlv_logger()1104 tlv_log = NULL; in dp_mon_pdev_initialize_tlv_logger()1108 tlv_log->curr_ppdu_pos = 0; in dp_mon_pdev_initialize_tlv_logger()1109 tlv_log->wrap_flag = 0; in dp_mon_pdev_initialize_tlv_logger()[all …]
56 struct dp_mon_tlv_logger *tlv_log = NULL; in dp_mon_record_index_update() local62 tlv_log = mon_pdev_be->rx_tlv_log; in dp_mon_record_index_update()63 if (!tlv_log->tlv_logging_enable || !(tlv_log->buff)) in dp_mon_record_index_update()66 tlv_info = (struct dp_mon_tlv_info *)tlv_log->buff; in dp_mon_record_index_update()68 (tlv_log->curr_ppdu_pos + 1 == MAX_NUM_PPDU_RECORD) ? in dp_mon_record_index_update()69 tlv_log->curr_ppdu_pos = 0 : in dp_mon_record_index_update()70 tlv_log->curr_ppdu_pos++; in dp_mon_record_index_update()72 tlv_log->wrap_flag = 0; in dp_mon_record_index_update()73 tlv_log->ppdu_start_idx = tlv_log->curr_ppdu_pos * in dp_mon_record_index_update()75 tlv_log->mpdu_idx = tlv_log->ppdu_start_idx + in dp_mon_record_index_update()[all …]