Return-path: Received: from mga02.intel.com ([134.134.136.20]:51674 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762290AbYBNX6F convert rfc822-to-8bit (ORCPT ); Thu, 14 Feb 2008 18:58:05 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: [HOTFIX] Re: mac80211/iwl4965: ad-hoc broken in 2.6.25-rc1 Date: Thu, 14 Feb 2008 15:57:22 -0800 Message-ID: (sfid-20080214_235811_861760_29596F21) In-Reply-To: <200802150040.05188.patrick@lunatiki.de> References: <47B1F422.4060501@scherping.de> <47B487EE.3030401@scherping.de> <200802150040.05188.patrick@lunatiki.de> From: "Chatre, Reinette" To: "Patrick Grimm" Cc: Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thursday, February 14, 2008 3:40 PM, Patrick Grimm wrote: > Am Donnerstag, 14. Februar 2008 19:26:54 schrieb Richard Scherping: >> Chatre, Reinette schrieb: >>> On Wednesday, February 13, 2008 1:07 AM, Richard Scherping wrote: >>>>> iwl4965: I iwl4965_tx_skb Dropping - !iwl4965_is_associated: >>>>> iwl4965_is_associated(priv)=1; priv->assoc_id=0; >>>>> priv->assoc_station_added=1 >>>> >>>> Simply uncommenting the check for priv->assoc_id to be >>>> non-zero (line 2938 in iwl4965-base.c) made ad-hoc working. >>>> Thanks for helping me to find this! >>>> Does this change have any negative side effects? >>>> >>>> Richard >>> >>> Could you please try the attached patch instead? >> >> Works for me (iwl4965). Thanks! > For me not. > I use 3945ABG card in an ad-hoc network with 4 other wlan devices > like rt2500 and ath5k. I have applied your > 0001-iwlwifi-only-check-for-association-id-when-associat.patch > patch. But i can't see incoming packets witch tcpdump. > I have try to commet out the check for associat with the same result. > > dmesg > iwl3945: I iwl3945_rx_handle r = 76, i = 75, REPLY_3945_RX, 0x1b > iwl3945: I iwl3945_rx_handle r = 77, i = 76, REPLY_3945_RX, 0x1b > iwl3945: I iwl3945_mac_tx enter > iwl3945: I iwl3945_tx_skb Dropping - !iwl3945_is_associated > iwl3945: I iwl3945_mac_tx leave > iwl3945: I iwl3945_rx_handle r = 78, i = 77, REPLY_3945_RX, 0x1b > iwl3945: I iwl3945_rx_handle r = 79, i = 78, REPLY_3945_RX, 0x1b When you say "with the same result" does it mean that you comment out the check for priv->assoc_id and you still see the error "Dropping - !iwl3945_is_associated" or do you then see traffic with tcpdump? Could you please print out the values of fc, priv->iw_mode, iwl3945_is_associated(priv) and priv->assoc_id just before that error message is printed? Thanks! Reinette