@@ -688,11 +688,12 @@ enum nrf_wifi_status rawtx_cmd_prep_callbk_fn(void *callbk_data,
688688 config -> raw_tx_info .frame_ddr_pointer = (unsigned long long )phy_addr ;
689689 config -> raw_tx_info .pkt_length = buf_len ;
690690#else
691+ config -> raw_tx_info .pkt_length [frame_indx ] = buf_len ;
691692 tx_buf_info -> nwb = nwb ;
692693 tx_buf_info -> mapped = true;
693- nrf_wifi_osal_log_info ("%s: frame pointer for data is 0x%x" , __func__ , nwb_data );
694- config -> raw_tx_info .frame_ddr_pointer = (unsigned long long )nwb_data ;
695- #endif /* !NRF71_ON_IPC */
694+ nrf_wifi_osal_log_dbg ("%s: frame pointer for data is 0x%x" , __func__ , nwb_data );
695+ config -> raw_tx_info .frame_ddr_pointer [ frame_indx ] = (unsigned long long )nwb_data ;
696+ #endif /* !CONFIG_NRF71_ON_IPC */
696697 info -> num_tx_pkts ++ ;
697698
698699 status = NRF_WIFI_STATUS_SUCCESS ;
@@ -819,7 +820,6 @@ enum nrf_wifi_status rawtx_cmd_prepare(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ct
819820 config -> sys_head .len = sizeof (* config );
820821 config -> if_index = vif_id ;
821822 config -> raw_tx_info .desc_num = desc ;
822- config -> raw_tx_info .pkt_length = len ;
823823
824824 /* Check first packet in queue for per-packet raw TX config */
825825 void * first_nwb = nrf_wifi_utils_list_peek (txq );
@@ -846,7 +846,11 @@ enum nrf_wifi_status rawtx_cmd_prepare(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ct
846846 __func__ );
847847 goto err ;
848848 }
849+ #ifdef NRF71_ON_IPC
850+ config -> raw_tx_info .num_frames = info .num_tx_pkts ;
851+ config -> raw_tx_info .aggregation = AGGR_ENABLE ;
849852 sys_dev_ctx -> host_stats .total_tx_pkts += info .num_tx_pkts ;
853+ #endif /* NRF71_ON_IPC */
850854
851855 return NRF_WIFI_STATUS_SUCCESS ;
852856err :
0 commit comments