diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c | 15 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mac80211.c | 7 |
2 files changed, 13 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c b/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c index 96b9cf8137e7..0e523e28cabf 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c | |||
@@ -1074,8 +1074,12 @@ static int iwl_mvm_mac_ctxt_cmd_ap(struct iwl_mvm *mvm, | |||
1074 | /* Fill the common data for all mac context types */ | 1074 | /* Fill the common data for all mac context types */ |
1075 | iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, action); | 1075 | iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, action); |
1076 | 1076 | ||
1077 | /* Also enable probe requests to pass */ | 1077 | /* |
1078 | cmd.filter_flags |= cpu_to_le32(MAC_FILTER_IN_PROBE_REQUEST); | 1078 | * pass probe requests and beacons from other APs (needed |
1079 | * for ht protection) | ||
1080 | */ | ||
1081 | cmd.filter_flags |= cpu_to_le32(MAC_FILTER_IN_PROBE_REQUEST | | ||
1082 | MAC_FILTER_IN_BEACON); | ||
1079 | 1083 | ||
1080 | /* Fill the data specific for ap mode */ | 1084 | /* Fill the data specific for ap mode */ |
1081 | iwl_mvm_mac_ctxt_cmd_fill_ap(mvm, vif, &cmd.ap, | 1085 | iwl_mvm_mac_ctxt_cmd_fill_ap(mvm, vif, &cmd.ap, |
@@ -1096,6 +1100,13 @@ static int iwl_mvm_mac_ctxt_cmd_go(struct iwl_mvm *mvm, | |||
1096 | /* Fill the common data for all mac context types */ | 1100 | /* Fill the common data for all mac context types */ |
1097 | iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, action); | 1101 | iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, action); |
1098 | 1102 | ||
1103 | /* | ||
1104 | * pass probe requests and beacons from other APs (needed | ||
1105 | * for ht protection) | ||
1106 | */ | ||
1107 | cmd.filter_flags |= cpu_to_le32(MAC_FILTER_IN_PROBE_REQUEST | | ||
1108 | MAC_FILTER_IN_BEACON); | ||
1109 | |||
1099 | /* Fill the data specific for GO mode */ | 1110 | /* Fill the data specific for GO mode */ |
1100 | iwl_mvm_mac_ctxt_cmd_fill_ap(mvm, vif, &cmd.go.ap, | 1111 | iwl_mvm_mac_ctxt_cmd_fill_ap(mvm, vif, &cmd.go.ap, |
1101 | action == FW_CTXT_ACTION_ADD); | 1112 | action == FW_CTXT_ACTION_ADD); |
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index 634bb7b7499e..6639341b2c2c 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c | |||
@@ -329,13 +329,6 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm) | |||
329 | hw->uapsd_max_sp_len = IWL_UAPSD_MAX_SP; | 329 | hw->uapsd_max_sp_len = IWL_UAPSD_MAX_SP; |
330 | } | 330 | } |
331 | 331 | ||
332 | if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_UAPSD_SUPPORT && | ||
333 | !iwlwifi_mod_params.uapsd_disable) { | ||
334 | hw->flags |= IEEE80211_HW_SUPPORTS_UAPSD; | ||
335 | hw->uapsd_queues = IWL_UAPSD_AC_INFO; | ||
336 | hw->uapsd_max_sp_len = IWL_UAPSD_MAX_SP; | ||
337 | } | ||
338 | |||
339 | if (mvm->fw->ucode_capa.api[0] & IWL_UCODE_TLV_API_LMAC_SCAN) | 332 | if (mvm->fw->ucode_capa.api[0] & IWL_UCODE_TLV_API_LMAC_SCAN) |
340 | hw->flags |= IEEE80211_SINGLE_HW_SCAN_ON_ALL_BANDS; | 333 | hw->flags |= IEEE80211_SINGLE_HW_SCAN_ON_ALL_BANDS; |
341 | 334 | ||