From patchwork Thu Jan 23 19:11:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Grumbach X-Patchwork-Id: 3530741 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5A972C02DC for ; Thu, 23 Jan 2014 19:12:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5FB32200F4 for ; Thu, 23 Jan 2014 19:12:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 255BA20181 for ; Thu, 23 Jan 2014 19:12:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932301AbaAWTL6 (ORCPT ); Thu, 23 Jan 2014 14:11:58 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:40839 "EHLO mail-we0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932295AbaAWTL4 (ORCPT ); Thu, 23 Jan 2014 14:11:56 -0500 Received: by mail-we0-f169.google.com with SMTP id u57so1704859wes.28 for ; Thu, 23 Jan 2014 11:11:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=/5HpTeIPK6idSo6maqjjFvrQwJjrO3HCxT4LmaFZHiE=; b=yojBg1ZJoRn/YelcZ7YKWs7HoYQGc9lvDXKTYaW3V15MQD5Q+IM4Y3w+x3ttOnsD++ nQB6t+vC7TbWQcQOGyJPJOiaxd1Vu0c2Ry9W9BWnAXqI0cMMnzpU6+0bEC0zr/tUW4yu aIXkPmHKT9+AJMPZGn8y1sNUGYsLyLxONjQddkoOCs4Vf5TKRvKj8UzxUbhwv0qpsSAb opCyYi2fmLVwpUfQ0XIAWz60vudQMO4LBmj4GoVhkex6hdPozu6oP9yZpIxzQzjhpwy1 hRIlOfyVtn394LLY0tg9Nfw6O8hSzObpqLPQTjhnb6KwGLky1HLfzOlGVO1+gCSxQ1x2 g4lA== X-Received: by 10.180.221.38 with SMTP id qb6mr469740wic.26.1390504315105; Thu, 23 Jan 2014 11:11:55 -0800 (PST) Received: from [192.168.1.100] (93-172-204-107.bb.netvision.net.il. [93.172.204.107]) by mx.google.com with ESMTPSA id j9sm24678781wjz.13.2014.01.23.11.11.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 11:11:54 -0800 (PST) Message-ID: <52E16978.3040602@gmail.com> Date: Thu, 23 Jan 2014 21:11:52 +0200 From: Emmanuel Grumbach User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "Grumbach, Emmanuel" , Petko Manolov CC: "linux-wireless@vger.kernel.org" , "ilw@linux.intel.com" , "Berg, Johannes" Subject: Re: iwlwifi crash with 3.13 References: <20140123091659.GE9077@localhost> <0BA3FCBA62E2DC44AF3030971E174FB303D56D70@HASMSX103.ger.corp.intel.com> <20140123123125.GA3424@localhost> <0BA3FCBA62E2DC44AF3030971E174FB303D57045@HASMSX103.ger.corp.intel.com> In-Reply-To: <0BA3FCBA62E2DC44AF3030971E174FB303D57045@HASMSX103.ger.corp.intel.com> X-Enigmail-Version: 1.5.2 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, T_TVD_MIME_EPI,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Ok - I put the pieces together: > iwlwifi 0000:01:00.0: loaded firmware version 22.15.8.0 op_mode iwlmvm > iwlwifi 0000:01:00.0: Detected Intel(R) Wireless N 7260, REV=0x144 This means that your NIC is 2.4GHz only. Dual band NICs print something else. Now here come the catch. You seem to have an "old" NIC in a way that the NVM (EEPROM like) is old. In that NVM, there was a bug that advertised the A band channels but disabled the A band in SKU cap. Can you please try the patch attached? I will prevent the driver from trying to work on A band while the HW doesn't allow. emmanuel From dd40219d34426e4f9c7d1b10653ece3dc67588c5 Mon Sep 17 00:00:00 2001 From: Emmanuel Grumbach Date: Thu, 5 Dec 2013 22:42:55 +0200 Subject: [PATCH] iwlwifi: mvm: don't allow A band if SKU forbids it Change-Id: I920b7c53dc05a41de43ab9762eb7853dc4bed1ed Signed-off-by: Emmanuel Grumbach --- drivers/net/wireless/iwlwifi/iwl-nvm-parse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c index 1fce0ec..9600afc 100644 --- a/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c +++ b/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c @@ -192,6 +192,10 @@ static int iwl_init_channel_map(struct device *dev, const struct iwl_cfg *cfg, continue; } + if (ch_idx >= NUM_2GHZ_CHANNELS && + !data->sku_cap_band_52GHz_enable) + continue; + channel = &data->channels[n_channels]; n_channels++; -- 1.8.1.msysgit.1