All of lore.kernel.org
 help / color / mirror / Atom feed
* Fwd: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC
@ 2016-07-07  0:36 Nestor Machno
  2016-07-08  9:15 ` Amitkumar Karwar
  0 siblings, 1 reply; 7+ messages in thread
From: Nestor Machno @ 2016-07-07  0:36 UTC (permalink / raw)
  To: linux-wireless

Hi All,
Amitkumar, can you confirm if this this is a bug or today is fixed?

Vincent, I had also faced similar issue on Surface Pro 2 with
backports from 4.1... So here few question:

* I saw in 1st post that you where working to make work the
wpa_supplicant with mixed configuration for adhoc (wpa-none +
wpa-ibss), but also in recent post that you focus mostly on debugging
wpa-ibss. I suggest to focus your test on one wpa mode and I think
wpa-none better because it's easier..
* Why you are not testing the latest backport from upstream kernel? as
you can know Marvell is focus most to fix open issue on current stable
release, I saw from commit that recently they fix something about WPA
on mixflex, see
https://backports.wiki.kernel.org/index.php/Documentation/compat-drivers/hacking
* Would be good information to know if you tested also on backport
3.x, did you?  I know mwifiex's WPA stack changed a lot from 3.x
kernel.
* To support you more, could you enable debug info and provide full
log of your setup? .config? patch? anything else?
* Can you share us your hacked backport?
* Lat question Vincent, are you working for AIRBUS, ACTIA or THALES ?  :)

Best Regards
Nestor

On Mon, Jun 13, 2016 at 7:42 AM, Vincent CESSON <vincent.cesson@smile.fr> wrote:
> Hi Amitkumar,
>
> Here are the wpa_supplicant logs (with CONFIG_IBSS_RSN=y enabled) from the
> two devices. Beside wpa_supplicant, I manually set IPs 192.168.1.xy with
> command "ifconfig mlan0 192.168.1.xy" and then I try to ping each other,
> without success.
>
> Vincent

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC
  2016-07-07  0:36 Fwd: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC Nestor Machno
@ 2016-07-08  9:15 ` Amitkumar Karwar
  2016-07-20 13:23   ` Luana Borgia
  0 siblings, 1 reply; 7+ messages in thread
From: Amitkumar Karwar @ 2016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iBUbyBzdXBwb3J0IHlvdSBtb3JlLCBjb3VsZCB5b3UgZW5hYmxlIGRlYnVnIGluZm8gYW5k
IHByb3ZpZGUgZnVsbCBsb2cNCj4gb2YgeW91ciBzZXR1cD8gLmNvbmZpZz8gcGF0Y2g/IGFueXRo
aW5nIGVsc2U/DQo+ICogQ2FuIHlvdSBzaGFyZSB1cyB5b3VyIGhhY2tlZCBiYWNrcG9ydD8NCj4g
KiBMYXQgcXVlc3Rpb24gVmluY2VudCwgYXJlIHlvdSB3b3JraW5nIGZvciBBSVJCVVMsIEFDVElB
IG9yIFRIQUxFUyA/DQo+IDopDQo+IA0KPiBCZXN0IFJlZ2FyZHMNCj4gTmVzdG9yDQo+IA0KPiBP
biBNb24sIEp1biAxMywgMjAxNiBhdCA3OjQyIEFNLCBWaW5jZW50IENFU1NPTg0KPiA8dmluY2Vu
dC5jZXNzb25Ac21pbGUuZnI+IHdyb3RlOg0KPiA+IEhpIEFtaXRrdW1hciwNCj4gPg0KPiA+IEhl
cmUgYXJlIHRoZSB3cGFfc3VwcGxpY2FudCBsb2dzICh3aXRoIENPTkZJR19JQlNTX1JTTj15IGVu
YWJsZWQpIGZyb20NCj4gPiB0aGUgdHdvIGRldmljZXMuIEJlc2lkZSB3cGFfc3VwcGxpY2FudCwg
SSBtYW51YWxseSBzZXQgSVBzDQo+ID4gMTkyLjE2OC4xLnh5IHdpdGggY29tbWFuZCAiaWZjb25m
aWcgbWxhbjAgMTkyLjE2OC4xLnh5IiBhbmQgdGhlbiBJIHRyeQ0KPiA+IHRvIHBpbmcgZWFjaCBv
dGhlciwgd2l0aG91dCBzdWNjZXNzLg0KPiA+DQoNClJlZ2FyZHMsDQpBbWl0a3VtYXINCg==

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC
  2016-07-08  9:15 ` Amitkumar Karwar
