summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-12-26Fix to check favorit value into servicesubmit/tizen/20161226.070156accepted/tizen/wearable/20161226.131929accepted/tizen/tv/20161226.131907accepted/tizen/mobile/20161226.131853accepted/tizen/ivi/20161226.131948accepted/tizen/common/20161227.192253hyunuktak1-0/+2
When AP's status is changed(ex, password), favorite value is setted to false. so it is returning false as not supported with checking favorite and state of service when remove profile mothod is called. it should remove service profile whether it is favorite or not, when it's called explicit. Change-Id: I6b59729c7c2614b9f25f56696463f4ac927f6809 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-12-12Fix a svace for checking NULLsubmit/tizen/20161212.124346accepted/tizen/wearable/20161213.003256accepted/tizen/tv/20161213.003252accepted/tizen/mobile/20161213.003235accepted/tizen/ivi/20161213.003304accepted/tizen/common/20161212.185700hyunuktak1-1/+2
Change-Id: I91b9b29c1c1c2b0b835f5a9b81a23b48fbd3b5dc Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-12-06[connman] Added wifi connection when invalid-key error occurred.Niraj Kumar Goit1-0/+3
When invalid-key error occurs users need to enter the valid password to connect with Wi-Fi AP. Change-Id: I7dd56186b09060bfad920721316b7b8ccb64e844 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-11-17[connman] Add new ScanDone signal for notification to upper layerSaurav Babu1-0/+15
Change-Id: I1c6f5d7a162ef7da9942ae41cdbbf64017b37aab Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-11-17Block AutoConnect when hidden connection is in progressSaurav Babu1-0/+33
Change-Id: Ic57315b49190a8c8f55ff3bc8f5aa006d2a2d915 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-11-17Remove Tizen specific hidden connection logicSaurav Babu1-36/+2
Change-Id: I0f485580bd16234fe371e0cfb153d9f1cc23dbcc Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-11-17[connman] AutoConnect to old service when connection to new service failsSaurav Babu1-0/+1
In the following scenario: 1. Device is connected to AP1. 2. Connection requested initiated with AP2. AP1 gets disconnected and device initiates connection with AP2. If connection with AP2 fails(like invalid key, dhcp-failed error) then device should auto connect to AP1. This patch initiates auto connect to last connected AP's Change-Id: Iad5c4cf50da7a91869994abc133b24d66c99b0bc Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-11-17Fixed connman crash due to memory corruptionsubmit/tizen/20161125.052705accepted/tizen/wearable/20161128.000815accepted/tizen/tv/20161128.000756accepted/tizen/mobile/20161128.000650accepted/tizen/ivi/20161128.000831accepted/tizen/common/20161125.095626Saurav Babu1-1/+1
Change-Id: Ic9416b95f7c070564c8c9956a12932d1122d7734 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-11-17Revert "Change attribute for connmand and set uid/gid into service"submit/tizen/20161117.061227accepted/tizen/wearable/20161117.084156accepted/tizen/tv/20161117.084129accepted/tizen/mobile/20161117.084114accepted/tizen/ivi/20161117.084214accepted/tizen/common/20161117.085403seonah moon1-2/+2
This reverts commit 04bfa23db4a121adcd17c35bb1d9378cebc66b51. Change-Id: I1af9c34aed1496757f20cf1dc0411afc744bc990
2016-11-11Change attribute for connmand and set uid/gid into servicesubmit/tizen/20161114.043131accepted/tizen/wearable/20161114.074444accepted/tizen/tv/20161114.074425accepted/tizen/mobile/20161114.074404accepted/tizen/ivi/20161114.074501accepted/tizen/common/20161114.171550hyunuktak1-2/+2
Change-Id: I7c89d697792aff2521a31d1772e696c19313fc44 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-10-27Added timeserver init/cleanup function to mainsubmit/tizen/20161102.022647accepted/tizen/wearable/20161102.073157accepted/tizen/tv/20161102.073143accepted/tizen/mobile/20161102.073134accepted/tizen/ivi/20161102.073224accepted/tizen/common/20161102.121923hyunuktak1-0/+2
Change-Id: Ib06eabea5bd6813efc1f9f59e8db03380e5604ac Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-10-11Merge "Spec: Add eth0 device as NetworkInterfaceBlacklist in ivi profile." ↵submit/tizen_3.0_common/20161104.104000submit/tizen_3.0/20161028.092423submit/tizen_3.0/20161028.062323submit/tizen/20161011.075122accepted/tizen/wearable/20161011.234313accepted/tizen/tv/20161011.234258accepted/tizen/mobile/20161011.234412accepted/tizen/ivi/20161011.234346accepted/tizen/common/20161011.154420accepted/tizen/3.0/wearable/20161028.150857accepted/tizen/3.0/tv/20161028.143553accepted/tizen/3.0/mobile/20161028.143243accepted/tizen/3.0/ivi/20161028.151403cheoleun moon1-0/+110
into tizen
2016-10-10Spec: Add eth0 device as NetworkInterfaceBlacklist in ivi profile.Sangjung Woo1-0/+110
In order to communicate with Cluster device, this patch set eth0 as NetworkInterfaceBlacklist member in connman configuration. This patch is only applied for ivi profile. Change-Id: If340dda5702973b470a78375370bc43180b2b53a Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
2016-10-10Modify dbus conf file as policyhyunuktak1-1/+0
Change-Id: I7238ffe3c28d499e7561d2b0986c1e51c72d9cbe Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-09-28Revert "Remove Tizen specific hidden connection logic"submit/tizen/20160929.042234accepted/tizen/wearable/20160929.081746accepted/tizen/tv/20160929.081805accepted/tizen/mobile/20160929.081738accepted/tizen/ivi/20160929.081755accepted/tizen/common/20160929.163218taesub kim1-2/+36
This reverts commit 7ace8c778781a6d3e47010843d9bc5c0d337594d. Change-Id: Ia05ae51984781af64d3225ac302bdfb24df37263
2016-09-26Remove Tizen specific hidden connection logicsubmit/tizen/20160928.053415accepted/tizen/wearable/20160929.081029accepted/tizen/tv/20160929.081156accepted/tizen/mobile/20160929.081112accepted/tizen/ivi/20160929.081222accepted/tizen/common/20160928.164122Saurav Babu1-36/+2
Change-Id: I466d0a4d73ade1278211245fbc94ca2fffeb392f Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-09-08Disable the rfkill init/cleansubmit/tizen/20160912.021246accepted/tizen/wearable/20160912.053934accepted/tizen/tv/20160912.053916accepted/tizen/mobile/20160912.053901accepted/tizen/ivi/20160912.053951accepted/tizen/common/20160912.180848taesub.kim1-0/+4
Change-Id: Ifdb6258e566469c179e0a4f1610247e5109e1b21 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2016-09-01Upstream: service: Enable ipconfig only for the changed IP typesubmit/tizen/20160907.012754submit/tizen/20160907.003226accepted/tizen/wearable/20160908.003612accepted/tizen/tv/20160908.003548accepted/tizen/mobile/20160908.003510accepted/tizen/ivi/20160908.003638accepted/tizen/common/20160907.154208Saurav Babu1-6/+10
When IPv6.Configuration is changed to "off" then connman starts fresh DHCP Requests for service after changing its state to Configuration. In an ideal scenario IPv4 Configurations should not be affected on changing IPv6.Configuration property. This patch only enables ipconfig for the changed IP type and leaves other IP type unchanged Change-Id: I65eacb6711314d2674e709711f432ef706167fc4 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-08-19Move log file to /var/logsubmit/tizen/20160822.045932submit/tizen/20160822.012953accepted/tizen/wearable/20160823.041224accepted/tizen/tv/20160823.041158accepted/tizen/mobile/20160823.041100accepted/tizen/ivi/20160823.041250accepted/tizen/common/20160822.132702Jaehyun Kim1-2/+2
Change-Id: I2b304a8557e68dbcd372050c44e68d22341ad0f2
2016-08-10Add socket file to enable DNS proxysubmit/tizen/20160810.093538accepted/tizen/wearable/20160811.003045accepted/tizen/tv/20160811.002724accepted/tizen/mobile/20160811.002737accepted/tizen/ivi/20160811.002744accepted/tizen/common/20160810.161903Seonah Moon1-0/+13
Change-Id: I9e04465f130cfee07678046660ca9292a2385dec Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2016-07-21Merge "Upstream: network: Replace network_change() with ↵taesub kim1-23/+2
__connman_network_disconnect()" into tizen
2016-07-20Set SmackProcessLabel to Systemsubmit/tizen/20160721.003054accepted/tizen/wearable/20160721.091048accepted/tizen/tv/20160721.091334accepted/tizen/mobile/20160721.090519accepted/tizen/ivi/20160721.090802accepted/tizen/common/20160721.175857Yunjin Lee1-0/+1
Change-Id: I233c41596ec8fb4424e18c80e043658f3d510d47 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2016-07-07Upstream: network: Replace network_change() with __connman_network_disconnect()Saurav Babu1-23/+2
The network_change() function called when a network error is set will disconnect a network driver identical to __connman_network_disconnect() but without any error handling. Therefore the specific network_change() function is better replaced with __connman_network_disconnect(). With connman_network_set_error() now calling __connman_network_disconnect(), the additional function call can now be removed from connman_network_set_connected(). Also let the associating and connecting variables be handled by the normal code paths and don't forcefully unset them when an error happens. Commit ID: 7a3740c4c65be7915c36daaac9b1a611fa498a2 Change-Id: I3223a9d13207898aa64e2002912516d5ad64c150 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-07-05Merge "Removed cap for mac override and change the label for connman dir" ↵submit/tizen/20160706.014843accepted/tizen/wearable/20160706.082135accepted/tizen/tv/20160706.082111accepted/tizen/mobile/20160706.082128accepted/tizen/ivi/20160706.082205accepted/tizen/common/20160706.142111cheoleun moon1-0/+1
into tizen
2016-07-05Fixed some issuessubmit/tizen/20160705.082658accepted/tizen/wearable/20160705.101859accepted/tizen/tv/20160705.101845accepted/tizen/mobile/20160705.101933accepted/tizen/ivi/20160705.101849accepted/tizen/common/20160705.170548hyunuktak2-17/+5
Removed to set autoconnect when 4way handshake failed Release passphrase of service when indicate error occurred for invalid key Change-Id: Id748ddcd21ad896f0d8e91ce4711a4c9c0df6d96 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-07-04Removed cap for mac override and change the label for connman dirhyunuktak1-0/+1
Change-Id: I070677e1e3197ec0076483078b7bbdb8fd253023 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-07-01Revert "Removed cap for mac override and change the label for connman dir"submit/tizen_common/20160701.180000submit/tizen/20160701.111546accepted/tizen/wearable/20160701.113007accepted/tizen/tv/20160701.112952accepted/tizen/mobile/20160701.112931accepted/tizen/ivi/20160701.113029accepted/tizen/common/20160701.193121Jaehyun Kim1-1/+0
Change-Id: Ibfa947b0d6d9ae3154bca8774378908cf93c841e
2016-06-30Removed cap for mac override and change the label for connman dirsubmit/tizen/20160630.085420accepted/tizen/wearable/20160701.033342accepted/tizen/tv/20160701.033315accepted/tizen/mobile/20160701.033521accepted/tizen/ivi/20160701.033404accepted/tizen/common/20160630.152147hyunuktak1-0/+1
Change-Id: I5e140d9ec4d3de94a429e97206045407461b59ae Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-06-28Modify to get rsn mode using pairwisesubmit/tizen/20160628.112647accepted/tizen/wearable/20160629.021326accepted/tizen/tv/20160629.021220accepted/tizen/mobile/20160629.021329accepted/tizen/ivi/20160629.021304accepted/tizen/common/20160628.141818hyunuktak1-5/+5
Change-Id: Icb3942835130528c4d61d427ee1891d88cc1ac3b Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-06-22Remove some features and modify service filesubmit/tizen/20160624.012559accepted/tizen/wearable/20160624.064357accepted/tizen/tv/20160624.064037accepted/tizen/mobile/20160624.064052accepted/tizen/ivi/20160624.064339accepted/tizen/common/20160624.132425hyunuktak6-127/+5
Change-Id: Id3697d995e4db5d6f03cdf182825d5f61136e235 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-06-22Fix Svace issue 102125submit/tizen/20160622.070923accepted/tizen/wearable/20160623.121429accepted/tizen/tv/20160623.121406accepted/tizen/mobile/20160623.121353accepted/tizen/ivi/20160623.121441accepted/tizen/common/20160627.191217chleun.moon1-8/+8
Change-Id: If753aeecc7206c4421dcd01d3359b9ae587e0f92 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2016-06-17[SPIN] Apply system socket - onlycap supportsubmit/tizen/20160620.015850accepted/tizen/wearable/20160620.081549accepted/tizen/tv/20160620.081531accepted/tizen/mobile/20160620.081517accepted/tizen/ivi/20160620.081605accepted/tizen/common/20160620.163541Niraj Kumar Goit1-13/+36
Change-Id: Icc887f469e77eea24915c89efcf216aff466fa98 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-17[SPIN] Indicate auth-failed error.Niraj Kumar Goit2-0/+15
desc: In case of wifi connection if Association fail, indicate "auth-failed" error. Change-Id: Ie08088f3e5b5ff940d0e4290814c266d28e59b15 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-17[SPIN] Fix wireless issues in connman.Niraj Kumar Goit1-0/+9
desc: Set connection error when AP is removed. Change ASSOC_RETRY_COUNT(3 -> 4). send the scan request after connecting - check the ap availability fix the too much scan in associating Change-Id: Ia1d0367a2f792f6c2f92a6ef498b37511840135d Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-17[SPIN] Added the connman disconnect reason property.Niraj Kumar Goit3-0/+39
Change-Id: I11fd7baa7d00fa3f3a12bdafda7ff7aa6943d020 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-17[SPIN] Update operating frequency properly.Niraj Kumar Goit1-0/+9
Change-Id: If4ce1cbf1518e1fc93ced32affe98aa05209b307 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-17[SPIN] add keymgmt property for bss.Niraj Kumar Goit2-0/+25
Change-Id: Id436db5828febaabd8273c2e0aab91f9ee9572ff Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-17[SPIN] Fix the connman bugs.Niraj Kumar Goit10-0/+76
- Fixed NTP service's DNS resolving failure in Hive project. - Do not turn "wlan0" interface down in cleanup_devices(). - Set resource limits "RLIMIT_NOFILE" for a process. - After appending a file, fflush and fsync all modified in-core data of the file. Change-Id: I2767b3302d6204d066fe2075027828ff209d0ee0 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] change the ntp update logicNiraj Kumar Goit1-0/+24
desc : add the resolved server list into time_server list. It is only using the first item of timeserver. Not use gateway for ntp server if enabled WLAN_ALWAYS_POWERED. Change-Id: I2f55ade5b7208a7f893516b817d4ff6bffa62a04 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] implement to check blacklist for auto connection.Niraj Kumar Goit3-0/+101
Change-Id: I174b228529374f80b1c4197a310124c028564bb8 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] config: Ignore provision_service for open(none) security.Niraj Kumar Goit1-0/+7
Change-Id: I9f787846f3b1f4b4f147f64821a8b5c25b0367d7 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-15[SPIN] gsupplicant: fix stucking in scanning state when scan failed.Niraj Kumar Goit2-5/+16
- gsupplicant: fix stucking in scanning state when scan failed. - Apply ASLR option. - Add ""TIZEN_WEARABLE"" check in service file. - change the dhcp client device name. - default internet service: fix not cleared if pdp activation failed. - Change Russia cert build feature. - Update the Connman.service.in file. - Remove connection retry when association fail. Change-Id: I3ac8e49d0a3c229b298296f8e7cbf34845c2c90d Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] support ft-psk and ft-eap security type.Niraj Kumar Goit1-0/+6
Change-Id: Idc4ff4294ada3b234dd4af29558c0923b9aff017 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14 [SPIN] config: reset phase2(eap-method) parameter.Niraj Kumar Goit1-0/+4
Change-Id: I7a48419ddcf18c735a609324c0c98510193c63ed Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] set priority for connected service.Niraj Kumar Goit1-1/+26
Change-Id: If32af57fef608cb7fb8a69d2c8ceacc88a86ce98 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] network: enable DHCP failure.Niraj Kumar Goit2-2/+36
When DHCP is failed, most of normal users cannot understand auto-generated IP (IPV4 link local). So set error CONNMAN_NETWORK_ERROR_DHCP_FAIL. Change-Id: Ic80eb0436e41cff3a4bfb11dfef722b3029b0399 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] change the cellular activation logic.Niraj Kumar Goit1-0/+48
desc: with IPv6, current telephony plugin has not proper logic. set state and activation for cellular service logic is changed. it also affects normal cellular service connection. Change-Id: I48f214ceab2f0f7c6e3f8bead185cc8f1fd2a87a Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] Change the API for set system time.Niraj Kumar Goit1-0/+61
Change-Id: Ifea0e8f38383986a091df9930a0308c870750553 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] wifi: enable to reload service profile from storage.Niraj Kumar Goit2-0/+18
Change-Id: Idf19d82d0052f83a69b424536ecfceca65e840cb Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14service: clean up network for EAP in __connman_service_remove.Niraj Kumar Goit1-0/+20
Change-Id: I7fb2f7f0c2bf8cea04a8aecf7b1da69b47698132 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>