Re: [ipwave] About OCB patch for ath10k driver on linux

Alexandre Petrescu <alexandre.petrescu@gmail.com> Fri, 13 March 2020 09:21 UTC

Return-Path: <alexandre.petrescu@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 291393A1491 for <its@ietfa.amsl.com>; Fri, 13 Mar 2020 02:21:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.67
X-Spam-Level:
X-Spam-Status: No, score=0.67 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 o5TH3l9VW5tY for <its@ietfa.amsl.com>; Fri, 13 Mar 2020 02:21:32 -0700 (PDT)
Received: from sainfoin-smtp-out.extra.cea.fr (sainfoin-smtp-out.extra.cea.fr [132.167.192.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0EE223A1490 for <its@ietf.org>; Fri, 13 Mar 2020 02:21:31 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by sainfoin-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id 02D9LTJa015816 for <its@ietf.org>; Fri, 13 Mar 2020 10:21:29 +0100
Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id D9C3F202B6E for <its@ietf.org>; Fri, 13 Mar 2020 10:21:29 +0100 (CET)
Received: from pisaure by pisaure with queue id 7622037-2 for its@ietf.org; Fri, 13 Mar 2020 09:21:29 GMT
Received: from muguet1-smtp-out.intra.cea.fr (muguet1-smtp-out.intra.cea.fr [132.166.192.12]) by pisaure.intra.cea.fr (Postfix) with ESMTP id C475C202774; Fri, 13 Mar 2020 10:21:29 +0100 (CET)
Received: from [10.8.114.142] ([10.8.114.142]) by muguet1-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id 02D9LK7h014402; Fri, 13 Mar 2020 10:21:23 +0100
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
To: its@ietf.org
Cc: Mariama SARR <mariama.sarr@cea.fr>
References: <e8a25961-5ac9-d35e-77dd-bf86f45cd077@gmail.com> <fb4d8076-11db-d130-898e-036f5a6df0d7@gmail.com> <6221eb05-8466-f811-703a-d86e9e1032c1@gmail.com>
Message-ID: <71f6b707-b21d-be40-e5c5-57b0d9b2e7b7@gmail.com>
Date: Fri, 13 Mar 2020 10:21:19 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <6221eb05-8466-f811-703a-d86e9e1032c1@gmail.com>
Content-Type: multipart/alternative; boundary="------------1249B31C314E7EF021EE61E0"
Content-Language: fr
Archived-At: <https://mailarchive.ietf.org/arch/msg/its/TY-NL85U6Rvv-JRh34ueVjCUwc8>
Subject: Re: [ipwave] About OCB patch for ath10k driver on linux
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, 13 Mar 2020 09:21:35 -0000

I dont know whether the patch files and howto for ath10k were received 
by participants or not.  Some have not; I sent them the files in private.

The patch files might be missing from my email because I think it might 
be that the email system 'mailman' filters (cuts) the attachments.

To avoid that misunderstanding, one should use a repository.

A repository of appropriate profile could be at 
https://its.dot.gov/code/ « ITS Code Hub »

One could try to make an account and upload the files of ath10k to that 
repository, and then publish here the link.

Other questions I have about that dot.gov site is whether or not it 
supports IPv6 access, but that is accessory.  github.com doesnt support 
IPv6 either.

Another question one might raise before putting the files there is about 
that being in a country and not in another country.  At this time I do 
not mind about that, because the technology of this code is to be used 
in any country, like the Internet.

Alex

Le 11/03/2020 à 15:31, Alexandre Petrescu a écrit :
> Hi,
>
> I am looking for support for making the OCB mode for ath10k drivers 
> for linux.
>
> Currently there is no OCB mode for ath10k drivers.
>
> An OCB driver for ath10k driver would open the path towards using 
> 802.11ac in vehicular networks in OCB mode.
>
> We tried to make it work but we have not succeeded fully.
>
> One initial error is this:
>> root@OpenWrt:/# iw dev wlan3 ocb join 5900 10MHz
>> command failed: Invalid argument (-22)
> One initial success is this:
>> Ifconfig wlan3 shows the following output. It shows that the
>> interface is up.
>> wlan3 Link encap:Ethernet HWaddr 04:F0:21:54:42:D7
>> UP BROADCAST MULTICAST MTU:1500 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
>
> We developped the premisses of a OCB patch for ath10k, and a howto. 
> They are attached to this email.
>
> We have several additional binary firmwares for the card, that could 
> be found on the web too. We have an ath9k patch that is minimal.  Also 
> a few additional explanatory files.  All attached.
>
> We have one cheap 802.11ac minipci card Compex WLE900VX from Amazon.  
> We could send it by post to an interested person, if that's not too 
> expensive, or maybe pass it during a f2f meeting, or via somebody.  
> This is common practice.
>
> The person who realized this OCB package for ath10k deserves many 
> thanks - Mariama SARR.  And earlier persons who produced initial works 
> on ath5k and ath9k.
>
> Alex
>
> Le 18/12/2019 à 11:38, Alexandre Petrescu a écrit :
>> Hi, IPWAVErs,
>>
>> I would like to know whether someone else works on an OCB patch for
>> ath10k?
>>
>> We work on a patch file for OCB mode for ath10k driver for linux.
>>
>> An OCB patch for ath10k would allow to get more bandwidth.  One could
>>  get more bandwidth than the 16mbit/s of 802.11p by linking two to
>> five channels even with just an ath9k driver (for which exist OCB
>> patches). But with ath10k there might be other advantages and even
>> higher bandwidth.
>>
>> An OCB patch for ath10k driver does not exist in the Internet.
>>
>> We do not post yet our patch file because it does not work yet, and
>> we do not want to vehiculate false hopes.  But I will post it end of
>> March 2020 at latest, at the end of the project.
>>
>> The card we use is "PC ngines WL900VX - 802.11ac miniPCI Xpress
>> Radio" for 35,46Eur on Amazon.  It is Made in China.  It has three
>> antenna plugs.
>>
>> The status of working is: we can add OCB mode and and configure the
>> card in OCB mode.  Still there is an error "command failed (invalid
>> argument (-22)" when the iw command is issued.
>>
>> Our current patch file is 910 lines long and touches on many files,
>> such as mac.c in folder 
>> openwrt-08112019/build_dir/target-arm_cortex-a9+neon_musl-1.1.12_eabi/linux-imx6/linux-4.4/drivers/net/wireless/ath/ath10k,
>>  and others.
>>
>> Alex
>>
>> _______________________________________________ its mailing list 
>> its@ietf.org https://www.ietf.org/mailman/listinfo/its