]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Change PHY context handling
authorIlan Peer <ilan.peer@intel.com>
Sun, 28 Apr 2013 08:55:08 +0000 (11:55 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 May 2013 16:15:18 +0000 (18:15 +0200)
commitace7d78e501fe6375d0e04c5b4dc7946155f3cd0
tree2249b1a5324163a62e82568c5df1805fef7745cf
parente79eed7978e8edb142b56fadb9e7c9d50955ac78
iwlwifi: mvm: Change PHY context handling

1. All the phy contexts are added immediately after the
   firmware is loaded and up.
2. Whenever a PHY context needs to be used, its reference
   counter is incremented and the PHY context is being
   configured to the appropriate configuration.
3. When a PHY context is no longer needed, its reference
   count is decremented.
4. PHY contexts are never removed.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c