Lines Matching refs:McpsIndication

204     McpsIndication_t McpsIndication;  member
894 MacCtx.McpsIndication.Rssi = rssi; in ProcessRadioRxDone()
895 MacCtx.McpsIndication.Snr = snr; in ProcessRadioRxDone()
896 MacCtx.McpsIndication.RxSlot = MacCtx.RxSlot; in ProcessRadioRxDone()
897 MacCtx.McpsIndication.Port = 0; in ProcessRadioRxDone()
898 MacCtx.McpsIndication.Multicast = 0; in ProcessRadioRxDone()
899 MacCtx.McpsIndication.IsUplinkTxPending = 0; in ProcessRadioRxDone()
900 MacCtx.McpsIndication.Buffer = NULL; in ProcessRadioRxDone()
901 MacCtx.McpsIndication.BufferSize = 0; in ProcessRadioRxDone()
902 MacCtx.McpsIndication.RxData = false; in ProcessRadioRxDone()
903 MacCtx.McpsIndication.AckReceived = false; in ProcessRadioRxDone()
904 MacCtx.McpsIndication.DownLinkCounter = 0; in ProcessRadioRxDone()
905 MacCtx.McpsIndication.McpsIndication = MCPS_UNCONFIRMED; in ProcessRadioRxDone()
906 MacCtx.McpsIndication.DevAddress = 0; in ProcessRadioRxDone()
907 MacCtx.McpsIndication.DeviceTimeAnsReceived = false; in ProcessRadioRxDone()
908 MacCtx.McpsIndication.ResponseTimeout = 0; in ProcessRadioRxDone()
912 if( MacCtx.McpsIndication.RxSlot == RX_SLOT_WIN_1 ) in ProcessRadioRxDone()
931 MacCtx.McpsIndication.RxSlot = RX_SLOT_WIN_CLASS_B_PING_SLOT; in ProcessRadioRxDone()
937 MacCtx.McpsIndication.RxSlot = RX_SLOT_WIN_CLASS_B_MULTICAST_SLOT; in ProcessRadioRxDone()
944 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR; in ProcessRadioRxDone()
954 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR; in ProcessRadioRxDone()
966 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR; in ProcessRadioRxDone()
976 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR; in ProcessRadioRxDone()
1110 MacCtx.McpsIndication.McpsIndication = MCPS_CONFIRMED; in ProcessRadioRxDone()
1115 getPhy.Datarate = MacCtx.McpsIndication.RxDatarate; in ProcessRadioRxDone()
1121 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR; in ProcessRadioRxDone()
1132 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR; in ProcessRadioRxDone()
1145 MacCtx.McpsIndication.RxSlot = RX_SLOT_WIN_CLASS_B_PING_SLOT; in ProcessRadioRxDone()
1152 MacCtx.McpsIndication.RxSlot = RX_SLOT_WIN_CLASS_B_MULTICAST_SLOT; in ProcessRadioRxDone()
1158 MacCtx.McpsIndication.DevAddress = macMsgData.FHDR.DevAddr; in ProcessRadioRxDone()
1163 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR; in ProcessRadioRxDone()
1182 MacCtx.McpsIndication.RxSlot = RX_SLOT_WIN_CLASS_C_MULTICAST; in ProcessRadioRxDone()
1193 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR; in ProcessRadioRxDone()
1205 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_DOWNLINK_REPEATED; in ProcessRadioRxDone()
1210 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR; in ProcessRadioRxDone()
1212 MacCtx.McpsIndication.DownLinkCounter = downLinkCounter; in ProcessRadioRxDone()
1223 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ADDRESS_FAIL; in ProcessRadioRxDone()
1228 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_MIC_FAIL; in ProcessRadioRxDone()
1234 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_OK; in ProcessRadioRxDone()
1235 MacCtx.McpsIndication.Multicast = multicast; in ProcessRadioRxDone()
1236 MacCtx.McpsIndication.Buffer = NULL; in ProcessRadioRxDone()
1237 MacCtx.McpsIndication.BufferSize = 0; in ProcessRadioRxDone()
1238 MacCtx.McpsIndication.DownLinkCounter = downLinkCounter; in ProcessRadioRxDone()
1239 MacCtx.McpsIndication.AckReceived = macMsgData.FHDR.FCtrl.Bits.Ack; in ProcessRadioRxDone()
1245 if( ( MacCtx.McpsIndication.RxSlot == RX_SLOT_WIN_1 ) || in ProcessRadioRxDone()
1246 ( MacCtx.McpsIndication.RxSlot == RX_SLOT_WIN_2 ) ) in ProcessRadioRxDone()
1255 MacCtx.McpsIndication.McpsIndication = MCPS_MULTICAST; in ProcessRadioRxDone()
1266 MacCtx.McpsIndication.McpsIndication = MCPS_CONFIRMED; in ProcessRadioRxDone()
1269 if( ( MacCtx.McpsIndication.RxSlot != RX_SLOT_WIN_1 ) && in ProcessRadioRxDone()
1270 ( MacCtx.McpsIndication.RxSlot != RX_SLOT_WIN_2 ) ) in ProcessRadioRxDone()
1273 … MacCtx.McpsIndication.ResponseTimeout = REGION_COMMON_CLASS_B_C_RESP_TIMEOUT; in ProcessRadioRxDone()
1280 MacCtx.McpsIndication.McpsIndication = MCPS_UNCONFIRMED; in ProcessRadioRxDone()
1286 ( MacCtx.McpsIndication.ResponseTimeout > 0 ) ) in ProcessRadioRxDone()
1288 MacCtx.McpsIndication.IsUplinkTxPending = 1; in ProcessRadioRxDone()
1291 …RemoveMacCommands( MacCtx.McpsIndication.RxSlot, macMsgData.FHDR.FCtrl, MacCtx.McpsConfirm.McpsReq… in ProcessRadioRxDone()
1304 …macMsgData.FHDR.FOpts, 0, macMsgData.FHDR.FCtrl.Bits.FOptsLen, snr, MacCtx.McpsIndication.RxSlot ); in ProcessRadioRxDone()
1305 MacCtx.McpsIndication.Port = macMsgData.FPort; in ProcessRadioRxDone()
1306 MacCtx.McpsIndication.Buffer = macMsgData.FRMPayload; in ProcessRadioRxDone()
1307 MacCtx.McpsIndication.BufferSize = macMsgData.FRMPayloadSize; in ProcessRadioRxDone()
1308 MacCtx.McpsIndication.RxData = true; in ProcessRadioRxDone()
1320 …macMsgData.FHDR.FOpts, 0, macMsgData.FHDR.FCtrl.Bits.FOptsLen, snr, MacCtx.McpsIndication.RxSlot ); in ProcessRadioRxDone()
1321 MacCtx.McpsIndication.Port = macMsgData.FPort; in ProcessRadioRxDone()
1333 …Commands( macMsgData.FRMPayload, 0, macMsgData.FRMPayloadSize, snr, MacCtx.McpsIndication.RxSlot ); in ProcessRadioRxDone()
1334 MacCtx.McpsIndication.Port = macMsgData.FPort; in ProcessRadioRxDone()
1346 MacCtx.McpsIndication.Port = macMsgData.FPort; in ProcessRadioRxDone()
1347 MacCtx.McpsIndication.Buffer = macMsgData.FRMPayload; in ProcessRadioRxDone()
1348 MacCtx.McpsIndication.BufferSize = macMsgData.FRMPayloadSize; in ProcessRadioRxDone()
1349 MacCtx.McpsIndication.RxData = true; in ProcessRadioRxDone()
1353 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR; in ProcessRadioRxDone()
1376 MacCtx.McpsIndication.Port = macMsgData.FPort; in ProcessRadioRxDone()
1377 MacCtx.McpsIndication.Buffer = NULL; in ProcessRadioRxDone()
1378 MacCtx.McpsIndication.BufferSize = 0; in ProcessRadioRxDone()
1379 MacCtx.McpsIndication.RxData = false; in ProcessRadioRxDone()
1390 MacCtx.McpsIndication.McpsIndication = MCPS_PROPRIETARY; in ProcessRadioRxDone()
1391 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_OK; in ProcessRadioRxDone()
1392 MacCtx.McpsIndication.Buffer = MacCtx.RxPayload; in ProcessRadioRxDone()
1393 MacCtx.McpsIndication.BufferSize = size - pktHeaderLen; in ProcessRadioRxDone()
1398 MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR; in ProcessRadioRxDone()
1405 if( ( MacCtx.McpsIndication.RxSlot == RX_SLOT_WIN_1 ) || in ProcessRadioRxDone()
1406 ( MacCtx.McpsIndication.RxSlot == RX_SLOT_WIN_2 ) ) in ProcessRadioRxDone()
1417 if( MacCtx.McpsIndication.RxSlot != RX_SLOT_WIN_CLASS_C ) in ProcessRadioRxDone()
1630 MacCtx.MacPrimitives->MacMcpsIndication( &MacCtx.McpsIndication ); in LoRaMacHandleIndicationEvents()
2578 MacCtx.McpsIndication.DeviceTimeAnsReceived = true; in ProcessMacCommands()
2583 MacCtx.McpsIndication.DeviceTimeAnsReceived = false; in ProcessMacCommands()
3212 classBParams.McpsIndication = &MacCtx.McpsIndication; in ResetMacParameters()
3250 …if( RegionRxConfig( Nvm.MacGroup2.Region, rxConfig, ( int8_t* )&MacCtx.McpsIndication.RxDatarate )… in RxWindowSetup()
3273 …g( Nvm.MacGroup2.Region, &MacCtx.RxWindowCConfig, ( int8_t* )&MacCtx.McpsIndication.RxDatarate ) =… in OpenContinuousRxCWindow()
3627 if( ( MacCtx.McpsIndication.RxSlot == RX_SLOT_WIN_1 ) || in CheckRetransUnconfirmedUplink()
3628 ( MacCtx.McpsIndication.RxSlot == RX_SLOT_WIN_2 ) ) in CheckRetransUnconfirmedUplink()
3694 ( ( MacCtx.McpsIndication.RxSlot != RX_SLOT_WIN_1 ) && in StopRetransmission()
3695 ( MacCtx.McpsIndication.RxSlot != RX_SLOT_WIN_2 ) ) ) in StopRetransmission()