iwlwifi: add testmode command for rx forwarding
authorAmit Beka <amit.beka@intel.com>
Wed, 7 Mar 2012 17:52:29 +0000 (09:52 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Mar 2012 18:59:52 +0000 (13:59 -0500)
commit0aef8ddc8bedac1db4c96fddc9fb1b44b730cf4f
tree5d1e270ed94fc179643d7d4229aa4e7959c35e85
parent8722c899a07f45457464803142bd1c2d2a2c3bd8
iwlwifi: add testmode command for rx forwarding

Added a testmode command which tells iwl_rx_dispatch
to send the RX both as a notification to nl80211 and
with the registered RX handlers.

This is used for monitoring RX from userspace while preserving
the regular flows in the driver.

Signed-off-by: Amit Beka <amit.beka@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rx.c
drivers/net/wireless/iwlwifi/iwl-testmode.c
drivers/net/wireless/iwlwifi/iwl-testmode.h