Lines Matching defs:local

46 	struct ieee80211_local *local = sdata->local;
93 sband = local->hw.wiphy->bands[chandef->chan->band];
205 if (local->hw.queues >= IEEE80211_NUM_ACS)
226 struct ieee80211_local *local = sdata->local;
241 drv_reset_tsf(local, sdata);
255 drv_leave_ibss(local, sdata);
267 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef,
280 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef,
288 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy,
303 mutex_lock(&local->mtx);
309 mutex_unlock(&local->mtx);
313 mutex_unlock(&local->mtx);
365 err = drv_join_ibss(local, sdata);
373 mutex_lock(&local->mtx);
375 mutex_unlock(&local->mtx);
389 bss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, mgmt,
392 cfg80211_put_bss(local->hw.wiphy, bss);
444 sband = sdata->local->hw.wiphy->bands[cbss->channel->band];
499 cbss = cfg80211_get_bss(sdata->local->hw.wiphy, ifibss->chandef.chan,
513 cfg80211_put_bss(sdata->local->hw.wiphy, cbss);
550 cbss = cfg80211_get_bss(sdata->local->hw.wiphy,
559 cfg80211_put_bss(sdata->local->hw.wiphy, cbss);
607 struct ieee80211_local *local = sdata->local;
618 if (local->num_sta >= IEEE80211_IBSS_MAX_STA_ENTRIES) {
650 sband = local->hw.wiphy->bands[band];
659 struct ieee80211_local *local = sdata->local;
667 list_for_each_entry_rcu(sta, &local->sta_list, list) {
686 struct ieee80211_local *local = sdata->local;
692 cbss = cfg80211_get_bss(local->hw.wiphy, ifibss->chandef.chan,
699 cfg80211_unlink_bss(local->hw.wiphy, cbss);
700 cfg80211_put_bss(sdata->local->hw.wiphy, cbss);
715 sta_info_free(local, sta);
737 drv_leave_ibss(local, sdata);
738 mutex_lock(&local->mtx);
740 mutex_unlock(&local->mtx);
756 ieee80211_queue_work(&sdata->local->hw, &sdata->work);
769 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy,
773 cfg80211_radar_event(sdata->local->hw.wiphy, &ifibss->chandef,
823 if (!(sdata->local->hw.wiphy->flags & WIPHY_FLAG_HAS_CHANNEL_SWITCH))
861 if (!cfg80211_reg_can_beacon(sdata->local->hw.wiphy, &params.chandef,
873 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy,
899 if (ieee80211_channel_switch(sdata->local->hw.wiphy, sdata->dev,
908 ieee80211_queue_work(&sdata->local->hw,
995 struct ieee80211_local *local = sdata->local;
1006 sband = local->hw.wiphy->bands[band];
1045 local->hw.queues >= IEEE80211_NUM_ACS) {
1076 ieee80211_chandef_vht_oper(&local->hw, vht_cap_info,
1105 drv_sta_rc_update(local, sdata, &sta->sta, changed);
1116 struct ieee80211_local *local = sdata->local;
1124 channel = ieee80211_get_channel(local->hw.wiphy, rx_status->freq);
1130 bss = ieee80211_bss_info_update(local, rx_status, mgmt, len, channel);
1172 ieee80211_calculate_rx_timestamp(local, rx_status,
1179 rx_timestamp = drv_get_tsf(local, sdata);
1192 "beacon TSF higher than local TSF - IBSS merge with BSSID %pM\n",
1202 ieee80211_rx_bss_put(local, bss);
1210 struct ieee80211_local *local = sdata->local;
1221 if (local->num_sta >= IEEE80211_IBSS_MAX_STA_ENTRIES) {
1248 sband = local->hw.wiphy->bands[band];
1255 ieee80211_queue_work(&local->hw, &sdata->work);
1261 struct ieee80211_local *local = sdata->local;
1266 mutex_lock(&local->sta_mtx);
1268 list_for_each_entry_safe(sta, tmp, &local->sta_list, list) {
1292 mutex_unlock(&local->sta_mtx);
1440 struct ieee80211_local *local = sdata->local;
1461 cbss = cfg80211_get_bss(local->hw.wiphy, chan, bssid,
1478 ieee80211_rx_bss_put(local, bss);
1506 num = ieee80211_ibss_setup_scan_channels(local->hw.wiphy,
1535 struct ieee80211_local *local = sdata->local;
1550 tx_last_beacon = drv_tx_last_beacon(local);
1579 skb = dev_alloc_skb(local->tx_headroom + presp->head_len);
1583 skb_reserve(skb, local->tx_headroom);
1731 ieee80211_queue_work(&sdata->local->hw, &sdata->work);
1746 void ieee80211_ibss_notify_scan_completed(struct ieee80211_local *local)
1750 mutex_lock(&local->iflist_mtx);
1751 list_for_each_entry(sdata, &local->interfaces, list) {
1758 mutex_unlock(&local->iflist_mtx);
1768 struct ieee80211_local *local = sdata->local;
1778 ret = cfg80211_chandef_dfs_required(local->hw.wiphy,
1793 mutex_lock(&local->chanctx_mtx);
1796 mutex_unlock(&local->chanctx_mtx);
1814 sband = local->hw.wiphy->bands[params->chandef.chan->band];
1863 sdata->needed_rx_chains = local->rx_chains;
1866 ieee80211_queue_work(&local->hw, &sdata->work);