Currently receiving measurement data from NR UE
This commit has several other changes. The changes include the following: 1. Changed the port numbers for the NRUE<->Proxy 2. Fixed the send to function in the NR UE (Previously only sending buffer not buffer+msg_type) 3. Updated pack/unpack of the SSB PDU (new RSRB field added) 4. Fixed several NR logs 5. Opening socket with NRUE<->Proxy AFTER receving RRC measurement request from the LTE UE
This commit is contained in:
@@ -1007,6 +1007,8 @@ typedef struct {
|
||||
/// A value indicating how the BCH payload is generated. This should match the PARAM/CONFIG TLVs. Value: 0: MAC generates the full PBCH payload, see Table 3-41, where bchPayload has 31 bits 1: PHY generates the timing PBCH bits, see Table 3-41, where the bchPayload has 24 bits 2: PHY generates the full PBCH payload
|
||||
uint8_t bchPayloadFlag;
|
||||
uint32_t bchPayload;
|
||||
/// A value indicating the channel quality between the gNB and nrUE
|
||||
uint8_t ssRSRB;
|
||||
nfapi_nr_tx_precoding_and_beamforming_t precoding_and_beamforming;
|
||||
} nfapi_nr_dl_tti_ssb_pdu_rel15_t;
|
||||
|
||||
|
||||
@@ -371,7 +371,8 @@ static uint8_t pack_dl_tti_ssb_pdu_rel15_value(void* tlv, uint8_t **ppWritePacke
|
||||
push8(value->SsbSubcarrierOffset, ppWritePackedMsg, end) &&
|
||||
push16(value->ssbOffsetPointA, ppWritePackedMsg, end) &&
|
||||
push8(value->bchPayloadFlag, ppWritePackedMsg, end) &&
|
||||
push32(value->bchPayload, ppWritePackedMsg, end)
|
||||
push32(value->bchPayload, ppWritePackedMsg, end) &&
|
||||
push8(value->ssRSRB, ppWritePackedMsg, end)
|
||||
// TODO: pack precoding_and_beamforming too
|
||||
);
|
||||
|
||||
@@ -3409,7 +3410,7 @@ int nfapi_nr_p7_message_pack(void *pMessageBuf, void *pPackedBuf, uint32_t packe
|
||||
{
|
||||
case NFAPI_NR_PHY_MSG_TYPE_DL_TTI_REQUEST:
|
||||
result = pack_dl_tti_request(pMessageHeader, &pWritePackedMessage, end, config);
|
||||
printf("result of pack dl_tti_req is %d. \n",result);
|
||||
NFAPI_TRACE(NFAPI_TRACE_INFO, "result of pack dl_tti_req is %d. \n", result);
|
||||
break;
|
||||
|
||||
case NFAPI_NR_PHY_MSG_TYPE_UL_TTI_REQUEST:
|
||||
@@ -3874,7 +3875,8 @@ static uint8_t unpack_dl_tti_ssb_pdu_rel15_value(void* tlv, uint8_t **ppReadPack
|
||||
pull8(ppReadPackedMsg, &value->SsbSubcarrierOffset, end) &&
|
||||
pull16(ppReadPackedMsg, &value->ssbOffsetPointA, end) &&
|
||||
pull8(ppReadPackedMsg, &value->bchPayloadFlag, end) &&
|
||||
pull32(ppReadPackedMsg, &value->bchPayload, end)
|
||||
pull32(ppReadPackedMsg, &value->bchPayload, end) &&
|
||||
pull8(ppReadPackedMsg, &value->ssRSRB, end)
|
||||
// TODO: pack precoding_and_beamforming too
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user