summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-05-13stkutil: Refactor parse_list into parse_item_listDenis Kenzior1-52/+19
Makes the code much easier to follow
2010-05-13test-stkutil: Add test for select item parserYang Gu1-0/+2035
2010-05-13stkutil: Add select item proactive command parserYang Gu2-0/+80
2010-05-13test-stkutil: Add test for setup menu parserYang Gu1-0/+1616
2010-05-13stkutil: Add setup menu proactive command parseYang Gu2-0/+138
2010-05-13style: remove extra whitespaceYang Gu1-1/+0
2010-05-13stkutil: item objects can be NULLYang Gu1-1/+5
ETSI 102.223 doesn't mention that alpha id objects can be NULL, however such objects exist in the 102.384 test specification.
2010-05-13stkutil: alpha id objects can be NULLYang Gu1-2/+2
ETSI 102.223 doesn't mention that alpha id objects can be NULL, however such objects exist in the 102.384 test specification.
2010-05-13simutil: Add comprehension tlv copyYang Gu2-0/+15
Can be used to save the state of the current iterator and 'peek' ahead.
2010-05-13test-stkutil: Add test for poll interval parserYang Gu1-0/+46
2010-05-13stk: Add poll interval proactive command parserYang Gu2-0/+33
2010-05-12mbm: Check there's a SIM card inserted.Andrzej Zaborowski1-4/+39
2010-05-12mbm: Register sim toolkit atom in mbm plugin.Andrzej Zaborowski1-0/+2
2010-05-12mbm: Simplify STKR callback logicDenis Kenzior1-5/+1
2010-05-12mbm: Simplify STKE logicDenis Kenzior1-6/+11
We shouldn't use CALLBACK_WITH_FAILURE unless we can't parse the response from the modem. This most likely indicates an integration error.
2010-05-12mbm: NULL check on a g_free is not necessaryDenis Kenzior1-10/+4
This is a change from previously accepted practice
2010-05-12mbm: Few style issues with indentationDenis Kenzior1-7/+6
2010-05-12mbm: Add STK driver.Andrzej Zaborowski4-1/+261
2010-05-12atmodem: Pass allowed response prefixes to gatchatAndrzej Zaborowski1-6/+9
Not doing this creates a race condition where any notification comming in in the middle of a sequence of commands may be counted as a response to one of the commands and get lost.
2010-05-11stkutil: Parse cdma tpdu in send sms parserYang Gu2-4/+13
2010-05-11stkutil: Don't use escaped stringsDenis Kenzior1-4/+5
In general this is bad style, using concatentated strings ala "" "" is better.
2010-05-11test-stkutil: Add unit test for play tone parserYang Gu1-0/+1356
2010-05-11stkutil: Refactor parser for tone objectsYang Gu1-11/+2
2010-05-11Replace check_text with check_common_textYang Gu1-16/+15
2010-05-11stkutil: Add play tone proactive command parserYang Gu2-0/+52
2010-05-11stk: Unify variable names to use abbreviationYang Gu3-89/+88
2010-05-11test-stkutil: Use enum for icon_idYang Gu1-3/+3
2010-05-11test-stkutil: Add unit test for get input parserYang Gu1-20/+1392
2010-05-11stkutil: Free default text for get input parserYang Gu1-0/+1
2010-05-11ppp: fix another hardcode of ppp_packet sizeKristen Carlson Accardi1-1/+1
2010-05-11Fix Use hashtable to record udev pathZhenhua Zhang1-19/+39
Sometimes, Udev device 'remove' event could not report correct parent node of current udev_device. Current code replies on the devpath attached on the parent node to find modem and then remove it. This fix is to change the way to store the devpath info into a hashtable. So that we search hashtable to get devpath and remove the modem.
2010-05-11atmodem: Fix crashes related to unremoved timeoutsDenis Kenzior1-2/+12
Any timeouts set must be removed using g_source_remove. Failure to do so results in sigsegvs when the modem is randomly removed during the initialization cycle.
2010-05-10gsmdial: Shut down cleanly when ppp link diesDenis Kenzior1-2/+4
2010-05-10ppp: Keep these defines privateDenis Kenzior2-2/+3
2010-05-10ppp: set address and control fieldKristen Carlson Accardi5-8/+16
Before sending to hdlc, set the address and control field. Fix hardcode of ppp header size.
2010-05-10gsmdial: use g_at_ppp_new_from_io()Kristen Carlson Accardi1-3/+3
2010-05-10gatchat: implement g_at_chat_get_io()Kristen Carlson Accardi2-0/+10
2010-05-10gsmdial: use g_at_chat_suspendKristen Carlson Accardi1-4/+4
2010-05-10ppp: transition to dead when lcp finishedKristen Carlson Accardi1-1/+4
Transition to DEAD when lcp is finished and ignore any io disconnects if we are already dead.
2010-05-10Fix: Don't remove wrong atomsAndrzej Zaborowski1-3/+6
When the state goes from INSERTED to NOT PRESENT and we have not advanced past the SIM PIN entry, we remove the pre_sim atoms. Similarly, if we advanced past the SIM PIN stage and subsequently removed the SIM, the pre_sim atom list should not be tampered with.
2010-05-10Fix check data device before register the modemZhenhua Zhang1-2/+3
To avoid the race condition that modem is registered before we retrieve the data device property.
2010-05-04add vid/pid for Dell 5541 and 5542Torgny Johansson1-0/+4
2010-04-30atmodem: Port gprs-context to new PPP apiDenis Kenzior1-12/+8
2010-04-30gsmdial: Port to new PPP apiDenis Kenzior1-9/+3
2010-04-30ppp: Refactor connect / disconnect callbacksDenis Kenzior2-19/+33
Right now it is very hard to figure out whether we should be calling the connect callback or the disconnect callback. So refactor as follows: - Connect callback is only called once the net is actually up - Disconnect callback is called once ppp is down, with a reason for why it is so.
2010-04-30ppp: get rid of ppp_enter_phaseDenis Kenzior4-57/+85
This function simply didn't have the context of why the phase was being entered. Instead have each protocol notify GAtPPP as to what is happening. We already had this more or less for IPCP and AUTH events, this just now formalizes it for LCP as well.
2010-04-30ppp: Add _from_io constructorDenis Kenzior2-8/+34
2010-04-29ppp: fix return of drop_packet for NETWORK phaseKristen Carlson Accardi1-1/+1
2010-04-29gathdlc: Add from_io constructorDenis Kenzior2-8/+20
2010-04-30Fix parent path introspection data invalidation for multiple levelsJohan Hedberg1-1/+3
In the case that parent path data needs to be invalidated we shouldn't stop at the immediate parent if it doesn't have our own handler registered but should continue upwards in the tree until we reach root or our own handler.