]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9bd2ccca08f6f3eb7ca7bbf19fac19bb024f70f7
tree5d1e270ed94fc179643d7d4229aa4e7959c35e85
parentb00cbfb6c9fb7623a93e767693013a1a80aaad2f
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