summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* initial version of QMI-RILHEADmasterWolfgang Wiedmeyer2017-09-0615-0/+7159
| | | | | | | | | | | | | | | The RIL uses libqmi. qmicli and ModemManager were used as references for using libqmi. The request processing is modelled after Samsung-RIL and a lot of code could be reused for QMI-RIL. Establishing a data connection succeeds and mobile data is working in early testing. However, there is not yet a routine for handling interruptions and notifying Android about them. Information about the serving network including signal strength are retrieved and an unlocked SIM card is recognized. Reading data from the SIM and requesting the usual device information should work as well. Support for voice calls and SMS is completely missing at this point. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* use static counter for hello requestsWolfgang Wiedmeyer2017-07-213-5/+5
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* sahara: check if hello data was received and don't print alt file nameWolfgang Wiedmeyer2017-07-201-4/+8
| | | | | | | The other memory table entry, that should provide a file name, was always empty during testing. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* various fixes and improvements, mostly for EFS syncWolfgang Wiedmeyer2017-07-194-28/+80
| | | | | | | | | | | | | | | | EFS data is sometimes successfully received and the modem stays online because the reset after the sync works (even if the EFS sync itself fails). EFS data is not yet written to the partition. This needs to be implemented. When EFS data is read, timeouts are now checked and the data is read in chunks which mirrors the behaviour of the kickstart tool. Strangely enough, occasionally after receiving the first package, that is below the maximum size, a timeout happens and the complete data is never received during all runs. Either the modem is not sending the complete data for whatever reason or there is still something wrong with the command chain. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* refactoring and first shot at EFS syncWolfgang Wiedmeyer2017-07-185-207/+487
| | | | | | | Receiving the actual EFS data doesn't work yet. And sometimes, the modem ends up in states where it crashes after exchanging hellos. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* Init with a tool to boot the modem on the Galaxy S3 4G (I9305)Wolfgang Wiedmeyer2017-07-165-0/+458
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>