/loramac-node-latest/src/mac/region/ |
D | RegionCN470A26.c | 45 uint8_t RegionCN470A26LinkAdrChMaskUpdate( uint16_t* channelsMask, uint8_t chMaskCntl, in RegionCN470A26LinkAdrChMaskUpdate() argument 58 channelsMask[0] = 0xFFFF; in RegionCN470A26LinkAdrChMaskUpdate() 59 channelsMask[1] = 0xFFFF; in RegionCN470A26LinkAdrChMaskUpdate() 60 channelsMask[2] = 0xFFFF; in RegionCN470A26LinkAdrChMaskUpdate() 61 channelsMask[3] = 0xFFFF; in RegionCN470A26LinkAdrChMaskUpdate() 62 channelsMask[4] = 0x0000; in RegionCN470A26LinkAdrChMaskUpdate() 63 channelsMask[5] = 0x0000; in RegionCN470A26LinkAdrChMaskUpdate() 68 channelsMask[0] = 0x0000; in RegionCN470A26LinkAdrChMaskUpdate() 69 channelsMask[1] = 0x0000; in RegionCN470A26LinkAdrChMaskUpdate() 70 channelsMask[2] = 0x0000; in RegionCN470A26LinkAdrChMaskUpdate() [all …]
|
D | RegionCN470A20.c | 45 uint8_t RegionCN470A20LinkAdrChMaskUpdate( uint16_t* channelsMask, uint8_t chMaskCntl, in RegionCN470A20LinkAdrChMaskUpdate() argument 58 channelsMask[0] = 0xFFFF; in RegionCN470A20LinkAdrChMaskUpdate() 59 channelsMask[1] = 0xFFFF; in RegionCN470A20LinkAdrChMaskUpdate() 60 channelsMask[2] = 0xFFFF; in RegionCN470A20LinkAdrChMaskUpdate() 61 channelsMask[3] = 0xFFFF; in RegionCN470A20LinkAdrChMaskUpdate() 62 channelsMask[4] = 0x0000; in RegionCN470A20LinkAdrChMaskUpdate() 63 channelsMask[5] = 0x0000; in RegionCN470A20LinkAdrChMaskUpdate() 68 channelsMask[0] = 0x0000; in RegionCN470A20LinkAdrChMaskUpdate() 69 channelsMask[1] = 0x0000; in RegionCN470A20LinkAdrChMaskUpdate() 70 channelsMask[2] = 0x0000; in RegionCN470A20LinkAdrChMaskUpdate() [all …]
|
D | RegionUS915.c | 49 …t8_t LimitTxPower( int8_t txPower, int8_t maxBandTxPower, int8_t datarate, uint16_t* channelsMask ) in LimitTxPower() argument 62 if( RegionCommonCountChannels( channelsMask, 0, 4 ) < 50 ) in LimitTxPower() 575 uint16_t channelsMask[6] = { 0, 0, 0, 0, 0, 0 }; in RegionUS915LinkAdrReq() local 581 RegionCommonChanMaskCopy( channelsMask, RegionNvmGroup2->ChannelsMask, CHANNELS_MASK_SIZE ); in RegionUS915LinkAdrReq() 599 channelsMask[0] = 0xFFFF; in RegionUS915LinkAdrReq() 600 channelsMask[1] = 0xFFFF; in RegionUS915LinkAdrReq() 601 channelsMask[2] = 0xFFFF; in RegionUS915LinkAdrReq() 602 channelsMask[3] = 0xFFFF; in RegionUS915LinkAdrReq() 604 channelsMask[4] = linkAdrParams.ChMask & CHANNELS_MASK_500KHZ_MASK; in RegionUS915LinkAdrReq() 609 channelsMask[0] = 0x0000; in RegionUS915LinkAdrReq() [all …]
|
D | RegionAU915.c | 577 uint16_t channelsMask[6] = { 0, 0, 0, 0, 0, 0 }; in RegionAU915LinkAdrReq() local 583 RegionCommonChanMaskCopy( channelsMask, RegionNvmGroup2->ChannelsMask, 6 ); in RegionAU915LinkAdrReq() 601 channelsMask[0] = 0xFFFF; in RegionAU915LinkAdrReq() 602 channelsMask[1] = 0xFFFF; in RegionAU915LinkAdrReq() 603 channelsMask[2] = 0xFFFF; in RegionAU915LinkAdrReq() 604 channelsMask[3] = 0xFFFF; in RegionAU915LinkAdrReq() 606 channelsMask[4] = linkAdrParams.ChMask & CHANNELS_MASK_500KHZ_MASK; in RegionAU915LinkAdrReq() 611 channelsMask[0] = 0x0000; in RegionAU915LinkAdrReq() 612 channelsMask[1] = 0x0000; in RegionAU915LinkAdrReq() 613 channelsMask[2] = 0x0000; in RegionAU915LinkAdrReq() [all …]
|
D | RegionCommon.c | 188 bool RegionCommonChanVerifyDr( uint8_t nbChannels, uint16_t* channelsMask, int8_t dr, int8_t minDr,… in RegionCommonChanVerifyDr() argument 199 if( ( ( channelsMask[k] & ( 1 << j ) ) != 0 ) ) in RegionCommonChanVerifyDr() 222 bool RegionCommonChanDisable( uint16_t* channelsMask, uint8_t id, uint8_t maxChannels ) in RegionCommonChanDisable() argument 232 channelsMask[index] &= ~( 1 << ( id % 16 ) ); in RegionCommonChanDisable() 237 uint8_t RegionCommonCountChannels( uint16_t* channelsMask, uint8_t startIdx, uint8_t stopIdx ) in RegionCommonCountChannels() argument 241 if( channelsMask == NULL ) in RegionCommonCountChannels() 248 nbChannels += CountChannels( channelsMask[i], 16 ); in RegionCommonCountChannels()
|
D | RegionCN470B26.c | 46 uint8_t RegionCN470B26LinkAdrChMaskUpdate( uint16_t* channelsMask, uint8_t chMaskCntl, in RegionCN470B26LinkAdrChMaskUpdate() argument 49 return RegionCN470A26LinkAdrChMaskUpdate( channelsMask, chMaskCntl, in RegionCN470B26LinkAdrChMaskUpdate()
|
D | RegionCommon.h | 372 bool RegionCommonChanVerifyDr( uint8_t nbChannels, uint16_t* channelsMask, int8_t dr, 387 bool RegionCommonChanDisable( uint16_t* channelsMask, uint8_t id, uint8_t maxChannels ); 401 uint8_t RegionCommonCountChannels( uint16_t* channelsMask, uint8_t startIdx, uint8_t stopIdx );
|
D | RegionCN470B20.c | 60 uint8_t RegionCN470B20LinkAdrChMaskUpdate( uint16_t* channelsMask, uint8_t chMaskCntl, in RegionCN470B20LinkAdrChMaskUpdate() argument 64 return RegionCN470A20LinkAdrChMaskUpdate( channelsMask, chMaskCntl, in RegionCN470B20LinkAdrChMaskUpdate()
|
D | RegionCN470.c | 109 uint8_t ( *LinkAdrChMaskUpdate )( uint16_t* channelsMask, uint8_t chMaskCntl, 807 uint16_t channelsMask[CHANNELS_MASK_SIZE] = { 0, 0, 0, 0, 0, 0 }; in RegionCN470LinkAdrReq() local 813 RegionCommonChanMaskCopy( channelsMask, RegionNvmGroup2->ChannelsMask, CHANNELS_MASK_SIZE ); in RegionCN470LinkAdrReq() 827 status = ChannelPlanCtx.LinkAdrChMaskUpdate( channelsMask, linkAdrParams.ChMaskCtrl, in RegionCN470LinkAdrReq() 832 if( RegionCommonCountChannels( channelsMask, 0, ChannelPlanCtx.ChannelsMaskSize ) == 0 ) in RegionCN470LinkAdrReq() 851 linkAdrVerifyParams.ChannelsMask = channelsMask; in RegionCN470LinkAdrReq() 866 RegionCommonChanMaskCopy( RegionNvmGroup2->ChannelsMask, channelsMask, CHANNELS_MASK_SIZE ); in RegionCN470LinkAdrReq()
|
D | RegionCN470A26.h | 154 uint8_t RegionCN470A26LinkAdrChMaskUpdate( uint16_t* channelsMask, uint8_t chMaskCntl,
|
D | RegionCN470B26.h | 154 uint8_t RegionCN470B26LinkAdrChMaskUpdate( uint16_t* channelsMask, uint8_t chMaskCntl,
|
D | RegionCN470A20.h | 172 uint8_t RegionCN470A20LinkAdrChMaskUpdate( uint16_t* channelsMask, uint8_t chMaskCntl,
|
D | RegionCN470B20.h | 196 uint8_t RegionCN470B20LinkAdrChMaskUpdate( uint16_t* channelsMask, uint8_t chMaskCntl,
|