Home
last modified time | relevance | path

Searched refs:phyParam (Results 1 – 14 of 14) sorted by relevance

/loramac-node-latest/src/mac/region/
DRegionAU915.c84 PhyParam_t phyParam = { 0 }; in RegionAU915GetPhyParam() local
92 phyParam.Value = AU915_RX_MIN_DATARATE; in RegionAU915GetPhyParam()
96 phyParam.Value = AU915_DWELL_LIMIT_DATARATE; in RegionAU915GetPhyParam()
104 phyParam.Value = AU915_TX_MIN_DATARATE; in RegionAU915GetPhyParam()
108 phyParam.Value = AU915_DWELL_LIMIT_DATARATE; in RegionAU915GetPhyParam()
114 phyParam.Value = AU915_DEFAULT_DATARATE; in RegionAU915GetPhyParam()
128 phyParam.Value = RegionCommonGetNextLowerTxDr( &nextLowerTxDrParams ); in RegionAU915GetPhyParam()
133 phyParam.Value = AU915_MAX_TX_POWER; in RegionAU915GetPhyParam()
138 phyParam.Value = AU915_DEFAULT_TX_POWER; in RegionAU915GetPhyParam()
143 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_LIMIT; in RegionAU915GetPhyParam()
[all …]
DRegionCN470.c296 PhyParam_t phyParam = { 0 }; in RegionCN470GetPhyParam() local
302 phyParam.Value = CN470_RX_MIN_DATARATE; in RegionCN470GetPhyParam()
307 phyParam.Value = CN470_TX_MIN_DATARATE; in RegionCN470GetPhyParam()
312 phyParam.Value = CN470_DEFAULT_DATARATE; in RegionCN470GetPhyParam()
326 phyParam.Value = RegionCommonGetNextLowerTxDr( &nextLowerTxDrParams ); in RegionCN470GetPhyParam()
331 phyParam.Value = CN470_MAX_TX_POWER; in RegionCN470GetPhyParam()
336 phyParam.Value = CN470_DEFAULT_TX_POWER; in RegionCN470GetPhyParam()
341 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_LIMIT; in RegionCN470GetPhyParam()
346 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_DELAY; in RegionCN470GetPhyParam()
351 phyParam.Value = MaxPayloadOfDatarateCN470[getPhy->Datarate]; in RegionCN470GetPhyParam()
[all …]
DRegionUS915.c104 PhyParam_t phyParam = { 0 }; in RegionUS915GetPhyParam() local
110 phyParam.Value = US915_RX_MIN_DATARATE; in RegionUS915GetPhyParam()
115 phyParam.Value = US915_TX_MIN_DATARATE; in RegionUS915GetPhyParam()
120 phyParam.Value = US915_DEFAULT_DATARATE; in RegionUS915GetPhyParam()
134 phyParam.Value = RegionCommonGetNextLowerTxDr( &nextLowerTxDrParams ); in RegionUS915GetPhyParam()
139 phyParam.Value = US915_MAX_TX_POWER; in RegionUS915GetPhyParam()
144 phyParam.Value = US915_DEFAULT_TX_POWER; in RegionUS915GetPhyParam()
149 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_LIMIT; in RegionUS915GetPhyParam()
154 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_DELAY; in RegionUS915GetPhyParam()
159 phyParam.Value = MaxPayloadOfDatarateUS915[getPhy->Datarate]; in RegionUS915GetPhyParam()
[all …]
DRegionRU864.c81 PhyParam_t phyParam = { 0 }; in RegionRU864GetPhyParam() local
87 phyParam.Value = RU864_RX_MIN_DATARATE; in RegionRU864GetPhyParam()
92 phyParam.Value = RU864_TX_MIN_DATARATE; in RegionRU864GetPhyParam()
97 phyParam.Value = RU864_DEFAULT_DATARATE; in RegionRU864GetPhyParam()
111 phyParam.Value = RegionCommonGetNextLowerTxDr( &nextLowerTxDrParams ); in RegionRU864GetPhyParam()
116 phyParam.Value = RU864_MAX_TX_POWER; in RegionRU864GetPhyParam()
121 phyParam.Value = RU864_DEFAULT_TX_POWER; in RegionRU864GetPhyParam()
126 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_LIMIT; in RegionRU864GetPhyParam()
131 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_DELAY; in RegionRU864GetPhyParam()
136 phyParam.Value = MaxPayloadOfDatarateRU864[getPhy->Datarate]; in RegionRU864GetPhyParam()
[all …]
DRegionEU433.c80 PhyParam_t phyParam = { 0 }; in RegionEU433GetPhyParam() local
86 phyParam.Value = EU433_RX_MIN_DATARATE; in RegionEU433GetPhyParam()
91 phyParam.Value = EU433_TX_MIN_DATARATE; in RegionEU433GetPhyParam()
96 phyParam.Value = EU433_DEFAULT_DATARATE; in RegionEU433GetPhyParam()
110 phyParam.Value = RegionCommonGetNextLowerTxDr( &nextLowerTxDrParams ); in RegionEU433GetPhyParam()
115 phyParam.Value = EU433_MAX_TX_POWER; in RegionEU433GetPhyParam()
120 phyParam.Value = EU433_DEFAULT_TX_POWER; in RegionEU433GetPhyParam()
125 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_LIMIT; in RegionEU433GetPhyParam()
130 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_DELAY; in RegionEU433GetPhyParam()
135 phyParam.Value = MaxPayloadOfDatarateEU433[getPhy->Datarate]; in RegionEU433GetPhyParam()
[all …]
DRegionEU868.c105 PhyParam_t phyParam = { 0 }; in RegionEU868GetPhyParam() local
111 phyParam.Value = EU868_RX_MIN_DATARATE; in RegionEU868GetPhyParam()
116 phyParam.Value = EU868_TX_MIN_DATARATE; in RegionEU868GetPhyParam()
121 phyParam.Value = EU868_DEFAULT_DATARATE; in RegionEU868GetPhyParam()
135 phyParam.Value = RegionCommonGetNextLowerTxDr( &nextLowerTxDrParams ); in RegionEU868GetPhyParam()
140 phyParam.Value = EU868_MAX_TX_POWER; in RegionEU868GetPhyParam()
145 phyParam.Value = EU868_DEFAULT_TX_POWER; in RegionEU868GetPhyParam()
150 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_LIMIT; in RegionEU868GetPhyParam()
155 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_DELAY; in RegionEU868GetPhyParam()
160 phyParam.Value = MaxPayloadOfDatarateEU868[getPhy->Datarate]; in RegionEU868GetPhyParam()
[all …]
DRegionIN865.c80 PhyParam_t phyParam = { 0 }; in RegionIN865GetPhyParam() local
86 phyParam.Value = IN865_RX_MIN_DATARATE; in RegionIN865GetPhyParam()
91 phyParam.Value = IN865_TX_MIN_DATARATE; in RegionIN865GetPhyParam()
96 phyParam.Value = IN865_DEFAULT_DATARATE; in RegionIN865GetPhyParam()
110 phyParam.Value = RegionCommonGetNextLowerTxDr( &nextLowerTxDrParams ); in RegionIN865GetPhyParam()
115 phyParam.Value = IN865_MAX_TX_POWER; in RegionIN865GetPhyParam()
120 phyParam.Value = IN865_DEFAULT_TX_POWER; in RegionIN865GetPhyParam()
125 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_LIMIT; in RegionIN865GetPhyParam()
130 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_DELAY; in RegionIN865GetPhyParam()
135 phyParam.Value = MaxPayloadOfDatarateIN865[getPhy->Datarate]; in RegionIN865GetPhyParam()
[all …]
DRegionCN779.c80 PhyParam_t phyParam = { 0 }; in RegionCN779GetPhyParam() local
86 phyParam.Value = CN779_RX_MIN_DATARATE; in RegionCN779GetPhyParam()
91 phyParam.Value = CN779_TX_MIN_DATARATE; in RegionCN779GetPhyParam()
96 phyParam.Value = CN779_DEFAULT_DATARATE; in RegionCN779GetPhyParam()
110 phyParam.Value = RegionCommonGetNextLowerTxDr( &nextLowerTxDrParams ); in RegionCN779GetPhyParam()
115 phyParam.Value = CN779_MAX_TX_POWER; in RegionCN779GetPhyParam()
120 phyParam.Value = CN779_DEFAULT_TX_POWER; in RegionCN779GetPhyParam()
125 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_LIMIT; in RegionCN779GetPhyParam()
130 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_DELAY; in RegionCN779GetPhyParam()
135 phyParam.Value = MaxPayloadOfDatarateCN779[getPhy->Datarate]; in RegionCN779GetPhyParam()
[all …]
DRegionKR920.c106 PhyParam_t phyParam = { 0 }; in RegionKR920GetPhyParam() local
112 phyParam.Value = KR920_RX_MIN_DATARATE; in RegionKR920GetPhyParam()
117 phyParam.Value = KR920_TX_MIN_DATARATE; in RegionKR920GetPhyParam()
122 phyParam.Value = KR920_DEFAULT_DATARATE; in RegionKR920GetPhyParam()
136 phyParam.Value = RegionCommonGetNextLowerTxDr( &nextLowerTxDrParams ); in RegionKR920GetPhyParam()
141 phyParam.Value = KR920_MAX_TX_POWER; in RegionKR920GetPhyParam()
146 phyParam.Value = KR920_DEFAULT_TX_POWER; in RegionKR920GetPhyParam()
151 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_LIMIT; in RegionKR920GetPhyParam()
156 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_DELAY; in RegionKR920GetPhyParam()
161 phyParam.Value = MaxPayloadOfDatarateKR920[getPhy->Datarate]; in RegionKR920GetPhyParam()
[all …]
DRegionAS923.c246 PhyParam_t phyParam = { 0 }; in RegionAS923GetPhyParam() local
254 phyParam.Value = AS923_RX_MIN_DATARATE; in RegionAS923GetPhyParam()
258 phyParam.Value = AS923_DWELL_LIMIT_DATARATE; in RegionAS923GetPhyParam()
266 phyParam.Value = AS923_TX_MIN_DATARATE; in RegionAS923GetPhyParam()
270 phyParam.Value = AS923_DWELL_LIMIT_DATARATE; in RegionAS923GetPhyParam()
276 phyParam.Value = AS923_DEFAULT_DATARATE; in RegionAS923GetPhyParam()
290 phyParam.Value = RegionCommonGetNextLowerTxDr( &nextLowerTxDrParams ); in RegionAS923GetPhyParam()
295 phyParam.Value = AS923_MAX_TX_POWER; in RegionAS923GetPhyParam()
300 phyParam.Value = AS923_DEFAULT_TX_POWER; in RegionAS923GetPhyParam()
305 phyParam.Value = REGION_COMMON_DEFAULT_ADR_ACK_LIMIT; in RegionAS923GetPhyParam()
[all …]
DRegion.c547 PhyParam_t phyParam = { 0 }; in RegionGetPhyParam() local
562 return phyParam; in RegionGetPhyParam()
/loramac-node-latest/src/mac/
DLoRaMacAdr.c46 PhyParam_t phyParam; in LoRaMacAdrCalcNext() local
56 phyParam = RegionGetPhyParam( adrNext->Region, &getPhy ); in LoRaMacAdrCalcNext()
57 minTxDatarate = phyParam.Value; in LoRaMacAdrCalcNext()
71 phyParam = RegionGetPhyParam( adrNext->Region, &getPhy ); in LoRaMacAdrCalcNext()
72 txPower = phyParam.Value; in LoRaMacAdrCalcNext()
99 phyParam = RegionGetPhyParam( adrNext->Region, &getPhy ); in LoRaMacAdrCalcNext()
100 datarate = phyParam.Value; in LoRaMacAdrCalcNext()
DLoRaMacClassB.c169 PhyParam_t phyParam; in CalcDownlinkFrequency() local
178 phyParam = RegionGetPhyParam( *Ctx.LoRaMacClassBParams.LoRaMacRegion, &getPhy ); in CalcDownlinkFrequency()
180 return phyParam.Value; in CalcDownlinkFrequency()
202 PhyParam_t phyParam; in CalcDownlinkChannelAndFrequency() local
215 phyParam = RegionGetPhyParam( *Ctx.LoRaMacClassBParams.LoRaMacRegion, &getPhy ); in CalcDownlinkChannelAndFrequency()
216 nbChannels = ( uint8_t ) phyParam.Value; in CalcDownlinkChannelAndFrequency()
223 phyParam = RegionGetPhyParam( *Ctx.LoRaMacClassBParams.LoRaMacRegion, &getPhy ); in CalcDownlinkChannelAndFrequency()
224 offset = ( uint8_t ) phyParam.Value; in CalcDownlinkChannelAndFrequency()
251 PhyParam_t phyParam; in CalculateBeaconRxWindowConfig() local
263 phyParam = RegionGetPhyParam( *Ctx.LoRaMacClassBParams.LoRaMacRegion, &getPhy ); in CalculateBeaconRxWindowConfig()
[all …]
DLoRaMac.c804 PhyParam_t phyParam; in ProcessRadioTxDone() local
824 phyParam = RegionGetPhyParam( Nvm.MacGroup2.Region, &getPhy ); in ProcessRadioTxDone()
825 TimerSetValue( &MacCtx.RetransmitTimeoutTimer, MacCtx.RxWindow2Delay + phyParam.Value ); in ProcessRadioTxDone()
871 PhyParam_t phyParam; in ProcessRadioRxDone() local
1117 phyParam = RegionGetPhyParam( Nvm.MacGroup2.Region, &getPhy ); in ProcessRadioRxDone()
1118 …t16_t ) size - ( int16_t ) LORAMAC_FRAME_PAYLOAD_OVERHEAD_SIZE ) ) > ( int16_t )phyParam.Value ) || in ProcessRadioRxDone()
2125 PhyParam_t phyParam; in GetMaxAppPayloadWithoutFOptsLength() local
2131 phyParam = RegionGetPhyParam( Nvm.MacGroup2.Region, &getPhy ); in GetMaxAppPayloadWithoutFOptsLength()
2133 return phyParam.Value; in GetMaxAppPayloadWithoutFOptsLength()
2388 PhyParam_t phyParam; in ProcessMacCommands() local
[all …]