]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: put multicast/broadcast packets to the same RA
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 14 Jul 2011 03:51:57 +0000 (20:51 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 21 Jul 2011 18:52:02 +0000 (14:52 -0400)
commit783b023a64218d858ee573c43e7c6ada7019e60c
treeccd7ecedcab4f44141a1cba168bade64dd3c8a86
parent99d859b1b7d9660115a32f1b9da2f401025b83e0
mwifiex: put multicast/broadcast packets to the same RA

For ad-hoc mode, RA is created for each peer connected. In case of
multicast traffic new RA will be created for each multicast
address. While processing Tx packets we have to go through this
RA list. We can avoid some RA nodes by sharing same RA for both
multicast and broadcast packets.

Therefore "memset(0xff)" is used to treat multicast packet as broadcast
one while choosing RA.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/wmm.c