]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit53a9d61eb74e574aec2db86f63d9809b6116d164
tree2249b1a5324163a62e82568c5df1805fef7745cf
parentfe0f2de30cc3417794517afe45f57e851b3188ae
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