/linux-master/net/key/ |
H A D | af_key.c | 2580 &k.local, &k.remote, &k.family); 3511 if (!pfkey_sockaddr_fill(&k->local, 0, (struct sockaddr *)sa, family) ||
|
/linux-master/net/mac80211/ |
H A D | agg-rx.c | 61 struct ieee80211_local *local = sta->local; local 72 lockdep_assert_wiphy(sta->local->hw.wiphy); 75 lockdep_is_held(&sta->local->hw.wiphy->mtx)); 89 if (drv_ampdu_action(local, sta->sdata, ¶ms)) 135 wiphy_work_queue(sta->local->hw.wiphy, &sta->ampdu_mlme.work); 161 wiphy_work_queue(sta->local->hw.wiphy, &sta->ampdu_mlme.work); 197 struct ieee80211_local *local = sdata->local; local 200 bool amsdu = ieee80211_hw_check(&local 251 struct ieee80211_local *local = sta->sdata->local; local 438 ieee80211_process_addba_request(struct ieee80211_local *local, struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len) argument [all...] |
H A D | agg-tx.c | 66 struct ieee80211_local *local = sdata->local; local 71 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); 76 skb_reserve(skb, local->hw.extra_tx_headroom); 115 struct ieee80211_local *local = sdata->local; local 120 skb = dev_alloc_skb(sizeof(*bar) + local->hw.extra_tx_headroom); 124 skb_reserve(skb, local->hw.extra_tx_headroom); 145 lockdep_assert_wiphy(sta->local->hw.wiphy); 168 if (atomic_inc_return(&sdata->local 244 struct ieee80211_local *local = sdata->local; local 302 struct ieee80211_local *local = sta->local; local 456 struct ieee80211_local *local = sta->local; local 499 struct ieee80211_local *local = sta->local; local 608 struct ieee80211_local *local = sdata->local; local 751 ieee80211_agg_tx_operational(struct ieee80211_local *local, struct sta_info *sta, u16 tid) argument 798 struct ieee80211_local *local = sdata->local; local 849 struct ieee80211_local *local = sdata->local; local 871 struct ieee80211_local *local = sdata->local; local 949 struct ieee80211_local *local = sdata->local; local 968 ieee80211_process_addba_resp(struct ieee80211_local *local, struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len) argument [all...] |
H A D | cfg.c | 87 struct ieee80211_local *local = sdata->local; local 108 monitor_sdata = wiphy_dereference(local->hw.wiphy, 109 local->monitor_sdata); 126 ieee80211_configure_filter(local); 178 struct ieee80211_local *local = wiphy_priv(wiphy); local 183 err = ieee80211_if_add(local, name, name_assign_type, &wdev, type, params); 213 struct ieee80211_local *local = sdata->local; local 217 lockdep_assert_wiphy(local 438 struct ieee80211_local *local = sdata->local; local 470 struct ieee80211_local *local = sdata->local; local 637 struct ieee80211_local *local = sdata->local; local 841 struct ieee80211_local *local = sdata->local; local 860 struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr); local 869 struct ieee80211_local *local = sdata->local; local 887 struct ieee80211_local *local = wiphy_priv(wiphy); local 1272 struct ieee80211_local *local = sdata->local; local 1586 struct ieee80211_local *local = sdata->local; local 1687 sta_apply_auth_flags(struct ieee80211_local *local, struct sta_info *sta, u32 mask, u32 set) argument 1747 sta_apply_mesh_params(struct ieee80211_local *local, struct sta_info *sta, struct station_parameters *params) argument 1812 sta_link_apply_parameters(struct ieee80211_local *local, struct sta_info *sta, bool new_link, struct link_station_parameters *params) argument 1913 sta_apply_parameters(struct ieee80211_local *local, struct sta_info *sta, struct station_parameters *params) argument 2059 struct ieee80211_local *local = wiphy_priv(wiphy); local 2146 struct ieee80211_local *local = wiphy_priv(wiphy); local 2774 struct ieee80211_local *local = wiphy_priv(wiphy); local 2899 struct ieee80211_local *local = wiphy_priv(wiphy); local 2969 struct ieee80211_local *local = wiphy_priv(wiphy); local 3028 struct ieee80211_local *local = wiphy_priv(wiphy); local 3119 struct ieee80211_local *local = wiphy_priv(wiphy); local 3139 struct ieee80211_local *local = wiphy_priv(wiphy); local 3149 struct ieee80211_local *local = wiphy_priv(wiphy); local 3171 struct ieee80211_local *local = wiphy_priv(wiphy); local 3257 struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr); local 3380 struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr); local 3450 struct ieee80211_local *local = sdata->local; local 3480 struct ieee80211_local *local = sdata->local; local 3610 struct ieee80211_local *local = sdata->local; local 3653 struct ieee80211_local *local = sdata->local; local 3703 struct ieee80211_local *local = sdata->local; local 3774 struct ieee80211_local *local = sdata->local; local 3936 struct ieee80211_local *local = sdata->local; local 4049 struct ieee80211_local *local = sdata->local; local 4056 ieee80211_mgmt_tx_cookie(struct ieee80211_local *local) argument 4069 ieee80211_attach_ack_skb(struct ieee80211_local *local, struct sk_buff *skb, u64 *cookie, gfp_t gfp) argument 4104 struct ieee80211_local *local = wiphy_priv(wiphy); local 4140 struct ieee80211_local *local = wiphy_priv(wiphy); local 4156 struct ieee80211_local *local = wiphy_priv(wiphy); local 4165 struct ieee80211_local *local = wiphy_priv(wiphy); local 4180 struct ieee80211_local *local = sdata->local; local 4274 struct ieee80211_local *local = wiphy_priv(wiphy); local 4385 struct ieee80211_local *local = wiphy_priv(wiphy); local 4545 struct ieee80211_local *local = wiphy_priv(wiphy); local 4587 struct ieee80211_local *local = wiphy_priv(wiphy); local 4597 struct ieee80211_local *local = wiphy_priv(wiphy); local 4607 struct ieee80211_local *local = wiphy_priv(wiphy); local 4660 struct ieee80211_local *local = wiphy_priv(wiphy); local 4771 struct ieee80211_local *local = sdata->local; local 4801 struct ieee80211_local *local = sdata->local; local 4895 struct ieee80211_local *local = sdata->local; local 4948 struct ieee80211_local *local = wiphy_priv(wiphy); local 4981 sta_add_link_station(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct link_station_parameters *params) argument 5017 struct ieee80211_local *local = wiphy_priv(wiphy); local 5024 sta_mod_link_station(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct link_station_parameters *params) argument 5045 struct ieee80211_local *local = wiphy_priv(wiphy); local 5089 struct ieee80211_local *local = sdata->local; local [all...] |
H A D | chan.c | 15 static int ieee80211_chanctx_num_assigned(struct ieee80211_local *local, argument 21 lockdep_assert_wiphy(local->hw.wiphy); 29 static int ieee80211_chanctx_num_reserved(struct ieee80211_local *local, argument 35 lockdep_assert_wiphy(local->hw.wiphy); 43 int ieee80211_chanctx_refcount(struct ieee80211_local *local, argument 46 return ieee80211_chanctx_num_assigned(local, ctx) + 47 ieee80211_chanctx_num_reserved(local, ctx); 50 static int ieee80211_num_chanctx(struct ieee80211_local *local) argument 55 lockdep_assert_wiphy(local->hw.wiphy); 57 list_for_each_entry(ctx, &local 63 ieee80211_can_create_new_chanctx(struct ieee80211_local *local) argument 136 ieee80211_chanctx_reserved_chanreq(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct ieee80211_chan_req *req, struct ieee80211_chan_req *tmp) argument 158 ieee80211_chanctx_non_reserved_chandef(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct ieee80211_chan_req *compat, struct ieee80211_chan_req *tmp) argument 184 ieee80211_chanctx_can_reserve(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct ieee80211_chan_req *req) argument 206 ieee80211_find_reservation_chanctx(struct ieee80211_local *local, const struct ieee80211_chan_req *chanreq, enum ieee80211_chanctx_mode mode) argument 296 ieee80211_get_chanctx_max_required_bw(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_link_data *rsvd_for) argument 360 _ieee80211_recalc_chanctx_min_def(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_link_data *rsvd_for) argument 402 ieee80211_chan_bw_change(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, bool narrowed) argument 459 ieee80211_recalc_chanctx_min_def(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_link_data *rsvd_for) argument 477 _ieee80211_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_chanctx *old_ctx, const struct ieee80211_chan_req *chanreq, struct ieee80211_link_data *rsvd_for) argument 542 ieee80211_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_chanctx *old_ctx, const struct ieee80211_chan_req *chanreq) argument 552 ieee80211_find_chanctx(struct ieee80211_local *local, struct ieee80211_link_data *link, const struct ieee80211_chan_req *chanreq, enum ieee80211_chanctx_mode mode) argument 604 ieee80211_is_radar_required(struct ieee80211_local *local) argument 619 ieee80211_chanctx_radar_required(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 639 ieee80211_alloc_chanctx(struct ieee80211_local *local, const struct ieee80211_chan_req *chanreq, enum ieee80211_chanctx_mode mode) argument 664 ieee80211_add_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 689 ieee80211_new_chanctx(struct ieee80211_local *local, const struct ieee80211_chan_req *chanreq, enum ieee80211_chanctx_mode mode, bool assign_on_failure) argument 715 ieee80211_del_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, bool skip_idle_recalc) argument 729 ieee80211_free_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, bool skip_idle_recalc) argument 742 ieee80211_recalc_chanctx_chantype(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 797 ieee80211_recalc_radar_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *chanctx) argument 819 struct ieee80211_local *local = sdata->local; local 899 ieee80211_recalc_smps_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *chanctx) argument 1013 struct ieee80211_local *local = link->sdata->local; local 1062 struct ieee80211_local *local = sdata->local; local 1215 struct ieee80211_local *local = sdata->local; local 1298 struct ieee80211_local *local = sdata->local; local 1370 ieee80211_chsw_switch_vifs(struct ieee80211_local *local, int n_vifs) argument 1417 ieee80211_chsw_switch_ctxs(struct ieee80211_local *local) argument 1455 ieee80211_vif_use_reserved_switch(struct ieee80211_local *local) argument 1705 struct ieee80211_local *local = sdata->local; local 1744 struct ieee80211_local *local = sdata->local; local 1816 struct ieee80211_local *local = sdata->local; local 1884 ieee80211_chanctx_recheck(struct ieee80211_local *local, struct ieee80211_link_data *skip_link, struct ieee80211_chanctx *ctx, const struct ieee80211_chan_req *req, struct ieee80211_chan_req *tmp) argument 1926 struct ieee80211_local *local = sdata->local; local 2002 struct ieee80211_local *local = sdata->local; local 2027 struct ieee80211_local *local = hw_to_local(hw); local [all...] |
H A D | debugfs.c | 38 struct ieee80211_local *local = file->private_data; \ 56 debugfs_create_file(#name, 0400, phyd, local, &name## _ops) 59 debugfs_create_file(#name, mode, phyd, local, &name## _ops); 63 local->hw.conf.flags); 65 local->user_power_level); 67 local->hw.conf.power_level); 69 local->total_ps_buffered); 71 local->wep_iv & 0xffffff); 73 local->rate_ctrl ? local 80 struct ieee80211_local *local = file->private_data; local 121 struct ieee80211_local *local = file->private_data; local 156 struct ieee80211_local *local = file->private_data; local 177 struct ieee80211_local *local = file->private_data; local 208 struct ieee80211_local *local = file->private_data; local 239 struct ieee80211_local *local = file->private_data; local 266 struct ieee80211_local *local = file->private_data; local 370 struct ieee80211_local *local = file->private_data; local 385 struct ieee80211_local *local = file->private_data; local 420 struct ieee80211_local *local = file->private_data; local 509 struct ieee80211_local *local = file->private_data; local 538 struct ieee80211_local *local = file->private_data; local 570 struct ieee80211_local *local = file->private_data; local 591 format_devstat_counter(struct ieee80211_local *local, char __user *userbuf, size_t count, loff_t *ppos, int (*printvalue)(struct ieee80211_low_level_stats *stats, char *buf, int buflen)) argument 645 debugfs_hw_add(struct ieee80211_local *local) argument [all...] |
H A D | debugfs_key.c | 333 if (!key->local->debugfs.keys) 340 key->local->debugfs.keys); 381 lockdep_assert_wiphy(sdata->local->hw.wiphy); 387 key = wiphy_dereference(sdata->local->hw.wiphy, 399 key = wiphy_dereference(sdata->local->hw.wiphy, 416 key = wiphy_dereference(sdata->local->hw.wiphy, 445 key = wiphy_dereference(sdata->local->hw.wiphy,
|
H A D | debugfs_netdev.c | 54 return wiphy_locked_debugfs_read(sdata->local->hw.wiphy, 90 return wiphy_locked_debugfs_write(sdata->local->hw.wiphy, 126 return wiphy_locked_debugfs_read(link->sdata->local->hw.wiphy, 162 return wiphy_locked_debugfs_write(link->sdata->local->hw.wiphy, 384 struct ieee80211_local *local = sdata->local; local 392 if (!(local->hw.wiphy->features & NL80211_FEATURE_STATIC_SMPS) && 397 if (!(local->hw.wiphy->features & NL80211_FEATURE_DYNAMIC_SMPS) && 446 struct ieee80211_local *local = sdata->local; local 619 struct ieee80211_local *local = sdata->local; local 659 struct ieee80211_local *local = sdata->local; local 670 struct ieee80211_local *local = sdata->local; local [all...] |
H A D | debugfs_sta.c | 142 struct ieee80211_local *local = sta->local; local 152 spin_lock_bh(&local->fq.lock); 190 spin_unlock_bh(&local->fq.lock); 202 struct ieee80211_local *local = sta->sdata->local; local 214 spin_lock_bh(&local->active_txq_lock[ac]); 218 spin_unlock_bh(&local->active_txq_lock[ac]); 236 struct ieee80211_local *local = sta->sdata->local; local 255 struct ieee80211_local *local = sta->sdata->local; local 1243 struct ieee80211_local *local = sta->local; local [all...] |
H A D | driver-ops.c | 13 int drv_start(struct ieee80211_local *local) argument 18 lockdep_assert_wiphy(local->hw.wiphy); 20 if (WARN_ON(local->started)) 23 trace_drv_start(local); 24 local->started = true; 27 ret = local->ops->start(&local->hw); 28 trace_drv_return_int(local, ret); 31 local->started = false; 36 void drv_stop(struct ieee80211_local *local) argument 57 drv_add_interface(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 89 drv_change_interface(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, enum nl80211_iftype type, bool p2p) argument 107 drv_remove_interface(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 127 drv_sta_state(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct sta_info *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) argument 163 drv_sta_set_txpwr(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct sta_info *sta) argument 184 drv_sta_rc_update(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, u32 changed) argument 204 drv_conf_tx(struct ieee80211_local *local, struct ieee80211_link_data *link, u16 ac, const struct ieee80211_tx_queue_params *params) argument 239 drv_get_tsf(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 257 drv_set_tsf(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, u64 tsf) argument 273 drv_offset_tsf(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, s64 offset) argument 289 drv_reset_tsf(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 304 drv_assign_vif_chanctx(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx *ctx) argument 333 drv_unassign_vif_chanctx(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_bss_conf *link_conf, struct ieee80211_chanctx *ctx) argument 358 drv_switch_vif_chanctx(struct ieee80211_local *local, struct ieee80211_vif_chanctx_switch *vifs, int n_vifs, enum ieee80211_chanctx_switch_mode mode) argument 412 drv_ampdu_action(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_ampdu_params *params) argument 435 drv_link_info_changed(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_bss_conf *info, int link_id, u64 changed) argument 474 drv_set_key(struct ieee80211_local *local, enum set_key_cmd cmd, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument 499 drv_change_vif_links(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, u16 old_links, u16 new_links, struct ieee80211_bss_conf *old[IEEE80211_MLD_MAX_NUM_LINKS]) argument 549 drv_change_sta_links(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, u16 old_links, u16 new_links) argument [all...] |
H A D | driver-ops.h | 16 WARN_ONCE(!sdata->local->reconfig_failure && \ 33 static inline void drv_tx(struct ieee80211_local *local, argument 37 local->ops->tx(&local->hw, control, skb); 40 static inline void drv_sync_rx_queues(struct ieee80211_local *local, argument 44 lockdep_assert_wiphy(local->hw.wiphy); 46 if (local->ops->sync_rx_queues) { 47 trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta); 48 local->ops->sync_rx_queues(&local 56 struct ieee80211_local *local = sdata->local; local 68 struct ieee80211_local *local = sdata->local; local 79 struct ieee80211_local *local = sdata->local; local 94 drv_suspend(struct ieee80211_local *local, struct cfg80211_wowlan *wowlan) argument 108 drv_resume(struct ieee80211_local *local) argument 121 drv_set_wakeup(struct ieee80211_local *local, bool enabled) argument 146 drv_config(struct ieee80211_local *local, u32 changed) argument 159 drv_vif_cfg_changed(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, u64 changed) argument 183 drv_prepare_multicast(struct ieee80211_local *local, struct netdev_hw_addr_list *mc_list) argument 198 drv_configure_filter(struct ieee80211_local *local, unsigned int changed_flags, unsigned int *total_flags, u64 multicast) argument 213 drv_config_iface_filter(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, unsigned int filter_flags, unsigned int changed_flags) argument 230 drv_set_tim(struct ieee80211_local *local, struct ieee80211_sta *sta, bool set) argument 247 drv_update_tkip_key(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_key_conf *conf, struct sta_info *sta, u32 iv32, u16 *phase1key) argument 269 drv_hw_scan(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_scan_request *req) argument 287 drv_cancel_hw_scan(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 302 drv_sched_scan_start(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument 322 drv_sched_scan_stop(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 340 drv_sw_scan_start(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, const u8 *mac_addr) argument 353 drv_sw_scan_complete(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 365 drv_get_stats(struct ieee80211_local *local, struct ieee80211_low_level_stats *stats) argument 380 drv_get_key_seq(struct ieee80211_local *local, struct ieee80211_key *key, struct ieee80211_key_seq *seq) argument 389 drv_set_frag_threshold(struct ieee80211_local *local, u32 value) argument 404 drv_set_rts_threshold(struct ieee80211_local *local, u32 value) argument 419 drv_set_coverage_class(struct ieee80211_local *local, s16 value) argument 436 drv_sta_notify(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, enum sta_notify_cmd cmd, struct ieee80211_sta *sta) argument 451 drv_sta_add(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta) argument 473 drv_sta_remove(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta) argument 492 drv_vif_add_debugfs(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 509 drv_link_add_debugfs(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_bss_conf *link_conf, struct dentry *dir) argument 526 drv_sta_add_debugfs(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct dentry *dir) argument 543 drv_link_sta_add_debugfs(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_link_sta *link_sta, struct dentry *dir) argument 560 drv_vif_add_debugfs(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 567 drv_sta_pre_rcu_remove(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct sta_info *sta) argument 601 drv_sta_rate_tbl_update(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta) argument 616 drv_sta_statistics(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct station_info *sinfo) argument 649 drv_tx_last_beacon(struct ieee80211_local *local) argument 667 drv_get_survey(struct ieee80211_local *local, int idx, struct survey_info *survey) argument 685 drv_rfkill_poll(struct ieee80211_local *local) argument 694 drv_flush(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, u32 queues, bool drop) argument 715 drv_flush_sta(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct sta_info *sta) argument 733 drv_channel_switch(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_channel_switch *ch_switch) argument 746 drv_set_antenna(struct ieee80211_local *local, u32 tx_ant, u32 rx_ant) argument 758 drv_get_antenna(struct ieee80211_local *local, u32 *tx_ant, u32 *rx_ant) argument 770 drv_remain_on_channel(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_channel *chan, unsigned int duration, enum ieee80211_roc_type type) argument 790 drv_cancel_remain_on_channel(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 805 drv_set_ringparam(struct ieee80211_local *local, u32 tx, u32 rx) argument 821 drv_get_ringparam(struct ieee80211_local *local, u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) argument 833 drv_tx_frames_pending(struct ieee80211_local *local) argument 848 drv_set_bitrate_mask(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, const struct cfg80211_bitrate_mask *mask) argument 869 drv_set_rekey_data(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct cfg80211_gtk_rekey_data *data) argument 885 drv_event_callback(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, const struct ieee80211_event *event) argument 896 drv_release_buffered_frames(struct ieee80211_local *local, struct sta_info *sta, u16 tids, int num_frames, enum ieee80211_frame_release_type reason, bool more_data) argument 911 drv_allow_buffered_frames(struct ieee80211_local *local, struct sta_info *sta, u16 tids, int num_frames, enum ieee80211_frame_release_type reason, bool more_data) argument 925 drv_mgd_prepare_tx(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_prep_tx_info *info) argument 944 drv_mgd_complete_tx(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_prep_tx_info *info) argument 963 drv_mgd_protect_tdls_discover(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, int link_id) argument 983 drv_add_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 1001 drv_remove_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 1017 drv_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, u32 changed) argument 1044 drv_start_ap(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_bss_conf *link_conf) argument 1063 drv_stop_ap(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_bss_conf *link_conf) argument 1080 drv_reconfig_complete(struct ieee80211_local *local, enum ieee80211_reconfig_type reconfig_type) argument 1093 drv_set_default_unicast_key(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, int key_idx) argument 1113 drv_ipv6_addr_change(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct inet6_dev *idev) argument 1128 struct ieee80211_local *local = sdata->local; local 1144 struct ieee80211_local *local = sdata->local; local 1165 struct ieee80211_local *local = sdata->local; local 1186 struct ieee80211_local *local = sdata->local; local 1205 struct ieee80211_local *local = sdata->local; local 1219 drv_join_ibss(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 1236 drv_leave_ibss(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 1250 drv_get_expected_throughput(struct ieee80211_local *local, struct sta_info *sta) argument 1263 drv_get_txpower(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, int *dbm) argument 1281 drv_tdls_channel_switch(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, u8 oper_class, struct cfg80211_chan_def *chandef, struct sk_buff *tmpl_skb, u32 ch_sw_tm_ie) argument 1306 drv_tdls_cancel_channel_switch(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta) argument 1324 drv_tdls_recv_channel_switch(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_tdls_ch_sw_params *params) argument 1335 drv_wake_tx_queue(struct ieee80211_local *local, struct txq_info *txq) argument 1353 schedule_and_wake_txq(struct ieee80211_local *local, struct txq_info *txqi) argument 1360 drv_can_aggregate_in_amsdu(struct ieee80211_local *local, struct sk_buff *head, struct sk_buff *skb) argument 1371 drv_get_ftm_responder_stats(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct cfg80211_ftm_responder_stats *ftm_stats) argument 1391 drv_start_pmsr(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct cfg80211_pmsr_request *request) argument 1411 drv_abort_pmsr(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct cfg80211_pmsr_request *request) argument 1427 drv_start_nan(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct cfg80211_nan_conf *conf) argument 1443 drv_stop_nan(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 1455 drv_nan_change_conf(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct cfg80211_nan_conf *conf, u32 changes) argument 1477 drv_add_nan_func(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, const struct cfg80211_nan_func *nan_func) argument 1497 drv_del_nan_func(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, u8 instance_id) argument 1511 drv_set_tid_config(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct cfg80211_tid_config *tid_conf) argument 1527 drv_reset_tid_config(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, u8 tids) argument 1541 drv_update_vif_offload(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 1556 drv_sta_set_4addr(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, bool enabled) argument 1573 drv_sta_set_decap_offload(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, bool enabled) argument 1592 drv_add_twt_setup(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct ieee80211_twt_setup *twt) argument 1612 drv_twt_teardown_request(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, u8 flowid) argument 1630 drv_net_fill_forward_path(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct net_device_path_ctx *ctx, struct net_device_path *path) argument 1652 drv_net_setup_tc(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct net_device *dev, enum tc_setup_type type, void *type_data) argument 1671 drv_can_activate_links(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, u16 active_links) argument 1701 drv_can_neg_ttlm(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_neg_ttlm *neg_ttlm) argument [all...] |
H A D | ethtool.c | 21 struct ieee80211_local *local = wiphy_priv(dev->ieee80211_ptr->wiphy); local 27 wiphy_lock(local->hw.wiphy); 28 ret = drv_set_ringparam(local, rp->tx_pending, rp->rx_pending); 29 wiphy_unlock(local->hw.wiphy); 39 struct ieee80211_local *local = wiphy_priv(dev->ieee80211_ptr->wiphy); local 43 wiphy_lock(local->hw.wiphy); 44 drv_get_ringparam(local, &rp->tx_pending, &rp->tx_max_pending, 46 wiphy_unlock(local->hw.wiphy); 83 struct ieee80211_local *local = sdata->local; local [all...] |
H A D | ht.c | 320 lockdep_assert_wiphy(sta->local->hw.wiphy); 337 wiphy_work_cancel(sta->local->hw.wiphy, &sta->ampdu_mlme.work); 360 lockdep_assert_wiphy(sta->local->hw.wiphy); 397 struct fq *fq = &sdata->local->fq; 417 wiphy_work_queue(sdata->local->hw.wiphy, work); 460 struct ieee80211_local *local = sdata->local; local 465 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); 469 skb_reserve(skb, local->hw.extra_tx_headroom); 540 struct ieee80211_local *local local [all...] |
H A D | ibss.c | 46 struct ieee80211_local *local = sdata->local; local 92 sband = local->hw.wiphy->bands[chandef->chan->band]; 201 if (local->hw.queues >= IEEE80211_NUM_ACS) 222 struct ieee80211_local *local = sdata->local; local 234 lockdep_assert_wiphy(local->hw.wiphy); 237 drv_reset_tsf(local, sdata); 251 drv_leave_ibss(local, sdata); 262 if (!cfg80211_reg_can_beacon(local 586 struct ieee80211_local *local = sdata->local; local 636 struct ieee80211_local *local = sdata->local; local 663 struct ieee80211_local *local = sdata->local; local 969 struct ieee80211_local *local = sdata->local; local 1085 struct ieee80211_local *local = sdata->local; local 1179 struct ieee80211_local *local = sdata->local; local 1228 struct ieee80211_local *local = sdata->local; local 1403 struct ieee80211_local *local = sdata->local; local 1494 struct ieee80211_local *local = sdata->local; local 1698 ieee80211_ibss_notify_scan_completed(struct ieee80211_local *local) argument 1720 struct ieee80211_local *local = sdata->local; local [all...] |
H A D | ieee80211_i.h | 175 struct ieee80211_local *local; member in struct:ieee80211_tx_data 217 struct ieee80211_local *local; member in struct:ieee80211_rx_data 313 struct list_head vlans; /* write-protected with RTNL and local->mtx */ 323 struct list_head list; /* write-protected with RTNL and local->mtx */ 816 * back to wireless media and to the local net stack. 1092 struct ieee80211_local *local; member in struct:ieee80211_sub_if_data 1188 wiphy_dereference(sdata->local->hw.wiphy, p) 1200 if ((_link = wiphy_dereference((local)->hw.wiphy, \ 1262 struct ieee80211_local *local; member in struct:tpt_led_trigger 1622 struct ieee80211_local *local local 1645 struct ieee80211_local *local = link->sdata->local; local 2226 struct ieee80211_local *local = hw_to_local(hw); local 2390 ieee80211_can_run_worker(struct ieee80211_local *local) argument [all...] |
H A D | iface.c | 70 ieee80211_hw_config(sdata->local, 0); 86 static u32 __ieee80211_idle_off(struct ieee80211_local *local) argument 88 if (!(local->hw.conf.flags & IEEE80211_CONF_IDLE)) 91 local->hw.conf.flags &= ~IEEE80211_CONF_IDLE; 95 static u32 __ieee80211_idle_on(struct ieee80211_local *local) argument 97 if (local->hw.conf.flags & IEEE80211_CONF_IDLE) 100 ieee80211_flush_queues(local, NULL, false); 102 local->hw.conf.flags |= IEEE80211_CONF_IDLE; 106 static u32 __ieee80211_recalc_idle(struct ieee80211_local *local, argument 112 lockdep_assert_wiphy(local 141 ieee80211_idle_off(struct ieee80211_local *local) argument 146 ieee80211_recalc_idle(struct ieee80211_local *local) argument 156 struct ieee80211_local *local = sdata->local; local 205 struct ieee80211_local *local = sdata->local; local 255 struct ieee80211_local *local = sdata->local; local 298 struct ieee80211_local *local = sdata->local; local 331 struct ieee80211_local *local = sdata->local; local 463 struct ieee80211_local *local = sdata->local; local 773 struct ieee80211_local *local = sdata->local; local 828 struct ieee80211_local *local = sdata->local; local 849 struct ieee80211_local *local = sdata->local; local 887 struct ieee80211_local *local; local 967 struct ieee80211_local *local = sdata->local; local 1007 struct ieee80211_local *local = sdata->local; local 1033 struct ieee80211_local *local = sdata->local; local 1050 ieee80211_recalc_offload(struct ieee80211_local *local) argument 1070 struct ieee80211_local *local = sdata->local; local 1089 struct ieee80211_local *local = sdata->local; local 1103 ieee80211_sdata_init(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument 1119 ieee80211_add_virtual_monitor(struct ieee80211_local *local) argument 1186 ieee80211_del_virtual_monitor(struct ieee80211_local *local) argument 1226 struct ieee80211_local *local = sdata->local; local 1476 ieee80211_iface_process_skb(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct sk_buff *skb) argument 1640 struct ieee80211_local *local = sdata->local; local 1702 struct ieee80211_local *local = wiphy_priv(wiphy); local 1813 struct ieee80211_local *local = sdata->local; local 1929 ieee80211_assign_perm_addr(struct ieee80211_local *local, u8 *perm_addr, enum nl80211_iftype type) argument 2058 ieee80211_if_add(struct ieee80211_local *local, const char *name, unsigned char name_assign_type, struct wireless_dev **new_wdev, enum nl80211_iftype type, struct vif_params *params) argument 2262 ieee80211_remove_interfaces(struct ieee80211_local *local) argument [all...] |
H A D | key.c | 65 lockdep_assert_wiphy(sdata->local->hw.wiphy); 96 lockdep_assert_wiphy(sdata->local->hw.wiphy); 112 lockdep_assert_wiphy(sdata->local->hw.wiphy); 127 lockdep_assert_wiphy(key->local->hw.wiphy); 147 if (!key->local->ops->set_key) 157 !ieee80211_hw_check(&key->local->hw, SUPPORTS_PER_STA_GTK)) 178 ret = drv_set_key(key->local, SET_KEY, sdata, 220 if (ieee80211_hw_check(&key->local->hw, SW_CRYPTO_CONTROL)) 236 if (!key || !key->local->ops->set_key) 245 lockdep_assert_wiphy(key->local 270 struct ieee80211_local *local = key->local; local 293 struct ieee80211_local *local = new->local; local 999 struct ieee80211_local *local = hw_to_local(hw); local 1056 struct ieee80211_local *local = hw_to_local(hw); local 1095 struct ieee80211_local *local = sdata->local; local 1110 ieee80211_free_key_list(struct ieee80211_local *local, struct list_head *keys) argument 1124 struct ieee80211_local *local = sdata->local; local 1168 ieee80211_free_sta_keys(struct ieee80211_local *local, struct sta_info *sta) argument 1379 struct ieee80211_local *local = sdata->local; local [all...] |
H A D | key.h | 59 struct ieee80211_local *local; member in struct:ieee80211_key 161 void ieee80211_free_key_list(struct ieee80211_local *local, 165 void ieee80211_free_sta_keys(struct ieee80211_local *local,
|
H A D | led.c | 12 void ieee80211_led_assoc(struct ieee80211_local *local, bool associated) argument 14 if (!atomic_read(&local->assoc_led_active)) 17 led_trigger_event(&local->assoc_led, LED_FULL); 19 led_trigger_event(&local->assoc_led, LED_OFF); 22 void ieee80211_led_radio(struct ieee80211_local *local, bool enabled) argument 24 if (!atomic_read(&local->radio_led_active)) 27 led_trigger_event(&local->radio_led, LED_FULL); 29 led_trigger_event(&local->radio_led, LED_OFF); 32 void ieee80211_alloc_led_names(struct ieee80211_local *local) argument 34 local 44 ieee80211_free_led_names(struct ieee80211_local *local) argument 54 struct ieee80211_local *local = container_of(led_cdev->trigger, local 65 struct ieee80211_local *local = container_of(led_cdev->trigger, local 74 struct ieee80211_local *local = container_of(led_cdev->trigger, local 85 struct ieee80211_local *local = container_of(led_cdev->trigger, local 94 struct ieee80211_local *local = container_of(led_cdev->trigger, local 105 struct ieee80211_local *local = container_of(led_cdev->trigger, local 114 struct ieee80211_local *local = container_of(led_cdev->trigger, local 125 struct ieee80211_local *local = container_of(led_cdev->trigger, local 134 struct ieee80211_local *local = container_of(led_cdev->trigger, local 145 struct ieee80211_local *local = container_of(led_cdev->trigger, local 152 ieee80211_led_init(struct ieee80211_local *local) argument 197 ieee80211_led_exit(struct ieee80211_local *local) argument 216 struct ieee80211_local *local = hw_to_local(hw); local 224 struct ieee80211_local *local = hw_to_local(hw); local 232 struct ieee80211_local *local = hw_to_local(hw); local 240 struct ieee80211_local *local = hw_to_local(hw); local 246 tpt_trig_traffic(struct ieee80211_local *local, struct tpt_led_trigger *tpt_trig) argument 261 struct ieee80211_local *local = tpt_trig->local; local 294 struct ieee80211_local *local = hw_to_local(hw); local 322 ieee80211_start_tpt_led_trig(struct ieee80211_local *local) argument 337 ieee80211_stop_tpt_led_trig(struct ieee80211_local *local) argument 350 ieee80211_mod_tpt_led_trig(struct ieee80211_local *local, unsigned int types_on, unsigned int types_off) argument [all...] |
H A D | led.h | 13 static inline void ieee80211_led_rx(struct ieee80211_local *local) argument 16 if (!atomic_read(&local->rx_led_active)) 18 led_trigger_blink_oneshot(&local->rx_led, MAC80211_BLINK_DELAY, MAC80211_BLINK_DELAY, 0); 22 static inline void ieee80211_led_tx(struct ieee80211_local *local) argument 25 if (!atomic_read(&local->tx_led_active)) 27 led_trigger_blink_oneshot(&local->tx_led, MAC80211_BLINK_DELAY, MAC80211_BLINK_DELAY, 0); 32 void ieee80211_led_assoc(struct ieee80211_local *local, 34 void ieee80211_led_radio(struct ieee80211_local *local, 36 void ieee80211_alloc_led_names(struct ieee80211_local *local); 37 void ieee80211_free_led_names(struct ieee80211_local *local); 43 ieee80211_led_assoc(struct ieee80211_local *local, bool associated) argument 47 ieee80211_led_radio(struct ieee80211_local *local, bool enabled) argument 51 ieee80211_alloc_led_names(struct ieee80211_local *local) argument 54 ieee80211_free_led_names(struct ieee80211_local *local) argument 57 ieee80211_led_init(struct ieee80211_local *local) argument 60 ieee80211_led_exit(struct ieee80211_local *local) argument 63 ieee80211_mod_tpt_led_trig(struct ieee80211_local *local, unsigned int types_on, unsigned int types_off) argument 71 ieee80211_tpt_led_trig_tx(struct ieee80211_local *local, int bytes) argument 80 ieee80211_tpt_led_trig_rx(struct ieee80211_local *local, int bytes) argument [all...] |
H A D | link.c | 76 wiphy_work_cancel(link->sdata->local->hw.wiphy, 108 ieee80211_free_key_list(sdata->local, &keys); 196 lockdep_assert_wiphy(sdata->local->hw.wiphy); 265 ret = drv_change_vif_links(sdata->local, sdata, 317 struct ieee80211_local *local = sdata->local; local 344 ret = drv_change_vif_links(local, sdata, 364 list_for_each_entry(sta, &local->sta_list, list) { 372 ret = drv_change_sta_links(local, sdata, &sta->sta, 381 list_for_each_entry(sta, &local 459 struct ieee80211_local *local = sdata->local; local [all...] |
H A D | main.c | 37 void ieee80211_configure_filter(struct ieee80211_local *local) argument 43 if (atomic_read(&local->iff_allmultis)) 46 if (local->monitors || test_bit(SCAN_SW_SCANNING, &local->scanning) || 47 test_bit(SCAN_ONCHANNEL_SCANNING, &local->scanning)) 50 if (local->fif_probe_req || local->probe_req_reg) 53 if (local->fif_fcsfail) 56 if (local->fif_plcpfail) 59 if (local 90 struct ieee80211_local *local = local 96 ieee80211_calc_hw_conf_chan(struct ieee80211_local *local, struct ieee80211_chanctx_conf *ctx) argument 191 ieee80211_hw_config(struct ieee80211_local *local, u32 changed) argument 224 _ieee80211_hw_conf_chan(struct ieee80211_local *local, struct ieee80211_chanctx_conf *ctx) argument 239 ieee80211_hw_conf_chan(struct ieee80211_local *local) argument 250 ieee80211_hw_conf_init(struct ieee80211_local *local) argument 276 struct ieee80211_local *local = hw_to_local(hw); local 287 struct ieee80211_local *local = hw_to_local(hw); local 299 struct ieee80211_local *local = hw_to_local(hw); local 312 struct ieee80211_local *local = hw_to_local(hw); local 336 struct ieee80211_local *local = sdata->local; local 389 struct ieee80211_local *local = sdata->local; local 403 struct ieee80211_local *local = sdata->local; local 428 struct ieee80211_local *local = from_tasklet(local, t, tasklet); local 455 struct ieee80211_local *local = local 517 struct ieee80211_local *local = hw_to_local(hw); local 545 struct ieee80211_local *local = local 623 struct ieee80211_local *local = local 764 struct ieee80211_local *local; local 1010 ieee80211_init_cipher_suites(struct ieee80211_local *local) argument 1088 struct ieee80211_local *local = hw_to_local(hw); local 1633 struct ieee80211_local *local = hw_to_local(hw); local 1691 struct ieee80211_local *local = hw_to_local(hw); local [all...] |
H A D | mesh.c | 43 struct ieee80211_local *local = sdata->local; local 48 wiphy_work_queue(local->hw.wiphy, &sdata->work); 54 * @sdata: local mesh subif 58 * local mesh configuration, i.e. if both nodes belong to the same mesh network. 107 ieee80211_chandef_vht_oper(&sdata->local->hw, vht_cap_info, 110 ieee80211_chandef_he_6ghz_oper(sdata->local, ie->he_operation, 135 * mesh_accept_plinks_update - update accepting_plink in local mesh beacons 456 struct ieee80211_local *local = sdata->local; local 528 struct ieee80211_local *local = sdata->local; local 1176 struct ieee80211_local *local = sdata->local; local 1216 struct ieee80211_local *local = sdata->local; local 1398 struct ieee80211_local *local = sdata->local; local 1462 struct ieee80211_local *local = sdata->local; local 1586 struct ieee80211_local *local = sdata->local; local [all...] |
H A D | mesh.h | 140 * @MESH_FAST_TX_TYPE_LOCAL: tx from the local vif address as SA 141 * @MESH_FAST_TX_TYPE_PROXIED: local tx with a different SA (e.g. bridged) 274 void ieee80211s_update_metric(struct ieee80211_local *local, 328 u32 airtime_link_metric_get(struct ieee80211_local *local, 405 MESH_MAX_PLINKS - sdata->local->num_sta)) > 0;
|
H A D | mesh_hwmp.c | 108 struct ieee80211_local *local = sdata->local; local 115 skb = dev_alloc_skb(local->tx_headroom + 120 skb_reserve(skb, local->tx_headroom); 228 * @sdata: local mesh subif 240 struct ieee80211_local *local = sdata->local; local 251 skb = dev_alloc_skb(local->tx_headroom + 258 skb_reserve(skb, local->tx_headroom + IEEE80211_ENCRYPT_HEADROOM); 293 ieee80211_add_pending_skb(local, sk 297 ieee80211s_update_metric(struct ieee80211_local *local, struct sta_info *sta, struct ieee80211_tx_status *st) argument 325 airtime_link_metric_get(struct ieee80211_local *local, struct sta_info *sta) argument 391 struct ieee80211_local *local = sdata->local; local 830 struct ieee80211_local *local = sdata->local; local [all...] |