Send Packets to the PHY Module (with Multi-Codeword Spatial Multiplexing)

Using multi-codewords, two packets (or codewords) that share the same time and frequency information can be transmitted simultaneously. This section describes how to use the API functions to send two packets simultaneously to the PHY module of the advanced wireless package that uses multi-codeword spatial multiplexing.

  1. Send each packet to the PHY as per Send Packets to the PHY Module (with Wireless Properties Specified).

  2. While setting wireless transmission properties using oms_wp_phy_pk_transmission_info_set (), make sure to set the OMSC_WP_PK_CODEWORD_INDEX_INT property. This property must be set to either OmsC_WP_Codeword_0 or OmsC_WP_Codeword_1.

    The packet with OmsC_WP_Codeword_1 index must be transmitted only if there is a packet with OmsC_WP_Codeword_0 transmitted for the same time and frequency.

    The second packet sent with OmsC_WP_Codeword_1, which shares the same time and frequency, will not cause any additional interference. Therefore, you can optionally transmit the packet with OmsC_WP_Codeword_1 directly to the intended receiver channel by configuring the property OMSC_WP_PK_RECEIVER_RXCH_OBJID, while using oms_wp_phy_pk_transmission_info_set() to set the wireless transmission properties for the packet, for efficient simulation. To use the wireless transmission property OMSC_WP_PK_RECEIVER_RXCH_OBJID, you must have first initialized a special transmitter channel pool by configuring the attribute OMSC_WP_ATTR_PHY_TXCH_START_IND_FOR_SINGLE_RXCH using oms_wp_phy_module_attr_set().

    Example: The following excerpt is from lte_support.ex.c.

    oms_wp_phy_pk_transmission_info_set (pkptr,
    	OMSC_WP_PK_SIZE_BITS_INT64, 		(OpT_Int64) dci_ptr->alloc_size_bits,
    	OMSC_WP_PK_SIZE_PHY_BLOCKS_INT, 	dci_ptr->alloc_size_blocks,
    	OMSC_WP_PK_START_TIME_DBL, 			dci_ptr->burst_start_time,
    	OMSC_WP_PK_TX_DELAY_DBL, 			dci_ptr->burst_delay,
    	OMSC_WP_PK_START_FREQ_HZ_DBL, 		dci_ptr->burst_start_freq_hz,
    	OMSC_WP_PK_END_FREQ_HZ_DBL, 		dci_ptr->burst_end_freq_hz,
    	OMSC_WP_PK_MCS_INDEX_INT, 			wp_phy_mcs_index,
    	OMSC_WP_PK_BURST_TYPE_INT, 			LteT_Burst_Type_Data,
    	OMSC_WP_PK_MEASURE_ID_INT, 			measurement_key,
    	OMSC_WP_PK_MIMO_TECHNIQUE_INT, 		wp_phy_mimo_tx_tech,
    	OMSC_WP_PK_CODEWORD_INDEX_INT, 		wp_phy_cw_index,
    	OMSC_WP_PK_RECEIVER_RXCH_OBJID, 	rxch_objid,
    	OMSC_WP_ARG_END);