Skip to content

Commit

Permalink
Fix AU915 and US915 TX_POWER values according to regional parameters …
Browse files Browse the repository at this point in the history
…v1.0.3reva_0 specification.
  • Loading branch information
mluis1 committed Jul 16, 2019
1 parent ed819b0 commit 55b6688
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 8 deletions.
56 changes: 50 additions & 6 deletions src/mac/region/Region.h
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@
* EU868 | -
* IN865 | Max EIRP - 18
* KR920 | -
* US915 | Max ERP - 16
* US915 | Max ERP - 18
* RU864 | -
*/
#define TX_POWER_9 9
Expand All @@ -492,28 +492,72 @@
* EU868 | -
* IN865 | Max EIRP - 20
* KR920 | -
* US915 | Max ERP - 10
* US915 | Max ERP - 20
* RU864 | -
*/
#define TX_POWER_10 10

/*!
* RFU
* Region | dBM
* ------------ | :-----:
* AS923 | -
* AU915 | Max EIRP - 22
* CN470 | -
* CN779 | -
* EU433 | -
* EU868 | -
* IN865 | -
* KR920 | -
* US915 | Max ERP - 22
* RU864 | -
*/
#define TX_POWER_11 11

/*!
* RFU
* Region | dBM
* ------------ | :-----:
* AS923 | -
* AU915 | Max EIRP - 24
* CN470 | -
* CN779 | -
* EU433 | -
* EU868 | -
* IN865 | -
* KR920 | -
* US915 | Max ERP - 24
* RU864 | -
*/
#define TX_POWER_12 12

/*!
* RFU
* Region | dBM
* ------------ | :-----:
* AS923 | -
* AU915 | Max EIRP - 26
* CN470 | -
* CN779 | -
* EU433 | -
* EU868 | -
* IN865 | -
* KR920 | -
* US915 | Max ERP - 26
* RU864 | -
*/
#define TX_POWER_13 13

/*!
* RFU
* Region | dBM
* ------------ | :-----:
* AS923 | -
* AU915 | Max EIRP - 28
* CN470 | -
* CN779 | -
* EU433 | -
* EU868 | -
* IN865 | -
* KR920 | -
* US915 | Max ERP - 28
* RU864 | -
*/
#define TX_POWER_14 14

Expand Down
2 changes: 1 addition & 1 deletion src/mac/region/RegionAU915.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
/*!
* Minimal Tx output power that can be used by the node
*/
#define AU915_MIN_TX_POWER TX_POWER_15
#define AU915_MIN_TX_POWER TX_POWER_14

/*!
* Maximal Tx output power that can be used by the node
Expand Down
2 changes: 1 addition & 1 deletion src/mac/region/RegionUS915.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
/*!
* Minimal Tx output power that can be used by the node
*/
#define US915_MIN_TX_POWER TX_POWER_15
#define US915_MIN_TX_POWER TX_POWER_14

/*!
* Maximal Tx output power that can be used by the node
Expand Down

0 comments on commit 55b6688

Please sign in to comment.