summaryrefslogtreecommitdiff
path: root/libloragw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'libloragw/inc')
-rw-r--r--libloragw/inc/loragw_hal.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libloragw/inc/loragw_hal.h b/libloragw/inc/loragw_hal.h
index 1516b65..761b4fc 100644
--- a/libloragw/inc/loragw_hal.h
+++ b/libloragw/inc/loragw_hal.h
@@ -66,6 +66,13 @@ Maintainer: Sylvain Miermont
#define LGW_RF_TX_LOWFREQ { 400000000, 400000000}
#define LGW_RF_TX_UPFREQ { 510000000, 510000000}
#endif
+ /* MTAC-LORA build will support both bands */
+ #if (CFG_BRD_MTACLORA == 1)
+ #define LGW_EU868_FREQ_MIN 863000000
+ #define LGW_EU868_FREQ_MAX 870000000
+ #define LGW_US915_FREQ_MIN 902000000
+ #define LGW_US915_FREQ_MAX 928000000
+ #endif
#elif (CFG_BAND_868 == 1)
#define LGW_RF_RX_LOWFREQ { 863000000, 863000000}
#define LGW_RF_RX_UPFREQ { 870000000, 870000000}
@@ -153,6 +160,9 @@ Maintainer: Sylvain Miermont
#elif (CFG_BRD_NONE == 1)
#define LGW_RF_TX_ENABLE { true, true} /* both radio A and B are usable in TX */
#define LGW_RF_CLKOUT { true, true} /* both radios have clkout enabled */
+#elif (CFG_BRD_MTACLORA == 1)
+ #define LGW_RF_TX_ENABLE { true, false} /* radio B TX not connected */
+ #define LGW_RF_CLKOUT { true, true} /* both radios have clkout enabled */
#endif
/* values available for the 'modulation' parameters */