]> git.openfabrics.org - ~emulex/infiniband.git/commit
iwlwifi: enable packet injection for iwlagn
authorStefanik Gábor <netrolller.3d@gmail.com>
Wed, 3 Sep 2008 03:26:59 +0000 (11:26 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Sep 2008 18:23:22 +0000 (14:23 -0400)
commitd10c4ec8b4bc02f3874c7ef3c3539e4e7e123969
treecbde295d509015ed5dfa6e6281db0ba128d4c0ec
parentf93405206557077d6508682b624117ec68ea48f6
iwlwifi: enable packet injection for iwlagn

Handle station IDs of transmitted packets when in monitor mode, and
remove the various anti-injection checks from the iwl4965 driver.
This makes injection work on iwl4965 and iwl5000. Tested on both cards.

Note: To inject management frames with encryption, HW crypto support
must be disabled using the "swcrypto=1" modparam (or "swcrypto50=1"
for iwl5000). Otherwise most management frames won't be transmitted.

Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-sta.c
drivers/net/wireless/iwlwifi/iwl-tx.c