[MM] [PATCH] novatel-lte: retry $NWQMISTATUS check upon error during disconnect

2013-01-30 Thread Ben Chan
$NWQMISTATUS sometimes returns 'ERROR'. This patch modifies the Novatel LTE plugin to retry $NWQMISTATUS (up to 5 times) to determine if the disconnect operation succeeds. It also changes the plugin to assume that the disconnect operation succeeds if $NWQMISTATUS fails to report the current

[PATCH 0/3] Add IBSS RSN support

2013-01-30 Thread Stanislaw Gruszka
This is repost of Nicolas Cavallari patches originally posted on August 2012: https://mail.gnome.org/archives/networkmanager-list/2012-August/msg00047.html I rebased patches on top of current sources and tested. NM connected to RSN IBSS network created by wpa_supplicant on different machine.

[PATCH 1/3] Revert wifi: disable Ad-Hoc WPA connections (lp:905748)

2013-01-30 Thread Stanislaw Gruszka
From: Nicolas Cavallari caval...@lri.fr From: Nicolas Cavallari caval...@lri.fr This reverts commit 69247a00eacd00617acbf1dfcee8497437b8ad39, which disabled all security in Ad-Hoc networks, due to a bug of wpa_supplicant that only affected WPA-None. --- libnm-util/nm-utils.c | 4

[PATCH 3/3 applet] Allow to create and connect to Ad-Hoc RSN networks.

2013-01-30 Thread Stanislaw Gruszka
From: Nicolas Cavallari caval...@lri.fr From: Nicolas Cavallari caval...@lri.fr This follows changes to Network Manager, which now supports WPA2/RSN in Ad-Hoc/IBSS mode. --- src/applet-dialogs.c | 2 -- src/connection-editor/page-wifi-security.c | 9 ++---

[PATCH 2/3] Replace Ad-Hoc WPA-None support with IBSS RSN-PSK.

2013-01-30 Thread Stanislaw Gruszka
From: Nicolas Cavallari caval...@lri.fr From: Nicolas Cavallari caval...@lri.fr This completely removes Ad-Hoc WPA-None support, as it is not supported by the linux kernel since a long time, have never been standardized and other vendors already removed support for it since a long time. The

[MM] [PATCH] novatel-lte: use +CFUN=4 for power down

2013-01-30 Thread Ben Chan
--- plugins/novatel/mm-broadband-modem-novatel-lte.c | 26 1 file changed, 26 insertions(+) diff --git a/plugins/novatel/mm-broadband-modem-novatel-lte.c b/plugins/novatel/mm-broadband-modem-novatel-lte.c index d32c397..9a21c4b 100644 ---

[MM] [PATCH] iface-modem: add a missing step increment in interface_initialization_step

2013-01-30 Thread Ben Chan
--- src/mm-iface-modem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c index 10144aa..722664c 100644 --- a/src/mm-iface-modem.c +++ b/src/mm-iface-modem.c @@ -3979,6 +3979,8 @@ interface_initialization_step (InitializationContext *ctx)

Re: [MM] [PATCH] novatel-lte: use +CFUN=4 for power down

2013-01-30 Thread Aleksander Morgado
On 30/01/13 21:21, Ben Chan wrote: --- plugins/novatel/mm-broadband-modem-novatel-lte.c | 26 1 file changed, 26 insertions(+) Pushed, thanks. -- Aleksander ___ networkmanager-list mailing list

Re: [MM] [PATCH] novatel-lte: retry $NWQMISTATUS check upon error during disconnect

2013-01-30 Thread Aleksander Morgado
On 30/01/13 10:07, Ben Chan wrote: $NWQMISTATUS sometimes returns 'ERROR'. This patch modifies the Novatel LTE plugin to retry $NWQMISTATUS (up to 5 times) to determine if the disconnect operation succeeds. It also changes the plugin to assume that the disconnect operation succeeds if

Re: [MM] [PATCH] iface-modem: add a missing step increment in interface_initialization_step

2013-01-30 Thread Aleksander Morgado
On 30/01/13 21:32, Ben Chan wrote: --- src/mm-iface-modem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c index 10144aa..722664c 100644 --- a/src/mm-iface-modem.c +++ b/src/mm-iface-modem.c @@ -3979,6 +3979,8 @@