summaryrefslogtreecommitdiffstats
path: root/gisi
AgeCommit message (Collapse)AuthorFilesLines
2009-10-09Refactor subblock iterators.Pekka Pessi2-23/+54
Always initialize iterators. Try to avoid pointer arithmetics on NULL; in other words, move all pointer arithmetics inside g_isi_sb_iter_init(). There are 4 different ways for representing sub blocks in ISI message: - 8-bit sub_blocks count, 8-bit sub_block_id/sub_block_len - 16-bit sub_blocks count, 8-bit sub_block_id/sub_block_len - 8-bit sub_blocks count, 16-bit sub_block_id/sub_block_len - 16-bit sub_blocks count, 16-bit sub_block_id/sub_block_len The compact form g_isi_sb_iter_init() supports 8-bit sub_block count before start of the sub blocks themselves and 8-bit sub_block_id and sub_block_len. The full form g_isi_sb_iter_init_full() with explicit longhdr and sub_block count supports all other cases.
2009-10-07gisi: use const and restrict in iterPekka Pessi2-27/+31
2009-09-16gisi: Make reachability detection more robustAki Niemi1-2/+4
2009-09-16Fix restrict keyword usageAki Niemi2-2/+2
2009-09-15gisi: Add ISI version and reachability check APIAki Niemi3-0/+158
This patch adds an API for querying the ISI version of the resource with which the client is associated. This information is only available after g_isi_verify() has been called on the client. This is because we use the version query message as a vehicle for reachability checking.
2009-09-14Add support for long sub-block headerAki Niemi2-29/+44
2009-09-14Add and modify string gettersAki Niemi2-6/+30
Add a getter for latin ASCII only tags, and change the alpha tag getter. Turns out not all alpha tags in ISI are of the length-value variety.
2009-09-14gisi: Add ISI sub-block iteratorAki Niemi2-0/+214
2009-09-10gisi: cannot do ioctl() with Netlink sockets, use local insteadRémi Denis-Courmont1-6/+7
2009-09-10gisi: Fix embarrassing typoRémi Denis-Courmont1-1/+1
2009-09-10gisi: bring Phonet interface up before telling upper layers about itRémi Denis-Courmont1-0/+18
This should get kernel-assisted Phonet autoconfiguration to work (and it shouldn't hurt in other cases). Otherwise, the upper layers will try to send packets, which will fail. Then they will probably just time out.
2009-09-09gisi: disable logging by defaultRémi Denis-Courmont1-0/+1
The debug_func was not initialized.
2009-09-01gisi: Getter function for pipe handleIsmo Puustinen2-0/+12
2009-08-28gisi: return GPRS interface index/nameRémi Denis-Courmont2-6/+28
2009-08-25gisi: Fix indication debuggingAki Niemi1-3/+10
2009-08-24Convert to fully non-recursive build systemMarcel Holtmann1-13/+0
2009-08-23gisi: Fix warning in g_isi_subscribe()Aki Niemi1-1/+3
Save the GIsiModem instance in GIsiClient, so that calling g_isi_subscribe() doesn't throw a warning.
2009-08-22gisi: Add debugging hooksAki Niemi2-0/+34
2009-08-20Fix control reaches end of non-void functionDenis Kenzior1-0/+2
2009-08-20Fix unused variable err warningDenis Kenzior1-1/+0
2009-08-20Fix implicit declaration of close warningDenis Kenzior1-0/+1
2009-08-20gisi: PEP: use more portable non-blocking and close-on-execRémi Denis-Courmont1-1/+4
2009-08-19Fix make distcheck - gisi/modem.hDenis Kenzior1-1/+1
gisi/modem.h was not included in Makefile.am
2009-08-19Fix make distcheckDenis Kenzior1-1/+1
isicommon.h is no longer in the repository
2009-08-19gisi: fix pipe create request endianess problemsRémi Denis-Courmont1-8/+11
2009-08-19gisi: bind pipe end point *before* getting its handleRémi Denis-Courmont1-1/+1
2009-08-19Phonet: GPRS pipe end point low-level supportRémi Denis-Courmont3-0/+149
2009-08-19Phonet: missing SOL_PNPIPE definitionRémi Denis-Courmont1-0/+2
2009-08-19Phonet: add error handling for pipesRémi Denis-Courmont2-4/+54
2009-08-19Phonet: add modem parameter to ISI pipe APIRémi Denis-Courmont2-3/+5
2009-08-19Phonet: add modem parameter to ISI client APIRémi Denis-Courmont3-4/+5
2009-08-19gisi: provide modem identifier through Netlink APIRémi Denis-Courmont2-2/+9
2009-08-19gisi: warn if GIsiModem is missing rather than failRémi Denis-Courmont1-0/+3
2009-08-19gisi: low-level modem scoping for socketsRémi Denis-Courmont5-10/+49
2009-08-14Phonet: basic pipe owner supportRémi Denis-Courmont3-1/+346
This will be needed for GPRS support.
2009-07-07gisi: malloc -> freeRémi Denis-Courmont1-1/+1
2009-07-06gisi: call to non existent functionRémi Denis-Courmont1-1/+1
2009-07-03Use phonet.hRémi Denis-Courmont4-15/+4
2009-07-03Replacement header for Phonet definitionsRémi Denis-Courmont1-0/+56
2009-06-29gisi: fix extracting Phonet address from NetlinkRémi Denis-Courmont1-1/+1
2009-06-25gisi: Fix documentation and add API for resource IDAki Niemi2-2/+14
2009-06-24gisi: fix g_pn_netlink_start() return valueAki Niemi1-1/+1
2009-06-22Add GISI_* build variables; remove unnecessary curly bracketsAki Niemi1-2/+1
2009-06-22gisi: fixes to request/response handling and timeout registrationAki Niemi1-6/+14
2009-06-22gisi: specify destination socket addressRémi Denis-Courmont1-3/+28
Kernel wants it, and returns an error on send otherwise.
2009-06-15Fix to use negative error return in gisi/client.cAki Niemi1-1/+1
2009-06-15Rename ISI client and PhoNet netlink APIsAki Niemi7-0/+803
- Add g_ prefix to functions - Add G-prefix and use CamelCasing in types