All of lore.kernel.org
 help / color / mirror / Atom feed
* oFono gets multiplexer support
@ 2009-10-15 21:16 Denis Kenzior
  2009-10-15 21:57 ` Bastian, Waldo
  0 siblings, 1 reply; 3+ messages in thread
From: Denis Kenzior @ 2009-10-15 21:16 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

Hi All,

Just to let you know the initial support for multiplexing has been added to 
oFono.  The multiplexer infrastructure is fully customizable through the use 
of drivers.  Two drivers are currently supported, GSM 27.010 Basic and 
Advanced modes.

The multiplexer is implemented in gatmux in the gatchat library.  GAtMux 
provides a simple interface, and returns a fully functional GIOChannel for 
each multiplexer port.  Thus it can easily be integrated with the existing 
GAtChat functionality, or used to read / write raw information (e.g. ppp 
frames)

This will allow oFono to implement everything in the main oFono process, and 
not resort to a separate multiplexer daemon.  The calypso modem plugin has 
been updated to take advantage of 4 multiplexer channels.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: oFono gets multiplexer support
  2009-10-15 21:57 ` Bastian, Waldo
@ 2009-10-15 21:22   ` Denis Kenzior
  0 siblings, 0 replies; 3+ messages in thread
From: Denis Kenzior @ 2009-10-15 21:22 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

Hi Waldo,

> Is it a correct understanding that modem's that provide kernel drivers that
> provide multiple TTY's and do the multiplexing in kernel space will not
> need to integrate with any of this and can just create multiple GAtChat
> objects in their oFono modem driver?

If the modem driver can take advantage of a kernel space multiplexer, that is 
fine.

>
> I notice that g_at_mux_create_channel() doesn't take a DLC as argument. So
> when the calypso driver defines #define VOICE_DLC 0
> the result will be that DLC 1 will be used for VOICE_DLC, correct?

The real assignment of DLC channels is done inside GAtMux.  What you see in 
the driver is unrelated, but most likely will work like you outline by magic 
:)

Regards,
-Denis

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: oFono gets multiplexer support
  2009-10-15 21:16 oFono gets multiplexer support Denis Kenzior
@ 2009-10-15 21:57 ` Bastian, Waldo
  2009-10-15 21:22   ` Denis Kenzior
  0 siblings, 1 reply; 3+ messages in thread
From: Bastian, Waldo @ 2009-10-15 21:57 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

> Hi All,
> 
> Just to let you know the initial support for multiplexing has been added
> to oFono.  The multiplexer infrastructure is fully customizable through
> the use of drivers.  Two drivers are currently supported, GSM 27.010 Basic
> and Advanced modes.

Is it a correct understanding that modem's that provide kernel drivers that provide multiple TTY's and do the multiplexing in kernel space will not need to integrate with any of this and can just create multiple GAtChat objects in their oFono modem driver?

I notice that g_at_mux_create_channel() doesn't take a DLC as argument. So when the calypso driver defines
	#define VOICE_DLC 0
the result will be that DLC 1 will be used for VOICE_DLC, correct?

Cheers,
Waldo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-15 21:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-15 21:16 oFono gets multiplexer support Denis Kenzior
2009-10-15 21:57 ` Bastian, Waldo
2009-10-15 21:22   ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.