Lines Matching refs:wiphy

517 	struct wiphy *wiphy = hw->wiphy;
538 wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL;
539 wiphy->iface_combinations = if_comb_chanctx;
540 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb_chanctx);
542 wiphy->flags &= ~WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL;
543 wiphy->iface_combinations = if_comb;
544 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb);
546 wiphy->flags &= ~(WIPHY_FLAG_IBSS_RSN | WIPHY_FLAG_4ADDR_AP |
548 wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
552 wiphy->max_remain_on_channel_duration = 5000;
553 wiphy->max_scan_ie_len = MT76_CONNAC_SCAN_IE_LEN;
554 wiphy->max_scan_ssids = 4;
555 wiphy->max_sched_scan_plan_interval =
557 wiphy->max_sched_scan_ie_len = IEEE80211_MAX_DATA_LEN;
558 wiphy->max_sched_scan_ssids = MT76_CONNAC_MAX_SCHED_SCAN_SSID;
559 wiphy->max_match_sets = MT76_CONNAC_MAX_SCAN_MATCH;
560 wiphy->max_sched_scan_reqs = 1;
561 wiphy->flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH |
564 wiphy->features |= NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR |
566 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_SET_SCAN_DWELL);
567 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_BEACON_RATE_LEGACY);
568 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_BEACON_RATE_HT);
569 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_BEACON_RATE_VHT);
570 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_BEACON_RATE_HE);
571 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT);
572 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CAN_REPLACE_PTK0);
852 dev->mt76.hw->wiphy->wowlan = &mt76_connac_wowlan_support;