profile/ivi/connman.git
11 years agoUpdate changelog for release 69/3369/1 2.0 accepted/2.0/20130422.163130 submit/2.0/20130421.194444
Rusty Lynch [Sun, 21 Apr 2013 19:43:04 +0000 (12:43 -0700)]
Update changelog for release

11 years agoMerge changes I85be0c3d,I7f6e64bb,I7117e03e,Ie33c8d53 into 2.0
Rusty Lynch [Sun, 21 Apr 2013 19:05:34 +0000 (12:05 -0700)]
Merge changes I85be0c3d,I7f6e64bb,I7117e03e,Ie33c8d53 into 2.0

* changes:
  wifi: Fix tethering with kernel 3.5
  tethering: Fix error path in __connman_tethering_set_enabled()
  tethering: Re-add error message about missing bridge functionality
  tethering: Fix bridge module loading problem

11 years agowifi: Fix tethering with kernel 3.5 67/3367/1
Artem Bityutskiy [Thu, 20 Sep 2012 11:53:51 +0000 (14:53 +0300)]
wifi: Fix tethering with kernel 3.5

Commit upstream: 0102a3fb69c0e4ba5504f9ae4fe7d94998813373

Wifi tethering works with kernel 3.4, but not with 3.5. Bisecting
showed that the following kernel patch causes the breakage:
    "3edaf3e mac80211: manage AP netdev carrier state".

Running connman with debugging enabled showed that in case of 3.4
we have the following sequence of RTM_NEWLINK events from the kernel:

1. IFF_UP not set, ifi_change=1
2. IFF_UP,IFF_LOWER_UP, ifi_change=1

which makes connman do the following:

connmand[210]: plugins/wifi.c:wifi_newlink() index 4 flags 4098 change 1
connmand[210]: plugins/wifi.c:wifi_newlink() interface down
connmand[210]: plugins/wifi.c:wifi_newlink() index 4 flags 69635 change 1
connmand[210]: plugins/wifi.c:wifi_newlink() interface up
connmand[210]: plugins/wifi.c:wifi_newlink() carrier on
connmand[210]: plugins/wifi.c:handle_tethering() index 4 bridge tether

However, in 3.5 we have the following sequents of events from the kernel:

1. IFF_UP, ifi_change=1
2. IFF_UP,IFF_LOWER_UP, ifi_change=0

which makes connman do the following:

connmand[493]: plugins/wifi.c:wifi_newlink() index 4 flags 4099 change 1
connmand[493]: plugins/wifi.c:wifi_newlink() interface up
connmand[493]: plugins/wifi.c:wifi_newlink() index 4 flags 69635 change 0

The root-cause for it is that connman handles the "ifi_change" flag
incorrectly. Connman interprets it as "if non-zero, there was some change",
which is wrong. According to RFC 3549, it is "reserved for future use.
Must be set to 0xFFFFFFFF". Thus, just remove that check, which makes
tethering work.

11 years agotethering: Fix error path in __connman_tethering_set_enabled() 66/3366/1
Artem Bityutskiy [Fri, 7 Sep 2012 07:04:40 +0000 (10:04 +0300)]
tethering: Fix error path in __connman_tethering_set_enabled()

Commit upstream: 434d46d978c3d5b99b4856552ee5ab56eb156424

In some cases we did not destroy the bridge and ip pool.

11 years agotethering: Re-add error message about missing bridge functionality 65/3365/1
Artem Bityutskiy [Fri, 7 Sep 2012 06:04:38 +0000 (09:04 +0300)]
tethering: Re-add error message about missing bridge functionality

Commit upstream: 18d852960a02a9939616787043cddea68e92f226

Commit 4fe07df removed an error message about missing bridge functionality.
Return it back.

11 years agotethering: Fix bridge module loading problem 63/3363/1
Artem Bityutskiy [Wed, 5 Sep 2012 14:52:45 +0000 (17:52 +0300)]
tethering: Fix bridge module loading problem

Commit upstream: 4fe07dfed4f720136ee142e56a9d43242c8c78dc

Connman tries to check if bridging is supported by the kernel by checking
whether "/proc/sys/net/bridge" is present. If the bridge is a kernel
module which is not already loaded, then tethering cannot be enabled.

Instead of checking for the file we invoke the "get bridge version" socket
ioctl and the kernel will handle module loading issues - if the bridge
module is not loaded, it will first load it, and then check the version.

11 years agoBranch for 2.0; add MAXIMU_RETRIES patch accepted/2.0/20130325.205008 submit/2.0/20130325.185414
Graydon, Tracy [Mon, 25 Mar 2013 18:53:53 +0000 (11:53 -0700)]
Branch for 2.0; add MAXIMU_RETRIES patch

11 years agoTizen 2.0 Release
HyungKyu Song [Fri, 15 Feb 2013 15:12:17 +0000 (00:12 +0900)]
Tizen 2.0 Release

16 years agoInitial revision
Marcel Holtmann [Sat, 22 Dec 2007 19:47:27 +0000 (20:47 +0100)]
Initial revision