diff options
author | Andrei Otcheretianski <andrei.otcheretianski@intel.com> | 2013-10-21 23:01:12 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-05-06 16:32:46 -0400 |
commit | bd3398e2864e264842f5f702e5a69e30582a4d18 (patch) | |
tree | f977a2dc62827f6efe1d8094c77c18bb18d3dfe0 /drivers/net/wireless/iwlwifi/iwl-fw.h | |
parent | 9256c2051d39ac5a56685b70b8dfaf87be59cb28 (diff) |
iwlwifi:mvm: Add AP/GO channel switch support
Publish WIPHY_FLAG_HAS_CHANNEL_SWITCH if the fw supports
newly introduced IWL_UCODE_TLV_API_CSA_FLOW.
When CSA starts, save the switching vif inside mvm and during the CSA period
configure fw with a new beacon after each beacon transmission in order to
update the csa counters.
Also, handle correctly the CSA unbind-bind flow which is triggered by mac80211
when the actual channel switch happens.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-fw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-fw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fw.h b/drivers/net/wireless/iwlwifi/iwl-fw.h index f5927d0cf9b6..6fea27c0dd8e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-fw.h +++ b/drivers/net/wireless/iwlwifi/iwl-fw.h | |||
@@ -116,9 +116,11 @@ enum iwl_ucode_tlv_flag { | |||
116 | /** | 116 | /** |
117 | * enum iwl_ucode_tlv_api - ucode api | 117 | * enum iwl_ucode_tlv_api - ucode api |
118 | * @IWL_UCODE_TLV_API_WOWLAN_CONFIG_TID: wowlan config includes tid field. | 118 | * @IWL_UCODE_TLV_API_WOWLAN_CONFIG_TID: wowlan config includes tid field. |
119 | * @IWL_UCODE_TLV_API_CSA_FLOW: ucode can do unbind-bind flow for CSA. | ||
119 | */ | 120 | */ |
120 | enum iwl_ucode_tlv_api { | 121 | enum iwl_ucode_tlv_api { |
121 | IWL_UCODE_TLV_API_WOWLAN_CONFIG_TID = BIT(0), | 122 | IWL_UCODE_TLV_API_WOWLAN_CONFIG_TID = BIT(0), |
123 | IWL_UCODE_TLV_API_CSA_FLOW = BIT(4), | ||
122 | }; | 124 | }; |
123 | 125 | ||
124 | /** | 126 | /** |