Home
last modified time | relevance | path

Searched refs:local (Results 1 – 25 of 891) sorted by relevance

12345678910>>...36

/Linux-v4.19/net/mac80211/
Ddriver-ops.h32 static inline void drv_tx(struct ieee80211_local *local, in drv_tx() argument
36 local->ops->tx(&local->hw, control, skb); in drv_tx()
39 static inline void drv_sync_rx_queues(struct ieee80211_local *local, in drv_sync_rx_queues() argument
42 if (local->ops->sync_rx_queues) { in drv_sync_rx_queues()
43 trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta); in drv_sync_rx_queues()
44 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues()
45 trace_drv_return_void(local); in drv_sync_rx_queues()
52 struct ieee80211_local *local = sdata->local; in drv_get_et_strings() local
53 if (local->ops->get_et_strings) { in drv_get_et_strings()
54 trace_drv_get_et_strings(local, sset); in drv_get_et_strings()
[all …]
Dled.c15 void ieee80211_led_assoc(struct ieee80211_local *local, bool associated) in ieee80211_led_assoc() argument
17 if (!atomic_read(&local->assoc_led_active)) in ieee80211_led_assoc()
20 led_trigger_event(&local->assoc_led, LED_FULL); in ieee80211_led_assoc()
22 led_trigger_event(&local->assoc_led, LED_OFF); in ieee80211_led_assoc()
25 void ieee80211_led_radio(struct ieee80211_local *local, bool enabled) in ieee80211_led_radio() argument
27 if (!atomic_read(&local->radio_led_active)) in ieee80211_led_radio()
30 led_trigger_event(&local->radio_led, LED_FULL); in ieee80211_led_radio()
32 led_trigger_event(&local->radio_led, LED_OFF); in ieee80211_led_radio()
35 void ieee80211_alloc_led_names(struct ieee80211_local *local) in ieee80211_alloc_led_names() argument
37 local->rx_led.name = kasprintf(GFP_KERNEL, "%srx", in ieee80211_alloc_led_names()
[all …]
Dscan.c34 void ieee80211_rx_bss_put(struct ieee80211_local *local, in ieee80211_rx_bss_put() argument
39 cfg80211_put_bss(local->hw.wiphy, in ieee80211_rx_bss_put()
61 ieee80211_bss_info_update(struct ieee80211_local *local, in ieee80211_bss_info_update() argument
79 else if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) in ieee80211_bss_info_update()
81 else if (ieee80211_hw_check(&local->hw, SIGNAL_UNSPEC)) in ieee80211_bss_info_update()
82 bss_meta.signal = (rx_status->signal * 100) / local->hw.max_signal; in ieee80211_bss_info_update()
93 scan_sdata = rcu_dereference(local->scan_sdata); in ieee80211_bss_info_update()
98 ieee80211_calculate_rx_timestamp(local, rx_status, in ieee80211_bss_info_update()
105 cbss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, in ieee80211_bss_info_update()
111 <= local->hw.wiphy->max_adj_channel_rssi_comp; in ieee80211_bss_info_update()
[all …]
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 …]
Ddriver-ops.c13 int drv_start(struct ieee80211_local *local) in drv_start() argument
19 if (WARN_ON(local->started)) in drv_start()
22 trace_drv_start(local); in drv_start()
23 local->started = true; in drv_start()
26 ret = local->ops->start(&local->hw); in drv_start()
27 trace_drv_return_int(local, ret); in drv_start()
30 local->started = false; in drv_start()
35 void drv_stop(struct ieee80211_local *local) in drv_stop() argument
39 if (WARN_ON(!local->started)) in drv_stop()
42 trace_drv_stop(local); in drv_stop()
[all …]
Doffchannel.c29 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable() local
32 local->offchannel_ps_enabled = false; in ieee80211_offchannel_ps_enable()
36 del_timer_sync(&local->dynamic_ps_timer); in ieee80211_offchannel_ps_enable()
40 cancel_work_sync(&local->dynamic_ps_enable_work); in ieee80211_offchannel_ps_enable()
42 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_offchannel_ps_enable()
43 local->offchannel_ps_enabled = true; in ieee80211_offchannel_ps_enable()
44 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_offchannel_ps_enable()
45 ieee80211_hw_config(local, IEEE80211_CONF_CHANGE_PS); in ieee80211_offchannel_ps_enable()
48 if (!local->offchannel_ps_enabled || in ieee80211_offchannel_ps_enable()
49 !ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK)) in ieee80211_offchannel_ps_enable()
[all …]
Dchan.c12 static int ieee80211_chanctx_num_assigned(struct ieee80211_local *local, in ieee80211_chanctx_num_assigned() argument
18 lockdep_assert_held(&local->chanctx_mtx); in ieee80211_chanctx_num_assigned()
26 static int ieee80211_chanctx_num_reserved(struct ieee80211_local *local, in ieee80211_chanctx_num_reserved() argument
32 lockdep_assert_held(&local->chanctx_mtx); in ieee80211_chanctx_num_reserved()
40 int ieee80211_chanctx_refcount(struct ieee80211_local *local, in ieee80211_chanctx_refcount() argument
43 return ieee80211_chanctx_num_assigned(local, ctx) + in ieee80211_chanctx_refcount()
44 ieee80211_chanctx_num_reserved(local, ctx); in ieee80211_chanctx_refcount()
47 static int ieee80211_num_chanctx(struct ieee80211_local *local) in ieee80211_num_chanctx() argument
52 lockdep_assert_held(&local->chanctx_mtx); in ieee80211_num_chanctx()
54 list_for_each_entry(ctx, &local->chanctx_list, list) in ieee80211_num_chanctx()
[all …]
Dpm.c10 static void ieee80211_sched_scan_cancel(struct ieee80211_local *local) in ieee80211_sched_scan_cancel() argument
12 if (ieee80211_request_sched_scan_stop(local)) in ieee80211_sched_scan_cancel()
14 cfg80211_sched_scan_stopped_rtnl(local->hw.wiphy, 0); in ieee80211_sched_scan_cancel()
19 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_suspend() local
23 if (!local->open_count) in __ieee80211_suspend()
26 ieee80211_scan_cancel(local); in __ieee80211_suspend()
28 ieee80211_dfs_cac_cancel(local); in __ieee80211_suspend()
30 ieee80211_roc_purge(local, NULL); in __ieee80211_suspend()
32 ieee80211_del_virtual_monitor(local); in __ieee80211_suspend()
36 mutex_lock(&local->sta_mtx); in __ieee80211_suspend()
[all …]
Dled.h16 static inline void ieee80211_led_rx(struct ieee80211_local *local) in ieee80211_led_rx() argument
21 if (!atomic_read(&local->rx_led_active)) in ieee80211_led_rx()
23 led_trigger_blink_oneshot(&local->rx_led, &led_delay, &led_delay, 0); in ieee80211_led_rx()
27 static inline void ieee80211_led_tx(struct ieee80211_local *local) in ieee80211_led_tx() argument
32 if (!atomic_read(&local->tx_led_active)) in ieee80211_led_tx()
34 led_trigger_blink_oneshot(&local->tx_led, &led_delay, &led_delay, 0); in ieee80211_led_tx()
39 void ieee80211_led_assoc(struct ieee80211_local *local,
41 void ieee80211_led_radio(struct ieee80211_local *local,
43 void ieee80211_alloc_led_names(struct ieee80211_local *local);
44 void ieee80211_free_led_names(struct ieee80211_local *local);
[all …]
Diface.c72 ieee80211_hw_config(sdata->local, 0); in __ieee80211_recalc_txpower()
87 static u32 __ieee80211_idle_off(struct ieee80211_local *local) in __ieee80211_idle_off() argument
89 if (!(local->hw.conf.flags & IEEE80211_CONF_IDLE)) in __ieee80211_idle_off()
92 local->hw.conf.flags &= ~IEEE80211_CONF_IDLE; in __ieee80211_idle_off()
96 static u32 __ieee80211_idle_on(struct ieee80211_local *local) in __ieee80211_idle_on() argument
98 if (local->hw.conf.flags & IEEE80211_CONF_IDLE) in __ieee80211_idle_on()
101 ieee80211_flush_queues(local, NULL, false); in __ieee80211_idle_on()
103 local->hw.conf.flags |= IEEE80211_CONF_IDLE; in __ieee80211_idle_on()
107 static u32 __ieee80211_recalc_idle(struct ieee80211_local *local, in __ieee80211_recalc_idle() argument
113 lockdep_assert_held(&local->mtx); in __ieee80211_recalc_idle()
[all …]
Dtrace.h20 #define LOCAL_ASSIGN strlcpy(__entry->wiphy_name, wiphy_name(local->hw.wiphy), MAXNAME)
116 TP_PROTO(struct ieee80211_local *local),
117 TP_ARGS(local),
128 TP_PROTO(struct ieee80211_local *local,
130 TP_ARGS(local, sdata),
151 TP_PROTO(struct ieee80211_local *local, u32 value),
152 TP_ARGS(local, value),
171 TP_PROTO(struct ieee80211_local *local,
173 TP_ARGS(local, sdata),
192 TP_PROTO(struct ieee80211_local *local),
[all …]
Dutil.c44 struct ieee80211_local *local; in wiphy_to_ieee80211_hw() local
47 local = wiphy_priv(wiphy); in wiphy_to_ieee80211_hw()
48 return &local->hw; in wiphy_to_ieee80211_hw()
162 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_rts_duration() local
170 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration()
206 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_ctstoself_duration() local
214 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration()
243 void ieee80211_propagate_queue_wake(struct ieee80211_local *local, int queue) in ieee80211_propagate_queue_wake() argument
248 if (local->ops->wake_tx_queue) in ieee80211_propagate_queue_wake()
251 if (local->hw.queues < IEEE80211_NUM_ACS) in ieee80211_propagate_queue_wake()
[all …]
/Linux-v4.19/net/mac802154/
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_start(struct ieee802154_local *local) in drv_start() argument
33 trace_802154_drv_start(local); in drv_start()
34 local->started = true; in drv_start()
36 ret = local->ops->start(&local->hw); in drv_start()
37 trace_802154_drv_return_int(local, ret); in drv_start()
41 static inline void drv_stop(struct ieee802154_local *local) in drv_stop() argument
[all …]
Dmain.c33 struct ieee802154_local *local = (struct ieee802154_local *)data; in ieee802154_tasklet_handler() local
36 while ((skb = skb_dequeue(&local->skb_queue))) { in ieee802154_tasklet_handler()
43 ieee802154_rx(local, skb); in ieee802154_tasklet_handler()
58 struct ieee802154_local *local; in ieee802154_alloc_hw() local
83 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee802154_alloc_hw()
93 local = wpan_phy_priv(phy); in ieee802154_alloc_hw()
94 local->phy = phy; in ieee802154_alloc_hw()
95 local->hw.phy = local->phy; in ieee802154_alloc_hw()
96 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee802154_alloc_hw()
97 local->ops = ops; in ieee802154_alloc_hw()
[all …]
Dtrace.h18 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 …]
/Linux-v4.19/net/rxrpc/
Dlocal_object.c38 static long rxrpc_local_cmp_key(const struct rxrpc_local *local, in rxrpc_local_cmp_key() argument
43 diff = ((local->srx.transport_type - srx->transport_type) ?: in rxrpc_local_cmp_key()
44 (local->srx.transport_len - srx->transport_len) ?: in rxrpc_local_cmp_key()
45 (local->srx.transport.family - srx->transport.family)); in rxrpc_local_cmp_key()
54 return ((u16 __force)local->srx.transport.sin.sin_port - in rxrpc_local_cmp_key()
56 memcmp(&local->srx.transport.sin.sin_addr, in rxrpc_local_cmp_key()
64 return ((u16 __force)local->srx.transport.sin6.sin6_port - in rxrpc_local_cmp_key()
66 memcmp(&local->srx.transport.sin6.sin6_addr, in rxrpc_local_cmp_key()
81 struct rxrpc_local *local; in rxrpc_alloc_local() local
83 local = kzalloc(sizeof(struct rxrpc_local), GFP_KERNEL); in rxrpc_alloc_local()
[all …]
/Linux-v4.19/drivers/net/wireless/intersil/hostap/
Dhostap_hw.c129 static void prism2_check_sta_fw_version(local_info_t *local);
135 static int prism2_download(local_info_t *local,
138 static int prism2_download_volatile(local_info_t *local,
140 static int prism2_download_genesis(local_info_t *local,
142 static int prism2_get_ram_size(local_info_t *local);
174 static inline void __hostap_cmd_queue_free(local_info_t *local, in __hostap_cmd_queue_free() argument
182 local->cmd_queue_len--; in __hostap_cmd_queue_free()
199 static inline void hostap_cmd_queue_free(local_info_t *local, in hostap_cmd_queue_free() argument
205 spin_lock_irqsave(&local->cmdlock, flags); in hostap_cmd_queue_free()
206 __hostap_cmd_queue_free(local, entry, del_req); in hostap_cmd_queue_free()
[all …]
Dhostap_info.c14 static void prism2_info_commtallies16(local_info_t *local, unsigned char *buf, in prism2_info_commtallies16() argument
21 "info frame\n", local->dev->name, left); in prism2_info_commtallies16()
27 local->comm_tallies.name += le16_to_cpu(tallies->name) in prism2_info_commtallies16()
54 static void prism2_info_commtallies32(local_info_t *local, unsigned char *buf, in prism2_info_commtallies32() argument
61 "info frame\n", local->dev->name, left); in prism2_info_commtallies32()
67 local->comm_tallies.name += le32_to_cpu(tallies->name) in prism2_info_commtallies32()
94 static void prism2_info_commtallies(local_info_t *local, unsigned char *buf, in prism2_info_commtallies() argument
97 if (local->tallies32) in prism2_info_commtallies()
98 prism2_info_commtallies32(local, buf, left); in prism2_info_commtallies()
100 prism2_info_commtallies16(local, buf, left); in prism2_info_commtallies()
[all …]
Dhostap_main.c49 struct net_device * hostap_add_interface(struct local_info *local, in hostap_add_interface() argument
64 iface->local = local; in hostap_add_interface()
66 list_add(&iface->list, &local->hostap_interfaces); in hostap_add_interface()
68 mdev = local->dev; in hostap_add_interface()
75 hostap_setup_dev(dev, local, type); in hostap_add_interface()
116 if (dev == iface->local->ddev) in hostap_remove_interface()
117 iface->local->ddev = NULL; in hostap_remove_interface()
118 else if (dev == iface->local->apdev) in hostap_remove_interface()
119 iface->local->apdev = NULL; in hostap_remove_interface()
120 else if (dev == iface->local->stadev) in hostap_remove_interface()
[all …]
Dhostap_ioctl.c20 local_info_t *local; in hostap_get_wireless_stats() local
24 local = iface->local; in hostap_get_wireless_stats()
30 wstats = &local->wstats; in hostap_get_wireless_stats()
34 local->comm_tallies.rx_discards_wep_undecryptable; in hostap_get_wireless_stats()
36 local->comm_tallies.rx_fcs_errors + in hostap_get_wireless_stats()
37 local->comm_tallies.rx_discards_no_buffer + in hostap_get_wireless_stats()
38 local->comm_tallies.tx_discards_wrong_sa; in hostap_get_wireless_stats()
41 local->comm_tallies.tx_retry_limit_exceeded; in hostap_get_wireless_stats()
43 local->comm_tallies.rx_message_in_bad_msg_fragments; in hostap_get_wireless_stats()
45 if (local->iw_mode != IW_MODE_MASTER && in hostap_get_wireless_stats()
[all …]
Dhostap_proc.c17 local_info_t *local = m->private; in prism2_debug_proc_show() local
21 local->next_txfid, local->next_alloc); in prism2_debug_proc_show()
24 local->txfid[i], local->intransmitfid[i]); in prism2_debug_proc_show()
25 seq_printf(m, "FW TX rate control: %d\n", local->fw_tx_rate_control); in prism2_debug_proc_show()
26 seq_printf(m, "beacon_int=%d\n", local->beacon_int); in prism2_debug_proc_show()
27 seq_printf(m, "dtim_period=%d\n", local->dtim_period); in prism2_debug_proc_show()
28 seq_printf(m, "wds_max_connections=%d\n", local->wds_max_connections); in prism2_debug_proc_show()
29 seq_printf(m, "dev_enabled=%d\n", local->dev_enabled); in prism2_debug_proc_show()
30 seq_printf(m, "sw_tick_stuck=%d\n", local->sw_tick_stuck); in prism2_debug_proc_show()
32 if (local->crypt_info.crypt[i] && in prism2_debug_proc_show()
[all …]
Dhostap_80211_rx.c67 local_info_t *local; in prism2_rx_80211() local
74 local = iface->local; in prism2_rx_80211()
77 if (local->monitor_type == PRISM2_MONITOR_PRISM) { in prism2_rx_80211()
163 hdr->channel = htonl(local->channel); in prism2_rx_80211()
184 hdr->chan_freq = cpu_to_le16(freq_list[local->channel - 1]); in prism2_rx_80211()
221 prism2_frag_cache_find(local_info_t *local, unsigned int seq, in prism2_frag_cache_find() argument
228 entry = &local->frag_cache[i]; in prism2_frag_cache_find()
233 local->dev->name, entry->seq, entry->last_frag); in prism2_frag_cache_find()
251 prism2_frag_cache_get(local_info_t *local, struct ieee80211_hdr *hdr) in prism2_frag_cache_get() argument
264 skb = dev_alloc_skb(local->dev->mtu + in prism2_frag_cache_get()
[all …]
/Linux-v4.19/net/nfc/
Dllcp_core.c33 static void nfc_llcp_rx_skb(struct nfc_llcp_local *local, struct sk_buff *skb);
57 struct nfc_llcp_local *local = sock->local; in nfc_llcp_socket_purge() local
65 if (local == NULL) in nfc_llcp_socket_purge()
69 skb_queue_walk_safe(&local->tx_queue, s, tmp) { in nfc_llcp_socket_purge()
73 skb_unlink(s, &local->tx_queue); in nfc_llcp_socket_purge()
78 static void nfc_llcp_socket_release(struct nfc_llcp_local *local, bool device, in nfc_llcp_socket_release() argument
85 skb_queue_purge(&local->tx_queue); in nfc_llcp_socket_release()
87 write_lock(&local->sockets.lock); in nfc_llcp_socket_release()
89 sk_for_each_safe(sk, tmp, &local->sockets.head) { in nfc_llcp_socket_release()
130 write_unlock(&local->sockets.lock); in nfc_llcp_socket_release()
[all …]
/Linux-v4.19/drivers/net/wireless/
Dray_cs.c84 static int translate_frame(ray_dev_t *local, struct tx_msg __iomem *ptx,
86 static void ray_build_header(ray_dev_t *local, struct tx_msg __iomem *ptx,
88 static void untranslate(ray_dev_t *local, struct sk_buff *skb, int len);
93 static void authenticate(ray_dev_t *local);
94 static int build_auth_frame(ray_dev_t *local, UCHAR *dest, int auth_type);
96 static int get_free_ccs(ray_dev_t *local);
97 static int get_free_tx_ccs(ray_dev_t *local);
98 static void init_startup_params(ray_dev_t *local);
102 static int interrupt_ecf(ray_dev_t *local, int ccs);
109 static void clear_interrupt(ray_dev_t *local);
[all …]
/Linux-v4.19/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c53 int local, int global, int set) in toggle_breakpoint() argument
93 if (local) { in toggle_breakpoint()
204 int len, local, global, i; in trigger_tests() local
218 for (local = 0; local < 2; local++) { in trigger_tests()
220 if (!local && !global) in trigger_tests()
232 for (local = 0; local < 2; local++) { in trigger_tests()
234 if (!local && !global) in trigger_tests()
243 for (local = 0; local < 2; local++) { in trigger_tests()
245 if (!local && !global) in trigger_tests()
291 static void launch_instruction_breakpoints(char *buf, int local, int global) in launch_instruction_breakpoints() argument
[all …]

12345678910>>...36