]> git.baikalelectronics.ru Git - kernel.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)
commitc23e1b8879bd8d50aeb86e7b95d919b8e2984604
treecbde295d509015ed5dfa6e6281db0ba128d4c0ec
parent05c7fba8c65495b0ab10a9bb5ae9bf12e53373df
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