mac80211.c (f75c1d55ecbadce027fd650d3ca79e357afae0d9) mac80211.c (773a042fddf25b452987bce418bd8a4a41767d6e)
1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2/*
3 * Copyright (C) 2012-2014, 2018-2021 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
6 */
7#include <linux/kernel.h>
8#include <linux/slab.h>

--- 627 unchanged lines hidden (view full) ---

636 IWL_UCODE_TLV_API_SCAN_TSF_REPORT)) {
637 wiphy_ext_feature_set(hw->wiphy,
638 NL80211_EXT_FEATURE_SCAN_START_TIME);
639 wiphy_ext_feature_set(hw->wiphy,
640 NL80211_EXT_FEATURE_BSS_PARENT_TSF);
641 }
642
643 if (iwl_mvm_is_oce_supported(mvm)) {
1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2/*
3 * Copyright (C) 2012-2014, 2018-2021 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
6 */
7#include <linux/kernel.h>
8#include <linux/slab.h>

--- 627 unchanged lines hidden (view full) ---

636 IWL_UCODE_TLV_API_SCAN_TSF_REPORT)) {
637 wiphy_ext_feature_set(hw->wiphy,
638 NL80211_EXT_FEATURE_SCAN_START_TIME);
639 wiphy_ext_feature_set(hw->wiphy,
640 NL80211_EXT_FEATURE_BSS_PARENT_TSF);
641 }
642
643 if (iwl_mvm_is_oce_supported(mvm)) {
644 u8 scan_ver = iwl_fw_lookup_cmd_ver(mvm->fw,
645 IWL_ALWAYS_LONG_GROUP,
646 SCAN_REQ_UMAC, 0);
647
644 wiphy_ext_feature_set(hw->wiphy,
645 NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP);
646 wiphy_ext_feature_set(hw->wiphy,
647 NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME);
648 wiphy_ext_feature_set(hw->wiphy,
648 wiphy_ext_feature_set(hw->wiphy,
649 NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP);
650 wiphy_ext_feature_set(hw->wiphy,
651 NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME);
652 wiphy_ext_feature_set(hw->wiphy,
649 NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION);
650 wiphy_ext_feature_set(hw->wiphy,
651 NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE);
653 NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE);
654
655 /* Old firmware also supports probe deferral and suppression */
656 if (scan_ver < 15)
657 wiphy_ext_feature_set(hw->wiphy,
658 NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION);
652 }
653
654 if (mvm->nvm_data->sku_cap_11ax_enable &&
655 !iwlwifi_mod_params.disable_11ax) {
656 hw->wiphy->iftype_ext_capab = he_iftypes_ext_capa;
657 hw->wiphy->num_iftype_ext_capab =
658 ARRAY_SIZE(he_iftypes_ext_capa);
659

--- 4959 unchanged lines hidden ---
659 }
660
661 if (mvm->nvm_data->sku_cap_11ax_enable &&
662 !iwlwifi_mod_params.disable_11ax) {
663 hw->wiphy->iftype_ext_capab = he_iftypes_ext_capa;
664 hw->wiphy->num_iftype_ext_capab =
665 ARRAY_SIZE(he_iftypes_ext_capa);
666

--- 4959 unchanged lines hidden ---