@ 2016-07-20 13:23   ` Luana Borgia
  2016-07-21  8:30     ` Nestor Machno
  2016-07-21  9:05     ` Amitkumar Karwar
  0 siblings, 2 replies; 7+ messages in thread
From: Luana Borgia @ 2016-07-20 13:23 UTC (permalink / raw)
  To: Amitkumar Karwar; +Cc: Nestor Machno, linux-wireless

Hi Amitkumar,
any news about this issue? I've the same problem also..

Security a part, we can't leave the WIFI open or just with WEP because
we get too many not trusted connection that consume a lot of our
bandwidth

Thanks, regards
Luana

2016-07-08 11:15 GMT+02:00 Amitkumar Karwar <akarwar@marvell.com>:
>> From: linux-wireless-owner@vger.kernel.org [mailto:linux-wireless-
>> owner@vger.kernel.org] On Behalf Of Nestor Machno
>> Sent: Thursday, July 07, 2016 6:07 AM
>> To: linux-wireless@vger.kernel.org
>> Subject: Fwd: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC
>>
>> Hi All,
>> Amitkumar, can you confirm if this this is a bug or today is fixed?
>
> Yes. This is a bug in our firmware. ADHOC in WPA/WPA2 security is broken. We have asked firmware experts to look into this. As we have a mid-year shutdown this week, they will be able to check the problem next week only. However ADHOC in open mode should work as expected
>
>>
>> Vincent, I had also faced similar issue on Surface Pro 2 with backports
>> from 4.1... So here few question:
>>
>> * I saw in 1st post that you where working to make work the
>> wpa_supplicant with mixed configuration for adhoc (wpa-none + wpa-ibss),
>> but also in recent post that you focus mostly on debugging wpa-ibss. I
>> suggest to focus your test on one wpa mode and I think wpa-none better
>> because it's easier..
>> * Why you are not testing the latest backport from upstream kernel? as
>> you can know Marvell is focus most to fix open issue on current stable
>> release, I saw from commit that recently they fix something about WPA on
>> mixflex, see
>> https://backports.wiki.kernel.org/index.php/Documentation/compat-
>> drivers/hacking
>> * Would be good information to know if you tested also on backport 3.x,
>> did you?  I know mwifiex's WPA stack changed a lot from 3.x kernel.
>> * To support you more, could you enable debug info and provide full log
>> of your setup? .config? patch? anything else?
>> * Can you share us your hacked backport?
>> * Lat question Vincent, are you working for AIRBUS, ACTIA or THALES ?
>> :)
>>
>> Best Regards
>> Nestor
>>
>> On Mon, Jun 13, 2016 at 7:42 AM, Vincent CESSON
>> <vincent.cesson@smile.fr> wrote:
>> > Hi Amitkumar,
>> >
>> > Here are the wpa_supplicant logs (with CONFIG_IBSS_RSN=y enabled) from
>> > the two devices. Beside wpa_supplicant, I manually set IPs
>> > 192.168.1.xy with command "ifconfig mlan0 192.168.1.xy" and then I try
>> > to ping each other, without success.
>> >
>
> Regards,
> Amitkumar

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC
  2016-07-20 13:23   ` Luana Borgia
@ 2016-07-21  8:30     ` Nestor Machno
  2016-07-21  9:05     ` Amitkumar Karwar
  1 sibling, 0 replies; 7+ messages in thread
From: Nestor Machno @ 2016-07-21  8:30 UTC (permalink / raw)
  To: Luana Borgia, Amitkumar Karwar; +Cc: linux-wireless

Luana,
as confirmed by Marvell this is a firmware issue and the firmware is
not free/open so only Marvell is able to fix it.
At the moment the latest firmware available is still the 15.68.7.p5, aka p5.
http://git.marvell.com/?p=mwifiex-firmware.git;a=tree;f=mrvl;hb=HEAD
Unfortunately in this case the community can't give you support..

Regards
Nestor

