diff mbox

patch : mac80211:Multicast patch for linux-2.6.28.1 (wl12xx drivers)

Message ID 45566970CF58C74CB52107862E0541CD1D1F72A2@POCITMSEXMB02.LntUniverse.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Girish Bn Feb. 18, 2013, 11:09 a.m. UTC
Hi All,

The below patch file is required in order for the multicasting to work properly on Linux kernel below 3.2 for wl12xx drivers

This above patch will disable the multicast filter at the wl1271 hardware

Thanks & Regards,
Girish
L&T IES,
KIADB Industrial Area,
Hebbal-Hootagalli, Mysore - 570 018
Telephone :  DID+91-821-2405552
Mobile: +91-9741206402
E-mail ID :Girish.BN@lnties.com
www.lnties.com

This mail is classified as :
(  ) L&T IES Proprietary
(  ) L&T IES Confidential
(X) L&T IES Internal Use
( ) L&T IES General Business

Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
--
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

Comments

Johannes Berg Feb. 18, 2013, 11:11 a.m. UTC | #1
On Mon, 2013-02-18 at 11:09 +0000, Girish Bn wrote:
> Hi All,
> 
> The below patch file is required in order for the multicasting to work properly on Linux kernel below 3.2 for wl12xx drivers
> diff -Naur a/net/mac80211/iface.c b/net/mac80211/iface.c
> --- a/net/mac80211/iface.c          2012-09-22 22:59:15.000000000 +0530
> +++ b/net/mac80211/iface.c      2013-02-07 12:06:03.958268798 +0530
> @@ -811,6 +811,9 @@
>                .ndo_uninit                        = ieee80211_teardown_sdata,
>                .ndo_start_xmit                               = ieee80211_subif_start_xmit,
>                .ndo_set_rx_mode        = ieee80211_set_multicast_list,
> +#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0))
> +             .ndo_set_multicast_list = ieee80211_set_multicast_list,
> +#endif

LOL.

johannes

--
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
Johannes Berg Feb. 18, 2013, 11:13 a.m. UTC | #2
On Mon, 2013-02-18 at 12:11 +0100, Johannes Berg wrote:
> On Mon, 2013-02-18 at 11:09 +0000, Girish Bn wrote:
> > Hi All,
> > 
> > The below patch file is required in order for the multicasting to work properly on Linux kernel below 3.2 for wl12xx drivers
> > diff -Naur a/net/mac80211/iface.c b/net/mac80211/iface.c
> > --- a/net/mac80211/iface.c          2012-09-22 22:59:15.000000000 +0530
> > +++ b/net/mac80211/iface.c      2013-02-07 12:06:03.958268798 +0530
> > @@ -811,6 +811,9 @@
> >                .ndo_uninit                        = ieee80211_teardown_sdata,
> >                .ndo_start_xmit                               = ieee80211_subif_start_xmit,
> >                .ndo_set_rx_mode        = ieee80211_set_multicast_list,
> > +#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0))
> > +             .ndo_set_multicast_list = ieee80211_set_multicast_list,
> > +#endif
> 
> LOL.

Also this:

> This mail is classified as :
> (  ) L&T IES Proprietary
> (  ) L&T IES Confidential
> (X) L&T IES Internal Use
> ( ) L&T IES General Business


In other words, you never even wanted me to see that email, which is
just as well since it's completely bogus for upstream.

johannes

--
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
Girish Bn Feb. 18, 2013, 11:25 a.m. UTC | #3
Hi,

This particular change is required on for the multicast to work successfully on Linux kernel 2.6.28.2. I thought through this forum I can make others to use this patch to resolve multicast issue. I accept that I am new to open source. If any proper way to make multicast to work, please suggest otherwise discard the patch. For me this patch is working to receive IGMP packets over the Wireless network

Thanks & Regards,
Girish
L&T IES,
KIADB Industrial Area,
Hebbal-Hootagalli, Mysore - 570 018
Telephone :  DID+91-821-2405552
Mobile: +91-9741206402
E-mail ID :Girish.BN@lnties.com
www.lnties.com

This mail is classified as :
(  ) L&T IES Proprietary
(  ) L&T IES Confidential
(X) L&T IES Internal Use
( ) L&T IES General Business


-----Original Message-----
From: Johannes Berg [mailto:johannes@sipsolutions.net]

Sent: Monday, February 18, 2013 4:43 PM
To: Girish Bn
Cc: linux-wireless@vger.kernel.org
Subject: Re: patch : mac80211:Multicast patch for linux-2.6.28.1 (wl12xx drivers)

On Mon, 2013-02-18 at 12:11 +0100, Johannes Berg wrote:
> On Mon, 2013-02-18 at 11:09 +0000, Girish Bn wrote:

> > Hi All,

> >

> > The below patch file is required in order for the multicasting to

> > work properly on Linux kernel below 3.2 for wl12xx drivers diff -Naur a/net/mac80211/iface.c b/net/mac80211/iface.c

> > --- a/net/mac80211/iface.c          2012-09-22 22:59:15.000000000 +0530

> > +++ b/net/mac80211/iface.c      2013-02-07 12:06:03.958268798 +0530

> > @@ -811,6 +811,9 @@

> >                .ndo_uninit                        = ieee80211_teardown_sdata,

> >                .ndo_start_xmit                               = ieee80211_subif_start_xmit,

> >                .ndo_set_rx_mode        = ieee80211_set_multicast_list,

> > +#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0))

> > +             .ndo_set_multicast_list =

> > +ieee80211_set_multicast_list, #endif

>

> LOL.


Also this:

> This mail is classified as :

> (  ) L&T IES Proprietary

> (  ) L&T IES Confidential

> (X) L&T IES Internal Use

> ( ) L&T IES General Business



In other words, you never even wanted me to see that email, which is just as well since it's completely bogus for upstream.

johannes

Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
Johannes Berg Feb. 18, 2013, 11:46 a.m. UTC | #4
On Mon, 2013-02-18 at 11:25 +0000, Girish Bn wrote:
> Hi,

(please don't top-post)

> This particular change is required on for the multicast to work
> successfully on Linux kernel 2.6.28.2. I thought through this forum I
> can make others to use this patch to resolve multicast issue. I accept
> that I am new to open source. If any proper way to make multicast to
> work, please suggest otherwise discard the patch. For me this patch is
> working to receive IGMP packets over the Wireless network

This particular patch is not required upstream because upstream has long
moved past 2.6.28(.2). If you need this included in TI's special compat
version you need to talk to them.

In any case, I cannot and will not apply patches to any tree that carry
a "confidential information" footer and/or don't have a sign-off.

johannes

--
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
diff mbox

Patch

diff -Naur a/net/mac80211/iface.c b/net/mac80211/iface.c
--- a/net/mac80211/iface.c          2012-09-22 22:59:15.000000000 +0530
+++ b/net/mac80211/iface.c      2013-02-07 12:06:03.958268798 +0530
@@ -811,6 +811,9 @@ 
               .ndo_uninit                        = ieee80211_teardown_sdata,
               .ndo_start_xmit                               = ieee80211_subif_start_xmit,
               .ndo_set_rx_mode        = ieee80211_set_multicast_list,
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0))
+             .ndo_set_multicast_list = ieee80211_set_multicast_list,
+#endif
               .ndo_change_mtu          = ieee80211_change_mtu,
               .ndo_set_mac_address                = ieee80211_change_mac,
               .ndo_select_queue        = ieee80211_netdev_select_queue,