Lines Matching defs:wiphy

46 static void ieee80211_iface_work(struct wiphy *wiphy, struct wiphy_work *work);
163 if (is_zero_ether_addr(local->hw.wiphy->addr_mask))
171 m = local->hw.wiphy->addr_mask;
437 wiphy_lock(sdata->local->hw.wiphy);
439 wiphy_unlock(sdata->local->hw.wiphy);
617 wiphy_work_cancel(sdata->local->hw.wiphy, &sdata->work);
694 wiphy_delayed_work_flush(local->hw.wiphy, &local->scan_work);
742 /* close dependent VLAN and MBSSID interfaces before locking wiphy */
755 wiphy_lock(sdata->local->hw.wiphy);
757 wiphy_unlock(sdata->local->hw.wiphy);
907 if (sdata->wdev.wiphy->flags & WIPHY_FLAG_SUPPORTS_TDLS) {
969 local->hw.wiphy->frag_threshold != (u32)-1)
1122 lockdep_assert_wiphy(local->hw.wiphy);
1134 wiphy_name(local->hw.wiphy));
1193 lockdep_assert_wiphy(local->hw.wiphy);
1309 eth_hw_addr_set(dev, local->hw.wiphy->perm_addr);
1635 static void ieee80211_iface_work(struct wiphy *wiphy, struct wiphy_work *work)
1940 memcpy(perm_addr, local->hw.wiphy->perm_addr, ETH_ALEN);
1942 if (is_zero_ether_addr(local->hw.wiphy->addr_mask) &&
1943 local->hw.wiphy->n_addresses <= 1)
1977 for (i = 0; i < local->hw.wiphy->n_addresses; i++) {
1981 if (ether_addr_equal(local->hw.wiphy->addresses[i].addr,
1990 local->hw.wiphy->addresses[i].addr,
1997 if (is_zero_ether_addr(local->hw.wiphy->addr_mask))
2000 m = local->hw.wiphy->addr_mask;
2015 m = local->hw.wiphy->perm_addr;
2105 dev_net_set(ndev, wiphy_net(local->hw.wiphy));
2134 SET_NETDEV_DEV(ndev, wiphy_dev(local->hw.wiphy));
2152 sdata->wdev.wiphy = local->hw.wiphy;
2165 sband = local->hw.wiphy->bands[i];
2282 cfg80211_shutdown_all_interfaces(local->hw.wiphy);
2285 wiphy_name(local->hw.wiphy), local->open_count);
2293 wiphy_lock(local->hw.wiphy);
2303 wiphy_unlock(local->hw.wiphy);
2315 if (!dev->ieee80211_ptr || !dev->ieee80211_ptr->wiphy)
2318 if (dev->ieee80211_ptr->wiphy->privid != mac80211_wiphy_privid)