• xiaojin's avatar
    n_gsm.c: Implement 3GPP27.010 DLC start-up procedure in MUX · 7e8ac7b2
    xiaojin authored
    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: default avatarxiaojin <jin.xiao@intel.com>
    Tested-by: default avatarYin, Fengwei <fengwei.yin@intel.com>
    [tweaked the order we check things and error code]
    Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
    Cc: The Horsebox <stable@vger.kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    7e8ac7b2
n_gsm.c 77.4 KB