summaryrefslogtreecommitdiff
path: root/src/notifier.c
AgeCommit message (Collapse)AuthorFilesLines
2021-01-04Imported Upstream connman version 1.38Niraj Kumar Goit1-1/+1
Change-Id: I9e650762f3b2b2a31945b66e044e67a77e3b4b12 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2019-09-18Imported Upstream version 1.37submit/tizen/20190920.082459Nishant Chaprana1-11/+11
Change-Id: Idb47c1ddbedc9f97181b8e9a5eeac04ddd832a2c Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-07-04Imported Upstream version 1.37upstream/1.37Nishant Chaprana1-11/+11
Change-Id: Ib5957e7ee3a9315ee86a331189bc3e9e71751ee8 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2018-08-24[connman] Added Tizen Wi-Fi Meshsubmit/tizen/20180824.072908Nishant Chaprana1-0/+6
Change-Id: Iec2ec99fb7d4fc6d9c0539e5a9e7c903e1969580 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2015-08-07Base Code merged to SPIN 2.4submit/tizen/20150810.034432hyunuktak1-0/+0
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com> Change-Id: I84a42375b5c59739e4caca1f726699ea7647ef17
2014-07-17Imported Upstream version 1.24upstream/1.24Zhang zhengguang1-29/+29
2013-01-04core: Remove WiMAX definitions from codePatrik Flykt1-2/+0
2012-07-15notifier: Avoid shadowing connected variableMarcel Holtmann1-12/+6
2012-05-04notifier: Evaluate offline state after 'online' and 'ready'Patrik Flykt1-3/+3
2012-04-30notifier: Return offline as global state if offline mode is enabledMarcel Holtmann1-3/+3
2012-04-29notifier: Remove DefaultTechnology signalMarcel Holtmann1-16/+0
2012-04-29core: Update copyright informationMarcel Holtmann1-1/+1
2012-04-29notifier: Fix small coding style issueMarcel Holtmann1-1/+1
2012-04-24notifier: Handle Manager state when exiting onlinePatrik Flykt1-6/+10
Service state can transition from online to disconnect like this: 1) old online - new disconnect/association => association 2) old association - new disconnect/disconnect => disconnect Create a separate function for leaving online mode, don't rely on the previous old_state in service_indicate_state(). Fixes BMC#25073
2012-04-19notifier: Change notifer_count_online() to notifier_is_online()Daniel Wagner1-8/+5
evaluate_notifer_state() is not interested in the number of online services (which is btw always 0 or 1) just if there is one.
2012-04-19notifier: Change __connman_notifier_count_connected() to *_is_connected()Daniel Wagner1-6/+5
No caller is interested in the number of connected services, only if there is one or more or none.
2012-04-17notifier: Distinguish between different statesDaniel Wagner1-16/+50
Instead of only having "offline" and "online" states, we support now having "offline", "idle", "ready" and "online" as on the Manager.State documenation update required.
2012-04-17notifier: Add __connman_notifier_online()Daniel Wagner1-0/+5
For indicating the we entered the ONLINE state.
2012-04-17notifier: Add old state to __connman_notifier_disconnect()Daniel Wagner1-1/+2
The old state helps to distinguish between the transissionts from CONNECTED -> DISCONNECTED or ONLINE -> DISCONNECTED.
2012-04-17notifier: Remove extra empty lineMarcel Holtmann1-1/+0
2012-02-13tethering: Use notifier to update default interface.Daniel Wagner1-5/+0
2012-01-24technology: Add 'Connected' Technology propertyPatrik Flykt1-0/+1
Set Technology property 'Connected' to true if at least one service for the Technology is connected; false otherwise.
2012-01-20notifier: Remove unused technology notifiersPatrik Flykt1-179/+0
Since there only user of __connman_notifier_is_enabled() and __connman_notifier_is_register() was removed with the technology method calls in Manager, remove the now unnecessary support functions.
2012-01-05manager: Remove ConnectedTechnologies and associated functionPatrik Flykt1-21/+0
2012-01-05manager: Remove EnabledTechnologies and associated functionPatrik Flykt1-21/+0
2012-01-05manager: Remove AvailableTechnologies and associated functionPatrik Flykt1-21/+0
2011-12-10manager: Remove support for GetState method and StateChanged signalMarcel Holtmann1-11/+0
2011-11-15notifier: Remove service from hash in error caseDaniel Wagner1-1/+1
CONNMAN_SERVICE_STATE_FAILURE should be treated in the same way as CONNMAN_SERVICE_STATE_DISCONNECT or CONNMAN_SERVICE_STATE_IDLE in __connman_notifier_service_state_changed(). This should help to reduce the "Service state machine inconsistency detected." error message.
2011-11-10core: Use gcc atomics instead glib's onesDaniel Wagner1-21/+36
g_atomic_int_exchange_and_add() has been removed from glib 2.30 and g_atomic_int_add() should be used. Though there are still quite a few distros out which do not ship a glib version with g_atomic_int_add(). Instead of maintaing a compatiblilty glib layer we just use the built-in functions for atomic memory access.
2011-10-20notifier: Don't unnecessarily report "online" state on disconnectPatrik Flykt1-3/+7
When a service disconnects, don't send an extra 'online' net.connman.Manager.StateChanged signal if another service is still connected. Fixes BMC#23421
2011-08-25service: Add services changed signalAlok Barsode1-2/+0
Move the services changed dbus signal handling from profile.
2011-08-11notify: Add state_idle()Daniel Wagner1-0/+65
2011-08-11notify: Add service name parameter to service_add()Daniel Wagner1-2/+3
2011-05-31notifier: Limit Counter UnderflowGrant Erickson1-0/+15
When network and service events occur from the bottom up (e.g. supplicant, link state, etc.) that also incur IP configuration changes, it is possible for one or more of the notifier counters to underflow, leaving connman in a state from which it can never recover without a process restart. By limiting underflow of the three notifier counters, these non- recoverable states are prevented.
2011-04-12notify: Add service_add()/remove()Daniel Wagner1-0/+24
2011-03-31notify: Add ipconfig notifiersDaniel Wagner1-0/+13
2011-03-31notify: Add service state notifiersDaniel Wagner1-0/+13
2011-01-13notifier: Add proxy changed hookSamuel Ortiz1-0/+12
With asynchronous WPAD operations, the proxy_changed notifier hook will allow for a proper pacrunner configuration to be created.
2010-12-08Add CONNMAN_DEVICE_TYPE_GADGET and CONNMAN_SERVICE_TYPE_GADGETMartin Xu1-0/+7
2010-07-03Add initial bits and pieces for Tethering supportMarcel Holtmann1-0/+5
2010-05-12Fail immediately enabling/disabling unregistered technologyForest Bond1-3/+24
Previously, calling EnableTechnology or DisableTechnology with an unregistered technology type caused the call to fail silently and eventually timeout. With this patch, a "Not Registered" error is returned immediately instead.
2010-01-05Fix invalid argument terminatorMarcel Holtmann1-1/+2
2010-01-05Move online/offline state handling into notifier frameworkMarcel Holtmann1-3/+53
2010-01-05Add place-holder for technology type GPSMarcel Holtmann1-0/+7
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-19Make use of property changed helper for arraysMarcel Holtmann1-42/+9
2009-12-19Add user data argument to D-Bus array property helpersMarcel Holtmann1-3/+3
2009-12-19Add user data to D-Bus helper function callbacksMarcel Holtmann1-3/+3
2009-12-19Use helper for basic property changed signalsMarcel Holtmann1-24/+5
2009-12-19Use new D-Bus helpers wherever possibleMarcel Holtmann1-69/+25