13 Aug 2012 14:43
[PATCH 1/8] n_gsm.c: Implement 3GPP27.010 DLC start-up procedure in MUX
Alan Cox <alan <at> lxorguk.ukuu.org.uk>
2012-08-13 12:43:15 GMT
2012-08-13 12:43:15 GMT
From: xiaojin <jin.xiao <at> intel.com> In 3GPP27.010 5.8.1, it defined: The TE multiplexer initiates the establishment of the multiplexer control channel by sending a SABM frame on DLCI 0 using the procedures of clause 5.4.1. Once the multiplexer channel is established other DLCs may be established using the procedures of clause 5.4.1. This patch implement 5.8.1 in MUX level, it make sure DLC0 is the first channel to be setup. [or for those not familiar with the specification: it was possible to try and open a data connection while the control channel was not yet fully open, which is a spec violation and confuses some modems] Signed-off-by: xiaojin <jin.xiao <at> intel.com> Tested-by: Yin, Fengwei <fengwei.yin <at> intel.com> [tweaked the order we check things and error code] Signed-off-by: Alan Cox <alan <at> linux.intel.com> Cc: The Horsebox <stable <at> kernel.org> --- drivers/tty/n_gsm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c index 7a4bf30..5c6c2e2 100644 --- a/drivers/tty/n_gsm.c +++ b/drivers/tty/n_gsm.c <at> <at> -2889,6 +2889,10 <at> <at> static int gsmtty_open(struct tty_struct *tty, struct file *filp) gsm = gsm_mux[mux]; if (gsm->dead) return -EL2HLT;(Continue reading)

RSS Feed