All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: Amitkumar Karwar <akarwar@marvell.com>
Cc: Dan Williams <dcbw@redhat.com>,
	"linux-wireless\@vger.kernel.org"
	<linux-wireless@vger.kernel.org>,
	"Nishant Sarmukadam" <nishants@marvell.com>
Subject: Re: mwifiex problem: incompatible network settings
Date: Wed, 04 Nov 2015 23:04:06 +0100	[thread overview]
Message-ID: <87r3k5h161.fsf@free.fr> (raw)
In-Reply-To: b2db7a93638f44b683aef052ca442c5c@SC-EXCH04.marvell.com

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

Amitkumar Karwar <akarwar@marvell.com> writes:

> Thanks for the logs. I compared your network manager log with the one
> on my setup. Both are same. Basically network manager log doesn't show
> security info (WPA/WPA2, encryption mode etc). So we can't rely on
> that.
> I checked your kernel log shared in previous email. It's
> incomplete. It didn't include information when connection was actually
> attempted. Probably you can run "dmesg -c >> dmesg.log" in loop with
> some delay to capture complete info. Otherwise sharing
> "/var/log/messages" is also an option.
> I have created a driver debug patch(attached). Could you please apply it and share complete dmesg log?

I applied your patch. Here are the dmesg logs when logging to a WPA
network with authentification (dmesg-WPA.log, ssid southcentral) and a
network without authentification (dmesg-noWPA.log, ssid FreeWifi).

Let me know if you need anything else.

> Btw, do you see the problem if AP is configured in WPA2 security mode?

Good catch, I changed my access point to WPA2 and now I can connect to
it ! I attached the corresponding dmesg logs (dmesg-WPA2.log, ssid southcentral).

> Regards,
> Amitkumar

