Return-path: Received: from mail-lb0-f174.google.com ([209.85.217.174]:42896 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753275Ab3KHNOe (ORCPT ); Fri, 8 Nov 2013 08:14:34 -0500 Received: by mail-lb0-f174.google.com with SMTP id q8so1427164lbi.5 for ; Fri, 08 Nov 2013 05:14:33 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <526E20EA.9090203@rempel-privat.de> Date: Fri, 8 Nov 2013 07:14:32 -0600 Message-ID: (sfid-20131108_141437_787457_A4038C3D) Subject: Re: I always need a miracle to connect with iwlwifi From: Felipe Contreras To: Krishna Chaitanya Cc: Oleksij Rempel , ilw@linux.intel.com, "hostap@lists.shmoo.com" , linux-wireless Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, Nov 8, 2013 at 2:35 AM, Felipe Contreras wrote: > On Sat, Nov 2, 2013 at 2:05 PM, Krishna Chaitanya > wrote: > >> Also one more thing you said N900 uses mac80211 and it has no issues, but as >> its a embedded device it might running an older kernel where the >> handling might be >> different, so we need to try with the same kernel you are facing an >> issue with the >> a driver which advertises IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC. > > Yes it was running an older kernel, but I just compiled v3.12 and ran > it on the N900, and still everything works fine. > >> (or) if you a have a compilation environment try commenting the advertisement of >> IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC in the iwlwifi DVM driver and >> try to reproduce the issue. > > After commenting that flag everything works fine :) > > What are the next steps? I tried to add some debugging to see what's going on, and indeed the beacon packets are lost, I added debugging as low in the chain as I could (iwlagn_rx_reply_rx()), and I don't see them there. However, when I enable the monitor mode, I see them. What's going on? -- Felipe Contreras