]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: decouple testmode and iwl-test
authorIlan Peer <ilan.peer@intel.com>
Mon, 4 Jun 2012 16:39:30 +0000 (19:39 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Jun 2012 09:41:18 +0000 (11:41 +0200)
commit7d7ca51ab90b05b1dcc2a95023e8b266a7a641e8
tree97457f8ad76187a4422757194d0a34bb977b24f3
parent3172ee5433ac0b02c77476f9b9d2d947242f2b5f
iwlwifi: decouple testmode and iwl-test

The iwl-test flows were based on the cfg80211 testmode APIs.

To remove this coupling, the op mode (during the initialization
of the iwl_test object) is responsible to set the callbacks that
should be used by iwl-test to allocate skbs for events and replies
and to send events and replies.

The current op modes implement these callbacks based on the cfg80211
testmode APIs.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/rx.c
drivers/net/wireless/iwlwifi/dvm/testmode.c
drivers/net/wireless/iwlwifi/iwl-test.c
drivers/net/wireless/iwlwifi/iwl-test.h