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)
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>

No differences found