[PATCH] Add high-speed baud rates: 230400, 460800 and 921600 bps

Alex Osborne bobofdoom at gmail.com
Sun Jul 29 14:12:34 CEST 2007


The Palm Treo 650 communicates with its GSM module (BCM2132) at 460800 bps
but gsmd has a maximum baud of 115200.  This adds three common high-speed
baud rates.

---
 src/gsmd/gsmd.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gsmd/gsmd.c b/src/gsmd/gsmd.c
index 48ce099..b915073 100644
--- a/src/gsmd/gsmd.c
+++ b/src/gsmd/gsmd.c
@@ -260,6 +260,9 @@ static struct bdrt bdrts[] = {
 	{ 38400, B38400 },
 	{ 57600, B57600 },
 	{ 115200, B115200 },
+	{ 230400, B230400 },
+	{ 460800, B460800 },
+	{ 921600, B921600 },
 };
 
 static int set_baudrate(int fd, int baudrate, int hwflow)
-- 
1.5.1.6




More information about the gsmd-devel mailing list