| /linux/net/mac80211/ |
| H A D | led.c | 12 void ieee80211_led_assoc(struct ieee80211_local *local, bool associated) in ieee80211_led_assoc() argument 14 if (!atomic_read(&local->assoc_led_active)) in ieee80211_led_assoc() 17 led_trigger_event(&local->assoc_led, LED_FULL); in ieee80211_led_assoc() 19 led_trigger_event(&local->assoc_led, LED_OFF); in ieee80211_led_assoc() 22 void ieee80211_led_radio(struct ieee80211_local *local, bool enabled) in ieee80211_led_radio() argument 24 if (!atomic_read(&local->radio_led_active)) in ieee80211_led_radio() 27 led_trigger_event(&local->radio_led, LED_FULL); in ieee80211_led_radio() 29 led_trigger_event(&local->radio_led, LED_OFF); in ieee80211_led_radio() 32 void ieee80211_alloc_led_names(struct ieee80211_local *local) in ieee80211_alloc_led_names() argument 34 local->rx_led.name = kasprintf(GFP_KERNEL, "%srx", in ieee80211_alloc_led_names() [all …]
|
| H A D | scan.c | 32 void ieee80211_rx_bss_put(struct ieee80211_local *local, in ieee80211_rx_bss_put() argument 37 cfg80211_put_bss(local->hw.wiphy, in ieee80211_rx_bss_put() 68 struct ieee80211_local *local = wiphy_priv(wiphy); in ieee80211_inform_bss() local 159 local->hw.wiphy->bands[rx_status->band]; in ieee80211_inform_bss() 176 ieee80211_bss_info_update(struct ieee80211_local *local, in ieee80211_bss_info_update() 197 else if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) in ieee80211_bss_info_update() 199 else if (ieee80211_hw_check(&local->hw, SIGNAL_UNSPEC)) in ieee80211_bss_info_update() 200 bss_meta.signal = (rx_status->signal * 100) / local->hw.max_signal; in ieee80211_bss_info_update() 205 scan_sdata = rcu_dereference(local->scan_sdata); in ieee80211_bss_info_update() 226 ieee80211_calculate_rx_timestamp(&local in ieee80211_bss_info_update() 168 ieee80211_bss_info_update(struct ieee80211_local * local,struct ieee80211_rx_status * rx_status,struct ieee80211_mgmt * mgmt,size_t len,struct ieee80211_channel * channel) ieee80211_bss_info_update() argument 277 ieee80211_scan_rx(struct ieee80211_local * local,struct sk_buff * skb) ieee80211_scan_rx() argument 381 struct ieee80211_local *local = sdata->local; ieee80211_prep_hw_scan() local 450 struct ieee80211_local *local = hw_to_local(hw); __ieee80211_scan_completed() local 543 struct ieee80211_local *local = hw_to_local(hw); ieee80211_scan_completed() local 557 ieee80211_start_sw_scan(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) ieee80211_start_sw_scan() argument 601 struct ieee80211_local *local = sdata->local; __ieee80211_can_leave_ch() local 622 ieee80211_can_scan(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct cfg80211_scan_request * req) ieee80211_can_scan() argument 639 ieee80211_run_deferred_scan(struct ieee80211_local * local) ieee80211_run_deferred_scan() argument 689 ieee80211_scan_state_send_probe(struct ieee80211_local * local,unsigned long * next_delay) ieee80211_scan_state_send_probe() argument 734 struct ieee80211_local *local = sdata->local; __ieee80211_start_scan() local 923 ieee80211_scan_state_decision(struct ieee80211_local * local,unsigned long * next_delay) ieee80211_scan_state_decision() argument 990 ieee80211_scan_state_set_channel(struct ieee80211_local * local,unsigned long * next_delay) ieee80211_scan_state_set_channel() argument 1062 ieee80211_scan_state_suspend(struct ieee80211_local * local,unsigned long * next_delay) ieee80211_scan_state_suspend() argument 1077 ieee80211_scan_state_resume(struct ieee80211_local * local,unsigned long * next_delay) ieee80211_scan_state_resume() argument 1097 struct ieee80211_local *local = ieee80211_scan_work() local 1209 struct ieee80211_local *local = sdata->local; ieee80211_request_ibss_scan() local 1275 ieee80211_scan_cancel(struct ieee80211_local * local) ieee80211_scan_cancel() argument 1334 struct ieee80211_local *local = sdata->local; __ieee80211_request_sched_scan_start() local 1397 struct ieee80211_local *local = sdata->local; ieee80211_request_sched_scan_start() local 1407 ieee80211_request_sched_scan_stop(struct ieee80211_local * local) ieee80211_request_sched_scan_stop() argument 1433 struct ieee80211_local *local = hw_to_local(hw); ieee80211_sched_scan_results() local 1441 ieee80211_sched_scan_end(struct ieee80211_local * local) ieee80211_sched_scan_end() argument 1459 struct ieee80211_local *local = ieee80211_sched_scan_stopped_work() local 1468 struct ieee80211_local *local = hw_to_local(hw); ieee80211_sched_scan_stopped() local [all...] |
| H A D | main.c | 37 void ieee80211_configure_filter(struct ieee80211_local *local) in ieee80211_configure_filter() argument 43 if (atomic_read(&local->iff_allmultis)) in ieee80211_configure_filter() 46 if (local->monitors || test_bit(SCAN_SW_SCANNING, &local->scanning) || in ieee80211_configure_filter() 47 test_bit(SCAN_ONCHANNEL_SCANNING, &local->scanning)) in ieee80211_configure_filter() 50 if (local->fif_probe_req || local->probe_req_reg) in ieee80211_configure_filter() 53 if (local->fif_fcsfail) in ieee80211_configure_filter() 56 if (local->fif_plcpfail) in ieee80211_configure_filter() 59 if (local in ieee80211_configure_filter() 90 struct ieee80211_local *local = ieee80211_reconfig_filter() local 96 ieee80211_calc_hw_conf_chan(struct ieee80211_local * local,struct ieee80211_chanctx_conf * ctx) ieee80211_calc_hw_conf_chan() argument 193 ieee80211_hw_config(struct ieee80211_local * local,int radio_idx,u32 changed) ieee80211_hw_config() argument 227 _ieee80211_hw_conf_chan(struct ieee80211_local * local,struct ieee80211_chanctx_conf * ctx) _ieee80211_hw_conf_chan() argument 242 ieee80211_hw_conf_chan(struct ieee80211_local * local) ieee80211_hw_conf_chan() argument 253 ieee80211_hw_conf_init(struct ieee80211_local * local) ieee80211_hw_conf_init() argument 279 struct ieee80211_local *local = hw_to_local(hw); ieee80211_emulate_add_chanctx() local 290 struct ieee80211_local *local = hw_to_local(hw); ieee80211_emulate_remove_chanctx() local 302 struct ieee80211_local *local = hw_to_local(hw); ieee80211_emulate_change_chanctx() local 315 struct ieee80211_local *local = hw_to_local(hw); ieee80211_emulate_switch_vif_chanctx() local 339 struct ieee80211_local *local = sdata->local; ieee80211_bss_info_change_notify() local 392 struct ieee80211_local *local = sdata->local; ieee80211_vif_cfg_change_notify() local 406 struct ieee80211_local *local = sdata->local; ieee80211_link_info_change_notify() local 441 ieee80211_handle_queued_frames(struct ieee80211_local * local) ieee80211_handle_queued_frames() argument 469 struct ieee80211_local *local = from_tasklet(local, t, tasklet); ieee80211_tasklet_handler() local 476 struct ieee80211_local *local = ieee80211_restart_work() local 538 struct ieee80211_local *local = hw_to_local(hw); ieee80211_restart_hw() local 566 struct ieee80211_local *local = ieee80211_ifa_changed() local 642 struct ieee80211_local *local = ieee80211_ifa6_changed() local 797 struct ieee80211_local *local; ieee80211_alloc_hw_nm() local 1053 ieee80211_init_cipher_suites(struct ieee80211_local * local) ieee80211_init_cipher_suites() argument 1139 struct ieee80211_local *local = hw_to_local(hw); ieee80211_register_hw() local 1702 struct ieee80211_local *local = hw_to_local(hw); ieee80211_unregister_hw() local 1760 struct ieee80211_local *local = hw_to_local(hw); ieee80211_free_hw() local [all...] |
| H A D | offchannel.c | 27 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable() local 31 /* FIXME: what to do when local->pspolling is true? */ in ieee80211_offchannel_ps_enable() 33 timer_delete_sync(&local->dynamic_ps_timer); in ieee80211_offchannel_ps_enable() 37 wiphy_work_cancel(local->hw.wiphy, &local->dynamic_ps_enable_work); in ieee80211_offchannel_ps_enable() 39 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_offchannel_ps_enable() 41 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_offchannel_ps_enable() 42 ieee80211_hw_config(local, -1, IEEE80211_CONF_CHANGE_PS); in ieee80211_offchannel_ps_enable() 46 !ieee80211_hw_check(&local in ieee80211_offchannel_ps_enable() 63 struct ieee80211_local *local = sdata->local; ieee80211_offchannel_ps_disable() local 83 ieee80211_offchannel_stop_vifs(struct ieee80211_local * local) ieee80211_offchannel_stop_vifs() argument 133 ieee80211_offchannel_return(struct ieee80211_local * local) ieee80211_offchannel_return() argument 194 ieee80211_end_finished_rocs(struct ieee80211_local * local,unsigned long now) ieee80211_end_finished_rocs() argument 225 ieee80211_recalc_sw_work(struct ieee80211_local * local,unsigned long now) ieee80211_recalc_sw_work() argument 263 struct ieee80211_local *local = ieee80211_hw_roc_start() local 280 struct ieee80211_local *local = hw_to_local(hw); ieee80211_ready_on_channel() local 290 _ieee80211_start_next_roc(struct ieee80211_local * local) _ieee80211_start_next_roc() argument 384 ieee80211_start_next_roc(struct ieee80211_local * local) ieee80211_start_next_roc() argument 414 ieee80211_reconfig_roc(struct ieee80211_local * local) ieee80211_reconfig_roc() argument 447 __ieee80211_roc_work(struct ieee80211_local * local) __ieee80211_roc_work() argument 495 struct ieee80211_local *local = ieee80211_roc_work() local 505 struct ieee80211_local *local = ieee80211_hw_roc_done() local 518 struct ieee80211_local *local = hw_to_local(hw); ieee80211_remain_on_channel_expired() local 527 ieee80211_coalesce_hw_started_roc(struct ieee80211_local * local,struct ieee80211_roc_work * new_roc,struct ieee80211_roc_work * cur_roc) ieee80211_coalesce_hw_started_roc() argument 566 ieee80211_start_roc_work(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_channel * channel,unsigned int duration,u64 * cookie,struct sk_buff * txskb,enum ieee80211_roc_type type) ieee80211_start_roc_work() argument 716 struct ieee80211_local *local = sdata->local; ieee80211_remain_on_channel() local 725 ieee80211_cancel_roc(struct ieee80211_local * local,u64 cookie,bool mgmt_tx) ieee80211_cancel_roc() argument 812 struct ieee80211_local *local = sdata->local; ieee80211_cancel_remain_on_channel() local 821 struct ieee80211_local *local = sdata->local; ieee80211_mgmt_tx() local 1056 struct ieee80211_local *local = wiphy_priv(wiphy); ieee80211_mgmt_tx_cancel_wait() local 1061 ieee80211_roc_setup(struct ieee80211_local * local) ieee80211_roc_setup() argument 1069 ieee80211_roc_purge(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) ieee80211_roc_purge() argument [all...] |
| H A D | pm.c | 14 static void ieee80211_sched_scan_cancel(struct ieee80211_local *local) in ieee80211_sched_scan_cancel() argument 16 if (ieee80211_request_sched_scan_stop(local)) in ieee80211_sched_scan_cancel() 18 cfg80211_sched_scan_stopped_locked(local->hw.wiphy, 0); in ieee80211_sched_scan_cancel() 24 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_suspend() local 28 if (!local->open_count) in __ieee80211_suspend() 31 local->suspending = true; in __ieee80211_suspend() 34 ieee80211_scan_cancel(local); in __ieee80211_suspend() 36 ieee80211_dfs_cac_cancel(local, NULL); in __ieee80211_suspend() 38 ieee80211_roc_purge(local, NULL); in __ieee80211_suspend() 40 ieee80211_del_virtual_monitor(local); in __ieee80211_suspend() [all …]
|
| H A D | chan.c | 112 ieee80211_chanctx_user_iter_next(struct ieee80211_local *local, in ieee80211_chanctx_user_iter_next() argument 120 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_user_iter_next() 138 iter->sdata = list_prepare_entry(iter->sdata, &local->interfaces, list); in ieee80211_chanctx_user_iter_next() 139 list_for_each_entry_continue(iter->sdata, &local->interfaces, list) { in ieee80211_chanctx_user_iter_next() 164 #define for_each_chanctx_user_assigned(local, ctx, iter) \ argument 165 for (ieee80211_chanctx_user_iter_next(local, ctx, iter, \ 169 ieee80211_chanctx_user_iter_next(local, ctx, iter, \ 173 #define for_each_chanctx_user_reserved(local, ctx, iter) \ argument 174 for (ieee80211_chanctx_user_iter_next(local, ctx, iter, \ 178 ieee80211_chanctx_user_iter_next(local, ctx, iter, \ [all …]
|
| H A D | led.h | 13 static inline void ieee80211_led_rx(struct ieee80211_local *local) in ieee80211_led_rx() argument 16 if (!atomic_read(&local->rx_led_active)) in ieee80211_led_rx() 18 led_trigger_blink_oneshot(&local->rx_led, MAC80211_BLINK_DELAY, MAC80211_BLINK_DELAY, 0); in ieee80211_led_rx() 22 static inline void ieee80211_led_tx(struct ieee80211_local *local) in ieee80211_led_tx() argument 25 if (!atomic_read(&local->tx_led_active)) in ieee80211_led_tx() 27 led_trigger_blink_oneshot(&local->tx_led, MAC80211_BLINK_DELAY, MAC80211_BLINK_DELAY, 0); in ieee80211_led_tx() 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); [all …]
|
| H A D | iface.c | 85 static u32 __ieee80211_idle_off(struct ieee80211_local *local) in __ieee80211_idle_off() argument 87 if (!(local->hw.conf.flags & IEEE80211_CONF_IDLE)) in __ieee80211_idle_off() 90 local->hw.conf.flags &= ~IEEE80211_CONF_IDLE; in __ieee80211_idle_off() 94 static u32 __ieee80211_idle_on(struct ieee80211_local *local) in __ieee80211_idle_on() argument 96 if (local->hw.conf.flags & IEEE80211_CONF_IDLE) in __ieee80211_idle_on() 99 ieee80211_flush_queues(local, NULL, false); in __ieee80211_idle_on() 101 local->hw.conf.flags |= IEEE80211_CONF_IDLE; in __ieee80211_idle_on() 105 static u32 __ieee80211_recalc_idle(struct ieee80211_local *local, in __ieee80211_recalc_idle() argument 112 lockdep_assert_wiphy(local->hw.wiphy); in __ieee80211_recalc_idle() 115 !list_empty(&local in __ieee80211_recalc_idle() 149 ieee80211_idle_off(struct ieee80211_local * local) ieee80211_idle_off() argument 154 ieee80211_recalc_idle(struct ieee80211_local * local) ieee80211_recalc_idle() argument 164 struct ieee80211_local *local = sdata->local; ieee80211_verify_mac() local 213 struct ieee80211_local *local = sdata->local; ieee80211_can_powered_addr_change() local 271 struct ieee80211_local *local = sdata->local; _ieee80211_change_mac() local 314 struct ieee80211_local *local = sdata->local; ieee80211_change_mac() local 344 struct ieee80211_local *local = sdata->local; ieee80211_check_concurrent_iface() local 481 struct ieee80211_local *local = sdata->local; ieee80211_do_stop() local 878 struct ieee80211_local *local = sdata->local; ieee80211_set_multicast_list() local 936 struct ieee80211_local *local = sdata->local; ieee80211_unlist_sdata() local 962 struct ieee80211_local *local = sdata->local; ieee80211_netdev_setup_tc() local 985 struct ieee80211_local *local = sdata->local; ieee80211_monitor_select_queue() local 1022 struct ieee80211_local *local; ieee80211_netdev_fill_forward_path() local 1108 struct ieee80211_local *local = sdata->local; ieee80211_set_sdata_offload_flags() local 1148 struct ieee80211_local *local = sdata->local; ieee80211_set_vif_encap_ops() local 1174 struct ieee80211_local *local = sdata->local; ieee80211_recalc_sdata_offload() local 1191 ieee80211_recalc_offload(struct ieee80211_local * local) ieee80211_recalc_offload() argument 1211 struct ieee80211_local *local = sdata->local; ieee80211_adjust_monitor_flags() local 1232 struct ieee80211_local *local = sdata->local; ieee80211_set_default_queues() local 1246 ieee80211_sdata_init(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) ieee80211_sdata_init() argument 1264 ieee80211_add_virtual_monitor(struct ieee80211_local * local,struct ieee80211_sub_if_data * creator_sdata) ieee80211_add_virtual_monitor() argument 1363 ieee80211_del_virtual_monitor(struct ieee80211_local * local) ieee80211_del_virtual_monitor() argument 1405 struct ieee80211_local *local = sdata->local; ieee80211_do_open() local 1666 ieee80211_iface_process_skb(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct sk_buff * skb) ieee80211_iface_process_skb() argument 1844 struct ieee80211_local *local = sdata->local; ieee80211_iface_work() local 1906 struct ieee80211_local *local = wiphy_priv(wiphy); ieee80211_activate_links_work() local 2023 struct ieee80211_local *local = sdata->local; ieee80211_runtime_change_iftype() local 2139 ieee80211_assign_perm_addr(struct ieee80211_local * local,u8 * perm_addr,enum nl80211_iftype type) ieee80211_assign_perm_addr() argument 2268 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) ieee80211_if_add() argument 2487 ieee80211_remove_interfaces(struct ieee80211_local * local) ieee80211_remove_interfaces() argument 2593 struct ieee80211_local *local = sdata->local; ieee80211_vif_block_queues_csa() local 2604 struct ieee80211_local *local = sdata->local; ieee80211_vif_unblock_queues_csa() local [all...] |
| H A D | debugfs.c | 38 struct ieee80211_local *local = file->private_data; \ 55 debugfs_create_file(#name, 0400, phyd, local, &name## _ops) 58 debugfs_create_file(#name, mode, phyd, local, &name## _ops); 62 local->hw.conf.flags); 64 local->user_power_level); 66 local->hw.conf.power_level); 68 local->total_ps_buffered); 70 local->wep_iv & 0xffffff); 72 local->rate_ctrl ? local 79 struct ieee80211_local *local = file->private_data; aqm_read() local 118 struct ieee80211_local *local = file->private_data; aqm_write() local 152 struct ieee80211_local *local = file->private_data; airtime_flags_read() local 173 struct ieee80211_local *local = file->private_data; airtime_flags_write() local 190 struct ieee80211_local *local = file->private_data; aql_pending_read() local 222 struct ieee80211_local *local = file->private_data; aql_txq_limit_read() local 251 struct ieee80211_local *local = file->private_data; aql_txq_limit_write() local 345 struct ieee80211_local *local = file->private_data; force_tx_status_read() local 360 struct ieee80211_local *local = file->private_data; force_tx_status_write() local 382 struct ieee80211_local *local = file->private_data; reset_write() local 471 struct ieee80211_local *local = file->private_data; hwflags_read() local 500 struct ieee80211_local *local = file->private_data; hwflags_write() local 540 struct ieee80211_local *local = file->private_data; misc_read() local 572 struct ieee80211_local *local = file->private_data; queues_read() local 592 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)) format_devstat_counter() argument 645 debugfs_hw_add(struct ieee80211_local * local) debugfs_hw_add() argument [all...] |
| H A D | util.c | 42 struct ieee80211_local *local; in wiphy_to_ieee80211_hw() local 44 local = wiphy_priv(wiphy); in wiphy_to_ieee80211_hw() 45 return &local->hw; in wiphy_to_ieee80211_hw() 207 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_rts_duration() local 215 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration() 250 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_ctstoself_duration() local 258 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration() 286 static void wake_tx_push_queue(struct ieee80211_local *local, in wake_tx_push_queue() argument 296 skb = ieee80211_tx_dequeue(&local->hw, queue); in wake_tx_push_queue() 300 drv_tx(local, in wake_tx_push_queue() 308 struct ieee80211_local *local = hw_to_local(hw); ieee80211_handle_wake_tx_queue() local 327 struct ieee80211_local *local = sdata->local; __ieee80211_wake_txqs() local 403 _ieee80211_wake_txqs(struct ieee80211_local * local,unsigned long * flags) _ieee80211_wake_txqs() argument 438 struct ieee80211_local *local = from_tasklet(local, t, ieee80211_wake_txqs() local 452 struct ieee80211_local *local = hw_to_local(hw); __ieee80211_wake_queue() local 498 struct ieee80211_local *local = hw_to_local(hw); ieee80211_wake_queue_by_reason() local 518 struct ieee80211_local *local = hw_to_local(hw); __ieee80211_stop_queue() local 538 struct ieee80211_local *local = hw_to_local(hw); ieee80211_stop_queue_by_reason() local 554 ieee80211_add_pending_skb(struct ieee80211_local * local,struct sk_buff * skb) ieee80211_add_pending_skb() argument 576 ieee80211_add_pending_skbs(struct ieee80211_local * local,struct sk_buff_head * skbs) ieee80211_add_pending_skbs() argument 614 struct ieee80211_local *local = hw_to_local(hw); ieee80211_stop_queues_by_reason() local 636 struct ieee80211_local *local = hw_to_local(hw); ieee80211_queue_stopped() local 656 struct ieee80211_local *local = hw_to_local(hw); ieee80211_wake_queues_by_reason() local 677 ieee80211_get_vif_queues(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) ieee80211_get_vif_queues() argument 700 __ieee80211_flush_queues(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,unsigned int queues,bool drop) __ieee80211_flush_queues() argument 739 ieee80211_flush_queues(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,bool drop) ieee80211_flush_queues() argument 745 __iterate_interfaces(struct ieee80211_local * local,u32 iter_flags,void (* iterator)(void * data,u8 * mac,struct ieee80211_vif * vif),void * data) __iterate_interfaces() argument 794 struct ieee80211_local *local = hw_to_local(hw); ieee80211_iterate_interfaces() local 808 struct ieee80211_local *local = hw_to_local(hw); ieee80211_iterate_active_interfaces_atomic() local 824 struct ieee80211_local *local = hw_to_local(hw); __ieee80211_iterate_interfaces() local 868 __iterate_stations(struct ieee80211_local * local,void (* iterator)(void * data,struct ieee80211_sta * sta),void * data) __iterate_stations() argument 889 struct ieee80211_local *local = hw_to_local(hw); ieee80211_iterate_stations_atomic() local 901 struct ieee80211_local *local = hw_to_local(hw); __ieee80211_iterate_stations() local 950 ieee80211_can_queue_work(struct ieee80211_local * local) ieee80211_can_queue_work() argument 962 struct ieee80211_local *local = hw_to_local(hw); ieee80211_queue_work() local 975 struct ieee80211_local *local = hw_to_local(hw); ieee80211_queue_delayed_work() local 1029 struct ieee80211_local *local = sdata->local; ieee80211_set_wmm_default() local 1143 struct ieee80211_local *local = sdata->local; ieee80211_send_auth() local 1212 struct ieee80211_local *local = sdata->local; ieee80211_send_deauth_disassoc() local 1270 struct ieee80211_local *local = sdata->local; ieee80211_put_preq_ies_band() local 1551 struct ieee80211_local *local = sdata->local; ieee80211_build_probe_req() local 1634 ieee80211_stop_device(struct ieee80211_local * local,bool suspend) ieee80211_stop_device() argument 1650 ieee80211_flush_completed_scan(struct ieee80211_local * local,bool aborted) ieee80211_flush_completed_scan() argument 1673 ieee80211_handle_reconfig_failure(struct ieee80211_local * local) ieee80211_handle_reconfig_failure() argument 1712 ieee80211_assign_chanctx(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_link_data * link) ieee80211_assign_chanctx() argument 1731 struct ieee80211_local *local = sdata->local; ieee80211_reconfig_stations() local 1786 struct ieee80211_local *local = sdata->local; ieee80211_reconfig_nan() local 1856 ieee80211_reconfig_ap_links(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,u64 changed) ieee80211_reconfig_ap_links() argument 1885 ieee80211_reconfig(struct ieee80211_local * local) ieee80211_reconfig() argument 2395 struct ieee80211_local *local; ieee80211_reconfig_disconnect() local 2438 struct ieee80211_local *local = sdata->local; ieee80211_recalc_smps() local 2463 struct ieee80211_local *local = sdata->local; ieee80211_recalc_min_chandef() local 2712 struct ieee80211_local *local = sdata->local; ieee80211_put_reg_conn() local 3290 ieee80211_chandef_he_6ghz_oper(struct ieee80211_local * local,const struct ieee80211_he_operation * he_oper,const struct ieee80211_eht_operation * eht_oper,struct cfg80211_chan_def * chandef) ieee80211_chandef_he_6ghz_oper() argument 3372 ieee80211_chandef_s1g_oper(struct ieee80211_local * local,const struct ieee80211_s1g_oper_ie * oper,struct cfg80211_chan_def * chandef) ieee80211_chandef_s1g_oper() argument 3681 ieee80211_dfs_cac_cancel(struct ieee80211_local * local,struct ieee80211_chanctx * ctx) ieee80211_dfs_cac_cancel() argument 3723 struct ieee80211_local *local = ieee80211_dfs_radar_detected_work() local 3767 struct ieee80211_local *local = hw_to_local(hw); ieee80211_radar_detected() local 3888 struct ieee80211_local *local = sdata->local; ieee80211_send_action_csa() local 4181 ieee80211_chanctx_radar_detect(struct ieee80211_local * local,struct ieee80211_chanctx * ctx) ieee80211_chanctx_radar_detect() argument 4274 ieee80211_fill_ifcomb_params(struct ieee80211_local * local,struct iface_combination_params * params,const struct cfg80211_chan_def * chandef,struct ieee80211_sub_if_data * sdata,bool (* chanctx_filter)(struct ieee80211_chanctx * ctx,void * filter_data),void * filter_data) ieee80211_fill_ifcomb_params() argument 4334 struct ieee80211_local *local = sdata->local; ieee80211_check_combinations_ext() local 4398 ieee80211_max_num_channels(struct ieee80211_local * local,int radio_idx) ieee80211_max_num_channels() argument [all...] |
| /linux/net/mac802154/ |
| H A D | driver-ops.h | 14 drv_xmit_async(struct ieee802154_local *local, struct sk_buff *skb) in drv_xmit_async() argument 16 return local->ops->xmit_async(&local->hw, skb); in drv_xmit_async() 20 drv_xmit_sync(struct ieee802154_local *local, struct sk_buff *skb) in drv_xmit_sync() argument 24 return local->ops->xmit_sync(&local->hw, skb); in drv_xmit_sync() 27 static inline int drv_set_pan_id(struct ieee802154_local *local, __le16 pan_id) in drv_set_pan_id() argument 34 if (!local->ops->set_hw_addr_filt) { in drv_set_pan_id() 41 trace_802154_drv_set_pan_id(local, pan_id); in drv_set_pan_id() 42 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_pan_id() 44 trace_802154_drv_return_int(local, ret); in drv_set_pan_id() 49 drv_set_extended_addr(struct ieee802154_local *local, __le64 extended_addr) in drv_set_extended_addr() argument [all …]
|
| H A D | main.c | 25 struct ieee802154_local *local = from_tasklet(local, t, tasklet); in ieee802154_tasklet_handler() local 28 while ((skb = skb_dequeue(&local->skb_queue))) { in ieee802154_tasklet_handler() 35 ieee802154_rx(local, skb); in ieee802154_tasklet_handler() 50 struct ieee802154_local *local; in ieee802154_alloc_hw() local 75 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee802154_alloc_hw() 85 local = wpan_phy_priv(phy); in ieee802154_alloc_hw() 86 local->phy = phy; in ieee802154_alloc_hw() 87 local->hw.phy = local->phy; in ieee802154_alloc_hw() 88 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee802154_alloc_hw() 89 local->ops = ops; in ieee802154_alloc_hw() [all …]
|
| H A D | scan.c | 44 static int mac802154_scan_cleanup_locked(struct ieee802154_local *local, in mac802154_scan_cleanup_locked() argument 49 struct wpan_phy *wpan_phy = local->phy; in mac802154_scan_cleanup_locked() 54 clear_bit(IEEE802154_IS_SCANNING, &local->ongoing); in mac802154_scan_cleanup_locked() 55 cancel_delayed_work(&local->scan_work); in mac802154_scan_cleanup_locked() 56 request = rcu_replace_pointer(local->scan_req, NULL, 1); in mac802154_scan_cleanup_locked() 69 ieee802154_mlme_op_post(local); in mac802154_scan_cleanup_locked() 72 drv_set_channel(local, wpan_phy->current_page, in mac802154_scan_cleanup_locked() 76 drv_stop(local); in mac802154_scan_cleanup_locked() 79 drv_start(local, sdata->required_filtering, &local->addr_filt); in mac802154_scan_cleanup_locked() 84 int mac802154_abort_scan_locked(struct ieee802154_local *local, in mac802154_abort_scan_locked() argument [all …]
|
| H A D | util.c | 28 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_wake_queue() local 32 clear_bit(WPAN_PHY_FLAG_STATE_QUEUE_STOPPED, &local->phy->flags); in ieee802154_wake_queue() 33 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_wake_queue() 54 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_stop_queue() local 58 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_stop_queue() 67 void ieee802154_hold_queue(struct ieee802154_local *local) in ieee802154_hold_queue() argument 71 spin_lock_irqsave(&local->phy->queue_lock, flags); in ieee802154_hold_queue() 72 if (!atomic_fetch_inc(&local->phy->hold_txs)) in ieee802154_hold_queue() 73 ieee802154_stop_queue(&local->hw); in ieee802154_hold_queue() 74 spin_unlock_irqrestore(&local->phy->queue_lock, flags); in ieee802154_hold_queue() [all …]
|
| H A D | rx.c | 34 struct ieee802154_local *local = in mac802154_rx_beacon_worker() local 39 spin_lock_bh(&local->rx_lock); in mac802154_rx_beacon_worker() 40 mac_pkt = list_first_entry_or_null(&local->rx_beacon_list, in mac802154_rx_beacon_worker() 44 spin_unlock_bh(&local->rx_lock); in mac802154_rx_beacon_worker() 48 mac802154_process_beacon(local, mac_pkt->skb, in mac802154_rx_beacon_worker() 57 static bool mac802154_should_answer_beacon_req(struct ieee802154_local *local) in mac802154_should_answer_beacon_req() argument 63 beacon_req = rcu_dereference(local->beacon_req); in mac802154_should_answer_beacon_req() 72 if (!mac802154_is_beaconing(local)) in mac802154_should_answer_beacon_req() 78 static void mac802154_rx_mac_cmd(struct ieee802154_local *local, in mac802154_rx_mac_cmd() argument 91 if (!mac802154_should_answer_beacon_req(local)) in mac802154_rx_mac_cmd() [all …]
|
| H A D | trace.h | 18 wpan_phy_name(local->hw.phy), MAXNAME) 37 TP_PROTO(struct ieee802154_local *local), 38 TP_ARGS(local), 49 TP_PROTO(struct ieee802154_local *local), 50 TP_ARGS(local) 54 TP_PROTO(struct ieee802154_local *local, int ret), 55 TP_ARGS(local, ret), 69 TP_PROTO(struct ieee802154_local *local), 70 TP_ARGS(local) 74 TP_PROTO(struct ieee802154_local *local), [all …]
|
| H A D | iface.c | 146 struct ieee802154_local *local = sdata->local; in ieee802154_setup_hw() local 152 if (local->hw.flags & IEEE802154_HW_AFILT) { in ieee802154_setup_hw() 153 local->addr_filt.pan_id = wpan_dev->pan_id; in ieee802154_setup_hw() 154 local->addr_filt.ieee_addr = wpan_dev->extended_addr; in ieee802154_setup_hw() 155 local->addr_filt.short_addr = wpan_dev->short_addr; in ieee802154_setup_hw() 158 if (local->hw.flags & IEEE802154_HW_LBT) { in ieee802154_setup_hw() 159 ret = drv_set_lbt_mode(local, wpan_dev->lbt); in ieee802154_setup_hw() 164 if (local->hw.flags & IEEE802154_HW_CSMA_PARAMS) { in ieee802154_setup_hw() 165 ret = drv_set_csma_params(local, wpan_de in ieee802154_setup_hw() 184 struct ieee802154_local *local = sdata->local; mac802154_slave_open() local 213 ieee802154_check_mac_settings(struct ieee802154_local * local,struct ieee802154_sub_if_data * sdata,struct ieee802154_sub_if_data * nsdata) ieee802154_check_mac_settings() argument 256 struct ieee802154_local *local = sdata->local; ieee802154_check_concurrent_iface() local 301 struct ieee802154_local *local = sdata->local; mac802154_slave_close() local 609 ieee802154_if_add(struct ieee802154_local * local,const char * name,unsigned char name_assign_type,enum nl802154_iftype type,__le64 extended_addr) ieee802154_if_add() argument 701 ieee802154_remove_interfaces(struct ieee802154_local * local) ieee802154_remove_interfaces() argument [all...] |
| /linux/net/rxrpc/ |
| H A D | local_object.c | 42 void rxrpc_local_dont_fragment(const struct rxrpc_local *local, bool set) in rxrpc_local_dont_fragment() argument 45 ip_sock_set_mtu_discover(local->socket->sk, IP_PMTUDISC_DO); in rxrpc_local_dont_fragment() 47 ip_sock_set_mtu_discover(local->socket->sk, IP_PMTUDISC_DONT); in rxrpc_local_dont_fragment() 51 * Compare a local to an address. Return -ve, 0 or +ve to indicate less than, 59 static long rxrpc_local_cmp_key(const struct rxrpc_local *local, in rxrpc_local_cmp_key() argument 64 diff = ((local->srx.transport_type - srx->transport_type) ?: in rxrpc_local_cmp_key() 65 (local->srx.transport_len - srx->transport_len) ?: in rxrpc_local_cmp_key() 66 (local->srx.transport.family - srx->transport.family)); in rxrpc_local_cmp_key() 75 return ((u16 __force)local->srx.transport.sin.sin_port - in rxrpc_local_cmp_key() 77 memcmp(&local in rxrpc_local_cmp_key() 98 struct rxrpc_local *local = rxrpc_client_conn_reap_timeout() local 112 struct rxrpc_local *local; rxrpc_alloc_local() local 162 rxrpc_open_socket(struct rxrpc_local * local,struct net * net) rxrpc_open_socket() argument 250 struct rxrpc_local *local; rxrpc_lookup_local() local 327 rxrpc_get_local(struct rxrpc_local * local,enum rxrpc_local_trace why) rxrpc_get_local() argument 341 rxrpc_get_local_maybe(struct rxrpc_local * local,enum rxrpc_local_trace why) rxrpc_get_local_maybe() argument 358 rxrpc_put_local(struct rxrpc_local * local,enum rxrpc_local_trace why) rxrpc_put_local() argument 379 rxrpc_use_local(struct rxrpc_local * local,enum rxrpc_local_trace why) rxrpc_use_local() argument 398 rxrpc_unuse_local(struct rxrpc_local * local,enum rxrpc_local_trace why) rxrpc_unuse_local() argument 420 rxrpc_destroy_local(struct rxrpc_local * local) rxrpc_destroy_local() argument 460 struct rxrpc_local *local = container_of(rcu, struct rxrpc_local, rcu); rxrpc_local_rcu() local 471 struct rxrpc_local *local; rxrpc_destroy_all_locals() local [all...] |
| H A D | io_thread.c | 29 struct rxrpc_local *local = rcu_dereference_sk_user_data(udp_sk); in rxrpc_encap_rcv() local 32 if (unlikely(!local)) { in rxrpc_encap_rcv() 36 io_thread = READ_ONCE(local->io_thread); in rxrpc_encap_rcv() 46 rx_queue = &local->rx_queue; in rxrpc_encap_rcv() 49 !skb_queue_empty(&local->rx_delay_queue)) { in rxrpc_encap_rcv() 51 rx_queue = &local->rx_delay_queue; in rxrpc_encap_rcv() 65 struct rxrpc_local *local; in rxrpc_error_report() local 69 local = rcu_dereference_sk_user_data(sk); in rxrpc_error_report() 70 if (unlikely(!local)) { in rxrpc_error_report() 78 skb_queue_tail(&local->rx_queue, skb); in rxrpc_error_report() [all …]
|
| H A D | conn_client.c | 45 static void rxrpc_put_client_connection_id(struct rxrpc_local *local, in rxrpc_put_client_connection_id() argument 48 idr_remove(&local->conn_ids, conn->proto.cid >> RXRPC_CIDSHIFT); in rxrpc_put_client_connection_id() 54 static void rxrpc_destroy_client_conn_ids(struct rxrpc_local *local) in rxrpc_destroy_client_conn_ids() argument 59 if (!idr_is_empty(&local->conn_ids)) { in rxrpc_destroy_client_conn_ids() 60 idr_for_each_entry(&local->conn_ids, conn, id) { in rxrpc_destroy_client_conn_ids() 67 idr_destroy(&local->conn_ids); in rxrpc_destroy_client_conn_ids() 81 bundle->local = call->local; in rxrpc_alloc_bundle() 95 write_lock(&bundle->local->rxnet->conn_lock); in rxrpc_alloc_bundle() 96 list_add_tail(&bundle->proc_link, &bundle->local->rxnet->bundle_proc_list); in rxrpc_alloc_bundle() 97 write_unlock(&bundle->local->rxnet->conn_lock); in rxrpc_alloc_bundle() [all …]
|
| /linux/net/nfc/ |
| H A D | llcp_core.c | 25 static void nfc_llcp_rx_skb(struct nfc_llcp_local *local, struct sk_buff *skb); 49 struct nfc_llcp_local *local = sock->local; in nfc_llcp_socket_purge() local 55 if (local == NULL) in nfc_llcp_socket_purge() 59 skb_queue_walk_safe(&local->tx_queue, s, tmp) { in nfc_llcp_socket_purge() 63 skb_unlink(s, &local->tx_queue); in nfc_llcp_socket_purge() 83 static void nfc_llcp_socket_release(struct nfc_llcp_local *local, bool device, in nfc_llcp_socket_release() argument 89 skb_queue_purge(&local->tx_queue); in nfc_llcp_socket_release() 91 while ((sk = nfc_llcp_sock_list_pop(&local->sockets))) { in nfc_llcp_socket_release() 116 nfc_llcp_sock_unlink(&local->sockets, accept_sk); in nfc_llcp_socket_release() 145 while ((sk = nfc_llcp_sock_list_pop(&local->raw_sockets))) { in nfc_llcp_socket_release() [all …]
|
| H A D | llcp_commands.c | 192 int nfc_llcp_parse_gb_tlv(struct nfc_llcp_local *local, in nfc_llcp_parse_gb_tlv() argument 201 if (local == NULL) in nfc_llcp_parse_gb_tlv() 218 local->remote_version = llcp_tlv_version(tlv); in nfc_llcp_parse_gb_tlv() 221 local->remote_miu = llcp_tlv_miux(tlv) + 128; in nfc_llcp_parse_gb_tlv() 224 local->remote_wks = llcp_tlv_wks(tlv); in nfc_llcp_parse_gb_tlv() 227 local->remote_lto = llcp_tlv_lto(tlv) * 10; in nfc_llcp_parse_gb_tlv() 230 local->remote_opt = llcp_tlv_opt(tlv); in nfc_llcp_parse_gb_tlv() 242 local->remote_version, local->remote_miu, in nfc_llcp_parse_gb_tlv() 243 local->remote_lto, local->remote_opt, in nfc_llcp_parse_gb_tlv() 244 local->remote_wks); in nfc_llcp_parse_gb_tlv() [all …]
|
| /linux/tools/testing/selftests/breakpoints/ |
| H A D | breakpoint_test.c | 54 int local, int global, int set) in toggle_breakpoint() argument 94 if (local) { in toggle_breakpoint() 205 int len, local, global, i; in trigger_tests() local 219 for (local = 0; local < 2; local++) { in trigger_tests() 221 if (!local && !global) in trigger_tests() 233 for (local = 0; local < 2; local++) { in trigger_tests() 235 if (!local && !global) in trigger_tests() 244 for (local = 0; local < 2; local++) { in trigger_tests() 246 if (!local && !global) in trigger_tests() 292 static void launch_instruction_breakpoints(char *buf, int local, int global) in launch_instruction_breakpoints() argument [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | cpumask_failure.c | 123 struct bpf_cpumask *local, *prev; in BPF_PROG() local 125 local = create_cpumask(); in BPF_PROG() 126 if (!local) in BPF_PROG() 129 prev = bpf_kptr_xchg(&global_mask, local); in BPF_PROG() 141 local = global_mask; in BPF_PROG() 142 if (!local) { in BPF_PROG() 152 bpf_cpumask_test_cpu(0, (const struct cpumask *)local); in BPF_PROG() 161 struct bpf_cpumask *local, *prev; in BPF_PROG() local 163 local = create_cpumask(); in BPF_PROG() 164 if (!local) in BPF_PROG() 214 struct bpf_cpumask *local, *prev; BPF_PROG() local 250 struct bpf_cpumask *local; BPF_PROG() local [all...] |
| /linux/drivers/net/ethernet/xircom/ |
| H A D | xirc2ps_cs.c | 477 struct local_info *local; in xirc2ps_probe() local 485 local = netdev_priv(dev); in xirc2ps_probe() 486 local->dev = dev; in xirc2ps_probe() 487 local->p_dev = link; in xirc2ps_probe() 497 INIT_WORK(&local->tx_timeout_task, xirc2ps_tx_timeout_task); in xirc2ps_probe() 506 struct local_info *local = netdev_priv(dev); in xirc2ps_detach() local 510 cancel_work_sync(&local->tx_timeout_task); in xirc2ps_detach() 543 struct local_info *local = netdev_priv(dev); in set_card_type() local 561 local->mohawk = 0; in set_card_type() 562 local->dingo = 0; in set_card_type() [all …]
|