2016-07-20 15:23 GMT+02:00 Luana Borgia <luanaborgia1969@gmail.com>:
> Hi Amitkumar,
> any news about this issue? I've the same problem also..
>
> Security a part, we can't leave the WIFI open or just with WEP because
> we get too many not trusted connection that consume a lot of our
> bandwidth
>
> Thanks, regards
> Luana
>
> 2016-07-08 11:15 GMT+02:00 Amitkumar Karwar <akarwar@marvell.com>:

>> Yes. This is a bug in our firmware. ADHOC in WPA/WPA2 security is broken. We have asked firmware experts to look into this. As we have a mid-year shutdown this week, they will be able to check the problem next week only. However ADHOC in open mode should work as expected
>>
>>
>> Regards,
>> Amitkumar

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC
  2016-07-20 13:23   ` Luana Borgia
  2016-07-21  8:30     ` Nestor Machno
@ 2016-07-21  9:05     ` Amitkumar Karwar
  2016-07-21 12:34       ` Luana Borgia
  1 sibling, 1 reply; 7+ messages in thread
From: Amitkumar Karwar @ 2016-07-21  9:05 UTC (permalink / raw)
  To: Luana Borgia; +Cc: Nestor Machno, linux-wireless

SGkgTHVhbmEsDQoNCj4gRnJvbTogTHVhbmEgQm9yZ2lhIFttYWlsdG86bHVhbmFib3JnaWExOTY5
QGdtYWlsLmNvbV0NCj4gU2VudDogV2VkbmVzZGF5LCBKdWx5IDIwLCAyMDE2IDY6NTMgUE0NCj4g
VG86IEFtaXRrdW1hciBLYXJ3YXINCj4gQ2M6IE5lc3RvciBNYWNobm87IGxpbnV4LXdpcmVsZXNz
QHZnZXIua2VybmVsLm9yZw0KPiBTdWJqZWN0OiBSZTogbXdpZmlleCt3cGFfc3VwcGxpY2FudCBj
YW5ub3Qgc2V0IHVwIFdQQS9XUEEyIEFESE9DDQo+IA0KPiBIaSBBbWl0a3VtYXIsDQo+IGFueSBu
ZXdzIGFib3V0IHRoaXMgaXNzdWU/IEkndmUgdGhlIHNhbWUgcHJvYmxlbSBhbHNvLi4NCj4gDQo+
IFNlY3VyaXR5IGEgcGFydCwgd2UgY2FuJ3QgbGVhdmUgdGhlIFdJRkkgb3BlbiBvciBqdXN0IHdp
dGggV0VQIGJlY2F1c2UNCj4gd2UgZ2V0IHRvbyBtYW55IG5vdCB0cnVzdGVkIGNvbm5lY3Rpb24g
dGhhdCBjb25zdW1lIGEgbG90IG9mIG91cg0KPiBiYW5kd2lkdGgNCj4gDQoNCldlIGFyZSBzdGls
bCB3b3JraW5nIG9uIHRoaXMuIFdpdGggc29tZSBkcml2ZXIgY2hhbmdlcywgd2UgYXJlIGFibGUg
dG8gUlNOIElFIGluIHRyYW5zbWl0dGVkIGZyYW1lcywgYnV0IDQgd2F5IGhhbmRzaGFrZSBkb2Vz
bid0IG9jY3VyLg0KDQpSZWdhcmRzLA0KQW1pdGt1bWFyDQo=

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC
  2016-07-21  9:05     ` Amitkumar Karwar
@ 2016-07-21 12:34       ` Luana Borgia
  2016-07-21 15:22         ` Amitkumar Karwar
  0 siblings, 1 reply; 7+ messages in thread
From: Luana Borgia @ 2016-07-21 12:34 UTC (permalink / raw)
  To: Amitkumar Karwar; +Cc: Nestor Machno, linux-wireless

Hi Amitkumar,
if I understood correctly you are working to solve the issue related
to ibss-rsn (wpa2 in adhoc), I'm I right?
What about the alternative WPA mechanism with wpa-none instead? Fix it
shouldn't be simpler than RSN?

Thanks for update and
best regards.
Luana

2016-07-21 11:05 GMT+02:00 Amitkumar Karwar <akarwar@marvell.com>:
> Hi Luana,
>
>> From: Luana Borgia [mailto:luanaborgia1969@gmail.com]
>> Sent: Wednesday, July 20, 2016 6:53 PM
>> To: Amitkumar Karwar
>> Cc: Nestor Machno; linux-wireless@vger.kernel.org
>> Subject: Re: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC
>>
>> Hi Amitkumar,
>> any news about this issue? I've the same problem also..
>>
>> Security a part, we can't leave the WIFI open or just with WEP because
>> we get too many not trusted connection that consume a lot of our
>> bandwidth
>>
>
> We are still working on this. With some driver changes, we are able to RSN IE in transmitted frames, but 4 way handshake doesn't occur.
>
> Regards,
> Amitkumar

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC
  2016-07-21 12:34       ` Luana Borgia
