From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755070AbcHVJeC convert rfc822-to-8bit (ORCPT ); Mon, 22 Aug 2016 05:34:02 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:36730 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754290AbcHVJeA (ORCPT ); Mon, 22 Aug 2016 05:34:00 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [RFC PATCH 0/3] UART slave device bus From: Marcel Holtmann In-Reply-To: <20160822100936.19fd809f@lxorguk.ukuu.org.uk> Date: Mon, 22 Aug 2016 05:33:53 -0400 Cc: "H. Nikolaus Schaller" , Sebastian Reichel , Rob Herring , Greg Kroah-Hartman , Jiri Slaby , Pavel Machek , Peter Hurley , NeilBrown , Arnd Bergmann , Linus Walleij , "open list:BLUETOOTH DRIVERS" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Transfer-Encoding: 8BIT Message-Id: <87A6509B-3297-44A1-B1E4-24AA7DAEFB43@holtmann.org> References: <20160818011445.22726-1-robh@kernel.org> <20160818202900.hyvm4hfxedifuefn@earth> <20160819052125.ze5zilppwoe3f2lx@earth> <20160819120631.5fe2af0d@lxorguk.ukuu.org.uk> <61F43885-BE05-482C-9AD6-B52A2DA166B8@goldelico.com> <20160820142226.6121e76d@lxorguk.ukuu.org.uk> <20160821180910.51cf919d@lxorguk.ukuu.org.uk> <20160822100936.19fd809f@lxorguk.ukuu.org.uk> To: One Thousand Gnomes X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alan, >>> We do, today for bluetooth and other protocols just fine >> I think it works (even with user-space HCI daemon) because bluetooth HCI is slow (<300kByte/s). > > We do it for PPP over 3G modem as well. Modern 3G modems pretend to be > network devices, older ones didn't - and you are correct that in that > scenario we struggled (it's a lot better since Peter sorted the locking > out to be efficient). you have this backwards. Older 3G modems pretended to by Hayes compatible and pretended to be talking PPP. However PPP is terminated in the modem itself. It is not spoken over the 3GPP networks. These are purely IP. And yes, in theory there was a dialup in GSM, but I don't know of any users. Even early 9600 baud communication was RLP based. And for modern things like LTE it is IP all the way (including voice). What some modems still do today is pretend they are Ethernet devices. That is faked by the modem as well and mainly for some odd Windows crap. However many modern modems give you the raw IP stream. You just have to ask nicely. Regards Marcel From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Holtmann Subject: Re: [RFC PATCH 0/3] UART slave device bus Date: Mon, 22 Aug 2016 05:33:53 -0400 Message-ID: <87A6509B-3297-44A1-B1E4-24AA7DAEFB43@holtmann.org> References: <20160818011445.22726-1-robh@kernel.org> <20160818202900.hyvm4hfxedifuefn@earth> <20160819052125.ze5zilppwoe3f2lx@earth> <20160819120631.5fe2af0d@lxorguk.ukuu.org.uk> <61F43885-BE05-482C-9AD6-B52A2DA166B8@goldelico.com> <20160820142226.6121e76d@lxorguk.ukuu.org.uk> <20160821180910.51cf919d@lxorguk.ukuu.org.uk> <20160822100936.19fd809f@lxorguk.ukuu.org.uk> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <20160822100936.19fd809f-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org> Sender: linux-bluetooth-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: One Thousand Gnomes Cc: "H. Nikolaus Schaller" , Sebastian Reichel , Rob Herring , Greg Kroah-Hartman , Jiri Slaby , Pavel Machek , Peter Hurley , NeilBrown , Arnd Bergmann , Linus Walleij , "open list:BLUETOOTH DRIVERS" , "linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-serial@vger.kernel.org Hi Alan, >>> We do, today for bluetooth and other protocols just fine >> I think it works (even with user-space HCI daemon) because bluetooth HCI is slow (<300kByte/s). > > We do it for PPP over 3G modem as well. Modern 3G modems pretend to be > network devices, older ones didn't - and you are correct that in that > scenario we struggled (it's a lot better since Peter sorted the locking > out to be efficient). you have this backwards. Older 3G modems pretended to by Hayes compatible and pretended to be talking PPP. However PPP is terminated in the modem itself. It is not spoken over the 3GPP networks. These are purely IP. And yes, in theory there was a dialup in GSM, but I don't know of any users. Even early 9600 baud communication was RLP based. And for modern things like LTE it is IP all the way (including voice). What some modems still do today is pretend they are Ethernet devices. That is faked by the modem as well and mainly for some odd Windows crap. However many modern modems give you the raw IP stream. You just have to ask nicely. Regards Marcel