Commit Graph

25 Commits

Author SHA1 Message Date
Rémi Denis-Courmont bc6c4adcac gisi: pass object handle to g_isi_verify() callback
This will be needed for GPDS.
2009-12-18 15:59:17 +02:00
Denis Kenzior 89a4dc48d4 Update the isimodem driver to the new API 2009-10-29 15:29:55 -05:00
Pekka Pessi d1d870ba7a Refactor subblock iterators.
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-09 12:54:04 +03:00
Aki Niemi 36198827ab Miscellaneous clean-ups 2009-09-16 23:37:23 +03:00
Aki Niemi e3e5090b6a Increase network scan/set timeout values 2009-09-16 23:37:23 +03:00
Aki Niemi b6e37fb792 Remove version query; use gisi/client.h instead 2009-09-15 15:36:11 +03:00
Aki Niemi 0aeb5f3dfd Remove extra debug 2009-09-15 00:35:22 +03:00
Aki Niemi af3f54ee43 Fix a possible but improbable leak 2009-09-15 00:20:54 +03:00
Marcel Holtmann ee0555dda1 Fix compiler warnings on 64-bit systems 2009-09-14 14:10:15 -07:00
Aki Niemi e58d28f6b6 Adapt to changed sub-block iterator API 2009-09-14 23:43:57 +03:00
Aki Niemi 69ac9733f4 Modify to use the new alpha tag getter 2009-09-14 16:21:18 +03:00
Aki Niemi d7459f45fc Coding style clean-ups 2009-09-14 14:53:35 +03:00
Aki Niemi ddbd19a4be Use gisi/iter.h for decoding sub-blocks 2009-09-14 14:34:27 +03:00
Aki Niemi cfd40b2313 Remove trailing WS 2009-09-14 13:00:45 +03:00
Aki Niemi 1c2f4b6097 Add proper bootstrapping for netreg driver
Use the ISI version query to bootstrap the netreg driver.
2009-09-14 12:45:54 +03:00
Aki Niemi 843f0c07e2 Remove unnecessary debugs 2009-09-14 12:44:59 +03:00
Aki Niemi e79d5ad208 Fix registration status decoding 2009-09-12 22:39:50 +03:00
Aki Niemi d2a42c71dd Fixes for proper coding style 2009-09-12 21:44:11 +03:00
Aki Niemi 3bfa5c47c0 Fix signal strength value calculation 2009-09-12 19:30:58 +03:00
Aki Niemi 6d258f529e Add implementation of netreg driver 2009-09-12 18:42:42 +03:00
Denis Kenzior 58d0aa72b2 Rename isi drivers to isimodem
Be more consistent with directory naming
2009-09-01 22:35:14 -05:00
Denis Kenzior 9caa606bcc Make remove functions not return anything 2009-09-01 22:27:08 -05:00
Denis Kenzior 422df0edfb change int vendor to unsigned int vendor 2009-09-01 21:39:02 -05:00
Denis Kenzior 271b042488 Add vendor flag capability to netreg 2009-09-01 18:14:58 -05:00
Aki Niemi 74782318bd Rename all files under drivers/isimodem/ 2009-08-25 14:04:42 +03:00