summaryrefslogtreecommitdiffstats
path: root/gisi
AgeCommit message (Collapse)AuthorFilesLines
2010-10-14gisi: Fix copyright and license boilerplateAki Niemi18-246/+230
2010-10-06gisi/verify: check g_try_new0 return valuePekka Pessi1-0/+3
2010-09-30gisi: Remove route adding APIAki Niemi2-75/+0
2010-09-14Fix common misspelling in gisiLucas De Marchi2-2/+2
Fix common misspellings by using the list available at http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines From the list cited above, the substitution script found the following misspelling: fomr->from
2010-09-02gisi: added g_isi_send() and g_isi_vsend()Pekka Pessi2-9/+84
Include a finalize function in GIsiRequest
2010-08-30gisi: Retry version query in g_isi_verify()Pekka Pessi1-8/+30
For some mysterious reason, not all COMMON_MESSAGEs get sent to modem. This patch adds a retry counter that tries to make sure an answer is always received.
2010-08-30gisi: Fix counter for indication subscriptionsAki Niemi1-1/+6
2010-05-27Eliminated bool, true and false from gisiPekka Pessi9-102/+88
2010-05-17gisi: Fix style issuesAki Niemi2-9/+12
2010-05-17gisi: Fix netlink style issuesAki Niemi1-11/+18
2010-05-17gisi: Add phonet netlink functionsPekka Pessi2-9/+201
Adding g_pn_netlink_set_address() and g_pn_netlink_add_route(). Automatically configure phonet links without external software.
2010-05-17gisi: Remove g_pn_netlink_by_name()Pekka Pessi2-14/+0
2010-05-14gisi: Add support for NTF requestsAki Niemi1-1/+6
Notify requests are requests sent by ISA servers towards clients. They are identical to indications in that no response is necessary, but different in that subscription is done not using the mechanism used for indications, but out-of-band. Typically routing for notify requests is enabled using a request-response pair.
2010-05-14gisi: Return negative errnosAki Niemi1-1/+1
2010-05-14gisi: Fix typo in documentationAki Niemi1-1/+1
2010-05-14gisi: Add debugging support for requestsAki Niemi1-3/+20
2010-04-27gisi: remove misplaced defineAki Niemi1-2/+0
2010-04-27gisi: refactor client implementationAki Niemi2-214/+313
2010-04-24Fix: transaction id usage in gisi/server.cPekka Pessi1-57/+54
2010-04-21gisi: move g_isi_modem_by_name to separate fileAki Niemi3-27/+59
This fixes build warnings that resulted from conflicts between linux/if.h and net/if.h.
2010-04-20Fix build warning on 64bit systemAki Niemi1-1/+1
2010-04-20Refactor isimodem and gisi/netlinkPekka Pessi3-73/+222
Now usbpnmodem plugin is used to register ISI modems.
2010-04-20gisi: add gisi server APIPekka Pessi3-0/+423
2010-04-20gisi: fix cast-align warningsPekka Pessi1-5/+4
2010-04-20gisi: check for NULL client and remove warningsPekka Pessi1-12/+28
2010-04-20gisi: move GIsiDebugFunc into modem.hPekka Pessi2-3/+3
2010-04-20gisi: fix pointer checkingAki Niemi1-2/+2
2010-04-20gisi/pep: check for NULL callbackAki Niemi1-1/+4
2010-03-16Fix: Use g_try_malloc in gisi/pipe.cDenis Kenzior1-1/+4
2010-03-16Fix: Use g_try_malloc not g_malloc in isi/pep.cDenis Kenzior1-2/+6
2010-03-16Style: Use newlines to make the code more readableDenis Kenzior1-0/+3
2010-03-16Style: Always use tab for indentationDenis Kenzior1-2/+4
2010-01-12Style: Various issuesDenis Kenzior2-3/+3
2009-12-18gisi: support sending ISI request as a scatter-gather arrayRémi Denis-Courmont2-11/+43
2009-12-18gisi: pass object handle to g_isi_verify() callbackRémi Denis-Courmont2-2/+3
This will be needed for GPDS.
2009-12-18gisi: Fix g_isi_verify() type safetyRémi Denis-Courmont1-1/+1
2009-10-16isimodem/voicecall.c: initial versionPekka Pessi1-8/+3
Implementing all the voicecall methods. Tested with Nokia 2008 modems. - problems in call creation are probably not reported properly - deflect not implemented in modem, not properly tested TODO: Clean up style issues and align with other drivers.
2009-10-14gisi: Add getter for sub-block dataAki Niemi2-37/+46
Also fix indentation and change int->unsigned in the API.
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.