Lines Matching refs:wiphy

50 	struct wiphy *wiphy = mt76_hw(dev)->wiphy;
57 name = devm_kasprintf(&wiphy->dev, GFP_KERNEL, "mt7615_%s",
58 wiphy_name(wiphy));
59 hwmon = devm_hwmon_device_register_with_groups(&wiphy->dev, name, dev,
191 struct wiphy *wiphy = hw->wiphy;
197 wiphy->flags &= ~WIPHY_FLAG_4ADDR_STATION;
198 wiphy->max_remain_on_channel_duration = 5000;
199 wiphy->features |= NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR |
213 wiphy->max_sched_scan_plan_interval = 0;
214 wiphy->max_sched_scan_ie_len = 0;
215 wiphy->max_scan_ie_len = IEEE80211_MAX_DATA_LEN;
216 wiphy->max_sched_scan_ssids = 0;
217 wiphy->max_match_sets = 0;
218 wiphy->max_sched_scan_reqs = 0;
331 mt7615_regd_notifier(struct wiphy *wiphy,
334 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy);
363 struct wiphy *wiphy = hw->wiphy;
380 wiphy->iface_combinations = if_comb;
381 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb);
383 wiphy->iface_combinations = if_comb_radar;
384 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb_radar);
386 wiphy->reg_notifier = mt7615_regd_notifier;
388 wiphy->max_sched_scan_plan_interval =
390 wiphy->max_sched_scan_ie_len = IEEE80211_MAX_DATA_LEN;
391 wiphy->max_scan_ie_len = MT76_CONNAC_SCAN_IE_LEN;
392 wiphy->max_sched_scan_ssids = MT76_CONNAC_MAX_SCHED_SCAN_SSID;
393 wiphy->max_match_sets = MT76_CONNAC_MAX_SCAN_MATCH;
394 wiphy->max_sched_scan_reqs = 1;
395 wiphy->max_scan_ssids = 4;
397 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_SET_SCAN_DWELL);
398 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
399 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CAN_REPLACE_PTK0);
401 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER);
431 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask;
432 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask;
444 dev->mphy.hw->wiphy->available_antennas_rx = dev->chainmask;
445 dev->mphy.hw->wiphy->available_antennas_tx = dev->chainmask;