n_gsm : Flow control handling in Mux driver
authorFrederic Berat <fredericx.berat@intel.com>
Mon, 13 Aug 2012 12:43:58 +0000 (13:43 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 17 Oct 2012 02:48:13 +0000 (03:48 +0100)
commit6e9b3851b52f170abd7e7cabd01f34f327626c1c
treed5877ca6e8f15b1ddcf0f7294d1d50d3edf90241
parent5c6bb8b0c87d472cce008255db25c0ae61e86d52
n_gsm : Flow control handling in Mux driver

commit c01af4fec2c8f303d6b3354d44308d9e6bef8026 upstream.

- Correcting handling of FCon/FCoff in order to respect 27.010 spec
- Consider FCon/off will overide all dlci flow control except for
  dlci0 as we must be able to send control frames.
- Dlci constipated handling according to FC, RTC and RTR values.
- Modifying gsm_dlci_data_kick and gsm_dlci_data_sweep according
  to dlci constipated value

Signed-off-by: Frederic Berat <fredericx.berat@intel.com>
Signed-off-by: Russ Gorby <russ.gorby@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/tty/n_gsm.c