Search Linux Wireless

Re: iwlwifi crash with 3.13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <emmanuel.grumbach@xxxxxxxxx>
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 <emmanuel.grumbach@xxxxxxxxx>
---
 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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux