]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: move the Rx dispatching to the upper layer
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 7 Jul 2011 14:59:02 +0000 (07:59 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 16 Jul 2011 14:37:06 +0000 (07:37 -0700)
commitfdebf15149f77e3c8fe2a2e2a5a9afdbbbd5faa6
tree36296b54edf0e3d8ee2b2c671d730b4de1f215e0
parent80dc20ab7f59e4801ad7d2a5352f07f3f4411dee
iwlagn: move the Rx dispatching to the upper layer

The upper layer receives a pointer to an iwl_rx_mem_buffer. I would prefer the
upper layer to receive a pointer to an iwl_rx_packet, but this is impossible
since the Rx path needs to add the address of the page to the skb.
I may find a solution later.

All the pre_rx_handler and notification code has been moved to the upper layer.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-agn.h
drivers/net/wireless/iwlwifi/iwl-rx.c