summaryrefslogtreecommitdiffstats
path: root/src/network.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-18netreg: Style fixes, M12Aki Niemi1-8/+8
2011-01-05network: Ignore signal strength notifications if not registeredMarcel Holtmann1-0/+8
With the fix to query the signal strength when the registration status changes it should be now fine again to just ignore notifications about signal strength changes when not registered. So put this extra check and comment back into signal strenth notification function.
2011-01-05network: query signal strengthMarit Henriksen1-12/+17
Signal strength is set to -1 whenever registration status changes and differs from registered or roaming. When registration status changes again to registered or roaming, the signal strength needs to be updated, added query towards driver to get it.
2010-12-03network: Send strength as a byte, not uint16Denis Kenzior1-4/+5
To be consistent with the documentation
2010-11-29core: explicitly compare pointers to NULLLucas De Marchi1-16/+14
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
2010-11-26network: Use bit as size instead of byteYang Gu1-2/+2
2010-11-22src: coding style fixes - rule M6Jeevaka Badrappan1-2/+2
2010-10-21netreg: Allow strength notifys at all timesAki Niemi1-8/+0
2010-09-21Fix multi-line comment style issuesJeevaka Badrappan1-11/+22
2010-08-19netreg: Make reset_available returning voidMarcel Holtmann1-1/+1
2010-08-18netreg: Minor style issuesDenis Kenzior1-5/+6
2010-08-18netreg: Move more stuff aroundDenis Kenzior1-18/+14
2010-08-18netreg: Move stuff around to avoid forward declDenis Kenzior1-16/+13
2010-08-18netreg: Make logic more readableDenis Kenzior1-5/+11
2010-08-18netreg: Move code around to avoid forward declDenis Kenzior1-53/+49
2010-08-18netreg: Update to the new Scan/GetOperators APIDenis Kenzior1-266/+261
2010-07-27netreg: Add MCC/MNC to NetworkRegistrationDenis Kenzior1-0/+32
These are the same values as on the NetworkOperator interface for the current operator. Just added for convenience.
2010-06-07network: Some style issuesDenis Kenzior1-3/+3
2010-06-07netreg: Ignore operator info when not registeredDenis Kenzior1-0/+9
Sometimes when we roam off the cell or are simply not registered, the modem still reports a bogus operator. We explicitly ignore this condition in the core.
2010-05-19Add network time supportAki Niemi1-0/+11
Adding a new notify function in the netreg atom for notifying a received Network Identification and Timezone (NITZ) indication. This data is consumed via a nettime plugin, of which there is also an example.
2010-03-25Refactor: Rename netreg Operator property to NameDenis Kenzior1-6/+6
2010-03-25Rename AvailableOperators to OperatorsDenis Kenzior1-2/+2
2010-03-23Fix: Handle broken modems that returns empty COPSDenis Kenzior1-0/+20
2010-03-23Move netreg interface definitions to dbus.hDenis Kenzior1-60/+57
2010-02-08Fix: Don't use ofono_debug directly in the coreDenis Kenzior1-6/+6
Use DBG macro which is integrated with the new debug framework.
2010-02-03Fix: Wrong variables useDenis Kenzior1-2/+2
Copy/paste error from above resulted in incorrect variables being used for comparison.
2010-01-13Fix: Don't try to unregister a null mcc/mncDenis Kenzior1-1/+7
Network operators with null MCC & MNC are not registered, but we try to unregister them. Don't do this as it causes a crash.
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-17Style: Fix a few more occurences of if/elseDenis Kenzior1-1/+2
See Linux coding style document for details
2009-11-24Fix: Add check for register_auto methodZhenhua Zhang1-2/+5
Add check for register_auto method to avoid crash. HFP backend does not provide implementation for register_auto.
2009-11-18Add ProposeScan methodDenis Kenzior1-12/+65
This is the replacement for automatic operator scanning
2009-11-18Fix: Use a different function for initial registerDenis Kenzior1-1/+10
Just in case pending variable gets set to something
2009-11-18Refactor: Reshuffle bit flagsDenis Kenzior1-2/+2
2009-11-18Refactor: Remove period operator scanDenis Kenzior1-50/+0
2009-11-18Refactor: Get rid of PENDING flag in netregDenis Kenzior1-9/+3
2009-11-04Fix: Handle the case where only PLMN name is givenDenis Kenzior1-7/+17
HFP does not allow the use of register / unregister or scan for operator functionality. It only allows the name of the operator to be given, not even an MCC/MNC. Handle this situation inside netreg atom.
2009-10-30Fix: Quiet compiler warningsDenis Kenzior1-2/+0
2009-10-30Add saving / restoring of netreg settingsDenis Kenzior1-0/+52
2009-10-30Add Mode property to NetworkRegistrationDenis Kenzior1-2/+52
2009-10-29Fix: Properly update technologiesDenis Kenzior1-3/+10
When current operator is reported, update the technology list if the tech information is available
2009-10-29Compress the operator list before processingDenis Kenzior1-10/+30
2009-10-29Add utility to compress plmns that vary by techDenis Kenzior1-0/+30
2009-10-29Refactor: Get rid of useless netreg parameterDenis Kenzior1-16/+12
2009-10-29Refactor: Use Technologies instead of TechnologyDenis Kenzior1-18/+24
2009-10-29Add utility to create a list of supported techsDenis Kenzior1-0/+24
2009-10-29Refactor: Operator registration to DBUSDenis Kenzior1-30/+21
2009-10-29Refactor: Internal data structuresDenis Kenzior1-61/+71
This is in preparation to coalescing multiple operators reported by the driver that vary only by technology into a single operator with multiple technologies
2009-10-29Fix: Also auto register when status is unknownDenis Kenzior1-1/+2
2009-10-27Refactor: replace netreg get_operator with mcc/mncDenis Kenzior1-3/+13
The full operator information is useless as only mcc/mnc are really required. The internal structures will be changing soon
2009-10-27Fix: Don't emit spurious Base Station Name signalDenis Kenzior1-0/+4