* Re: linux-next: Tree for November 2 (wireless/wl1271)
[not found] <20091102173845.210d1c57.sfr@canb.auug.org.au>
@ 2009-11-02 18:01 ` Randy Dunlap
2009-11-02 18:44 ` John W. Linville
0 siblings, 1 reply; 7+ messages in thread
From: Randy Dunlap @ 2009-11-02 18:01 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, LKML, linux-wireless
Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20091030:
wl1271 build fails when CONFIG_INET=n.
Should this driver depend on INET?
Why does this driver, unlike all other wireless drivers,
want to use register_inetaddr_notifier()?
wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_notifier'
wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_notifier'
--
~Randy
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: Tree for November 2 (wireless/wl1271)
2009-11-02 18:01 ` linux-next: Tree for November 2 (wireless/wl1271) Randy Dunlap
@ 2009-11-02 18:44 ` John W. Linville
2009-11-02 18:48 ` John W. Linville
0 siblings, 1 reply; 7+ messages in thread
From: John W. Linville @ 2009-11-02 18:44 UTC (permalink / raw)
To: Randy Dunlap; +Cc: Stephen Rothwell, linux-next, LKML, linux-wireless
On Mon, Nov 02, 2009 at 10:01:35AM -0800, Randy Dunlap wrote:
> Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20091030:
>
>
> wl1271 build fails when CONFIG_INET=n.
> Should this driver depend on INET?
>
> Why does this driver, unlike all other wireless drivers,
> want to use register_inetaddr_notifier()?
>
> wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_notifier'
> wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_notifier'
Yeah, that driver is doing some filtering based on IPv4.
Luca, is that necessary? If so, then we need a patch like the one below...?
John
>From ba823accfad68151d80503ff5fb04c049c9eadc2 Mon Sep 17 00:00:00 2001
From: John W. Linville <linville@tuxdriver.com>
Date: Mon, 2 Nov 2009 13:43:32 -0500
Subject: [PATCH] wl1271: depend on INET
wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_notifier'
wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_notifier'
Driver is doing some filtering based on IP addresses...
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
drivers/net/wireless/wl12xx/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/wl12xx/Kconfig b/drivers/net/wireless/wl12xx/Kconfig
index 33de7fa..785e024 100644
--- a/drivers/net/wireless/wl12xx/Kconfig
+++ b/drivers/net/wireless/wl12xx/Kconfig
@@ -42,6 +42,7 @@ config WL1251_SDIO
config WL1271
tristate "TI wl1271 support"
depends on WL12XX && SPI_MASTER && GENERIC_HARDIRQS
+ depends on INET
select FW_LOADER
select CRC7
---help---
--
1.6.2.5
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: linux-next: Tree for November 2 (wireless/wl1271)
2009-11-02 18:44 ` John W. Linville
@ 2009-11-02 18:48 ` John W. Linville
2009-11-02 21:10 ` Luciano Coelho
0 siblings, 1 reply; 7+ messages in thread
From: John W. Linville @ 2009-11-02 18:48 UTC (permalink / raw)
To: Randy Dunlap
Cc: Stephen Rothwell, linux-next, LKML, linux-wireless,
Luciano Coelho
Helps if I actually Cc: Luca...
On Mon, Nov 02, 2009 at 01:44:49PM -0500, John W. Linville wrote:
> On Mon, Nov 02, 2009 at 10:01:35AM -0800, Randy Dunlap wrote:
> > Stephen Rothwell wrote:
> > > Hi all,
> > >
> > > Changes since 20091030:
> >
> >
> > wl1271 build fails when CONFIG_INET=n.
> > Should this driver depend on INET?
> >
> > Why does this driver, unlike all other wireless drivers,
> > want to use register_inetaddr_notifier()?
> >
> > wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_notifier'
> > wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_notifier'
>
> Yeah, that driver is doing some filtering based on IPv4.
>
> Luca, is that necessary? If so, then we need a patch like the one below...?
>
> John
>
> From ba823accfad68151d80503ff5fb04c049c9eadc2 Mon Sep 17 00:00:00 2001
> From: John W. Linville <linville@tuxdriver.com>
> Date: Mon, 2 Nov 2009 13:43:32 -0500
> Subject: [PATCH] wl1271: depend on INET
>
> wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_notifier'
> wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_notifier'
>
> Driver is doing some filtering based on IP addresses...
>
> Signed-off-by: John W. Linville <linville@tuxdriver.com>
> ---
> drivers/net/wireless/wl12xx/Kconfig | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/wl12xx/Kconfig b/drivers/net/wireless/wl12xx/Kconfig
> index 33de7fa..785e024 100644
> --- a/drivers/net/wireless/wl12xx/Kconfig
> +++ b/drivers/net/wireless/wl12xx/Kconfig
> @@ -42,6 +42,7 @@ config WL1251_SDIO
> config WL1271
> tristate "TI wl1271 support"
> depends on WL12XX && SPI_MASTER && GENERIC_HARDIRQS
> + depends on INET
> select FW_LOADER
> select CRC7
> ---help---
> --
> 1.6.2.5
>
> --
> John W. Linville Someday the world will need a hero, and you
> linville@tuxdriver.com might be all we have. Be ready.
> --
> 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/
>
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: Tree for November 2 (wireless/wl1271)
2009-11-02 18:48 ` John W. Linville
@ 2009-11-02 21:10 ` Luciano Coelho
2009-11-03 6:03 ` Luciano Coelho
0 siblings, 1 reply; 7+ messages in thread
From: Luciano Coelho @ 2009-11-02 21:10 UTC (permalink / raw)
To: ext John W. Linville
Cc: Randy Dunlap, Stephen Rothwell, linux-next@vger.kernel.org, LKML,
linux-wireless@vger.kernel.org
ext John W. Linville wrote:
> Helps if I actually Cc: Luca...
Yes, it does. :) I would see this at some point but CCing me speed things up
quite a lot.
> On Mon, Nov 02, 2009 at 01:44:49PM -0500, John W. Linville wrote:
>> On Mon, Nov 02, 2009 at 10:01:35AM -0800, Randy Dunlap wrote:
>>> Stephen Rothwell wrote:
>>>> Hi all,
>>>>
>>>> Changes since 20091030:
>>>
>>> wl1271 build fails when CONFIG_INET=n.
>>> Should this driver depend on INET?
>>>
>>> Why does this driver, unlike all other wireless drivers,
>>> want to use register_inetaddr_notifier()?
>>>
>>> wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_notifier'
>>> wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_notifier'
>> Yeah, that driver is doing some filtering based on IPv4.
>>
>> Luca, is that necessary? If so, then we need a patch like the one below...?
Yes, this is necessary. We are doing ARP filtering according to the IP address
of the interface, as you have realized. Our implementation is rather ugly at
the moment, so the plan is to try to get rid of this dependency on INET, but we
need it for now.
Thanks Randy for finding this and thanks John for fixing it.
>> From ba823accfad68151d80503ff5fb04c049c9eadc2 Mon Sep 17 00:00:00 2001
>> From: John W. Linville <linville@tuxdriver.com>
>> Date: Mon, 2 Nov 2009 13:43:32 -0500
>> Subject: [PATCH] wl1271: depend on INET
>>
>> wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_notifier'
>> wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_notifier'
>>
>> Driver is doing some filtering based on IP addresses...
>>
>> Signed-off-by: John W. Linville <linville@tuxdriver.com>
>> ---
>> drivers/net/wireless/wl12xx/Kconfig | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/net/wireless/wl12xx/Kconfig b/drivers/net/wireless/wl12xx/Kconfig
>> index 33de7fa..785e024 100644
>> --- a/drivers/net/wireless/wl12xx/Kconfig
>> +++ b/drivers/net/wireless/wl12xx/Kconfig
>> @@ -42,6 +42,7 @@ config WL1251_SDIO
>> config WL1271
>> tristate "TI wl1271 support"
>> depends on WL12XX && SPI_MASTER && GENERIC_HARDIRQS
>> + depends on INET
>> select FW_LOADER
>> select CRC7
>> ---help---
>> --
>> 1.6.2.5
Acked-by: Luciano Coelho <luciano.coelho@nokia.com>
--
Cheers,
Luca.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: Tree for November 2 (wireless/wl1271)
2009-11-02 21:10 ` Luciano Coelho
@ 2009-11-03 6:03 ` Luciano Coelho
2009-11-07 10:37 ` Kalle Valo
0 siblings, 1 reply; 7+ messages in thread
From: Luciano Coelho @ 2009-11-03 6:03 UTC (permalink / raw)
To: ext John W. Linville
Cc: Valo Kalle (Nokia-D/Tampere), Randy Dunlap, Stephen Rothwell,
linux-next@vger.kernel.org, LKML, linux-wireless@vger.kernel.org
Coelho Luciano (Nokia-D/Helsinki) wrote:
> ext John W. Linville wrote:
>> Helps if I actually Cc: Luca...
>
> Yes, it does. :) I would see this at some point but CCing me speed things up
> quite a lot.
BTW, I think we need this for wl1251 as well. CC'ing Kalle too.
>> On Mon, Nov 02, 2009 at 01:44:49PM -0500, John W. Linville wrote:
>>> On Mon, Nov 02, 2009 at 10:01:35AM -0800, Randy Dunlap wrote:
>>>> Stephen Rothwell wrote:
>>>>> Hi all,
>>>>>
>>>>> Changes since 20091030:
>>>> wl1271 build fails when CONFIG_INET=n.
>>>> Should this driver depend on INET?
>>>>
>>>> Why does this driver, unlike all other wireless drivers,
>>>> want to use register_inetaddr_notifier()?
>>>>
>>>> wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_notifier'
>>>> wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_notifier'
>>> Yeah, that driver is doing some filtering based on IPv4.
>>>
>>> Luca, is that necessary? If so, then we need a patch like the one below...?
>
> Yes, this is necessary. We are doing ARP filtering according to the IP address
> of the interface, as you have realized. Our implementation is rather ugly at
> the moment, so the plan is to try to get rid of this dependency on INET, but we
> need it for now.
>
> Thanks Randy for finding this and thanks John for fixing it.
>
>>> From ba823accfad68151d80503ff5fb04c049c9eadc2 Mon Sep 17 00:00:00 2001
>>> From: John W. Linville <linville@tuxdriver.com>
>>> Date: Mon, 2 Nov 2009 13:43:32 -0500
>>> Subject: [PATCH] wl1271: depend on INET
>>>
>>> wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_notifier'
>>> wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_notifier'
>>>
>>> Driver is doing some filtering based on IP addresses...
>>>
>>> Signed-off-by: John W. Linville <linville@tuxdriver.com>
>>> ---
>>> drivers/net/wireless/wl12xx/Kconfig | 1 +
>>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/drivers/net/wireless/wl12xx/Kconfig b/drivers/net/wireless/wl12xx/Kconfig
>>> index 33de7fa..785e024 100644
>>> --- a/drivers/net/wireless/wl12xx/Kconfig
>>> +++ b/drivers/net/wireless/wl12xx/Kconfig
>>> @@ -42,6 +42,7 @@ config WL1251_SDIO
>>> config WL1271
>>> tristate "TI wl1271 support"
>>> depends on WL12XX && SPI_MASTER && GENERIC_HARDIRQS
>>> + depends on INET
>>> select FW_LOADER
>>> select CRC7
>>> ---help---
>>> --
>>> 1.6.2.5
>
> Acked-by: Luciano Coelho <luciano.coelho@nokia.com>
>
--
Cheers,
Luca.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: Tree for November 2 (wireless/wl1271)
2009-11-03 6:03 ` Luciano Coelho
@ 2009-11-07 10:37 ` Kalle Valo
2009-11-09 11:20 ` Luciano Coelho
0 siblings, 1 reply; 7+ messages in thread
From: Kalle Valo @ 2009-11-07 10:37 UTC (permalink / raw)
To: Luciano Coelho
Cc: ext John W. Linville, Randy Dunlap, Stephen Rothwell,
linux-next@vger.kernel.org, LKML, linux-wireless@vger.kernel.org
Luciano Coelho <luciano.coelho@nokia.com> writes:
> Coelho Luciano (Nokia-D/Helsinki) wrote:
>> ext John W. Linville wrote:
>>> Helps if I actually Cc: Luca...
>>
>> Yes, it does. :) I would see this at some point but CCing me speed
>> things up quite a lot.
>
>
> BTW, I think we need this for wl1251 as well. CC'ing Kalle too.
Thanks, but upstream wl1251 doesn't have ARP filter. There is an
internal patch but I haven't submitted it, yet.
--
Kalle Valo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: Tree for November 2 (wireless/wl1271)
2009-11-07 10:37 ` Kalle Valo
@ 2009-11-09 11:20 ` Luciano Coelho
0 siblings, 0 replies; 7+ messages in thread
From: Luciano Coelho @ 2009-11-09 11:20 UTC (permalink / raw)
To: ext Kalle Valo
Cc: ext John W. Linville, Randy Dunlap, Stephen Rothwell,
linux-next@vger.kernel.org, LKML, linux-wireless@vger.kernel.org
ext Kalle Valo wrote:
> Luciano Coelho <luciano.coelho@nokia.com> writes:
>
>> Coelho Luciano (Nokia-D/Helsinki) wrote:
>>> ext John W. Linville wrote:
>>>> Helps if I actually Cc: Luca...
>>> Yes, it does. :) I would see this at some point but CCing me speed
>>> things up quite a lot.
>>
>> BTW, I think we need this for wl1251 as well. CC'ing Kalle too.
>
> Thanks, but upstream wl1251 doesn't have ARP filter. There is an
> internal patch but I haven't submitted it, yet.
Oh, okay. Sorry for not checking. I just noticed that our wl1271
implementation was based on the implementation for wl1251, so I just assumed it
was needed as well.
--
Cheers,
Luca.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-11-09 11:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20091102173845.210d1c57.sfr@canb.auug.org.au>
2009-11-02 18:01 ` linux-next: Tree for November 2 (wireless/wl1271) Randy Dunlap
2009-11-02 18:44 ` John W. Linville
2009-11-02 18:48 ` John W. Linville
2009-11-02 21:10 ` Luciano Coelho
2009-11-03 6:03 ` Luciano Coelho
2009-11-07 10:37 ` Kalle Valo
2009-11-09 11:20 ` Luciano Coelho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).