diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2022-11-05 10:02:21 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2022-11-07 18:18:00 +0100 |
commit | 508197e9a8497c9b3948df9127e0e4fe06ba6dfc (patch) | |
tree | 98547d7575024714b4f1ac4823fb3e8e26b4b9b2 /src/amps | |
parent | 1eed20420e0b2ca5f8f7f6fd1ad923dcd6e587d8 (diff) |
TACS: Corrected TACS power levels in help description
Diffstat (limited to 'src/amps')
-rw-r--r-- | src/amps/main_common.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/amps/main_common.c b/src/amps/main_common.c index f943204..d7a5ed5 100644 --- a/src/amps/main_common.c +++ b/src/amps/main_common.c @@ -60,8 +60,14 @@ void print_help(const char *arg0) printf(" If the phone shows 'NoSrv', try the other way.\n"); printf(" -P --ms-power <power level>\n"); printf(" Give power level of the mobile station 0..7. (default = '%d')\n", ms_power); - printf(" 0 = %2d W; 1 = 1.6 W; 2 = 630 mW; 3 = 250 mW;\n", (tacs) ? 10 : 4); - printf(" 4 = 100 mW; 5 = 40 mW; 6 = 16 mW; 7 = 6.3 mW\n"); + if (!tacs) { + printf(" 0 = 4 W; 1 = 1.6 W; 2 = 630 mW; 3 = 250 mW;\n"); + printf(" 4 = 100 mW; 5 = 40 mW; 6 = 16 mW; 7 = 6.3 mW\n"); + } else { + /* tacs, not jtacs: https://www.academia.edu/8265916/Total_Access_Communication_System?email_work_card=view-paper */ + printf(" 0 = 2.28 W; 1 = 1.12 W; 2 = 447 mW; 3 = 178 mW;\n"); + printf(" 4 = 70.8 mW; 5 = 28.2 mW; 6 = 11.2 mW; 7 = 4.5 mW\n"); + } printf(" -D --dtx <parameter>\n"); printf(" Give DTX parameter for Discontinuous Transmission. (default = '%d')\n", dtx); printf(" 0 = disable DTX; 1 = reserved;\n"); |