/linux/net/mac80211/ |
H A D | driver-ops.h | 17 WARN_ONCE(!sdata->local->reconfig_failure && \ 34 static inline void drv_tx(struct ieee80211_local *local, in drv_tx() argument 38 local->ops->tx(&local->hw, control, skb); in drv_tx() 41 static inline void drv_sync_rx_queues(struct ieee80211_local *local, in drv_sync_rx_queues() argument 45 lockdep_assert_wiphy(local->hw.wiphy); in drv_sync_rx_queues() 47 if (local->ops->sync_rx_queues) { in drv_sync_rx_queues() 48 trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta); in drv_sync_rx_queues() 49 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues() 50 trace_drv_return_void(local); in drv_sync_rx_queues() 57 struct ieee80211_local *local = sdata->local; in drv_get_et_strings() local [all …]
|
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 | driver-ops.c | 13 int drv_start(struct ieee80211_local *local) in drv_start() argument 18 lockdep_assert_wiphy(local->hw.wiphy); in drv_start() 20 if (WARN_ON(local->started)) in drv_start() 23 trace_drv_start(local); in drv_start() 24 local->started = true; in drv_start() 27 ret = local->ops->start(&local->hw); in drv_start() 28 trace_drv_return_int(local, ret); in drv_start() 31 local->started = false; in drv_start() 36 void drv_stop(struct ieee80211_local *local, bool suspend) in drv_stop() argument 39 lockdep_assert_wiphy(local->hw.wiphy); in drv_stop() [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 147 local->hw.wiphy->bands[rx_status->band]; in ieee80211_inform_bss() 164 ieee80211_bss_info_update(struct ieee80211_local *local, in ieee80211_bss_info_update() argument 185 else if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) in ieee80211_bss_info_update() 187 else if (ieee80211_hw_check(&local->hw, SIGNAL_UNSPEC)) in ieee80211_bss_info_update() 188 bss_meta.signal = (rx_status->signal * 100) / local->hw.max_signal; in ieee80211_bss_info_update() 193 scan_sdata = rcu_dereference(local->scan_sdata); in ieee80211_bss_info_update() 215 ieee80211_calculate_rx_timestamp(local, in ieee80211_bss_info_update() 273 ieee80211_scan_rx(struct ieee80211_local * local,struct sk_buff * skb) ieee80211_scan_rx() argument 372 struct ieee80211_local *local = sdata->local; ieee80211_prep_hw_scan() local 441 struct ieee80211_local *local = hw_to_local(hw); __ieee80211_scan_completed() local 534 struct ieee80211_local *local = hw_to_local(hw); ieee80211_scan_completed() local 548 ieee80211_start_sw_scan(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) ieee80211_start_sw_scan() argument 592 struct ieee80211_local *local = sdata->local; __ieee80211_can_leave_ch() local 613 ieee80211_can_scan(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct cfg80211_scan_request * req) ieee80211_can_scan() argument 630 ieee80211_run_deferred_scan(struct ieee80211_local * local) ieee80211_run_deferred_scan() argument 680 ieee80211_scan_state_send_probe(struct ieee80211_local * local,unsigned long * next_delay) ieee80211_scan_state_send_probe() argument 725 struct ieee80211_local *local = sdata->local; __ieee80211_start_scan() local 914 ieee80211_scan_state_decision(struct ieee80211_local * local,unsigned long * next_delay) ieee80211_scan_state_decision() argument 981 ieee80211_scan_state_set_channel(struct ieee80211_local * local,unsigned long * next_delay) ieee80211_scan_state_set_channel() argument 1053 ieee80211_scan_state_suspend(struct ieee80211_local * local,unsigned long * next_delay) ieee80211_scan_state_suspend() argument 1068 ieee80211_scan_state_resume(struct ieee80211_local * local,unsigned long * next_delay) ieee80211_scan_state_resume() argument 1088 struct ieee80211_local *local = ieee80211_scan_work() local 1200 struct ieee80211_local *local = sdata->local; ieee80211_request_ibss_scan() local 1265 ieee80211_scan_cancel(struct ieee80211_local * local) ieee80211_scan_cancel() argument 1324 struct ieee80211_local *local = sdata->local; __ieee80211_request_sched_scan_start() local 1387 struct ieee80211_local *local = sdata->local; ieee80211_request_sched_scan_start() local 1397 ieee80211_request_sched_scan_stop(struct ieee80211_local * local) ieee80211_request_sched_scan_stop() argument 1423 struct ieee80211_local *local = hw_to_local(hw); ieee80211_sched_scan_results() local 1431 ieee80211_sched_scan_end(struct ieee80211_local * local) ieee80211_sched_scan_end() argument 1449 struct ieee80211_local *local = ieee80211_sched_scan_stopped_work() local 1458 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->fif_control) in ieee80211_configure_filter() 62 if (local->fif_other_bss) in ieee80211_configure_filter() 65 if (local->fif_pspoll) in ieee80211_configure_filter() [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 386 ieee80211_start_next_roc(struct ieee80211_local * local) ieee80211_start_next_roc() argument 416 ieee80211_reconfig_roc(struct ieee80211_local * local) ieee80211_reconfig_roc() argument 449 __ieee80211_roc_work(struct ieee80211_local * local) __ieee80211_roc_work() argument 490 struct ieee80211_local *local = ieee80211_roc_work() local 500 struct ieee80211_local *local = ieee80211_hw_roc_done() local 513 struct ieee80211_local *local = hw_to_local(hw); ieee80211_remain_on_channel_expired() local 522 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 561 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 712 struct ieee80211_local *local = sdata->local; ieee80211_remain_on_channel() local 721 ieee80211_cancel_roc(struct ieee80211_local * local,u64 cookie,bool mgmt_tx) ieee80211_cancel_roc() argument 808 struct ieee80211_local *local = sdata->local; ieee80211_cancel_remain_on_channel() local 817 struct ieee80211_local *local = sdata->local; ieee80211_mgmt_tx() local 1050 struct ieee80211_local *local = wiphy_priv(wiphy); ieee80211_mgmt_tx_cancel_wait() local 1055 ieee80211_roc_setup(struct ieee80211_local * local) ieee80211_roc_setup() argument 1063 ieee80211_roc_purge(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) ieee80211_roc_purge() argument [all...] |
H A D | chan.c | 15 static int ieee80211_chanctx_num_assigned(struct ieee80211_local *local, in ieee80211_chanctx_num_assigned() argument 21 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_num_assigned() 29 static int ieee80211_chanctx_num_reserved(struct ieee80211_local *local, in ieee80211_chanctx_num_reserved() argument 35 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_num_reserved() 43 int ieee80211_chanctx_refcount(struct ieee80211_local *local, in ieee80211_chanctx_refcount() argument 46 return ieee80211_chanctx_num_assigned(local, ctx) + in ieee80211_chanctx_refcount() 47 ieee80211_chanctx_num_reserved(local, ctx); in ieee80211_chanctx_refcount() 50 static int ieee80211_num_chanctx(struct ieee80211_local *local, int radio_idx) in ieee80211_num_chanctx() argument 55 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_num_chanctx() 57 list_for_each_entry(ctx, &local in ieee80211_num_chanctx() 66 ieee80211_can_create_new_chanctx(struct ieee80211_local * local,int radio_idx) ieee80211_can_create_new_chanctx() argument 141 ieee80211_chanctx_reserved_chanreq(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,const struct ieee80211_chan_req * req,struct ieee80211_chan_req * tmp) ieee80211_chanctx_reserved_chanreq() argument 163 ieee80211_chanctx_non_reserved_chandef(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,const struct ieee80211_chan_req * compat,struct ieee80211_chan_req * tmp) ieee80211_chanctx_non_reserved_chandef() argument 189 ieee80211_chanctx_can_reserve(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,const struct ieee80211_chan_req * req) ieee80211_chanctx_can_reserve() argument 211 ieee80211_find_reservation_chanctx(struct ieee80211_local * local,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode) ieee80211_find_reservation_chanctx() argument 310 ieee80211_get_chanctx_max_required_bw(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,struct ieee80211_link_data * rsvd_for,bool check_reserved) ieee80211_get_chanctx_max_required_bw() argument 392 _ieee80211_recalc_chanctx_min_def(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,struct ieee80211_link_data * rsvd_for,bool check_reserved) _ieee80211_recalc_chanctx_min_def() argument 433 ieee80211_chan_bw_change(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,bool reserved,bool narrowed) ieee80211_chan_bw_change() argument 500 ieee80211_recalc_chanctx_min_def(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,struct ieee80211_link_data * rsvd_for,bool check_reserved) ieee80211_recalc_chanctx_min_def() argument 520 _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) _ieee80211_change_chanctx() argument 585 ieee80211_change_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,struct ieee80211_chanctx * old_ctx,const struct ieee80211_chan_req * chanreq) ieee80211_change_chanctx() argument 595 ieee80211_find_chanctx(struct ieee80211_local * local,struct ieee80211_link_data * link,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode) ieee80211_find_chanctx() argument 647 ieee80211_is_radar_required(struct ieee80211_local * local,struct cfg80211_scan_request * req) ieee80211_is_radar_required() argument 686 ieee80211_chanctx_radar_required(struct ieee80211_local * local,struct ieee80211_chanctx * ctx) ieee80211_chanctx_radar_required() argument 706 ieee80211_alloc_chanctx(struct ieee80211_local * local,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode,int radio_idx) ieee80211_alloc_chanctx() argument 734 ieee80211_add_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * ctx) ieee80211_add_chanctx() argument 759 ieee80211_new_chanctx(struct ieee80211_local * local,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode,bool assign_on_failure,int radio_idx) ieee80211_new_chanctx() argument 786 ieee80211_del_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,bool skip_idle_recalc) ieee80211_del_chanctx() argument 800 ieee80211_free_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,bool skip_idle_recalc) ieee80211_free_chanctx() argument 813 ieee80211_recalc_chanctx_chantype(struct ieee80211_local * local,struct ieee80211_chanctx * ctx) ieee80211_recalc_chanctx_chantype() argument 879 ieee80211_recalc_radar_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * chanctx) ieee80211_recalc_radar_chanctx() argument 901 struct ieee80211_local *local = sdata->local; ieee80211_assign_link_chanctx() local 982 ieee80211_recalc_smps_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * chanctx) ieee80211_recalc_smps_chanctx() argument 1105 struct ieee80211_local *local = link->sdata->local; ieee80211_link_copy_chanctx_to_vlans() local 1147 ieee80211_replace_chanctx(struct ieee80211_local * local,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode,struct ieee80211_chanctx * curr_ctx) ieee80211_replace_chanctx() argument 1220 ieee80211_find_available_radio(struct ieee80211_local * local,const struct ieee80211_chan_req * chanreq,u32 radio_mask,int * radio_idx) ieee80211_find_available_radio() argument 1256 struct ieee80211_local *local = sdata->local; ieee80211_link_reserve_chanctx() local 1351 struct ieee80211_local *local = sdata->local; ieee80211_link_use_reserved_reassign() local 1435 struct ieee80211_local *local = sdata->local; ieee80211_link_use_reserved_assign() local 1507 ieee80211_chsw_switch_vifs(struct ieee80211_local * local,int n_vifs) ieee80211_chsw_switch_vifs() argument 1554 ieee80211_chsw_switch_ctxs(struct ieee80211_local * local) ieee80211_chsw_switch_ctxs() argument 1592 ieee80211_vif_use_reserved_switch(struct ieee80211_local * local) ieee80211_vif_use_reserved_switch() argument 1868 struct ieee80211_local *local = sdata->local; __ieee80211_link_release_channel() local 1907 struct ieee80211_local *local = sdata->local; _ieee80211_link_use_channel() local 1985 struct ieee80211_local *local = sdata->local; ieee80211_link_use_reserved_context() local 2053 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) ieee80211_chanctx_recheck() argument 2095 struct ieee80211_local *local = sdata->local; ieee80211_link_change_chanreq() local 2174 struct ieee80211_local *local = sdata->local; ieee80211_link_vlan_copy_chanctx() local 2199 struct ieee80211_local *local = hw_to_local(hw); ieee80211_iter_chan_contexts_atomic() local 2217 struct ieee80211_local *local = hw_to_local(hw); ieee80211_iter_chan_contexts_mtx() local [all...] |
H A D | trace.h | 20 #define LOCAL_ASSIGN strscpy(__entry->wiphy_name, wiphy_name(local->hw.wiphy), MAXNAME) 150 TP_PROTO(struct ieee80211_local *local), 151 TP_ARGS(local), 162 TP_PROTO(struct ieee80211_local *local, 164 TP_ARGS(local, sdata), 185 TP_PROTO(struct ieee80211_local *local, u32 value), 186 TP_ARGS(local, value), 205 TP_PROTO(struct ieee80211_local *local, 207 TP_ARGS(local, sdata), 226 TP_PROTO(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() 140 ieee80211_idle_off(struct ieee80211_local * local) ieee80211_idle_off() argument 145 ieee80211_recalc_idle(struct ieee80211_local * local) ieee80211_recalc_idle() argument 155 struct ieee80211_local *local = sdata->local; ieee80211_verify_mac() local 204 struct ieee80211_local *local = sdata->local; ieee80211_can_powered_addr_change() local 254 struct ieee80211_local *local = sdata->local; _ieee80211_change_mac() local 297 struct ieee80211_local *local = sdata->local; ieee80211_change_mac() local 327 struct ieee80211_local *local = sdata->local; ieee80211_check_concurrent_iface() local 456 struct ieee80211_local *local = sdata->local; ieee80211_do_stop() local 822 struct ieee80211_local *local = sdata->local; ieee80211_set_multicast_list() local 874 struct ieee80211_local *local = sdata->local; ieee80211_netdev_setup_tc() local 894 struct ieee80211_local *local = sdata->local; ieee80211_monitor_select_queue() local 931 struct ieee80211_local *local; ieee80211_netdev_fill_forward_path() local 1010 struct ieee80211_local *local = sdata->local; ieee80211_set_sdata_offload_flags() local 1050 struct ieee80211_local *local = sdata->local; ieee80211_set_vif_encap_ops() local 1076 struct ieee80211_local *local = sdata->local; ieee80211_recalc_sdata_offload() local 1093 ieee80211_recalc_offload(struct ieee80211_local * local) ieee80211_recalc_offload() argument 1113 struct ieee80211_local *local = sdata->local; ieee80211_adjust_monitor_flags() local 1134 struct ieee80211_local *local = sdata->local; ieee80211_set_default_queues() local 1148 ieee80211_sdata_init(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) ieee80211_sdata_init() argument 1166 ieee80211_add_virtual_monitor(struct ieee80211_local * local) ieee80211_add_virtual_monitor() argument 1233 ieee80211_del_virtual_monitor(struct ieee80211_local * local) ieee80211_del_virtual_monitor() argument 1275 struct ieee80211_local *local = sdata->local; ieee80211_do_open() local 1526 ieee80211_iface_process_skb(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct sk_buff * skb) ieee80211_iface_process_skb() argument 1734 struct ieee80211_local *local = sdata->local; ieee80211_iface_work() local 1796 struct ieee80211_local *local = wiphy_priv(wiphy); ieee80211_activate_links_work() local 1907 struct ieee80211_local *local = sdata->local; ieee80211_runtime_change_iftype() local 2023 ieee80211_assign_perm_addr(struct ieee80211_local * local,u8 * perm_addr,enum nl80211_iftype type) ieee80211_assign_perm_addr() argument 2152 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 2346 ieee80211_remove_interfaces(struct ieee80211_local * local) ieee80211_remove_interfaces() argument 2452 struct ieee80211_local *local = sdata->local; ieee80211_vif_block_queues_csa() local 2463 struct ieee80211_local *local = sdata->local; ieee80211_vif_unblock_queues_csa() local [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() 23 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_suspend() local 27 if (!local->open_count) in __ieee80211_suspend() 30 local->suspending = true; in __ieee80211_suspend() 33 ieee80211_scan_cancel(local); in __ieee80211_suspend() 35 ieee80211_dfs_cac_cancel(local, NULL); in __ieee80211_suspend() 37 ieee80211_roc_purge(local, NULL); in __ieee80211_suspend() 39 ieee80211_del_virtual_monitor(local); in __ieee80211_suspend() [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 …]
|
/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 | 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 …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | mirror_gre_lib.sh | 7 local tundev=$1; shift 8 local ip1=$1; shift 9 local ip2=$1; shift 10 local forward_type=$1; shift 11 local backward_type=$1; shift 19 local tundev=$1; shift 20 local ip1=$1; shift 21 local ip2=$1; shift 28 local tundev=$1; shift 29 local forward_type=$1; shift [all …]
|
H A D | mirror_lib.sh | 5 local from_dev=$1; shift 6 local direction=$1; shift 7 local to_dev=$1; shift 8 local filter=$1; shift 17 local from_dev=$1; shift 18 local direction=$1; shift 25 local addr=$1; shift 32 local vrf_name=$1; shift 33 local sip=$1; shift 34 local dip=$1; shift [all …]
|
H A D | lib.sh | 93 local dev=$1; shift 94 local driver_path="/sys/class/net/$dev/device/driver" 103 local ifnames=`ip -j link show | jq -r ".[].ifname"` 104 local count=0 108 local driver_name=`driver_name_get $ifname` 147 local dev=$1; shift 162 local dev=$1; shift 177 local dev=$1; shift 178 local ret; 265 local de [all...] |
H A D | router_mpath_nh_lib.sh | 5 local what=$1; shift 6 local nh1_id=$1; shift 7 local nh2_id=$1; shift 8 local group_id=$1; shift 9 local stats_get=$1; shift 10 local mz="$@" 12 local dp 18 local dd 19 local t0_rp12=$(link_stats_tx_packets_get $rp12) 20 local t0_rp13=$(link_stats_tx_packets_get $rp13) [all …]
|
H A D | bridge_mdb_max.sh | 84 local br_flags=$1; shift 157 local IPs=("$@") 158 local IPstr=$(echo ${IPs[@]} | tr '[:space:]' , | sed 's/,$//') 165 local op=$1; shift 166 local locus=$1; shift 167 local GRP=$1; shift 168 local state=$1; shift 169 local IPs=("$@") 171 local source_list=$(cfg_src_list ${IPs[@]}) 175 local br_locus=$(echo "$locus" | sed 's/^dev /port /') [all …]
|
/linux/net/nfc/ |
H A D | llcp_core.c | 23 static void nfc_llcp_rx_skb(struct nfc_llcp_local *local, struct sk_buff *skb); 47 struct nfc_llcp_local *local = sock->local; in nfc_llcp_socket_purge() local 53 if (local == NULL) in nfc_llcp_socket_purge() 56 /* Search for local pending SKBs that are related to this socket */ in nfc_llcp_socket_purge() 57 skb_queue_walk_safe(&local->tx_queue, s, tmp) { in nfc_llcp_socket_purge() 61 skb_unlink(s, &local->tx_queue); in nfc_llcp_socket_purge() 66 static void nfc_llcp_socket_release(struct nfc_llcp_local *local, bool device, in nfc_llcp_socket_release() argument 73 skb_queue_purge(&local->tx_queue); in nfc_llcp_socket_release() 75 write_lock(&local->sockets.lock); in nfc_llcp_socket_release() 77 sk_for_each_safe(sk, tmp, &local->sockets.head) { in nfc_llcp_socket_release() [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | lib.sh | 36 local a=$1; shift 37 local b=$1; shift 38 local -A weights 39 local weight=0 41 local i 57 local a=$1; shift 58 local b=$1; shift 66 local a=$1; shift 67 local b=$1; shift 75 local sleep_cm [all...] |
H A D | fdb_flush.sh | 49 local cmd="$1" 50 local out 51 local rc 52 local stderr="2>/dev/null" 70 local rc=$1 71 local expected=$2 72 local msg="$3" 73 local nsuccess 74 local nfail 75 local ret [all …]
|
H A D | test_vxlan_mdb.sh | 136 local rc=$1 137 local expected=$2 138 local msg="$3" 171 local cmd="$1" 172 local out 173 local stderr="2>/dev/null" 191 local ns=$1; shift 192 local id=$1; shift 193 local handle=$1; shift 194 local count=$1; shift [all …]
|
/linux/scripts/atomic/ |
H A D | atomic-tbl.sh | 48 local tmpltype="$1"; shift 49 local pfx="$1"; shift 50 local name="$1"; shift 51 local sfx="$1"; shift 52 local order="$1"; shift 54 local base="" 55 local file="" 86 local meta="$1"; shift 87 local int="$1"; shift 108 local name="${1#c}" [all …]
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | conntrack_resize.sh | 44 local expected="$1" 47 local lv=$(sysctl -n net.nf_conntrack_max) 56 local ns="$1" 57 local count="$2" 58 local i=0 59 local bulk=16 75 local ns="$1" 76 local count="$2" 77 local msg="$3" 79 local now=$(ip netns exec "$ns" conntrack -C) [all …]
|
/linux/tools/testing/selftests/drivers/net/microchip/ |
H A D | ksz9477_qos.sh | 105 local if_name=$1 106 local order=$2 113 local stats_json=$1 114 local field_name=$2 121 local test_name=$1; 122 local apptrust_order=$2; 123 local port_prio=$3; 124 local dscp_ipv=$4; 125 local dscp=$5; 126 local have_vlan=$6; [all …]
|