@ 2016-07-21 15:22         ` Amitkumar Karwar
  0 siblings, 0 replies; 7+ messages in thread
From: Amitkumar Karwar @ 2016-07-21 15:22 UTC (permalink / raw)
  To: Luana Borgia; +Cc: Nestor Machno, linux-wireless

PiBGcm9tOiBMdWFuYSBCb3JnaWEgW21haWx0bzpsdWFuYWJvcmdpYTE5NjlAZ21haWwuY29tXQ0K
PiBTZW50OiBUaHVyc2RheSwgSnVseSAyMSwgMjAxNiA2OjA1IFBNDQo+IFRvOiBBbWl0a3VtYXIg
S2Fyd2FyDQo+IENjOiBOZXN0b3IgTWFjaG5vOyBsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5v
cmcNCj4gU3ViamVjdDogUmU6IG13aWZpZXgrd3BhX3N1cHBsaWNhbnQgY2Fubm90IHNldCB1cCBX
UEEvV1BBMiBBREhPQw0KPiANCj4gSGkgQW1pdGt1bWFyLA0KPiBpZiBJIHVuZGVyc3Rvb2QgY29y
cmVjdGx5IHlvdSBhcmUgd29ya2luZyB0byBzb2x2ZSB0aGUgaXNzdWUgcmVsYXRlZCB0bw0KPiBp
YnNzLXJzbiAod3BhMiBpbiBhZGhvYyksIEknbSBJIHJpZ2h0Pw0KPiBXaGF0IGFib3V0IHRoZSBh
bHRlcm5hdGl2ZSBXUEEgbWVjaGFuaXNtIHdpdGggd3BhLW5vbmUgaW5zdGVhZD8gRml4IGl0DQo+
IHNob3VsZG4ndCBiZSBzaW1wbGVyIHRoYW4gUlNOPw0KDQpNYWtlcyBzZW5zZS4gSXQgd291bGQg
YmUgdXNlZnVsIHRvIGhhdmUgc3VjY2Vzc2Z1bCBjYXNlIGxvZyBmb3IgY29tcGFyaXNvbiBhbmQg
ZnVydGhlciBkZWJ1Z2dpbmcuDQpJcyBpdCBwb3NzaWJsZSBmb3IgeW91IChvciBzb21lb25lIGVs
c2UpIGNhcHR1cmUgdGhlIHdwYV9zdXBwbGljYW50J3Mgc3VjY2Vzc2Z1bCBjYXNlIGxvZ3MgdXNp
bmcgb3RoZXIgdmVuZG9yJ3MgY2hpcHNldD8NCldlIHRyaWVkIHdpdGggSW50ZWwgZGV2aWNlcy4g
SXQgd29ya2VkIHVzaW5nIEdVSSBvbiB3aW5kb3dzIG1hY2hpbmUsIGJ1dCBkaWRuJ3Qgd29yayB1
c2luZyB3cGFfc3VwcGxpY2FudC4NCg0KUmVnYXJkcywNCkFtaXRrdW1hcg0K

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-21 15:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-07  0:36 Fwd: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC Nestor Machno
2016-07-08  9:15 ` Amitkumar Karwar
2016-07-20 13:23   ` Luana Borgia
2016-07-21  8:30     ` Nestor Machno
2016-07-21  9:05     ` Amitkumar Karwar
2016-07-21 12:34       ` Luana Borgia
2016-07-21 15:22         ` Amitkumar Karwar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.