AW: wcn36xx wireless driver
Rummelhagen, Mirko
Mirko.Rummelhagen at berner-mattner.com
Wed Jan 29 05:16:58 EST 2014
Hi Shoham,
now I can confirm an working Ad-Hoc Network between 3 Makos.
If you want to try it you can follow the instructions here: http://wireless.kernel.org/en/users/Drivers/wcn36xx
Then you have to apply the same changes chunyeow applied to mesh mode here: https://github.com/KrasnikovEugene/wcn36xx/pull/124 to ibss mode, too. Otherwise the Beaconing won't work and the makos will not be able to connect to the same cell.
You can get iw for example here: https://github.com/imlinhao/android-iw-libnl3
Then, for example, you can get your Ad-Hoc Network set up like this:
iw wlan0 set type ibss
ip a add <ip>/<netmask> dev wlan0
netcfg wlan0 up
iw wlan0 ibss join <adhoc_name> <frequency>
I tried pinging, as well as sending and receiving broadcast packets.
Kind Regards
Mirko
-----Ursprüngliche Nachricht-----
Von: Eugene Krasnikov [mailto:k.eugene.e at gmail.com]
Gesendet: Dienstag, 28. Januar 2014 16:36
An: Rummelhagen, Mirko
Cc: Shoham Arbel; wcn36xx
Betreff: Re: wcn36xx wireless driver
Hi Mirko,
Have you tried beaconning with this patch set?
https://github.com/KrasnikovEugene/wcn36xx/pull/124
According to the chunyeow beaconning is working for him with this patch set in mesh mode.
2014-01-28 Rummelhagen, Mirko <Mirko.Rummelhagen at berner-mattner.com>:
> Hi Arbel Shoham,
>
> an "Ad-Hoc" Network between 2 Nexus mako is not a big Problem at all. I managed to connect 2 makos with the help of iwconfig. I loaded the libhardware_legacy.so (void *h = dlopen("/system/lib/libhardware_legacy.so",RTLD_LAZY); ) and configured the network in a binary with ifconfig and iwconfig. I am not sure, if it is necessary to load the lib... The ad-hoc network works with CM as well as the stock rom.
> The only problem: in the standard drivers the ad-hoc mode (iwconfig wlan0 mode ad-hoc) seems to be not an real Ad-hoc mode. So if you have more than two makos, there will only be a bidirectional communication between two of them. However, if you connect an pc to the ad-hoc network, the pc can send to all 3 makos at once.
>
> I am trying to connect 3 makos using the wcn36xx drivers but so far no luck. I get all makos in the same cell, but receiving packets or pinging does not work right now.
>
> @Eugene: Do you know if the beaconing problem is fixed? In your git is marked as merged, but my makos do not seem to send beacons in ibss mode. Also mesh seems to be not supported, if I try setting the type to mp. So how do you set up a mesh node?
>
> Mirko
>
> -----Ursprüngliche Nachricht-----
> Von: wcn36xx [mailto:wcn36xx-bounces at lists.infradead.org] Im Auftrag
> von Eugene Krasnikov
> Gesendet: Dienstag, 28. Januar 2014 15:26
> An: Shoham Arbel
> Cc: wcn36xx
> Betreff: Re: wcn36xx wireless driver
>
> Hi Arbel Shoham,
>
> ad-hoc/mesh were working with wcn36xx but probably not all features.
>
> 2014-01-28 Shoham Arbel <Arbel.Shoham at elbitsystems.com>:
>> Hello Eugene,
>>
>> I am trying to connect two Nexus 4 (mako) devices to each other using
>> wifi ad-hoc,
>>
>> I have flashed CyanogenMod 10.1 but still had no success connecting
>> them,
>>
>> I am thinking of changing to the wcn36xx driver, did you have any
>> success connecting to ad-hoc networks with a Nexus 4 using the driver?
>>
>> Thank you,
>>
>>
>>
>> Arbel Shoham
>>
>>
>> The information in this e-mail transmission contains proprietary and
>> business sensitive information. Unauthorized interception of this
>> e-mail may constitute a violation of law. If you are not the intended
>> recipient, you are hereby notified that any review, dissemination,
>> distribution or duplication of this communication is strictly
>> prohibited. You are also asked to contact the sender by reply email
>> and immediately destroy all copies of the original message.
>
>
>
> --
> Best regards,
> Eugene
>
> _______________________________________________
> wcn36xx mailing list
> wcn36xx at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/wcn36xx
--
Best regards,
Eugene
More information about the wcn36xx
mailing list