From patchwork Mon Dec 18 14:00:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Bj=C3=B8rn_Mork?= X-Patchwork-Id: 850080 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rAsJ8GLX"; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=mork.no header.i=@mork.no header.b="bAgf+vwM"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z0jyH0cZxz9s7m for ; Tue, 19 Dec 2017 01:26:15 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=RSgDCbZNYXtNOaRBDU3p4w86tQuP8yFGCVGTM7+uwu4=; b=rAsJ8GLX9NZe1b 0Zn7/PBgoePpWZPccdYzNR5jmw/WgsUtBjWvoFFTYUhkzczeA+O8LJAJWGNqdlvb/oO3A9PIslNZn JhBvtO60TMyZ6DBj0viyzMYABm43MYWat1DAe9003VQxeKVhIMdG4F4J8EuXpulPE5X8e7C8MhL5C 0U4VA36d9YSxCMbv3ZNt/yjDp1rzvSAiW9tzKXp3mkdTC1wfjENIVxe0GuQZvPMaGcZqzGJzBjcxh eRaFX3zydl6kIa3D9QzbmBhcAY99KWeFNeSjSntzT7iCs7J02xG9QhXrQDVhG5bBQE3XEChEOv+G4 JmMCLl63OAqcKAxZw2KQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eQwMj-0006Nl-Oc; Mon, 18 Dec 2017 14:26:01 +0000 Received: from canardo.mork.no ([2001:4641::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eQwLm-0004hF-Si for lede-dev@lists.infradead.org; Mon, 18 Dec 2017 14:25:05 +0000 Received: from miraculix.mork.no ([IPv6:2a02:2121:280:af8e:a0c6:9dff:fee9:c413]) (authenticated bits=0) by canardo.mork.no (8.15.2/8.15.2) with ESMTPSA id vBIEOmRu006325 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 18 Dec 2017 15:24:50 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1513607090; bh=4IaWiIhM/9wP10LL0KQUURUXEmkqUX7shfNuu/mwHIs=; h=From:To:Cc:Subject:Date:Message-Id:From; b=bAgf+vwM9wN4/oHewLolK87k6dYOiLIHvVHGnJKzI/Yyk+cPOSZevMVFZmQuHceqy iQJ9rUtTStS3F23phWC8yoY+36NMmTYKVtodQD5Rj+HThFFRuKMiXK3d/YebztVhXs /hWGYfX1mbHY6JEOPyaQiIg8k4rs5RsFKXauU7s4= Received: from bjorn by miraculix.mork.no with local (Exim 4.89) (envelope-from ) id 1eQvyc-00031G-Hg; Mon, 18 Dec 2017 15:01:06 +0100 From: =?utf-8?q?Bj=C3=B8rn_Mork?= To: Felix Fietkau Date: Mon, 18 Dec 2017 15:00:53 +0100 Message-Id: <20171218140056.11551-1-bjorn@mork.no> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at canardo X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171218_062503_441529_614ECEC7 X-CRM114-Status: UNSURE ( 7.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.3 (----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-4.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [2001:4641:0:0:0:0:0:1 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Subject: [LEDE-DEV] [PATCH 0/3] usb-modeswitch: adding new modes supporting new config format X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lede-dev@lists.infradead.org, Jo-Philipp Wich , =?utf-8?q?Bj=C3=B8rn_Mork?= Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The usb_modeswitch application is continously updated with new modes, and it's configuration data is updated accordingly by replacing explicit switching messages with references to these new modes. This has caused regressions in the OpenWrt usb-modeswitch package when the configuration data was updated without adding support for the new modes first. Explicit switching messages for existing devices have been replaced with new mode references, which the OpenWrt parser failed to understand. This series is an attempt to add support for all the missing modes. I'm not sure about the Pantech support, as it complicates stuff quite a bit for little gain AFAICS. But it's there if you want it. This is build tested only. I dont' own any of the affected modems. Bjørn Mork (3): fix support for Option modems support Quanta and Blackberry modes support PantechMode convert-modeswitch.pl | 12 ++++++++++++ switch.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+)