summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-11-22test: Fix ascii conversion exceptionDenis Kenzior1-0/+3
2012-11-22simutil: Add file type information to sim_dbDenis Kenzior2-54/+59
2012-11-22simutil: Rename structure variableDenis Kenzior1-1/+1
2012-11-22ifx: Move connman atom to post_sim stateDenis Kenzior1-24/+24
2012-11-22ifx: Get rid of have_sim trackingDenis Kenzior1-11/+2
2012-11-22sim: Fix SIM re-init case of SIM RefreshDenis Kenzior1-14/+11
When the SIM is being refreshed, we try to access the SIM too fast after the SIM REFRESH proactive command is received. Instead set the sim atom into the 'RESETTING' state and wait until the modem driver signals the sim insertion again.
2012-11-22include: Add RESETTING stateDenis Kenzior1-0/+1
2012-11-22stk: Fix crash in SIM refresh handlingDenis Kenzior1-2/+2
2012-11-22stk: Always include IdleModeText in GetPropertiesDenis Kenzior1-1/+1
2012-11-22sim: destroy spn info as part of sim main stateDenis Kenzior1-36/+38
2012-11-22stk: Use the shorter timeout for select itemDenis Kenzior1-1/+1
2012-11-22stk: use longer timeout for ImmediateResponseDenis Kenzior1-0/+3
2012-11-22stk: Use short timeout for get_inkeyDenis Kenzior1-1/+1
2012-11-22stk: Use a shorter timeout for DisplayTextDenis Kenzior1-2/+2
For any commands that are tagged as wait-for-user to clear, we should use the shorter timeout. The test system expects 25 to 35 seconds.
2012-11-23ifx: Add comments about unhandled SIM statesMarcel Holtmann1-0/+6
2012-11-23atmodem: Monitor IFX technology and band changesMarcel Holtmann1-0/+58
2012-11-23test: Handle DisplayText with async_callbacks optionMarcel Holtmann1-3/+16
2012-11-15atmodem: add PIN retry count for Alcatel modemsCedric Jehasse1-0/+43
2012-11-15alcatel: create sim atom with vendor alcatelCedric Jehasse1-1/+2
2012-11-12AUTHORS: Mention Cedric's contributionsDenis Kenzior1-0/+1
2012-11-12atmodem: Poll SIM state after entering PINCedric Jehasse1-0/+2
Encountered a problem of CME ERROR 14: SIM busy on Alcatel and Huawei modem. The Huawei modem has a ^SIMST unsollicited sim state indication, but not all Huawei modems support this. So poll the SIM state, as was already done for ZTE modems.
2012-11-12atmodem: Add ALCATEL vendorCedric Jehasse1-0/+1
2012-11-07mbm: Fix SIM not inserted detectionDenis Kenzior1-1/+3
2012-11-02stktest: Add Poll Interval test sequence 1.1Denis Kenzior1-0/+5
2012-11-02unit: Move Poll Interval test data 1.1Denis Kenzior2-10/+10
2012-11-02stktest: Label stktest modem as type TESTDenis Kenzior1-0/+1
2012-11-02modem: Add support for modem type TESTDenis Kenzior1-0/+2
2012-11-02doc: Update modem API to reflect modem type testDenis Kenzior1-1/+1
2012-11-02include: Add TEST modem typeDenis Kenzior1-0/+1
2012-11-02stktest: Add Play Tone test sequence 6.1Denis Kenzior1-0/+56
2012-11-02unit: Move Play Tone 6.1 test dataDenis Kenzior2-21/+24
2012-11-02stktest: Add Play Tone test sequence 5.1Denis Kenzior1-0/+30
2012-11-02unit: Move Play Tone 5.1 test dataDenis Kenzior2-18/+24
2012-11-02stktest: Add PlayTone test sequence 4.1-4.10Denis Kenzior1-0/+255
2012-11-02unit: Fixup unit test PlayTone 4.10Denis Kenzior1-1/+2
2012-11-02unit: Move Play Tone 4.1-4.10 test dataDenis Kenzior2-240/+224
2012-11-01AUTHORS: Mention Holger's contributionsDenis Kenzior1-0/+1
2012-11-01wavecom: Add peculiar CPIN as terminator behaviorHolger Hans Peter Freyther1-0/+2
2012-11-01sim: Fix the quirk handling of CPIN for WavecomHolger Hans Peter Freyther1-15/+9
The Wavecom Q2XXX support broke in commit 72ce19bf3e87b5e73c053f7ea1. This is because at_cpin_cb called decode_at_error with final and not with OK. This lead to an error being set in the error variable and the new code returns early when an error is set. The addition of the terminator in at_sim_probe for Wavecom broke in git commit ac524be99f8c72a2593e4ffcecad8beea7679e55 because terminators can not be added on cloned chats. Move the addition of the terminator from the atmodem to the wavecom plugin. Use the same terminator for Q2XXX and the normal Wavecom class. The WAVECOM terminator has been tested on a Q2XXX modem. Apply the CPIN quirk for both WAVECOM and WAVECOM_Q2XXX inside the sim.c file. Introduce needs_wavecom_sim_quirk to handle it for WAVECOM and WAVECOM_Q2XXX.
2012-10-31gdbus: Fix not freeing list node by using g_slist_delete_linkLuiz Augusto von Dentz1-1/+1
g_slist_remove_link does not free the node which can cause leaks so replace that with g_slist_delete_link which does free memory properly.
2012-10-31gdbus: Refactor filter_data_find()Lucas De Marchi1-38/+5
Now this function is only used for searching the listeners of a connection and the other parameters are not needed anymore.
2012-10-31gdbus: Fix wrong signal handler matchLucas De Marchi1-21/+94
When we add a signal handler with g_dbus_add_signal_watch(), this function tries to multiplex the matches added in libdbus by checking if there's a previous filter_data with the same fields. However, if the field is NULL it accepts as being the same. The result is that the following watches will use the same filter data: watch1 = g_dbus_add_signal_watch(conn, BUS_NAME, NULL, iface, member, cb1, data1, NULL); watch2 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path2", iface, member, cb2, data2, NULL); watch3 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path3", iface, member, cb3, data3, NULL); The result is that when a signal arrives with path == "/path2", all 3 callbacks above will be called, with the same signal delivered to all of them. Another problem is that, if we invert the calls like below, only signals to cb1 will never be trigerred, nonetheless it used path == NULL. watch2 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path2", iface, member, cb2, data2, NULL); watch1 = g_dbus_add_signal_watch(conn, BUS_NAME, NULL, iface, member, cb1, data1, NULL); watch3 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path3", iface, member, cb3, data3, NULL); This is fixed by not multiplexing the matchs with filter data if any of the fields are different, including being NULL. When a signal arrives, if a field is NULL we accept it as a match, but not when adding the signal handler.
2012-10-31gdbus: Fix crash when getting disconnected from the busJohan Hedberg1-4/+5
When getting disconnected from the bus sometimes (maybe always?) dbus_watch_handle() can cause the "info" context to be free'd meaning that we should not try to access it after the call. The only member we need access to is the connection pointer and as the code already has a ref() call for it it's only natural to solve the issue by adding a local variable not dependent on "info". The backtrace of the crash fixed looks as follows: Invalid read of size 8 at 0x121085: watch_func (mainloop.c:105) by 0x4C72694: g_main_context_dispatch (gmain.c:2539) by 0x4C729C7: g_main_context_iterate.isra.23 (gmain.c:3146) by 0x4C72DC1: g_main_loop_run (gmain.c:3340) by 0x120541: main (main.c:551) Address 0x5bbcd90 is 16 bytes inside a block of size 24 free'd at 0x4A079AE: free (vg_replace_malloc.c:427) by 0x4C7837E: g_free (gmem.c:252) by 0x4F708BF: dbus_watch_set_data (dbus-watch.c:614) by 0x4F70938: _dbus_watch_unref (dbus-watch.c:132) by 0x4F6E9A7: _dbus_transport_handle_watch (dbus-transport.c:884) by 0x4F59AFB: _dbus_connection_handle_watch (dbus-connection.c:1497) by 0x4F70AF9: dbus_watch_handle (dbus-watch.c:683) by 0x121084: watch_func (mainloop.c:103) by 0x4C72694: g_main_context_dispatch (gmain.c:2539) by 0x4C729C7: g_main_context_iterate.isra.23 (gmain.c:3146) by 0x4C72DC1: g_main_loop_run (gmain.c:3340) by 0x120541: main (main.c:551)
2012-10-31stktest: Add Play Tone test sequence 3.1-3.4Denis Kenzior1-0/+72
2012-10-31unit: Move Play Tone 3.1-3.4 test dataDenis Kenzior2-34/+34
2012-10-31stktest: Add PlayTone test sequence 2.1Denis Kenzior1-0/+30
2012-10-31unit: Move PlayTone 2.1 test dataDenis Kenzior2-27/+25
2012-10-31stktest: Use a define for Cyrillic test dataDenis Kenzior1-4/+6
2012-10-31stktest: Add Play Tone test sequence 1.1.9-1.1.15Denis Kenzior1-0/+132
2012-10-31stktest: Add PlayTone test sequence 1.1.1-1.1.8Denis Kenzior1-0/+151