tech-kern archive

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

iwn



I tried to add support for a Centrino Advanced-N 6230 wireless card with
the attached patch (firmware now loads correctly, and interface comes up).
However, I didn't realise that said card also has bluetooth functionality.

iwn0: could not configure bluetooth coexistence
iwn0: could not configure device
iwn0: cannot assign link-local address

What does "coexistence" mean? Presumably this is different to attaching
a bluetooth driver to the same device? (Shame Intel don't provide
documentation for the WifiLinks AFAICT...)

Cheers,

Patrick
From 7667c9d83ffa4aea196fc2c1f3e09a5b229f41ca Mon Sep 17 00:00:00 2001
From: Patrick Welche <prlw1%cam.ac.uk@localhost>
Date: Sat, 6 Aug 2011 15:40:21 +0100
Subject: [PATCH] Load correct firmware for Intel Centrino Advanced-N 6230 and
 Wireless-N 1030

http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6000g2b-ucode-17.168.5.2.tgz
must also be untarred into /libdata/firmware/if_iwn

This allows the interface to be brought up, but it still doesn't work
because the card's bluetooth interface needs to be configured.
---
 if_iwn.c |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/if_iwn.c b/if_iwn.c
index b7a151f..9a67ccd 100644
--- a/if_iwn.c
+++ b/if_iwn.c
@@ -720,7 +720,16 @@ iwn5000_attach(struct iwn_softc *sc, pci_product_id_t pid)
                break;
        case IWN_HW_REV_TYPE_6005:
                sc->limits = &iwn6000_sensitivity_limits;
-               sc->fwname = "iwlwifi-6000g2a-5.ucode";
+               /* The following are type 6030, yet a test WIFI_LINK_6230_2
+                  card returned "11" = IWN_HW_REV_TYPE_6005 */
+               if (pid == PCI_PRODUCT_INTEL_WIFI_LINK_1030_1 ||
+                   pid == PCI_PRODUCT_INTEL_WIFI_LINK_1030_2 ||
+                   pid == PCI_PRODUCT_INTEL_WIFI_LINK_6230_1 ||
+                   pid == PCI_PRODUCT_INTEL_WIFI_LINK_6230_2) {
+                       sc->fwname = "iwlwifi-6000g2b-5.ucode";
+               }
+               else
+                       sc->fwname = "iwlwifi-6000g2a-5.ucode";
                break;
        default:
                aprint_normal(": adapter type %d not supported\n", sc->hw_type);
-- 
1.7.6



Home | Main Index | Thread Index | Old Index