Lines Matching defs:wiphy

93 	sband = local->hw.wiphy->bands[chandef->chan->band];
266 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef,
279 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef,
287 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy,
386 bss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, mgmt,
389 cfg80211_put_bss(local->hw.wiphy, bss);
441 sband = sdata->local->hw.wiphy->bands[cbss->channel->band];
496 cbss = cfg80211_get_bss(sdata->local->hw.wiphy, ifibss->chandef.chan,
508 cfg80211_put_bss(sdata->local->hw.wiphy, cbss);
541 cbss = cfg80211_get_bss(sdata->local->hw.wiphy,
550 cfg80211_put_bss(sdata->local->hw.wiphy, cbss);
564 wiphy_work_cancel(sdata->local->hw.wiphy,
642 sband = local->hw.wiphy->bands[band];
684 cbss = cfg80211_get_bss(local->hw.wiphy, ifibss->chandef.chan,
691 cfg80211_unlink_bss(local->hw.wiphy, cbss);
692 cfg80211_put_bss(sdata->local->hw.wiphy, cbss);
734 static void ieee80211_csa_connection_drop_work(struct wiphy *wiphy,
748 wiphy_work_queue(sdata->local->hw.wiphy, &sdata->work);
761 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy,
765 cfg80211_radar_event(sdata->local->hw.wiphy, &ifibss->chandef,
816 if (!(sdata->local->hw.wiphy->flags & WIPHY_FLAG_HAS_CHANNEL_SWITCH))
854 if (!cfg80211_reg_can_beacon(sdata->local->hw.wiphy, &params.chandef,
866 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy,
892 if (ieee80211_channel_switch(sdata->local->hw.wiphy, sdata->dev,
901 wiphy_work_queue(sdata->local->hw.wiphy,
999 sband = local->hw.wiphy->bands[band];
1118 channel = ieee80211_get_channel(local->hw.wiphy, rx_status->freq);
1242 sband = local->hw.wiphy->bands[band];
1249 wiphy_work_queue(local->hw.wiphy, &sdata->work);
1357 static unsigned int ibss_setup_channels(struct wiphy *wiphy,
1375 chan = ieee80211_get_channel(wiphy, freq);
1389 ieee80211_ibss_setup_scan_channels(struct wiphy *wiphy,
1417 n_chan = ibss_setup_channels(wiphy, channels, channels_max, cf1, width);
1420 n_chan += ibss_setup_channels(wiphy, &channels[n_chan],
1455 cbss = cfg80211_get_bss(local->hw.wiphy, chan, bssid,
1500 num = ieee80211_ibss_setup_scan_channels(local->hw.wiphy,
1728 wiphy_work_queue(sdata->local->hw.wiphy, &sdata->work);
1775 ret = cfg80211_chandef_dfs_required(local->hw.wiphy,
1811 sband = local->hw.wiphy->bands[params->chandef.chan->band];
1863 wiphy_work_queue(local->hw.wiphy, &sdata->work);