Lines Matching defs:wiphy
124 struct ieee80211_regdomain *iwl_mvm_get_regdomain(struct wiphy *wiphy,
130 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy);
205 regulatory_set_wiphy_regd(mvm->hw->wiphy, regd);
214 return iwl_mvm_get_regdomain(mvm->hw->wiphy, "ZZ",
227 wiphy_dereference(mvm->hw->wiphy, mvm->hw->wiphy->regd);
242 regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, r->alpha2, used_src,
251 ret = regulatory_set_wiphy_regd_sync(mvm->hw->wiphy, regd);
383 hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_MLO;
459 hw->wiphy->n_cipher_suites = ARRAY_SIZE(mvm_ciphers);
460 hw->wiphy->cipher_suites = mvm->ciphers;
463 mvm->ciphers[hw->wiphy->n_cipher_suites] =
465 hw->wiphy->n_cipher_suites++;
466 mvm->ciphers[hw->wiphy->n_cipher_suites] =
468 hw->wiphy->n_cipher_suites++;
479 mvm->ciphers[hw->wiphy->n_cipher_suites] = WLAN_CIPHER_SUITE_AES_CMAC;
480 hw->wiphy->n_cipher_suites++;
482 mvm->ciphers[hw->wiphy->n_cipher_suites] =
484 hw->wiphy->n_cipher_suites++;
485 mvm->ciphers[hw->wiphy->n_cipher_suites] =
487 hw->wiphy->n_cipher_suites++;
490 wiphy_ext_feature_set(hw->wiphy,
492 wiphy_ext_feature_set(hw->wiphy,
497 wiphy_ext_feature_set(hw->wiphy,
499 hw->wiphy->pmsr_capa = &iwl_mvm_pmsr_capa;
505 wiphy_ext_feature_set(hw->wiphy,
509 wiphy_ext_feature_set(hw->wiphy,
514 hw->wiphy->hw_timestamp_max_peers = 1;
518 wiphy_ext_feature_set(hw->wiphy,
522 hw->wiphy->features |=
532 hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
539 hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
540 wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
547 wiphy_ext_feature_set(hw->wiphy,
549 hw->wiphy->features |= NL80211_FEATURE_HT_IBSS;
551 hw->wiphy->regulatory_flags |= REGULATORY_ENABLE_RELAX_NO_IR;
553 hw->wiphy->regulatory_flags |= REGULATORY_WIPHY_SELF_MANAGED;
555 hw->wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG |
559 wiphy_ext_feature_set(hw->wiphy,
562 hw->wiphy->flags |= WIPHY_FLAG_AP_UAPSD;
563 hw->wiphy->flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH;
564 hw->wiphy->flags |= WIPHY_FLAG_SPLIT_SCAN_6GHZ;
566 hw->wiphy->iface_combinations = iwl_mvm_iface_combinations;
567 hw->wiphy->n_iface_combinations =
570 hw->wiphy->max_remain_on_channel_duration = 10000;
575 hw->wiphy->addresses = mvm->addresses;
576 hw->wiphy->n_addresses = 1;
586 hw->wiphy->n_addresses++;
591 hw->wiphy->max_scan_ie_len = iwl_mvm_max_scan_ie_len(mvm);
593 hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX;
605 hw->wiphy->bands[NL80211_BAND_2GHZ] =
608 hw->wiphy->bands[NL80211_BAND_5GHZ] =
615 hw->wiphy->bands[NL80211_BAND_5GHZ]->vht_cap.cap |=
621 hw->wiphy->bands[NL80211_BAND_6GHZ] =
624 hw->wiphy->hw_version = mvm->trans->hw_id;
627 hw->wiphy->flags |= WIPHY_FLAG_PS_ON_BY_DEFAULT;
629 hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
631 hw->wiphy->max_sched_scan_reqs = 1;
632 hw->wiphy->max_sched_scan_ssids = PROBE_OPTION_MAX;
633 hw->wiphy->max_match_sets = iwl_umac_scan_get_max_profiles(mvm->fw);
635 hw->wiphy->max_sched_scan_ie_len =
637 hw->wiphy->max_sched_scan_plans = IWL_MAX_SCHED_SCAN_PLANS;
638 hw->wiphy->max_sched_scan_plan_interval = U16_MAX;
644 hw->wiphy->max_sched_scan_plan_iterations = 254;
646 hw->wiphy->features |= NL80211_FEATURE_P2P_GO_CTWIN |
656 hw->wiphy->features |= NL80211_FEATURE_TX_POWER_INSERTION;
659 hw->wiphy->features |= NL80211_FEATURE_QUIET;
663 hw->wiphy->features |=
668 hw->wiphy->features |= NL80211_FEATURE_WFA_TPC_IE_IN_PROBES;
672 hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_EXT_KEK_KCK;
676 wiphy_ext_feature_set(hw->wiphy,
678 wiphy_ext_feature_set(hw->wiphy,
685 wiphy_ext_feature_set(hw->wiphy,
687 wiphy_ext_feature_set(hw->wiphy,
689 wiphy_ext_feature_set(hw->wiphy,
694 wiphy_ext_feature_set(hw->wiphy,
698 hw->wiphy->iftype_ext_capab = NULL;
699 hw->wiphy->num_iftype_ext_capab = 0;
703 hw->wiphy->iftype_ext_capab = add_iftypes_ext_capa;
704 hw->wiphy->num_iftype_ext_capab =
717 if (!hw->wiphy->iftype_ext_capab) {
718 hw->wiphy->num_iftype_ext_capab = 1;
719 hw->wiphy->iftype_ext_capab = add_iftypes_ext_capa +
722 hw->wiphy->iftype_ext_capab = add_iftypes_ext_capa + 1;
729 wiphy_ext_feature_set(hw->wiphy,
734 wiphy_ext_feature_set(hw->wiphy,
759 hw->wiphy->wowlan = &mvm->wowlan;
770 hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS;
777 hw->wiphy->features |= NL80211_FEATURE_TDLS_CHANNEL_SWITCH;
785 wiphy_ext_feature_set(hw->wiphy,
789 wiphy_ext_feature_set(hw->wiphy,
794 hw->wiphy->available_antennas_tx = iwl_mvm_get_valid_tx_ant(mvm);
795 hw->wiphy->available_antennas_rx = iwl_mvm_get_valid_rx_ant(mvm);
1434 wiphy_work_cancel(mvm->hw->wiphy, &mvm->trig_link_selection_wk);
1435 wiphy_work_flush(mvm->hw->wiphy, &mvm->async_handlers_wiphy_wk);
1469 wiphy_work_cancel(hw->wiphy, &mvm->async_handlers_wiphy_wk);
1697 static void iwl_mvm_prevent_esr_done_wk(struct wiphy *wiphy,
1710 static void iwl_mvm_mlo_int_scan_wk(struct wiphy *wiphy, struct wiphy_work *wk)
1721 static void iwl_mvm_unblock_esr_tpt(struct wiphy *wiphy, struct wiphy_work *wk)
1894 wiphy_delayed_work_cancel(mvm->hw->wiphy,
1897 wiphy_delayed_work_cancel(mvm->hw->wiphy,
1900 wiphy_work_cancel(mvm->hw->wiphy, &mvmvif->unblock_esr_tpt_wk);
2515 sband = mvm->hw->wiphy->bands[NL80211_BAND_2GHZ];
3610 static void iwl_mvm_check_he_obss_narrow_bw_ru_iter(struct wiphy *wiphy,
3651 cfg80211_bss_iter(hw->wiphy, &link_conf->chanreq.oper,
3679 sband = mvm->hw->wiphy->bands[NL80211_BAND_2GHZ];
4087 wiphy_delayed_work_cancel(mvm->hw->wiphy,
4090 wiphy_delayed_work_cancel(mvm->hw->wiphy,
4093 wiphy_work_cancel(mvm->hw->wiphy, &mvmvif->unblock_esr_tpt_wk);
4441 if (!wiphy_ext_feature_isset(hw->wiphy,
5817 link_conf = wiphy_dereference(hw->wiphy,
5897 link_conf = wiphy_dereference(hw->wiphy,
5990 mvm->hw->wiphy->bands[band];