Denis Kenzior
e8c153e0b3
Remove unneeded function
2009-07-14 15:50:35 -05:00
Denis Kenzior
4606b0aba4
Fix warnings
2009-07-14 15:50:09 -05:00
Denis Kenzior
70d1a6bac7
Fix uninitialized variable
2009-07-14 15:46:56 -05:00
Denis Kenzior
bb1a7ae93b
Make CSSN use proper types
2009-07-14 15:45:06 -05:00
Denis Kenzior
c0862b7553
Refactor how EONS is used
2009-07-14 15:45:06 -05:00
Denis Kenzior
d938e7f300
This function now uses on network_operator_data
2009-07-14 15:45:06 -05:00
Denis Kenzior
bda598b93a
Refactor EONS to have lac / non-lac versions
...
PNN/OPL database has fields which provide global operator naming,
or specific to a cell range. The cell range can only be obtained
if the operator is the current one.
2009-07-14 15:45:06 -05:00
Denis Kenzior
8129119d61
Refactor Network Registration for EONS capability
2009-07-14 15:45:06 -05:00
Denis Kenzior
000a983b2b
Make sure record length is not zero
...
Record length can be reported as 0 by the driver if it is for a
a binary (non-record based) file. Set it to the file length in
this case
2009-07-14 15:45:06 -05:00
Denis Kenzior
864e09481c
Get rid of some div by zero errors
2009-07-14 15:45:06 -05:00
Denis Kenzior
a8eedf1326
Fix missing header
2009-07-14 15:45:06 -05:00
Denis Kenzior
7dd147117f
Use ofono_set_sim_ready
2009-07-14 15:45:06 -05:00
Denis Kenzior
3774e4eb73
Return the entire EONS info, not just the longname
2009-07-14 15:45:06 -05:00
Denis Kenzior
0fa6897213
Refactor OPL code
2009-07-14 15:45:05 -05:00
Denis Kenzior
0fd5080630
Fix parsing of mcc_mnc code
...
The digits above 0-9 were not handled correctly
2009-07-14 15:45:05 -05:00
Denis Kenzior
f5e9b2147a
Fix CellId data type to be uint32 as intended
2009-07-14 15:45:05 -05:00
Denis Kenzior
5ea1326b00
Move SPDI to network.c
2009-07-14 15:45:05 -05:00
Denis Kenzior
f2440ebd82
Preserve PNN order
2009-07-14 15:45:05 -05:00
Denis Kenzior
382e39ec53
Move SPN reading to network.c
2009-07-14 15:45:05 -05:00
Denis Kenzior
8294c1e42c
Get rid of unneeded
2009-07-14 15:45:05 -05:00
Denis Kenzior
82ede4d647
Move PNN reading to network.c
2009-07-14 15:45:05 -05:00
Denis Kenzior
9a565d88b1
Refactor sim_pnn_operator_parse
2009-07-14 15:45:05 -05:00
Denis Kenzior
38eebca61f
Move PNN operator parsing to simutil
2009-07-14 15:45:05 -05:00
Denis Kenzior
80f43ff849
Move function to simutil.c
2009-07-14 15:45:05 -05:00
Denis Kenzior
f6aa6e473c
Move enum to simutil.h
2009-07-14 15:45:05 -05:00
Denis Kenzior
05c4ae4793
Remove unneeded function
2009-07-14 15:45:04 -05:00
Denis Kenzior
d12210ba54
Remove unneeded variables
2009-07-14 15:45:04 -05:00
Denis Kenzior
e13b933cbb
Move enum to simutil.h
2009-07-14 15:45:04 -05:00
Denis Kenzior
1df261cdb9
Refactor MSISDN reading
2009-07-14 15:45:04 -05:00
Denis Kenzior
5207f4063e
If reading one fails, don't bother reading rest
2009-07-14 15:45:04 -05:00
Denis Kenzior
285712e5d4
Add TODO comment
2009-07-14 15:45:04 -05:00
Denis Kenzior
097aeccc9a
Change the way SIM is initialized
2009-07-14 15:45:04 -05:00
Denis Kenzior
541682f89d
Add sim file reading / writing utilities
2009-07-14 15:45:04 -05:00
Denis Kenzior
2289298615
Style fixes
2009-07-14 15:45:04 -05:00
Denis Kenzior
38a23eb108
Make oFono use proper record ids, don't use tricks
2009-07-14 15:45:04 -05:00
Denis Kenzior
04f6924099
Add IMSI getter method
2009-07-14 15:45:04 -05:00
Denis Kenzior
acc65afcee
Add get/set sim readiness functions
2009-07-14 15:45:04 -05:00
Denis Kenzior
165a78e7e9
Remove some SPN stuff from SIM
2009-07-14 15:45:03 -05:00
Denis Kenzior
d0fbef76bd
Add sim ready notify functions
2009-07-14 15:45:03 -05:00
Denis Kenzior
ffb5d3da94
Remove unnecessary value
2009-07-14 15:45:03 -05:00
Denis Kenzior
bed14e8527
Remove unneeded functions
2009-07-14 15:45:03 -05:00
Denis Kenzior
b945c111b7
Move utility to its own file
2009-07-14 15:45:03 -05:00
Denis Kenzior
084b1a4c61
Get rid of override_name from operator
2009-07-14 15:45:03 -05:00
Denis Kenzior
2de9ad258b
Cleanup network_name_parse
2009-07-14 15:45:03 -05:00
Andrzej Zaborowski
98a4308b30
Read EF-PNN, EF-OPL and override network names accordingly.
2009-07-14 15:45:03 -05:00
Marcel Holtmann
feb36e2d5b
Fix stupid false positive warnings about uninitialized variables
...
The GCC check for uninitialized variables is so useful that dealing
with the false positives is just a minor inconvenience.
The following GCC trick helps to silence them:
#define uninitialized_var(x) x = x
This way no code obfuscation is needed to compile smoothly and the
code stays readable. And the author has to actually think about it.
2009-07-14 06:06:46 +02:00
Denis Kenzior
3d1dd9d452
Fix unused variable warning
2009-07-13 22:33:48 -05:00
Denis Kenzior
90f3cdb8d6
Fix unused variable warnings
2009-07-13 22:33:48 -05:00
Denis Kenzior
ce996638b9
Fix suggest parantheses warning
2009-07-13 22:33:48 -05:00
Denis Kenzior
683cee1c1c
Fix unused variable warning
2009-07-13 22:33:48 -05:00