Home
last modified time | relevance | path

Searched refs:getPhy (Results 1 – 25 of 25) sorted by relevance

/loramac-node-latest/src/mac/
DLoRaMacAdr.c45 GetPhyParams_t getPhy; in LoRaMacAdrCalcNext() local
54 getPhy.Attribute = PHY_MIN_TX_DR; in LoRaMacAdrCalcNext()
55 getPhy.UplinkDwellTime = adrNext->UplinkDwellTime; in LoRaMacAdrCalcNext()
56 phyParam = RegionGetPhyParam( adrNext->Region, &getPhy ); in LoRaMacAdrCalcNext()
70 getPhy.Attribute = PHY_DEF_TX_POWER; in LoRaMacAdrCalcNext()
71 phyParam = RegionGetPhyParam( adrNext->Region, &getPhy ); in LoRaMacAdrCalcNext()
96 getPhy.Attribute = PHY_NEXT_LOWER_TX_DR; in LoRaMacAdrCalcNext()
97 getPhy.Datarate = datarate; in LoRaMacAdrCalcNext()
98 getPhy.UplinkDwellTime = adrNext->UplinkDwellTime; in LoRaMacAdrCalcNext()
99 phyParam = RegionGetPhyParam( adrNext->Region, &getPhy ); in LoRaMacAdrCalcNext()
DLoRaMacClassB.c168 GetPhyParams_t getPhy; in CalcDownlinkFrequency() local
171 getPhy.Attribute = PHY_PING_SLOT_CHANNEL_FREQ; in CalcDownlinkFrequency()
175 getPhy.Attribute = PHY_BEACON_CHANNEL_FREQ; in CalcDownlinkFrequency()
177 getPhy.Channel = channel; in CalcDownlinkFrequency()
178 phyParam = RegionGetPhyParam( *Ctx.LoRaMacClassBParams.LoRaMacRegion, &getPhy ); in CalcDownlinkFrequency()
201 GetPhyParams_t getPhy; in CalcDownlinkChannelAndFrequency() local
208 getPhy.Attribute = PHY_PING_SLOT_NB_CHANNELS; in CalcDownlinkChannelAndFrequency()
213 getPhy.Attribute = PHY_BEACON_NB_CHANNELS; in CalcDownlinkChannelAndFrequency()
215 phyParam = RegionGetPhyParam( *Ctx.LoRaMacClassBParams.LoRaMacRegion, &getPhy ); in CalcDownlinkChannelAndFrequency()
222 getPhy.Attribute = PHY_BEACON_CHANNEL_OFFSET; in CalcDownlinkChannelAndFrequency()
[all …]
DLoRaMac.c803 GetPhyParams_t getPhy; in ProcessRadioTxDone() local
823 getPhy.Attribute = PHY_RETRANSMIT_TIMEOUT; in ProcessRadioTxDone()
824 phyParam = RegionGetPhyParam( Nvm.MacGroup2.Region, &getPhy ); in ProcessRadioTxDone()
870 GetPhyParams_t getPhy; in ProcessRadioRxDone() local
1114 getPhy.UplinkDwellTime = Nvm.MacGroup2.MacParams.DownlinkDwellTime; in ProcessRadioRxDone()
1115 getPhy.Datarate = MacCtx.McpsIndication.RxDatarate; in ProcessRadioRxDone()
1116 getPhy.Attribute = PHY_MAX_PAYLOAD; in ProcessRadioRxDone()
1117 phyParam = RegionGetPhyParam( Nvm.MacGroup2.Region, &getPhy ); in ProcessRadioRxDone()
2124 GetPhyParams_t getPhy; in GetMaxAppPayloadWithoutFOptsLength() local
2128 getPhy.UplinkDwellTime = Nvm.MacGroup2.MacParams.UplinkDwellTime; in GetMaxAppPayloadWithoutFOptsLength()
[all …]
/loramac-node-latest/src/mac/region/
DRegionAU915.c82 PhyParam_t RegionAU915GetPhyParam( GetPhyParams_t* getPhy ) in RegionAU915GetPhyParam() argument
86 switch( getPhy->Attribute ) in RegionAU915GetPhyParam()
90 if( getPhy->DownlinkDwellTime == 0) in RegionAU915GetPhyParam()
102 if( getPhy->UplinkDwellTime == 0) in RegionAU915GetPhyParam()
121 .CurrentDr = getPhy->Datarate, in RegionAU915GetPhyParam()
123 ….MinDr = ( int8_t )( ( getPhy->UplinkDwellTime == 0 ) ? AU915_TX_MIN_DATARATE : AU915_DWELL_LIMIT_… in RegionAU915GetPhyParam()
153 if( getPhy->UplinkDwellTime == 0 ) in RegionAU915GetPhyParam()
155 phyParam.Value = MaxPayloadOfDatarateDwell0AU915[getPhy->Datarate]; in RegionAU915GetPhyParam()
159 phyParam.Value = MaxPayloadOfDatarateDwell1AU915[getPhy->Datarate]; in RegionAU915GetPhyParam()
255 phyParam.Value = RegionBaseUSCalcDownlinkFrequency( getPhy->Channel, in RegionAU915GetPhyParam()
[all …]
DRegionAS923.c244 PhyParam_t RegionAS923GetPhyParam( GetPhyParams_t* getPhy ) in RegionAS923GetPhyParam() argument
248 switch( getPhy->Attribute ) in RegionAS923GetPhyParam()
252 if( getPhy->DownlinkDwellTime == 0 ) in RegionAS923GetPhyParam()
264 if( getPhy->UplinkDwellTime == 0 ) in RegionAS923GetPhyParam()
283 .CurrentDr = getPhy->Datarate, in RegionAS923GetPhyParam()
285 ….MinDr = ( int8_t )( ( getPhy->UplinkDwellTime == 0 ) ? AS923_TX_MIN_DATARATE : AS923_DWELL_LIMIT_… in RegionAS923GetPhyParam()
315 if( getPhy->UplinkDwellTime == 0 ) in RegionAS923GetPhyParam()
317 phyParam.Value = MaxPayloadOfDatarateDwell0AS923[getPhy->Datarate]; in RegionAS923GetPhyParam()
321 phyParam.Value = MaxPayloadOfDatarateDwell1AS923[getPhy->Datarate]; in RegionAS923GetPhyParam()
444 phyParam.Value = DataratesAS923[getPhy->Datarate]; in RegionAS923GetPhyParam()
[all …]
DRegionUS915.c102 PhyParam_t RegionUS915GetPhyParam( GetPhyParams_t* getPhy ) in RegionUS915GetPhyParam() argument
106 switch( getPhy->Attribute ) in RegionUS915GetPhyParam()
127 .CurrentDr = getPhy->Datarate, in RegionUS915GetPhyParam()
159 phyParam.Value = MaxPayloadOfDatarateUS915[getPhy->Datarate]; in RegionUS915GetPhyParam()
254 phyParam.Value = RegionBaseUSCalcDownlinkFrequency( getPhy->Channel, in RegionUS915GetPhyParam()
278 phyParam.Value = RegionBaseUSCalcDownlinkFrequency( getPhy->Channel, in RegionUS915GetPhyParam()
295 phyParam.Value = DataratesUS915[getPhy->Datarate]; in RegionUS915GetPhyParam()
300 phyParam.Value = RegionCommonGetBandwidth( getPhy->Datarate, BandwidthsUS915 ); in RegionUS915GetPhyParam()
576 GetPhyParams_t getPhy; in RegionUS915LinkAdrReq() local
683 getPhy.Attribute = PHY_MIN_TX_DR; in RegionUS915LinkAdrReq()
[all …]
DRegionCN470.c294 PhyParam_t RegionCN470GetPhyParam( GetPhyParams_t* getPhy ) in RegionCN470GetPhyParam() argument
298 switch( getPhy->Attribute ) in RegionCN470GetPhyParam()
319 .CurrentDr = getPhy->Datarate, in RegionCN470GetPhyParam()
351 phyParam.Value = MaxPayloadOfDatarateCN470[getPhy->Datarate]; in RegionCN470GetPhyParam()
456 phyParam.Value = ChannelPlanCtx.GetDownlinkFrequency( getPhy->Channel, in RegionCN470GetPhyParam()
499 phyParam.Value = ChannelPlanCtx.GetDownlinkFrequency( getPhy->Channel, in RegionCN470GetPhyParam()
521 phyParam.Value = DataratesCN470[getPhy->Datarate]; in RegionCN470GetPhyParam()
526 phyParam.Value = RegionCommonGetBandwidth( getPhy->Datarate, BandwidthsCN470 ); in RegionCN470GetPhyParam()
808 GetPhyParams_t getPhy; in RegionCN470LinkAdrReq() local
838 getPhy.Attribute = PHY_MIN_TX_DR; in RegionCN470LinkAdrReq()
[all …]
DRegionRU864.c79 PhyParam_t RegionRU864GetPhyParam( GetPhyParams_t* getPhy ) in RegionRU864GetPhyParam() argument
83 switch( getPhy->Attribute ) in RegionRU864GetPhyParam()
104 .CurrentDr = getPhy->Datarate, in RegionRU864GetPhyParam()
136 phyParam.Value = MaxPayloadOfDatarateRU864[getPhy->Datarate]; in RegionRU864GetPhyParam()
258 phyParam.Value = DataratesRU864[getPhy->Datarate]; in RegionRU864GetPhyParam()
263 phyParam.Value = RegionCommonGetBandwidth( getPhy->Datarate, BandwidthsRU864 ); in RegionRU864GetPhyParam()
559 GetPhyParams_t getPhy; in RegionRU864LinkAdrReq() local
615 getPhy.Attribute = PHY_MIN_TX_DR; in RegionRU864LinkAdrReq()
616 getPhy.UplinkDwellTime = linkAdrReq->UplinkDwellTime; in RegionRU864LinkAdrReq()
617 phyParam = RegionRU864GetPhyParam( &getPhy ); in RegionRU864LinkAdrReq()
DRegionEU433.c78 PhyParam_t RegionEU433GetPhyParam( GetPhyParams_t* getPhy ) in RegionEU433GetPhyParam() argument
82 switch( getPhy->Attribute ) in RegionEU433GetPhyParam()
103 .CurrentDr = getPhy->Datarate, in RegionEU433GetPhyParam()
135 phyParam.Value = MaxPayloadOfDatarateEU433[getPhy->Datarate]; in RegionEU433GetPhyParam()
257 phyParam.Value = DataratesEU433[getPhy->Datarate]; in RegionEU433GetPhyParam()
262 phyParam.Value = RegionCommonGetBandwidth( getPhy->Datarate, BandwidthsEU433 ); in RegionEU433GetPhyParam()
560 GetPhyParams_t getPhy; in RegionEU433LinkAdrReq() local
616 getPhy.Attribute = PHY_MIN_TX_DR; in RegionEU433LinkAdrReq()
617 getPhy.UplinkDwellTime = linkAdrReq->UplinkDwellTime; in RegionEU433LinkAdrReq()
618 phyParam = RegionEU433GetPhyParam( &getPhy ); in RegionEU433LinkAdrReq()
DRegionEU868.c103 PhyParam_t RegionEU868GetPhyParam( GetPhyParams_t* getPhy ) in RegionEU868GetPhyParam() argument
107 switch( getPhy->Attribute ) in RegionEU868GetPhyParam()
128 .CurrentDr = getPhy->Datarate, in RegionEU868GetPhyParam()
160 phyParam.Value = MaxPayloadOfDatarateEU868[getPhy->Datarate]; in RegionEU868GetPhyParam()
282 phyParam.Value = DataratesEU868[getPhy->Datarate]; in RegionEU868GetPhyParam()
287 phyParam.Value = RegionCommonGetBandwidth( getPhy->Datarate, BandwidthsEU868 ); in RegionEU868GetPhyParam()
591 GetPhyParams_t getPhy; in RegionEU868LinkAdrReq() local
647 getPhy.Attribute = PHY_MIN_TX_DR; in RegionEU868LinkAdrReq()
648 getPhy.UplinkDwellTime = linkAdrReq->UplinkDwellTime; in RegionEU868LinkAdrReq()
649 phyParam = RegionEU868GetPhyParam( &getPhy ); in RegionEU868LinkAdrReq()
DRegionIN865.c78 PhyParam_t RegionIN865GetPhyParam( GetPhyParams_t* getPhy ) in RegionIN865GetPhyParam() argument
82 switch( getPhy->Attribute ) in RegionIN865GetPhyParam()
103 .CurrentDr = getPhy->Datarate, in RegionIN865GetPhyParam()
135 phyParam.Value = MaxPayloadOfDatarateIN865[getPhy->Datarate]; in RegionIN865GetPhyParam()
257 phyParam.Value = DataratesIN865[getPhy->Datarate]; in RegionIN865GetPhyParam()
262 phyParam.Value = RegionCommonGetBandwidth( getPhy->Datarate, BandwidthsIN865 ); in RegionIN865GetPhyParam()
574 GetPhyParams_t getPhy; in RegionIN865LinkAdrReq() local
632 getPhy.Attribute = PHY_MIN_TX_DR; in RegionIN865LinkAdrReq()
633 getPhy.UplinkDwellTime = linkAdrReq->UplinkDwellTime; in RegionIN865LinkAdrReq()
634 phyParam = RegionIN865GetPhyParam( &getPhy ); in RegionIN865LinkAdrReq()
DRegionCN779.c78 PhyParam_t RegionCN779GetPhyParam( GetPhyParams_t* getPhy ) in RegionCN779GetPhyParam() argument
82 switch( getPhy->Attribute ) in RegionCN779GetPhyParam()
103 .CurrentDr = getPhy->Datarate, in RegionCN779GetPhyParam()
135 phyParam.Value = MaxPayloadOfDatarateCN779[getPhy->Datarate]; in RegionCN779GetPhyParam()
257 phyParam.Value = DataratesCN779[getPhy->Datarate]; in RegionCN779GetPhyParam()
262 phyParam.Value = RegionCommonGetBandwidth( getPhy->Datarate, BandwidthsCN779 ); in RegionCN779GetPhyParam()
560 GetPhyParams_t getPhy; in RegionCN779LinkAdrReq() local
616 getPhy.Attribute = PHY_MIN_TX_DR; in RegionCN779LinkAdrReq()
617 getPhy.UplinkDwellTime = linkAdrReq->UplinkDwellTime; in RegionCN779LinkAdrReq()
618 phyParam = RegionCN779GetPhyParam( &getPhy ); in RegionCN779LinkAdrReq()
DRegionKR920.c104 PhyParam_t RegionKR920GetPhyParam( GetPhyParams_t* getPhy ) in RegionKR920GetPhyParam() argument
108 switch( getPhy->Attribute ) in RegionKR920GetPhyParam()
129 .CurrentDr = getPhy->Datarate, in RegionKR920GetPhyParam()
161 phyParam.Value = MaxPayloadOfDatarateKR920[getPhy->Datarate]; in RegionKR920GetPhyParam()
287 phyParam.Value = DataratesKR920[getPhy->Datarate]; in RegionKR920GetPhyParam()
292 phyParam.Value = RegionCommonGetBandwidth( getPhy->Datarate, BandwidthsKR920 ); in RegionKR920GetPhyParam()
569 GetPhyParams_t getPhy; in RegionKR920LinkAdrReq() local
625 getPhy.Attribute = PHY_MIN_TX_DR; in RegionKR920LinkAdrReq()
626 getPhy.UplinkDwellTime = linkAdrReq->UplinkDwellTime; in RegionKR920LinkAdrReq()
627 phyParam = RegionKR920GetPhyParam( &getPhy ); in RegionKR920LinkAdrReq()
DRegion.c38 … AS923_GET_PHY_PARAM( ) AS923_CASE { return RegionAS923GetPhyParam( getPhy ); }
87 … AU915_GET_PHY_PARAM( ) AU915_CASE { return RegionAU915GetPhyParam( getPhy ); }
136 … CN470_GET_PHY_PARAM( ) CN470_CASE { return RegionCN470GetPhyParam( getPhy ); }
185 … CN779_GET_PHY_PARAM( ) CN779_CASE { return RegionCN779GetPhyParam( getPhy ); }
234 … EU433_GET_PHY_PARAM( ) EU433_CASE { return RegionEU433GetPhyParam( getPhy ); }
283 … EU868_GET_PHY_PARAM( ) EU868_CASE { return RegionEU868GetPhyParam( getPhy ); }
332 … KR920_GET_PHY_PARAM( ) KR920_CASE { return RegionKR920GetPhyParam( getPhy ); }
381 … IN865_GET_PHY_PARAM( ) IN865_CASE { return RegionIN865GetPhyParam( getPhy ); }
430 … US915_GET_PHY_PARAM( ) US915_CASE { return RegionUS915GetPhyParam( getPhy ); }
479 … RU864_GET_PHY_PARAM( ) RU864_CASE { return RegionRU864GetPhyParam( getPhy ); }
[all …]
DRegionRU864.h248 PhyParam_t RegionRU864GetPhyParam( GetPhyParams_t* getPhy );
DRegionCN779.h252 PhyParam_t RegionCN779GetPhyParam( GetPhyParams_t* getPhy );
DRegionEU433.h253 PhyParam_t RegionEU433GetPhyParam( GetPhyParams_t* getPhy );
DRegionKR920.h255 PhyParam_t RegionKR920GetPhyParam( GetPhyParams_t* getPhy );
DRegionUS915.h245 PhyParam_t RegionUS915GetPhyParam( GetPhyParams_t* getPhy );
DRegionEU868.h281 PhyParam_t RegionEU868GetPhyParam( GetPhyParams_t* getPhy );
DRegionAU915.h265 PhyParam_t RegionAU915GetPhyParam( GetPhyParams_t* getPhy );
DRegionIN865.h270 PhyParam_t RegionIN865GetPhyParam( GetPhyParams_t* getPhy );
DRegionCN470.h262 PhyParam_t RegionCN470GetPhyParam( GetPhyParams_t* getPhy );
DRegionAS923.h330 PhyParam_t RegionAS923GetPhyParam( GetPhyParams_t* getPhy );
DRegion.h873 PhyParam_t RegionGetPhyParam( LoRaMacRegion_t region, GetPhyParams_t* getPhy );