|
@@ -303,6 +303,13 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm)
|
|
|
hw->uapsd_max_sp_len = IWL_UAPSD_MAX_SP;
|
|
|
}
|
|
|
|
|
|
+ if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_UAPSD_SUPPORT &&
|
|
|
+ !iwlwifi_mod_params.uapsd_disable) {
|
|
|
+ hw->flags |= IEEE80211_HW_SUPPORTS_UAPSD;
|
|
|
+ hw->uapsd_queues = IWL_UAPSD_AC_INFO;
|
|
|
+ hw->uapsd_max_sp_len = IWL_UAPSD_MAX_SP;
|
|
|
+ }
|
|
|
+
|
|
|
hw->sta_data_size = sizeof(struct iwl_mvm_sta);
|
|
|
hw->vif_data_size = sizeof(struct iwl_mvm_vif);
|
|
|
hw->chanctx_data_size = sizeof(u16);
|