Searched refs:MacCommand_t (Results 1 – 2 of 2) sorted by relevance
46 MacCommand_t* First;50 MacCommand_t* Last;65 MacCommand_t MacCommandSlots[NUM_OF_MAC_COMMANDS];85 static bool IsSlotFree( const MacCommand_t* slot ) in IsSlotFree()89 for( uint16_t size = 0; size < sizeof( MacCommand_t ); size++ ) in IsSlotFree()104 static MacCommand_t* MallocNewMacCommandSlot( void ) in MallocNewMacCommandSlot()108 while( IsSlotFree( ( const MacCommand_t* )&CommandsCtx.MacCommandSlots[itr] ) == false ) in MallocNewMacCommandSlot()127 static bool FreeMacCommandSlot( MacCommand_t* slot ) in FreeMacCommandSlot()134 memset1( ( uint8_t* )slot, 0x00, sizeof( MacCommand_t ) ); in FreeMacCommandSlot()167 static bool LinkedListAdd( MacCommandsList_t* list, MacCommand_t* element ) in LinkedListAdd()[all …]
56 typedef struct sMacCommand MacCommand_t; typedef63 MacCommand_t* Next;144 LoRaMacCommandStatus_t LoRaMacCommandsRemoveCmd( MacCommand_t* macCmd );154 LoRaMacCommandStatus_t LoRaMacCommandsGetCmd( uint8_t cid, MacCommand_t** macCmd );