* [PATCH]compat-2.6: fix compiling configurations for iwlwifi
@ 2008-07-17 8:15 Yingying Zhao
2008-07-17 8:29 ` Tomas Winkler
0 siblings, 1 reply; 8+ messages in thread
From: Yingying Zhao @ 2008-07-17 8:15 UTC (permalink / raw)
To: Luis R. Rodriguez; +Cc: linux-wireless
Latest iwlwifi in wireless-testing removed CONFIG_IWL4965_HT and
introduced CONFIG_IWL5000 for Intel Wireless WiFi 5000AGN support
which is built in IWL4965 module. This patch also enables IWLWIFI_LEDS,
IWLWIFI_RFKILL,IWL3945_LEDS IWLWIFI_DEBUG for iwlwifi build by default.
Signed-off-by: Zhao Yingying <yingying.zhao@intel.com>
---
config.mk | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
index b1fb68e..cafadfa 100644
--- a/config.mk
+++ b/config.mk
@@ -15,6 +15,7 @@ endif
# Wireless subsystem stuff
CONFIG_MAC80211=m
+CONFIG_MAC80211_LEDS=y
# Enable QOS for 2.6.22, we'll do some hacks here to enable it.
# You will need this for HT support (802.11n) and WME (802.11e).
@@ -77,7 +78,24 @@ CONFIG_IWLWIFI=m
CONFIG_IWLCORE=m
CONFIG_IWL3945=m
CONFIG_IWL4965=m
-CONFIG_IWL4965_HT=y
+CONFIG_IWLWIFI_LEDS=y
+CONFIG_IWLWIFI_RFKILL=y
+CONFIG_IWL3945_LEDS=y
+CONFIG_IWL5000=y
+
+ifeq ($(CONFIG_IWL5000),y)
+ifeq ($(CONFIG_IWL4965),)
+$(warning "WARNING: CONFIG_IWL5000 requires CONFIG_IWL4965 is configured as m.")
+CONFIG_IWL4965=m
+endif # CONFIG_IWL4965 is empty
+endif # CONFIG_IWL5000 is y
+
+CONFIG_IWLWIFI_DEBUG=y
+
+ifeq ($(CONFIG_MAC80211_DEBUGFS),y)
+CONFIG_IWLWIFI_DEBUGFS=y
+endif
+
CONFIG_B43=m
# B43 uses PCMCIA only for Compact Flash. The Cardbus cards uses PCI
# Example, bcm4318:
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH]compat-2.6: fix compiling configurations for iwlwifi
2008-07-17 8:15 [PATCH]compat-2.6: fix compiling configurations for iwlwifi Yingying Zhao
@ 2008-07-17 8:29 ` Tomas Winkler
2008-07-17 9:48 ` Luis R. Rodriguez
0 siblings, 1 reply; 8+ messages in thread
From: Tomas Winkler @ 2008-07-17 8:29 UTC (permalink / raw)
To: Yingying Zhao; +Cc: Luis R. Rodriguez, linux-wireless
On Thu, Jul 17, 2008 at 11:15 AM, Yingying Zhao
<yingying.zhao@linux.intel.com> wrote:
> Latest iwlwifi in wireless-testing removed CONFIG_IWL4965_HT and
> introduced CONFIG_IWL5000 for Intel Wireless WiFi 5000AGN support
> which is built in IWL4965 module. This patch also enables IWLWIFI_LEDS,
> IWLWIFI_RFKILL,IWL3945_LEDS IWLWIFI_DEBUG for iwlwifi build by default.
>
> Signed-off-by: Zhao Yingying <yingying.zhao@intel.com>
> ---
> config.mk | 20 +++++++++++++++++++-
> 1 file changed, 19 insertions(+), 1 deletion(-)
>
> diff --git a/config.mk b/config.mk
> index b1fb68e..cafadfa 100644
> --- a/config.mk
> +++ b/config.mk
> @@ -15,6 +15,7 @@ endif
>
> # Wireless subsystem stuff
> CONFIG_MAC80211=m
> +CONFIG_MAC80211_LEDS=y
>
> # Enable QOS for 2.6.22, we'll do some hacks here to enable it.
> # You will need this for HT support (802.11n) and WME (802.11e).
> @@ -77,7 +78,24 @@ CONFIG_IWLWIFI=m
> CONFIG_IWLCORE=m
> CONFIG_IWL3945=m
> CONFIG_IWL4965=m
> -CONFIG_IWL4965_HT=y
> +CONFIG_IWLWIFI_LEDS=y
> +CONFIG_IWLWIFI_RFKILL=y
> +CONFIG_IWL3945_LEDS=y
> +CONFIG_IWL5000=y
> +
> +ifeq ($(CONFIG_IWL5000),y)
> +ifeq ($(CONFIG_IWL4965),)
> +$(warning "WARNING: CONFIG_IWL5000 requires CONFIG_IWL4965 is configured as m.")
> +CONFIG_IWL4965=m
> +endif # CONFIG_IWL4965 is empty
> +endif # CONFIG_IWL5000 is y
> +
> +CONFIG_IWLWIFI_DEBUG=y
> +
> +ifeq ($(CONFIG_MAC80211_DEBUGFS),y)
> +CONFIG_IWLWIFI_DEBUGFS=y
> +endif
> +
> CONFIG_B43=m
> # B43 uses PCMCIA only for Compact Flash. The Cardbus cards uses PCI
> # Example, bcm4318:
I'm changing iwlwifi Kconfig so please hold this patch.
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH]compat-2.6: fix compiling configurations for iwlwifi
2008-07-17 8:29 ` Tomas Winkler
@ 2008-07-17 9:48 ` Luis R. Rodriguez
2008-07-17 10:04 ` Yingying Zhao
0 siblings, 1 reply; 8+ messages in thread
From: Luis R. Rodriguez @ 2008-07-17 9:48 UTC (permalink / raw)
To: Tomas Winkler; +Cc: Yingying Zhao, linux-wireless
On Thu, Jul 17, 2008 at 1:29 AM, Tomas Winkler <tomasw@gmail.com> wrote:
> On Thu, Jul 17, 2008 at 11:15 AM, Yingying Zhao
> <yingying.zhao@linux.intel.com> wrote:
>> Latest iwlwifi in wireless-testing removed CONFIG_IWL4965_HT and
>> introduced CONFIG_IWL5000 for Intel Wireless WiFi 5000AGN support
>> which is built in IWL4965 module. This patch also enables IWLWIFI_LEDS,
>> IWLWIFI_RFKILL,IWL3945_LEDS IWLWIFI_DEBUG for iwlwifi build by default.
>>
>> Signed-off-by: Zhao Yingying <yingying.zhao@intel.com>
>> ---
>> config.mk | 20 +++++++++++++++++++-
>> 1 file changed, 19 insertions(+), 1 deletion(-)
>>
>> diff --git a/config.mk b/config.mk
>> index b1fb68e..cafadfa 100644
>> --- a/config.mk
>> +++ b/config.mk
>> @@ -15,6 +15,7 @@ endif
>>
>> # Wireless subsystem stuff
>> CONFIG_MAC80211=m
>> +CONFIG_MAC80211_LEDS=y
>>
>> # Enable QOS for 2.6.22, we'll do some hacks here to enable it.
>> # You will need this for HT support (802.11n) and WME (802.11e).
>> @@ -77,7 +78,24 @@ CONFIG_IWLWIFI=m
>> CONFIG_IWLCORE=m
>> CONFIG_IWL3945=m
>> CONFIG_IWL4965=m
>> -CONFIG_IWL4965_HT=y
>> +CONFIG_IWLWIFI_LEDS=y
>> +CONFIG_IWLWIFI_RFKILL=y
>> +CONFIG_IWL3945_LEDS=y
>> +CONFIG_IWL5000=y
>> +
>> +ifeq ($(CONFIG_IWL5000),y)
>> +ifeq ($(CONFIG_IWL4965),)
>> +$(warning "WARNING: CONFIG_IWL5000 requires CONFIG_IWL4965 is configured as m.")
>> +CONFIG_IWL4965=m
>> +endif # CONFIG_IWL4965 is empty
>> +endif # CONFIG_IWL5000 is y
>> +
>> +CONFIG_IWLWIFI_DEBUG=y
>> +
>> +ifeq ($(CONFIG_MAC80211_DEBUGFS),y)
>> +CONFIG_IWLWIFI_DEBUGFS=y
>> +endif
>> +
>> CONFIG_B43=m
>> # B43 uses PCMCIA only for Compact Flash. The Cardbus cards uses PCI
>> # Example, bcm4318:
>
> I'm changing iwlwifi Kconfig so please hold this patch.
Also, was this tested with 2.6.22?
Luis
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH]compat-2.6: fix compiling configurations for iwlwifi
2008-07-17 9:48 ` Luis R. Rodriguez
@ 2008-07-17 10:04 ` Yingying Zhao
2008-07-17 10:07 ` Luis R. Rodriguez
0 siblings, 1 reply; 8+ messages in thread
From: Yingying Zhao @ 2008-07-17 10:04 UTC (permalink / raw)
To: Luis R. Rodriguez; +Cc: Tomas Winkler, Yingying Zhao, linux-wireless
On Thu, Jul 17, 2008 at 02:48:53AM -0700, Luis R. Rodriguez wrote:
> On Thu, Jul 17, 2008 at 1:29 AM, Tomas Winkler <tomasw@gmail.com> wrote:
> > On Thu, Jul 17, 2008 at 11:15 AM, Yingying Zhao
> > <yingying.zhao@linux.intel.com> wrote:
> >> Latest iwlwifi in wireless-testing removed CONFIG_IWL4965_HT and
> >> introduced CONFIG_IWL5000 for Intel Wireless WiFi 5000AGN support
> >> which is built in IWL4965 module. This patch also enables IWLWIFI_LEDS,
> >> IWLWIFI_RFKILL,IWL3945_LEDS IWLWIFI_DEBUG for iwlwifi build by default.
> >>
> >> Signed-off-by: Zhao Yingying <yingying.zhao@intel.com>
> >> ---
> >> config.mk | 20 +++++++++++++++++++-
> >> 1 file changed, 19 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/config.mk b/config.mk
> >> index b1fb68e..cafadfa 100644
> >> --- a/config.mk
> >> +++ b/config.mk
> >> @@ -15,6 +15,7 @@ endif
> >>
> >> # Wireless subsystem stuff
> >> CONFIG_MAC80211=m
> >> +CONFIG_MAC80211_LEDS=y
> >>
> >> # Enable QOS for 2.6.22, we'll do some hacks here to enable it.
> >> # You will need this for HT support (802.11n) and WME (802.11e).
> >> @@ -77,7 +78,24 @@ CONFIG_IWLWIFI=m
> >> CONFIG_IWLCORE=m
> >> CONFIG_IWL3945=m
> >> CONFIG_IWL4965=m
> >> -CONFIG_IWL4965_HT=y
> >> +CONFIG_IWLWIFI_LEDS=y
> >> +CONFIG_IWLWIFI_RFKILL=y
> >> +CONFIG_IWL3945_LEDS=y
> >> +CONFIG_IWL5000=y
> >> +
> >> +ifeq ($(CONFIG_IWL5000),y)
> >> +ifeq ($(CONFIG_IWL4965),)
> >> +$(warning "WARNING: CONFIG_IWL5000 requires CONFIG_IWL4965 is configured as m.")
> >> +CONFIG_IWL4965=m
> >> +endif # CONFIG_IWL4965 is empty
> >> +endif # CONFIG_IWL5000 is y
> >> +
> >> +CONFIG_IWLWIFI_DEBUG=y
> >> +
> >> +ifeq ($(CONFIG_MAC80211_DEBUGFS),y)
> >> +CONFIG_IWLWIFI_DEBUGFS=y
> >> +endif
> >> +
> >> CONFIG_B43=m
> >> # B43 uses PCMCIA only for Compact Flash. The Cardbus cards uses PCI
> >> # Example, bcm4318:
> >
> > I'm changing iwlwifi Kconfig so please hold this patch.
>
> Also, was this tested with 2.6.22?
>
> Luis
No. I just tested on 2.6.24.
I'll wait for iwlwifi Kconfig is finalized by Tomas and retest this on
2.6.22.
Yingying
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH]compat-2.6: fix compiling configurations for iwlwifi
2008-07-17 10:04 ` Yingying Zhao
@ 2008-07-17 10:07 ` Luis R. Rodriguez
2008-07-17 13:21 ` Luis R. Rodriguez
0 siblings, 1 reply; 8+ messages in thread
From: Luis R. Rodriguez @ 2008-07-17 10:07 UTC (permalink / raw)
To: Yingying Zhao; +Cc: Tomas Winkler, linux-wireless
On Thu, Jul 17, 2008 at 3:04 AM, Yingying Zhao
<yingying.zhao@linux.intel.com> wrote:
>> Also, was this tested with 2.6.22?
>>
>> Luis
> No. I just tested on 2.6.24.
> I'll wait for iwlwifi Kconfig is finalized by Tomas and retest this on
> 2.6.22.
OK cool -- just a heads up then, I hadn't enabled LEDs or RFKILL
options for drivers as the framework needs backporting. Once
backported I expect it will compile well for older kernels.
Luis
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH]compat-2.6: fix compiling configurations for iwlwifi
2008-07-17 10:07 ` Luis R. Rodriguez
@ 2008-07-17 13:21 ` Luis R. Rodriguez
2008-07-17 16:05 ` Luis R. Rodriguez
0 siblings, 1 reply; 8+ messages in thread
From: Luis R. Rodriguez @ 2008-07-17 13:21 UTC (permalink / raw)
To: Yingying Zhao; +Cc: Tomas Winkler, linux-wireless
On Thu, Jul 17, 2008 at 3:07 AM, Luis R. Rodriguez
<mcgrof@winlab.rutgers.edu> wrote:
> On Thu, Jul 17, 2008 at 3:04 AM, Yingying Zhao
> <yingying.zhao@linux.intel.com> wrote:
>
>>> Also, was this tested with 2.6.22?
>>>
>>> Luis
>> No. I just tested on 2.6.24.
>> I'll wait for iwlwifi Kconfig is finalized by Tomas and retest this on
>> 2.6.22.
>
> OK cool -- just a heads up then, I hadn't enabled LEDs or RFKILL
> options for drivers as the framework needs backporting. Once
> backported I expect it will compile well for older kernels.
compat-wireless wasn't actually compiling for 2.6.22 anymore. I just
fixed that. It loads mac80211. Either I did a mistake or we get an
oops now when loading a driver on 2.6.22.
Luis
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH]compat-2.6: fix compiling configurations for iwlwifi
2008-07-17 13:21 ` Luis R. Rodriguez
@ 2008-07-17 16:05 ` Luis R. Rodriguez
2008-07-17 16:12 ` Luis R. Rodriguez
0 siblings, 1 reply; 8+ messages in thread
From: Luis R. Rodriguez @ 2008-07-17 16:05 UTC (permalink / raw)
To: Yingying Zhao; +Cc: Tomas Winkler, linux-wireless
On Thu, Jul 17, 2008 at 6:21 AM, Luis R. Rodriguez
<mcgrof@winlab.rutgers.edu> wrote:
> On Thu, Jul 17, 2008 at 3:07 AM, Luis R. Rodriguez
> <mcgrof@winlab.rutgers.edu> wrote:
>> On Thu, Jul 17, 2008 at 3:04 AM, Yingying Zhao
>> <yingying.zhao@linux.intel.com> wrote:
>>
>>>> Also, was this tested with 2.6.22?
>>>>
>>>> Luis
>>> No. I just tested on 2.6.24.
>>> I'll wait for iwlwifi Kconfig is finalized by Tomas and retest this on
>>> 2.6.22.
>>
>> OK cool -- just a heads up then, I hadn't enabled LEDs or RFKILL
>> options for drivers as the framework needs backporting. Once
>> backported I expect it will compile well for older kernels.
>
> compat-wireless wasn't actually compiling for 2.6.22 anymore. I just
> fixed that. It loads mac80211. Either I did a mistake or we get an
> oops now when loading a driver on 2.6.22.
Yeah ok I can confirm there is a bug there on 2.6.22. We hit:
BUG_ON(!local || local->mdev == dev);
on ieee80211_i.h in IEEE80211_DEV_TO_SUB_IF()
Don't have time to debug this right now though.
Luis
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH]compat-2.6: fix compiling configurations for iwlwifi
2008-07-17 16:05 ` Luis R. Rodriguez
@ 2008-07-17 16:12 ` Luis R. Rodriguez
0 siblings, 0 replies; 8+ messages in thread
From: Luis R. Rodriguez @ 2008-07-17 16:12 UTC (permalink / raw)
To: Yingying Zhao; +Cc: Tomas Winkler, linux-wireless, compat-masters
On Thu, Jul 17, 2008 at 9:05 AM, Luis R. Rodriguez
<mcgrof@winlab.rutgers.edu> wrote:
> Yeah ok I can confirm there is a bug there on 2.6.22. We hit:
>
> BUG_ON(!local || local->mdev == dev);
>
> on ieee80211_i.h in IEEE80211_DEV_TO_SUB_IF()
>
> Don't have time to debug this right now though.
To that extent I'm disabling compilation for 2.6.22 until this is
fixed, don't want users running into it.
Luis
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-07-17 16:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-17 8:15 [PATCH]compat-2.6: fix compiling configurations for iwlwifi Yingying Zhao
2008-07-17 8:29 ` Tomas Winkler
2008-07-17 9:48 ` Luis R. Rodriguez
2008-07-17 10:04 ` Yingying Zhao
2008-07-17 10:07 ` Luis R. Rodriguez
2008-07-17 13:21 ` Luis R. Rodriguez
2008-07-17 16:05 ` Luis R. Rodriguez
2008-07-17 16:12 ` Luis R. Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox