mwifiex: use map/unmap APIs in TX and RX to reduce memcpy
authorAvinash Patil <patila@marvell.com>
Fri, 4 Jan 2013 05:21:32 +0000 (21:21 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:18:30 +0000 (15:18 -0500)
commite7f767a7d9f809c494bfffffeda2bbdbfec110b4
tree1f1e96d6d2c430b1cb841b5cefbd69133c28f7ce
parentfbd7e7ac6db3db8bccf3210d23b5a2a66471c538
mwifiex: use map/unmap APIs in TX and RX to reduce memcpy

This patch is an enhacement to mwifiex_pcie driver to use
map/unmap PCI memory APIs. This reduces one memcpy each in TX
path and RX path, and enhances throughput.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/11n_aggr.c
drivers/net/wireless/mwifiex/pcie.c
drivers/net/wireless/mwifiex/pcie.h
drivers/net/wireless/mwifiex/txrx.c
drivers/net/wireless/mwifiex/wmm.c