Lines Matching defs:wiphy
48 bool chan_switch = local->hw.wiphy->features &
80 struct wiphy *wiphy = sdata->local->hw.wiphy;
86 ch = ieee80211_get_channel(sdata->local->hw.wiphy, i);
91 if (cfg80211_reg_can_beacon_relax(wiphy, &chandef,
348 !cfg80211_reg_can_beacon_relax(sdata->local->hw.wiphy, &uc,
818 ieee80211_prep_tdls_encap_data(struct wiphy *wiphy, struct net_device *dev,
901 ieee80211_prep_tdls_direct(struct wiphy *wiphy, struct net_device *dev,
992 ret = ieee80211_prep_tdls_encap_data(local->hw.wiphy,
998 ret = ieee80211_prep_tdls_direct(local->hw.wiphy, sdata->dev,
1025 ieee80211_tdls_prep_mgmt_packet(struct wiphy *wiphy, struct net_device *dev,
1163 ieee80211_tdls_mgmt_setup(struct wiphy *wiphy, struct net_device *dev,
1214 ret = ieee80211_tdls_prep_mgmt_packet(wiphy, dev, peer,
1238 ieee80211_tdls_mgmt_teardown(struct wiphy *wiphy, struct net_device *dev,
1260 ret = ieee80211_tdls_prep_mgmt_packet(wiphy, dev, peer,
1286 int ieee80211_tdls_mgmt(struct wiphy *wiphy, struct net_device *dev,
1295 if (!(wiphy->flags & WIPHY_FLAG_SUPPORTS_TDLS))
1306 ret = ieee80211_tdls_mgmt_setup(wiphy, dev, peer,
1313 ret = ieee80211_tdls_mgmt_teardown(wiphy, dev, peer, link_id,
1330 ret = ieee80211_tdls_prep_mgmt_packet(wiphy, dev, peer,
1362 sband = local->hw.wiphy->bands[conf->def.chan->band];
1442 int ieee80211_tdls_oper(struct wiphy *wiphy, struct net_device *dev,
1450 if (!(wiphy->flags & WIPHY_FLAG_SUPPORTS_TDLS))
1534 wiphy_work_queue(sdata->local->hw.wiphy,
1661 ieee80211_tdls_channel_switch(struct wiphy *wiphy, struct net_device *dev,
1712 ieee80211_tdls_cancel_channel_switch(struct wiphy *wiphy,
1936 chan = ieee80211_get_channel(sdata->local->hw.wiphy, freq);
1980 if (!cfg80211_reg_can_beacon_relax(sdata->local->hw.wiphy, &chandef,
2046 struct wiphy *wiphy = sdata->local->hw.wiphy;
2048 lockdep_assert_wiphy(wiphy);
2051 if (!(wiphy->features & NL80211_FEATURE_TDLS_CHANNEL_SWITCH))