Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932579AbZLMCXN (ORCPT ); Sat, 12 Dec 2009 21:23:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932196AbZLMCXM (ORCPT ); Sat, 12 Dec 2009 21:23:12 -0500 Received: from mail-fx0-f213.google.com ([209.85.220.213]:57298 "HELO mail-fx0-f213.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932163AbZLMCXL (ORCPT ); Sat, 12 Dec 2009 21:23:11 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=u+DKq+EAbdJrmGaX59Iy8y2CZLYnqN8hNtUCuT1iQOitKPyDqjaTzxpE2iQuQUGBO0 Xk6uDTvhoolg086XAUjwNIJuxd+F+25zbhI4CYr9MjlwhmethhUd0PQ5AqGOWlfy184n LA1JbMVpe63GZc1B5/nR0Ptk6kU49N/ewwhzA= MIME-Version: 1.0 Date: Sat, 12 Dec 2009 16:40:34 +0100 Message-ID: <5a4c581d0912120740j38a20f8eu3f616f3a477d922f@mail.gmail.com> Subject: 2.6.32-git5+, CONFIG_WEXT_PRIV and Broadcom's driver for BCM4322 Wireless chips From: Alessandro Suardi To: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1853 Lines: 45 Hi all, I use Broadcom's out-of-tree driver which is the only one that works with my Dell E6400's onboard BCM4322 wireless chip - driver here http://www.broadcom.com/support/802.11/linux_sta.php and the driver stopped building somewhere between 2.6.32-git1 and -git5, as CONFIG_WIRELESS_EXT is now replaced by CONFIG_CFG80211_WEXT, but also as struct iw_handler_def (in ) has a few fields referenced by the driver that are now conditioned by CONFIG_WEXT_PRIV. CONFIG_WEXT_PRIV isn't directly selectable during kernel config, but is rather picked up by wireless drivers via SELECT keywords in the Kconfig files - and this is my issue. At the moment, after replacing all CONFIG_WIRELESS_EXT occurrences with CONFIG_CFG80211_WEXT in the Broadcom driver sources, I worked around the CONFIG_WEXT_PRIV issue by picking ipw2200 as a module in my kernel config - and ipw2200 is select'ing CONFIG_WEXT_PRIV; not an optimal solution, but this way my kernel has now support for a feature I do need later on when building the out-of-tree Broadcom module. After rebooting into 2.6.32-git9 I successfully built the patched driver which loads fine and connects to my AP as usual - so the workaround seems ok. But: what is the best option here to make CONFIG_WEXT_PRIV visible at kernel build time if only an external module should select it - but selection is not actually happening at kernel build time ? Could CONFIG_WEXT_PRIV be made a separate user-selectable option ? Thanks, --alessandro "There's always a siren singing you to shipwreck" (Radiohead, "There There") -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/