Re: [ipwave] Patching Linux Kernel with OCB

Nabil Benamar <benamar73@gmail.com> Fri, 21 June 2019 11:41 UTC

Return-Path: <benamar73@gmail.com>
X-Original-To: its@ietfa.amsl.com
Delivered-To: its@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BDFAC120229 for <its@ietfa.amsl.com>; Fri, 21 Jun 2019 04:41:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.747
X-Spam-Level:
X-Spam-Status: No, score=-1.747 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zSQG5CltNTUX for <its@ietfa.amsl.com>; Fri, 21 Jun 2019 04:41:43 -0700 (PDT)
Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C34B1200D8 for <its@ietf.org>; Fri, 21 Jun 2019 04:41:42 -0700 (PDT)
Received: by mail-lj1-x22b.google.com with SMTP id i21so5679253ljj.3 for <its@ietf.org>; Fri, 21 Jun 2019 04:41:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dgBtRQQ3+90xTHB023XlcOn3f1JsqSSt5NEBlFWq0rk=; b=iujL4jsQ6si4ZU5KI5it0hcSoBpYlQIpKKsxAd0Gtmcj02DHqIztLX44CaV9PQbAqW bBRWTdFFT8vRIHyMu5sRCrCN1EcFyULxh8nQ7jK5loRXAp2FUmwgRBpHrVyOIYqMKSug G2IKsWUV8+lF3Kx6WDAKyGP+Y0ao9M/WIlM2hH7ZuuFzI23Ujb2avBVRdcjEzAjOyr0f iFw+X8sUaPF82p7UadZ/5K8M0U4H3Lzbwc6TOgrWerV7Ds8/JqNDpgmYr+fO0s9ethCT zKgEKKmyQZ5IVSjDFPMQagMbIsIzFCQEXxmhtNStwXvHY1y/RXWS0vbGS1VASY5k2VIk K3aw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dgBtRQQ3+90xTHB023XlcOn3f1JsqSSt5NEBlFWq0rk=; b=StrjQQ/7eViG2yD9r9AZjShhPMFjCNgPEtdvPa8S8eQJ0liSWUDiicX/WvH1iQbXCa ZNXiZbQyerSdJ+palVgbZTCBBd3Yn3wnm+CmvQUkn6Kopct0HRgX0zekrcAZzW2ouyk4 ZjmIpsHSYFxknE0FgnuDrRQUVhHLp9hN/RKl4l9HcHwmaozwx35ahcZYGF55V54FPMTX 4/MjneaITASjbDO/XH+EprmM2eJ6IPM2rlMz2Qa3wkjQZ/Lbd4MowF3ANv2BE8HeBHwl sNgOqqa9iowDJKF5vb7NGCOKEYxVHL9cLAZqa4wH8P7Pzked6TjIYWvV9eqbtEpU6igy T97A==
X-Gm-Message-State: APjAAAX/ET7bdJIrR9mLO1fKtVUQoRRUL/Qn6b8gz32oT2ylNpO9Ybne 3mwA653GcC1Pza4jo+QM/bT8LbndNnCxAva45CM=
X-Google-Smtp-Source: APXvYqwxHOU/uFPAEd2eymvapvl9/wq44rxoBKVqI53ReLNyxg1omuWAYWjnrFew85jJ0tBu53KQNT1dBjEQkqxh9OY=
X-Received: by 2002:a05:651c:150:: with SMTP id c16mr30822747ljd.193.1561117300215; Fri, 21 Jun 2019 04:41:40 -0700 (PDT)
MIME-Version: 1.0
References: <CAM9JMHPbfhNgvDgJP3kMj7VG2DRGa6-t1bbfSrqHeGH62kW1Zg@mail.gmail.com> <d592be28-1160-eeef-7239-2878c35bc2a1@gmail.com>
In-Reply-To: <d592be28-1160-eeef-7239-2878c35bc2a1@gmail.com>
From: Nabil Benamar <benamar73@gmail.com>
Date: Fri, 21 Jun 2019 14:41:35 +0300
Message-ID: <CAMugd_UzXo_1Usu8k7jR0TjbSEMSnprAFcD4R7Lz8Hwx1g7rqA@mail.gmail.com>
To: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Cc: its@ietf.org
Content-Type: multipart/alternative; boundary="00000000000021d2dc058bd3f27a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/its/Kwdi2sYFLdx0pfqLFyWBPX0OJMg>
Subject: Re: [ipwave] Patching Linux Kernel with OCB
X-BeenThere: its@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IPWAVE - IP Wireless Access in Vehicular Environments WG at IETF <its.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/its>, <mailto:its-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/its/>
List-Post: <mailto:its@ietf.org>
List-Help: <mailto:its-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/its>, <mailto:its-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Jun 2019 11:41:45 -0000

Hi Alex,

Thank you for your comments.
This is exactly what the hackathon participants put in future work!

2 days were not enough to build the testbed and test different drivers and
parameters...

On Fri, Jun 21, 2019, 14:01 Alexandre Petrescu <alexandre.petrescu@gmail.com>
wrote:

> Hello Mr. Seur,
>
> I would like to ask you whether you can apply that patch to ath10k also?
> (instead of ath9k).
>
> If you do, you risk being the first to achieve 1Gbps on OCB, hopefully
> with IPv6.
>
> Alex
>
> Le 20/06/2019 à 15:25, John Seur a écrit :
> > Hello IPWavers,
> >
> > During the Hackathon@AIS2019
> > (https://hackathon.internetsummitafrica.org/), the team in IPWave track
> > (led by Nabil Benamar) was patching the Linux kernel 4.9.61 with OCB
> > mode and discovered the following bugs in the patch file
> > (https://drive.google.com/file/d/0BxK6WTQZ97QVWF9tRURjOGhBU2c/view).
> >    drivers/net/wireless/ath/ath9k/main.c:961:2: error: duplicate case
> value
> >    case NL80211_IFTYPE_OCB:
> >    drivers/net/wireless/ath/ath9k/hw.c:1241:2: error: duplicate case
> value
> >    case NL80211_IFTYPE_OCB:
> >
> > The duplicated lines of code were commented out and the patch file works!
> >
> > _______________________________________________
> > its mailing list
> > its@ietf.org
> > https://www.ietf.org/mailman/listinfo/its
> >
>
> _______________________________________________
> its mailing list
> its@ietf.org
> https://www.ietf.org/mailman/listinfo/its
>