[-- Attachment #2: dmesg-WPA.log --]
[-- Type: application/octet-stream, Size: 3138 bytes --]

[  408.658220] IPv6: ADDRCONF(NETDEV_UP): wlx6045bdf646b4: link is not ready
[  408.706137] IPv6: ADDRCONF(NETDEV_UP): wlx6045bdf646b4: link is not ready
[  421.728415] MWIFIEX: auth_type = 0
[  421.728424] MWIFIEX: pairwise enc_mode = 1
[  421.728428] MWIFIEX: groupwise enc_mode = fac02
[  421.728436] IE:00000000: 7f 04 00 00 0a 02 dd 16 00 50 f2 01 01 00 00 50
[  421.728442] IE:00000010: f2 02 01 00 00 50 f2 04 01 00 00 50 f2 02
[  421.728456] usb 1-3: info: trying to associate to 'southcentral' bssid f4:ca:e5:ef:be:18
[  421.728476] usb 1-3: info: mwifiex_is_network_compatible: failed: wpa_ie=0xdd wpa2_ie=0x0 WEP=d	WPA=d WPA2=d EncMode=0xfac02 privacy=0x1
[  421.728483] usb 1-3: Incompatible network settings
[  421.728490] usb 1-3: info: association to bssid f4:ca:e5:ef:be:18 failed
[  425.675580] MWIFIEX: auth_type = 0
[  425.675590] MWIFIEX: pairwise enc_mode = 1
[  425.675595] MWIFIEX: groupwise enc_mode = fac02
[  425.675604] IE:00000000: 7f 04 00 00 0a 02 dd 16 00 50 f2 01 01 00 00 50
[  425.675610] IE:00000010: f2 02 01 00 00 50 f2 04 01 00 00 50 f2 02
[  425.675624] usb 1-3: info: trying to associate to 'southcentral' bssid f4:ca:e5:ef:be:18
[  425.675645] usb 1-3: info: mwifiex_is_network_compatible: failed: wpa_ie=0xdd wpa2_ie=0x0 WEP=d	WPA=d WPA2=d EncMode=0xfac02 privacy=0x1
[  425.675652] usb 1-3: Incompatible network settings
[  425.675660] usb 1-3: info: association to bssid f4:ca:e5:ef:be:18 failed
[  430.023460] MWIFIEX: auth_type = 0
[  430.023468] MWIFIEX: pairwise enc_mode = 1
[  430.023472] MWIFIEX: groupwise enc_mode = fac02
[  430.023480] IE:00000000: 7f 04 00 00 0a 02 dd 16 00 50 f2 01 01 00 00 50
[  430.023485] IE:00000010: f2 02 01 00 00 50 f2 04 01 00 00 50 f2 02
[  430.023497] usb 1-3: info: trying to associate to 'southcentral' bssid f4:ca:e5:ef:be:18
[  430.023513] usb 1-3: info: mwifiex_is_network_compatible: failed: wpa_ie=0xdd wpa2_ie=0x0 WEP=d	WPA=d WPA2=d EncMode=0xfac02 privacy=0x1
[  430.023517] usb 1-3: Incompatible network settings
[  430.023521] usb 1-3: info: association to bssid f4:ca:e5:ef:be:18 failed
[  434.874343] MWIFIEX: auth_type = 0
[  434.874351] MWIFIEX: pairwise enc_mode = 1
[  434.874356] MWIFIEX: groupwise enc_mode = fac02
[  434.874365] IE:00000000: 7f 04 00 00 0a 02 dd 16 00 50 f2 01 01 00 00 50
[  434.874370] IE:00000010: f2 02 01 00 00 50 f2 04 01 00 00 50 f2 02
[  434.874385] usb 1-3: info: trying to associate to 'southcentral' bssid f4:ca:e5:ef:be:18
[  434.874404] usb 1-3: info: mwifiex_is_network_compatible: failed: wpa_ie=0xdd wpa2_ie=0x0 WEP=d	WPA=d WPA2=d EncMode=0xfac02 privacy=0x1
[  434.874411] usb 1-3: Incompatible network settings
[  434.874419] usb 1-3: info: association to bssid f4:ca:e5:ef:be:18 failed
[  443.099983] IPv6: ADDRCONF(NETDEV_UP): wlx6045bdf646b4: link is not ready
[  443.725739] MWIFIEX: auth_type = 0
[  443.725753] IE:00000000: 7f 04 00 00 0a 02
[  443.725768] usb 1-3: info: trying to associate to 'FreeWifi' bssid f4:ca:e5:ef:be:19
[  443.740830] usb 1-3: info: associated to bssid f4:ca:e5:ef:be:19 successfully
[  443.740978] IPv6: ADDRCONF(NETDEV_CHANGE): wlx6045bdf646b4: link becomes ready

[-- Attachment #3: dmesg-noWPA.log --]
[-- Type: application/octet-stream, Size: 302 bytes --]

[  571.959634] MWIFIEX: auth_type = 0
[  571.959647] IE:00000000: 7f 04 00 00 0a 02
[  571.959661] usb 1-3: info: trying to associate to 'FreeWifi' bssid f4:ca:e5:ef:be:19
[  571.972941] usb 1-3: info: associated to bssid f4:ca:e5:ef:be:19 successfully
[  577.161064] usb 1-3: Rx of mgmt packet failed

[-- Attachment #4: dmesg-WPA2.log --]
[-- Type: application/octet-stream, Size: 539 bytes --]

[  282.545909] MWIFIEX: auth_type = 0
[  282.545912] MWIFIEX: pairwise enc_mode = 1
[  282.545914] MWIFIEX: groupwise enc_mode = fac02
[  282.545916] MWIFIEX: wpa = 0, wpa2 = 1
[  282.545919] IE:00000000: 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00
[  282.545922] IE:00000010: 00 0f ac 02 00 00 7f 04 00 00 0a 02
[  282.545927] usb 1-3: info: trying to associate to 'southcentral' bssid f4:ca:e5:ef:be:18
[  282.560325] usb 1-3: info: associated to bssid f4:ca:e5:ef:be:18 successfully
[  283.268231] usb 1-3: Rx of mgmt packet failed

  parent reply	other threads:[~2015-11-04 22:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 15:51 mwifiex problem: incompatible network settings Julien Cubizolles
2015-10-26 16:10 ` Dan Williams
2015-10-26 21:50   ` Julien Cubizolles
2015-10-27 15:11     ` Dan Williams
2015-10-27 18:55     ` Amitkumar Karwar
2015-10-27 21:44       ` Julien Cubizolles
2015-10-28 14:50         ` Dan Williams
2015-10-28 21:38           ` Julien Cubizolles
2015-10-29 12:27             ` Amitkumar Karwar
2015-10-29 15:16               ` Dan Williams
2015-10-30 10:34                 ` Amitkumar Karwar
2015-11-04 22:04               ` Julien Cubizolles [this message]
2015-11-05  8:59                 ` Amitkumar Karwar
2015-11-07  7:38                   ` Julien Cubizolles
2015-11-25 14:22                     ` Amitkumar Karwar
2015-12-01 10:35                       ` Julien Cubizolles
2015-12-01 10:36                         ` Amitkumar Karwar
  -- strict thread matches above, loose matches on Subject: below --
2015-10-29 14:29 Ujjal Roy
2015-10-30 10:27 ` Amitkumar Karwar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3k5h161.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=akarwar@marvell.com \
    --cc=dcbw@redhat.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=nishants@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.