Implement proper channel allocation and dealloction
commitb8949ff6ef8f7c5d2e37170e4005d2dd968d2b77
authorPaul Fertser <fercerpav@gmail.com>
Tue, 20 Jan 2009 22:44:39 +0000 (21 01:44 +0300)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Wed, 21 Jan 2009 10:05:16 +0000 (21 11:05 +0100)
treeee39c7c44543448a43de7e41dea6a1480ea93e73
parent95151f9e2fe37e0989b981027deefa3821a3b4e5
Implement proper channel allocation and dealloction

With this patch the muxer will allocate channels in a clean way, it will
not return a pts until the modem is really ready to operate on this
channel.  It will also retry the command several times until the channel is
allocated.

Channel deallocation is also greatly improved, now we send a correct code to
close a channel and will repeat several times if the packet somehow (e.g.
modem was in power-saving state) lost.
src/gsm0710muxd.c