Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-15 | Fix: Minor style issues | Denis Kenzior | 1 | -2/+2 | |
2010-04-15 | Fix: Uncomplicate the logic for SIM initialization | Denis Kenzior | 1 | -30/+29 | |
If we get a sim inserted notify before we are registered, we need to initialize the SIM once ofono_sim_register is called. The logic for doing so is rather twisted, simplify it. | |||||
2010-04-15 | Add SIM "Present" property. | Andrzej Zaborowski | 1 | -40/+77 | |
2010-04-15 | Drivers can notify core of SIM insertion / removal | Andrzej Zaborowski | 12 | -34/+107 | |
Add ofono_sim_inserted_notify function to notify the core of SIM insertion / removal. Make every plugin generate a sim inserted event on start. For devices with removable card, the event should be emitted after the plugin detects such event. For devices that need to wait for SIM card initialization, they can emit this event later. | |||||
2010-04-15 | Extend sim-ready watch with card insert/eject | Andrzej Zaborowski | 4 | -35/+44 | |
2010-04-15 | No to check for NULL pointers with g_free | Marcel Holtmann | 1 | -4/+2 | |
2010-04-14 | ppp: nak unknown auth protocol | Kristen Carlson Accardi | 3 | -4/+38 | |
If we are sent a Config-Request for an auth proto other than CHAP with MD5, send a NAK. | |||||
2010-04-14 | Fix: Use a union for other address objects | Denis Kenzior | 2 | -2/+6 | |
2010-04-14 | Add parser for other address objects | Yang Gu | 2 | -0/+37 | |
2010-04-14 | Add parser for card reader identifier objects | Yang Gu | 2 | -0/+29 | |
2010-04-14 | Add parser for channel status objects | Yang Gu | 1 | -0/+20 | |
2010-04-14 | Add parser for buffer size objects | Yang Gu | 1 | -0/+18 | |
2010-04-14 | Add parser for channel data length objects | Yang Gu | 1 | -0/+10 | |
2010-04-14 | Add parser for channel data objects | Yang Gu | 1 | -0/+10 | |
2010-04-14 | Add parser for bearer description objects | Yang Gu | 2 | -0/+44 | |
2010-04-14 | Add parser for browser termination cause objects | Yang Gu | 2 | -0/+15 | |
2010-04-14 | Add parser for provisioning file reference objects | Yang Gu | 1 | -0/+28 | |
2010-04-14 | Refactor: Break out stk_file iterator | Yang Gu | 1 | -69/+97 | |
For use by other data object parsers besides file lists | |||||
2010-04-14 | Add parser for bearer objects | Yang Gu | 2 | -0/+17 | |
2010-04-14 | Fix: Handle NULL URLs | Denis Kenzior | 1 | -0/+7 | |
2010-04-14 | Add parser for url objects | Yang Gu | 1 | -0/+10 | |
2010-04-14 | Fix the logic when parsing c-apdu objects | Yang Gu | 1 | -1/+0 | |
2010-04-14 | Fix: GAtMux channels should return EAGAIN | Denis Kenzior | 1 | -0/+3 | |
GAtChat uses non-blocking semantics, so the GAtMux channels should return the EAGAIN status to make GAtChat work properly. | |||||
2010-04-14 | Add support for Option iCON 451 | Daniel Wagner | 1 | -0/+1 | |
2010-04-13 | ppp: Refing the channel is actually not necessary | Denis Kenzior | 1 | -3/+2 | |
The read_watch and write_watches both take a ref | |||||
2010-04-13 | Fix: Don't try to set channel flags if they're 0 | Denis Kenzior | 1 | -6/+7 | |
2010-04-13 | ppp: TUN channel should not be opened NONBLOCKING | Denis Kenzior | 1 | -1/+1 | |
We don't handle it as a nonblocking channel and getting it right would be a nightmare. | |||||
2010-04-13 | ppp: Cleanup function definitions in ppp.h | Denis Kenzior | 1 | -11/+16 | |
2010-04-13 | ppp: remove pfc and acfc | Kristen Carlson Accardi | 3 | -35/+1 | |
We will not support pfc or acfc | |||||
2010-04-13 | ppp: remove references to magic number | Kristen Carlson Accardi | 2 | -6/+8 | |
We will not support loopback detection. | |||||
2010-04-13 | ppp: Get rid of net_open and net_close | Denis Kenzior | 3 | -63/+50 | |
There really isn't a need for these now | |||||
2010-04-13 | ppp: Introduce ppp_net_down_notify | Denis Kenzior | 3 | -0/+7 | |
2010-04-13 | ppp: Introduce ppp_net_up_notify and use it | Denis Kenzior | 3 | -16/+17 | |
This is slightly cleaner way than defining a weird callback function. | |||||
2010-04-13 | ppp: Hide ppp_net definition in ppp_net.c | Denis Kenzior | 3 | -37/+45 | |
2010-04-13 | ppp: Use chap functions directly, instead of auth | Denis Kenzior | 1 | -11/+9 | |
2010-04-13 | ppp: Remove auth_ functions from ppp_auth.c | Denis Kenzior | 2 | -110/+33 | |
These really serve no purpose right now as we use only CHAP. So they only take up space and make the code harder to read. If we implement 1-3 auth protocols, then they're easier handled inside gatppp.c. If we have more, then a proper auth driver framework is required. | |||||
2010-04-13 | ppp: introduce ppp_auth_notify | Denis Kenzior | 2 | -0/+9 | |
This function will be notified whenever authentication has succeeded / failed. This can happen in the authentication phase or during the network phase. If auth fails, then we should proceed to the terminate phase. | |||||
2010-04-13 | ppp: Add set / get password & username | Denis Kenzior | 2 | -6/+34 | |
Also refactor the set credentials function, we will be removing the auth object shortly | |||||
2010-04-13 | ppp: Transition the phase directly | Denis Kenzior | 3 | -76/+33 | |
Use of the generate event function, while more 'pure' with regard to how the spec views transitions, actually makes code more difficult to read. Instead use phase transitions directly inside gatppp. This still bleeds through a little into lcp code, and probably should be fixed in a better way eventually. | |||||
2010-04-13 | ppp: Refactor how tls/tlu/tld/tlf are used | Denis Kenzior | 1 | -13/+6 | |
With the upper layer driving these, the special handling is no longer required. | |||||
2010-04-13 | ppp: Let the upper layer handle open / up events | Denis Kenzior | 3 | -19/+2 | |
This removes the need for the layer_started functions in lcp and ipcp. For LCP the link is always up unless the socket has been closed, and for IPCP the link should be opened as soon as LCP is ready anyway. | |||||
2010-04-13 | Merge: make link | Denis Kenzior | 1 | -2/+2 | |
2010-04-13 | ppp: Reset the options whenever the layer is down | Denis Kenzior | 2 | -11/+32 | |
So we can re-negotiate the options if the layer is opened again. | |||||
2010-04-13 | ppp: Rename data to pppcp | Denis Kenzior | 1 | -6/+2 | |
2010-04-13 | ppp: unref should mean a hard shutdown | Denis Kenzior | 1 | -27/+20 | |
This can happen when e.g. the modem is physically removed from the system and it is not feasible to wait for the nice shutdown state to be reached. | |||||
2010-04-13 | ppp: Signal Down & Close when socket is closed | Denis Kenzior | 1 | -0/+2 | |
2010-04-13 | ppp: Add pppcp_signal_down | Denis Kenzior | 2 | -0/+6 | |
For use when the link is abruptly terminated by the remote side | |||||
2010-04-13 | ppp: Use pppcp_signal functions directly | Denis Kenzior | 3 | -35/+6 | |
No real need to wrap them behind lcp_ functions | |||||
2010-04-13 | ppp: Keep track when read watcher dies | Denis Kenzior | 1 | -4/+11 | |
2010-04-13 | ppp: Remove unused define | Denis Kenzior | 1 | -1/+0 | |