Home
last modified time | relevance | path

Searched full:local (Results 1 – 25 of 3569) sorted by relevance

12345678910>>...143

/linux/net/mac80211/
H A Ddriver-ops.h17 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 in drv_sync_rx_queues()
57 struct ieee80211_local *local = sdata->local; drv_get_et_strings() local
69 struct ieee80211_local *local = sdata->local; drv_get_et_stats() local
80 struct ieee80211_local *local = sdata->local; drv_get_et_sset_count() local
95 drv_suspend(struct ieee80211_local * local,struct cfg80211_wowlan * wowlan) drv_suspend() argument
109 drv_resume(struct ieee80211_local * local) drv_resume() argument
122 drv_set_wakeup(struct ieee80211_local * local,bool enabled) drv_set_wakeup() argument
147 drv_config(struct ieee80211_local * local,int radio_idx,u32 changed) drv_config() argument
161 drv_vif_cfg_changed(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,u64 changed) drv_vif_cfg_changed() argument
185 drv_prepare_multicast(struct ieee80211_local * local,struct netdev_hw_addr_list * mc_list) drv_prepare_multicast() argument
200 drv_configure_filter(struct ieee80211_local * local,unsigned int changed_flags,unsigned int * total_flags,u64 multicast) drv_configure_filter() argument
215 drv_config_iface_filter(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,unsigned int filter_flags,unsigned int changed_flags) drv_config_iface_filter() argument
232 drv_set_tim(struct ieee80211_local * local,struct ieee80211_sta * sta,bool set) drv_set_tim() argument
249 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) drv_update_tkip_key() argument
271 drv_hw_scan(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_scan_request * req) drv_hw_scan() argument
289 drv_cancel_hw_scan(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_cancel_hw_scan() argument
304 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) drv_sched_scan_start() argument
324 drv_sched_scan_stop(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_sched_scan_stop() argument
342 drv_sw_scan_start(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,const u8 * mac_addr) drv_sw_scan_start() argument
355 drv_sw_scan_complete(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_sw_scan_complete() argument
367 drv_get_stats(struct ieee80211_local * local,struct ieee80211_low_level_stats * stats) drv_get_stats() argument
382 drv_get_key_seq(struct ieee80211_local * local,struct ieee80211_key * key,struct ieee80211_key_seq * seq) drv_get_key_seq() argument
391 drv_set_frag_threshold(struct ieee80211_local * local,int radio_idx,u32 value) drv_set_frag_threshold() argument
407 drv_set_rts_threshold(struct ieee80211_local * local,int radio_idx,u32 value) drv_set_rts_threshold() argument
423 drv_set_coverage_class(struct ieee80211_local * local,int radio_idx,s16 value) drv_set_coverage_class() argument
440 drv_sta_notify(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,enum sta_notify_cmd cmd,struct ieee80211_sta * sta) drv_sta_notify() argument
455 drv_sta_add(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta) drv_sta_add() argument
477 drv_sta_remove(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta) drv_sta_remove() argument
496 drv_vif_add_debugfs(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_vif_add_debugfs() argument
513 drv_link_add_debugfs(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_bss_conf * link_conf,struct dentry * dir) drv_link_add_debugfs() argument
530 drv_sta_add_debugfs(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,struct dentry * dir) drv_sta_add_debugfs() argument
547 drv_link_sta_add_debugfs(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_link_sta * link_sta,struct dentry * dir) drv_link_sta_add_debugfs() argument
564 drv_vif_add_debugfs(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_vif_add_debugfs() argument
571 drv_sta_pre_rcu_remove(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct sta_info * sta) drv_sta_pre_rcu_remove() argument
605 drv_sta_rate_tbl_update(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta) drv_sta_rate_tbl_update() argument
620 drv_sta_statistics(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,struct station_info * sinfo) drv_sta_statistics() argument
638 drv_link_sta_statistics(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_link_sta * link_sta,struct link_station_info * link_sinfo) drv_link_sta_statistics() argument
672 drv_tx_last_beacon(struct ieee80211_local * local) drv_tx_last_beacon() argument
690 drv_get_survey(struct ieee80211_local * local,int idx,struct survey_info * survey) drv_get_survey() argument
708 drv_rfkill_poll(struct ieee80211_local * local) drv_rfkill_poll() argument
717 drv_flush(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,u32 queues,bool drop) drv_flush() argument
738 drv_flush_sta(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct sta_info * sta) drv_flush_sta() argument
759 drv_channel_switch(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_channel_switch * ch_switch) drv_channel_switch() argument
772 drv_set_antenna(struct ieee80211_local * local,u32 tx_ant,u32 rx_ant) drv_set_antenna() argument
784 drv_get_antenna(struct ieee80211_local * local,int radio_idx,u32 * tx_ant,u32 * rx_ant) drv_get_antenna() argument
797 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) drv_remain_on_channel() argument
817 drv_cancel_remain_on_channel(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_cancel_remain_on_channel() argument
832 drv_set_ringparam(struct ieee80211_local * local,u32 tx,u32 rx) drv_set_ringparam() argument
848 drv_get_ringparam(struct ieee80211_local * local,u32 * tx,u32 * tx_max,u32 * rx,u32 * rx_max) drv_get_ringparam() argument
860 drv_tx_frames_pending(struct ieee80211_local * local) drv_tx_frames_pending() argument
875 drv_set_bitrate_mask(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,const struct cfg80211_bitrate_mask * mask) drv_set_bitrate_mask() argument
896 drv_set_rekey_data(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct cfg80211_gtk_rekey_data * data) drv_set_rekey_data() argument
915 drv_event_callback(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,const struct ieee80211_event * event) drv_event_callback() argument
926 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) drv_release_buffered_frames() argument
941 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) drv_allow_buffered_frames() argument
955 drv_mgd_prepare_tx(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_prep_tx_info * info) drv_mgd_prepare_tx() argument
974 drv_mgd_complete_tx(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_prep_tx_info * info) drv_mgd_complete_tx() argument
994 drv_mgd_protect_tdls_discover(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,int link_id) drv_mgd_protect_tdls_discover() argument
1014 drv_add_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * ctx) drv_add_chanctx() argument
1032 drv_remove_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * ctx) drv_remove_chanctx() argument
1048 drv_change_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,u32 changed) drv_change_chanctx() argument
1075 drv_start_ap(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_bss_conf * link_conf) drv_start_ap() argument
1094 drv_stop_ap(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_bss_conf * link_conf) drv_stop_ap() argument
1111 drv_reconfig_complete(struct ieee80211_local * local,enum ieee80211_reconfig_type reconfig_type) drv_reconfig_complete() argument
1124 drv_set_default_unicast_key(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,int key_idx) drv_set_default_unicast_key() argument
1144 drv_ipv6_addr_change(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct inet6_dev * idev) drv_ipv6_addr_change() argument
1159 struct ieee80211_local *local = sdata->local; drv_channel_switch_beacon() local
1175 struct ieee80211_local *local = sdata->local; drv_pre_channel_switch() local
1199 struct ieee80211_local *local = sdata->local; drv_post_channel_switch() local
1223 struct ieee80211_local *local = sdata->local; drv_abort_channel_switch() local
1245 struct ieee80211_local *local = sdata->local; drv_channel_switch_rx_beacon() local
1262 drv_join_ibss(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_join_ibss() argument
1279 drv_leave_ibss(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_leave_ibss() argument
1293 drv_get_expected_throughput(struct ieee80211_local * local,struct sta_info * sta) drv_get_expected_throughput() argument
1306 drv_get_txpower(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,unsigned int link_id,int * dbm) drv_get_txpower() argument
1325 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) drv_tdls_channel_switch() argument
1350 drv_tdls_cancel_channel_switch(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta) drv_tdls_cancel_channel_switch() argument
1368 drv_tdls_recv_channel_switch(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_tdls_ch_sw_params * params) drv_tdls_recv_channel_switch() argument
1379 drv_wake_tx_queue(struct ieee80211_local * local,struct txq_info * txq) drv_wake_tx_queue() argument
1397 schedule_and_wake_txq(struct ieee80211_local * local,struct txq_info * txqi) schedule_and_wake_txq() argument
1404 drv_can_aggregate_in_amsdu(struct ieee80211_local * local,struct sk_buff * head,struct sk_buff * skb) drv_can_aggregate_in_amsdu() argument
1415 drv_get_ftm_responder_stats(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct cfg80211_ftm_responder_stats * ftm_stats) drv_get_ftm_responder_stats() argument
1435 drv_start_pmsr(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct cfg80211_pmsr_request * request) drv_start_pmsr() argument
1455 drv_abort_pmsr(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct cfg80211_pmsr_request * request) drv_abort_pmsr() argument
1471 drv_start_nan(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct cfg80211_nan_conf * conf) drv_start_nan() argument
1487 drv_stop_nan(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_stop_nan() argument
1499 drv_nan_change_conf(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct cfg80211_nan_conf * conf,u32 changes) drv_nan_change_conf() argument
1521 drv_add_nan_func(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,const struct cfg80211_nan_func * nan_func) drv_add_nan_func() argument
1541 drv_del_nan_func(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,u8 instance_id) drv_del_nan_func() argument
1555 drv_set_tid_config(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,struct cfg80211_tid_config * tid_conf) drv_set_tid_config() argument
1571 drv_reset_tid_config(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,u8 tids) drv_reset_tid_config() argument
1585 drv_update_vif_offload(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_update_vif_offload() argument
1600 drv_sta_set_4addr(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,bool enabled) drv_sta_set_4addr() argument
1617 drv_sta_set_decap_offload(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,bool enabled) drv_sta_set_decap_offload() argument
1636 drv_add_twt_setup(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,struct ieee80211_twt_setup * twt) drv_add_twt_setup() argument
1656 drv_twt_teardown_request(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,u8 flowid) drv_twt_teardown_request() argument
1674 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) drv_net_fill_forward_path() argument
1696 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) drv_net_setup_tc() argument
1715 drv_can_activate_links(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,u16 active_links) drv_can_activate_links() argument
1745 drv_can_neg_ttlm(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_neg_ttlm * neg_ttlm) drv_can_neg_ttlm() argument
1765 drv_prep_add_interface(struct ieee80211_local * local,enum nl80211_iftype type) drv_prep_add_interface() argument
[all...]
H A Dled.c12 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 Dscan.c32 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
151 local->hw.wiphy->bands[rx_status->band]; in ieee80211_inform_bss()
168 ieee80211_bss_info_update(struct ieee80211_local *local, in ieee80211_bss_info_update() argument
189 else if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) in ieee80211_bss_info_update()
191 else if (ieee80211_hw_check(&local->hw, SIGNAL_UNSPEC)) in ieee80211_bss_info_update()
192 bss_meta.signal = (rx_status->signal * 100) / local->hw.max_signal; in ieee80211_bss_info_update()
197 scan_sdata = rcu_dereference(local->scan_sdata); in ieee80211_bss_info_update()
219 ieee80211_calculate_rx_timestamp(local, in ieee80211_bss_info_update()
[all …]
H A Ddriver-ops.c13 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, boo argument
57 drv_add_interface(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_add_interface() argument
90 drv_change_interface(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,enum nl80211_iftype type,bool p2p) drv_change_interface() argument
108 drv_remove_interface(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_remove_interface() argument
134 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) drv_sta_state() argument
170 drv_sta_set_txpwr(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct sta_info * sta) drv_sta_set_txpwr() argument
191 drv_link_sta_rc_update(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_link_sta * link_sta,u32 changed) drv_link_sta_rc_update() argument
212 drv_conf_tx(struct ieee80211_local * local,struct ieee80211_link_data * link,u16 ac,const struct ieee80211_tx_queue_params * params) drv_conf_tx() argument
247 drv_get_tsf(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_get_tsf() argument
265 drv_set_tsf(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,u64 tsf) drv_set_tsf() argument
281 drv_offset_tsf(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,s64 offset) drv_offset_tsf() argument
297 drv_reset_tsf(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_reset_tsf() argument
312 drv_assign_vif_chanctx(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx * ctx) drv_assign_vif_chanctx() argument
353 drv_unassign_vif_chanctx(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx * ctx) drv_unassign_vif_chanctx() argument
383 drv_switch_vif_chanctx(struct ieee80211_local * local,struct ieee80211_vif_chanctx_switch * vifs,int n_vifs,enum ieee80211_chanctx_switch_mode mode) drv_switch_vif_chanctx() argument
437 drv_ampdu_action(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_ampdu_params * params) drv_ampdu_action() argument
460 drv_link_info_changed(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_bss_conf * info,int link_id,u64 changed) drv_link_info_changed() argument
499 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) drv_set_key() argument
527 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]) drv_change_vif_links() argument
577 drv_change_sta_links(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,u16 old_links,u16 new_links) drv_change_sta_links() argument
[all...]
H A Dmain.c37 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 Doffchannel.c27 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->hw, PS_NULLFUNC_STACK)) in ieee80211_offchannel_ps_enable()
57 ieee80211_send_nullfunc(local, sdata, true); in ieee80211_offchannel_ps_enable()
63 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_disable() local
[all …]
H A Dchan.c34 static void ieee80211_chanctx_user_iter_next(struct ieee80211_local *local, in ieee80211_chanctx_user_iter_next() argument
40 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_user_iter_next()
91 iter->sdata = list_prepare_entry(iter->sdata, &local->interfaces, list); in ieee80211_chanctx_user_iter_next()
92 list_for_each_entry_continue(iter->sdata, &local->interfaces, list) { in ieee80211_chanctx_user_iter_next()
109 #define for_each_chanctx_user_assigned(local, ctx, iter) \ argument
110 for (ieee80211_chanctx_user_iter_next(local, ctx, iter, \
114 ieee80211_chanctx_user_iter_next(local, ctx, iter, \
118 #define for_each_chanctx_user_reserved(local, ctx, iter) \ argument
119 for (ieee80211_chanctx_user_iter_next(local, ctx, iter, \
123 ieee80211_chanctx_user_iter_next(local, ctx, iter, \
[all …]
H A Dtrace.h20 #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 Diface.c85 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->chanctx_list) || in __ieee80211_recalc_idle()
[all …]
H A Dpm.c14 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 …]
/linux/net/mac802154/
H A Ddriver-ops.h14 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 Dscan.c44 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/net/rxrpc/
H A Dlocal_object.c2 /* Local endpoint object management
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()
[all …]
/linux/net/nfc/
H A Dllcp_core.c23 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/forwarding/
H A Dmirror_lib.sh5 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 Dmirror_gre_lib.sh7 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 Dlib.sh93 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 Drouter_mpath_nh_lib.sh5 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 Dbridge_mdb_max.sh85 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/tools/testing/selftests/net/
H A Dlib.sh36 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_cmd=$1; shift
[all …]
H A Dfdb_flush.sh49 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 Dtest_vxlan_mdb.sh136 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 Datomic-tbl.sh48 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/vsock/
H A Dvmtest.sh95 "Check QEMU successfully starts two VMs with same CID in two different local namespaces."
98 …"Check QEMU successfully starts one VM in a global ns and then another VM in a local ns with the s…
101 …"Check QEMU successfully starts one VM in a local ns and then another VM in a global ns with the s…
107 "Run socat to test a process in a global ns fails to connect to a VM in a local ns."
113 "Run socat to test a VM in a global ns fails to connect to a host process in a local ns."
116 "Run socat to test a host process in a local ns fails to connect to a VM in another local ns."
119 "Run socat to test a VM in a local ns fails to connect to a host process in another local ns."
122 "Run socat to test a loopback vsock in a global ns fails to connect to a vsock in a local ns."
125 "Run socat to test a loopback vsock in a local ns fails to connect to a vsock in a global ns."
128 "Run socat to test a loopback vsock in a local ns fails to connect to a vsock in another local ns."
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_resize.sh44 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 …]

12345678910>>...143