From: Alessandro Suardi <alessandro.suardi@gmail.com>
To: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org
Subject: 2.6.32-git5+, CONFIG_WEXT_PRIV and Broadcom's driver for BCM4322 Wireless chips
Date: Sat, 12 Dec 2009 16:40:34 +0100 [thread overview]
Message-ID: <5a4c581d0912120740j38a20f8eu3f616f3a477d922f@mail.gmail.com> (raw)
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 <net/iw_handler.h>) 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")
next reply other threads:[~2009-12-13 2:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-12 15:40 Alessandro Suardi [this message]
2009-12-13 13:14 ` Johannes Berg
2009-12-13 13:36 ` Alessandro Suardi
2009-12-13 13:39 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5a4c581d0912120740j38a20f8eu3f616f3a477d922f@mail.gmail.com \
--to=alessandro.suardi@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®