Lines Matching refs:wiphy
51 struct wiphy *wiphy = mt76_hw(dev)->wiphy; in mt7615_thermal_init() local
58 name = devm_kasprintf(&wiphy->dev, GFP_KERNEL, "mt7615_%s", in mt7615_thermal_init()
59 wiphy_name(wiphy)); in mt7615_thermal_init()
63 hwmon = devm_hwmon_device_register_with_groups(&wiphy->dev, name, dev, in mt7615_thermal_init()
193 struct wiphy *wiphy = hw->wiphy; in mt7615_check_offload_capability() local
199 wiphy->flags &= ~WIPHY_FLAG_4ADDR_STATION; in mt7615_check_offload_capability()
200 wiphy->max_remain_on_channel_duration = 5000; in mt7615_check_offload_capability()
201 wiphy->features |= NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR | in mt7615_check_offload_capability()
215 wiphy->max_sched_scan_plan_interval = 0; in mt7615_check_offload_capability()
216 wiphy->max_sched_scan_ie_len = 0; in mt7615_check_offload_capability()
217 wiphy->max_scan_ie_len = IEEE80211_MAX_DATA_LEN; in mt7615_check_offload_capability()
218 wiphy->max_sched_scan_ssids = 0; in mt7615_check_offload_capability()
219 wiphy->max_match_sets = 0; in mt7615_check_offload_capability()
220 wiphy->max_sched_scan_reqs = 0; in mt7615_check_offload_capability()
333 mt7615_regd_notifier(struct wiphy *wiphy, in mt7615_regd_notifier() argument
336 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in mt7615_regd_notifier()
365 struct wiphy *wiphy = hw->wiphy; in mt7615_init_wiphy() local
382 wiphy->iface_combinations = if_comb; in mt7615_init_wiphy()
383 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb); in mt7615_init_wiphy()
385 wiphy->iface_combinations = if_comb_radar; in mt7615_init_wiphy()
386 wiphy->n_iface_combinations = ARRAY_SIZE(if_comb_radar); in mt7615_init_wiphy()
388 wiphy->reg_notifier = mt7615_regd_notifier; in mt7615_init_wiphy()
390 wiphy->max_sched_scan_plan_interval = in mt7615_init_wiphy()
392 wiphy->max_sched_scan_ie_len = IEEE80211_MAX_DATA_LEN; in mt7615_init_wiphy()
393 wiphy->max_scan_ie_len = MT76_CONNAC_SCAN_IE_LEN; in mt7615_init_wiphy()
394 wiphy->max_sched_scan_ssids = MT76_CONNAC_MAX_SCHED_SCAN_SSID; in mt7615_init_wiphy()
395 wiphy->max_match_sets = MT76_CONNAC_MAX_SCAN_MATCH; in mt7615_init_wiphy()
396 wiphy->max_sched_scan_reqs = 1; in mt7615_init_wiphy()
397 wiphy->max_scan_ssids = 4; in mt7615_init_wiphy()
399 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_SET_SCAN_DWELL); in mt7615_init_wiphy()
400 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_VHT_IBSS); in mt7615_init_wiphy()
401 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CAN_REPLACE_PTK0); in mt7615_init_wiphy()
403 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER); in mt7615_init_wiphy()
433 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7615_cap_dbdc_enable()
434 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask; in mt7615_cap_dbdc_enable()
446 dev->mphy.hw->wiphy->available_antennas_rx = dev->chainmask; in mt7615_cap_dbdc_disable()
447 dev->mphy.hw->wiphy->available_antennas_tx = dev->chainmask; in mt7615_cap_dbdc_disable()