Return-path: Received: from smtp2-g21.free.fr ([212.27.42.2]:51575 "EHLO smtp2-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965397AbbKDWEL (ORCPT ); Wed, 4 Nov 2015 17:04:11 -0500 From: Julien Cubizolles To: Amitkumar Karwar Cc: Dan Williams , "linux-wireless\@vger.kernel.org" , "Nishant Sarmukadam" Subject: Re: mwifiex problem: incompatible network settings References: <87wpu9632c.fsf@free.fr> <1445875814.31216.18.camel@redhat.com> <87twpd8fk4.fsf@free.fr> <1445972115005.99995@marvell.com> <87a8r4ugth.fsf@free.fr> <1446043853.24757.51.camel@redhat.com> <87vb9qsmg1.fsf@free.fr> Date: Wed, 04 Nov 2015 23:04:06 +0100 Message-ID: <87r3k5h161.fsf@free.fr> (sfid-20151104_230416_159987_8A11C7E0) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: linux-wireless-owner@vger.kernel.org List-ID: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Amitkumar Karwar 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=C2=A0! I attached the corresponding dmesg logs (dmesg-WPA2.log, ssid sou= thcentral). > Regards, > Amitkumar --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=dmesg-WPA.log Content-Transfer-Encoding: base64 WyAgNDA4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4NV0gdXNiIDEtMzogaW5mbzog dHJ5aW5nIHRvIGFzc29jaWF0ZSB0byAnc291dGhjZW50cmFsJyBic3NpZCBmNDpjYTplNTplZjpi ZToxOApbICA0MzQuODc0NDA0XSB1c2IgMS0zOiBpbmZvOiBtd2lmaWV4X2lzX25ldHdvcmtfY29t cGF0aWJsZTogZmFpbGVkOiB3cGFfaWU9MHhkZCB3cGEyX2llPTB4MCBXRVA9ZAlXUEE9ZCBXUEEy PWQgRW5jTW9kZT0weGZhYzAyIHByaXZhY3k9MHgxClsgIDQzNC44NzQ0MTFdIHVzYiAxLTM6IElu Y29tcGF0aWJsZSBuZXR3b3JrIHNldHRpbmdzClsgIDQzNC44NzQ0MTldIHVzYiAxLTM6IGluZm86 IGFzc29jaWF0aW9uIHRvIGJzc2lkIGY0OmNhOmU1OmVmOmJlOjE4IGZhaWxlZApbICA0NDMuMDk5 OTgzXSBJUHY2OiBBRERSQ09ORihORVRERVZfVVApOiB3bHg2MDQ1YmRmNjQ2YjQ6IGxpbmsgaXMg bm90IHJlYWR5ClsgIDQ0My43MjU3MzldIE1XSUZJRVg6IGF1dGhfdHlwZSA9IDAKWyAgNDQzLjcy NTc1M10gSUU6MDAwMDAwMDA6IDdmIDA0IDAwIDAwIDBhIDAyClsgIDQ0My43MjU3NjhdIHVzYiAx LTM6IGluZm86IHRyeWluZyB0byBhc3NvY2lhdGUgdG8gJ0ZyZWVXaWZpJyBic3NpZCBmNDpjYTpl NTplZjpiZToxOQpbICA0NDMuNzQwODMwXSB1c2IgMS0zOiBpbmZvOiBhc3NvY2lhdGVkIHRvIGJz c2lkIGY0OmNhOmU1OmVmOmJlOjE5IHN1Y2Nlc3NmdWxseQpbICA0NDMuNzQwOTc4XSBJUHY2OiBB RERSQ09ORihORVRERVZfQ0hBTkdFKTogd2x4NjA0NWJkZjY0NmI0OiBsaW5rIGJlY29tZXMgcmVh ZHkK --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=dmesg-noWPA.log Content-Transfer-Encoding: base64 WyAgNTcxLjk1OTYzNF0gTVdJRklFWDogYXV0aF90eXBlID0gMApbICA1NzEuOTU5NjQ3XSBJRTow MDAwMDAwMDogN2YgMDQgMDAgMDAgMGEgMDIKWyAgNTcxLjk1OTY2MV0gdXNiIDEtMzogaW5mbzog dHJ5aW5nIHRvIGFzc29jaWF0ZSB0byAnRnJlZVdpZmknIGJzc2lkIGY0OmNhOmU1OmVmOmJlOjE5 ClsgIDU3MS45NzI5NDFdIHVzYiAxLTM6IGluZm86IGFzc29jaWF0ZWQgdG8gYnNzaWQgZjQ6Y2E6 ZTU6ZWY6YmU6MTkgc3VjY2Vzc2Z1bGx5ClsgIDU3Ny4xNjEwNjRdIHVzYiAxLTM6IFJ4IG9mIG1n bXQgcGFja2V0IGZhaWxlZAo= --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=dmesg-WPA2.log Content-Transfer-Encoding: base64 WyAgMjgyLjU0NTkwOV0gTVdJRklFWDogYXV0aF90eXBlID0gMApbICAyODIuNTQ1OTEyXSBNV0lG SUVYOiBwYWlyd2lzZSBlbmNfbW9kZSA9IDEKWyAgMjgyLjU0NTkxNF0gTVdJRklFWDogZ3JvdXB3 aXNlIGVuY19tb2RlID0gZmFjMDIKWyAgMjgyLjU0NTkxNl0gTVdJRklFWDogd3BhID0gMCwgd3Bh MiA9IDEKWyAgMjgyLjU0NTkxOV0gSUU6MDAwMDAwMDA6IDMwIDE0IDAxIDAwIDAwIDBmIGFjIDAy IDAxIDAwIDAwIDBmIGFjIDA0IDAxIDAwClsgIDI4Mi41NDU5MjJdIElFOjAwMDAwMDEwOiAwMCAw ZiBhYyAwMiAwMCAwMCA3ZiAwNCAwMCAwMCAwYSAwMgpbICAyODIuNTQ1OTI3XSB1c2IgMS0zOiBp bmZvOiB0cnlpbmcgdG8gYXNzb2NpYXRlIHRvICdzb3V0aGNlbnRyYWwnIGJzc2lkIGY0OmNhOmU1 OmVmOmJlOjE4ClsgIDI4Mi41NjAzMj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