Home
last modified time | relevance | path

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

12345678910>>...182

/linux-6.12.1/net/mac80211/
Ddriver-ops.h16 WARN_ONCE(!sdata->local->reconfig_failure && \
33 static inline void drv_tx(struct ieee80211_local *local, in drv_tx() argument
37 local->ops->tx(&local->hw, control, skb); in drv_tx()
40 static inline void drv_sync_rx_queues(struct ieee80211_local *local, in drv_sync_rx_queues() argument
44 lockdep_assert_wiphy(local->hw.wiphy); in drv_sync_rx_queues()
46 if (local->ops->sync_rx_queues) { in drv_sync_rx_queues()
47 trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta); in drv_sync_rx_queues()
48 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues()
49 trace_drv_return_void(local); in drv_sync_rx_queues()
56 struct ieee80211_local *local = sdata->local; in drv_get_et_strings() local
[all …]
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 …]
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, bool suspend) in drv_stop() argument
39 lockdep_assert_wiphy(local->hw.wiphy); in drv_stop()
[all …]
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
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()
[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 …]
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 del_timer_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, 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 …]
Diface.c70 ieee80211_hw_config(sdata->local, 0); in __ieee80211_recalc_txpower()
86 static u32 __ieee80211_idle_off(struct ieee80211_local *local) in __ieee80211_idle_off() argument
88 if (!(local->hw.conf.flags & IEEE80211_CONF_IDLE)) in __ieee80211_idle_off()
91 local->hw.conf.flags &= ~IEEE80211_CONF_IDLE; in __ieee80211_idle_off()
95 static u32 __ieee80211_idle_on(struct ieee80211_local *local) in __ieee80211_idle_on() argument
97 if (local->hw.conf.flags & IEEE80211_CONF_IDLE) in __ieee80211_idle_on()
100 ieee80211_flush_queues(local, NULL, false); in __ieee80211_idle_on()
102 local->hw.conf.flags |= IEEE80211_CONF_IDLE; in __ieee80211_idle_on()
106 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()
[all …]
Dchan.c15 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->chanctx_list, list) { in ieee80211_num_chanctx()
[all …]
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 …]
/linux-6.12.1/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_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 …]
Dtx.c27 struct ieee802154_local *local = in ieee802154_xmit_sync_worker() local
29 struct sk_buff *skb = local->tx_skb; in ieee802154_xmit_sync_worker()
33 res = drv_xmit_sync(local, skb); in ieee802154_xmit_sync_worker()
40 ieee802154_xmit_complete(&local->hw, skb, false); in ieee802154_xmit_sync_worker()
46 ieee802154_release_queue(local); in ieee802154_xmit_sync_worker()
47 if (atomic_dec_and_test(&local->phy->ongoing_txs)) in ieee802154_xmit_sync_worker()
48 wake_up(&local->phy->sync_txq); in ieee802154_xmit_sync_worker()
54 ieee802154_tx(struct ieee802154_local *local, struct sk_buff *skb) in ieee802154_tx() argument
59 if (!(local->hw.flags & IEEE802154_HW_TX_OMIT_CKSUM)) { in ieee802154_tx()
79 ieee802154_hold_queue(local); in ieee802154_tx()
[all …]
Dmain.c25 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 …]
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-6.12.1/net/rxrpc/
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-6.12.1/tools/testing/selftests/net/forwarding/
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 …]
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 …]
Dlib.sh92 local dev=$1; shift
93 local driver_path="/sys/class/net/$dev/device/driver"
102 local ifnames=`ip -j link show | jq -r ".[].ifname"`
103 local count=0
107 local driver_name=`driver_name_get $ifname`
147 local dev=$1; shift
162 local dev=$1; shift
163 local ret;
250 local dev=$1; shift
251 local grp=$1; shift
[all …]
Ddevlink_lib.sh58 local resource
59 local path=""
74 local name=$1
75 local resource_name=.[][\"$DEVLINK_DEV\"]
90 local size=$(devlink_resource_get "$@" | jq '.["size_new"]')
101 local new_size=$1
102 local path
117 local still_pending
139 local port=$1; shift
140 local pool=$1; shift
[all …]
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 …]
/linux-6.12.1/net/nfc/
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-6.12.1/tools/testing/selftests/net/
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 …]
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 …]
Dlib.sh25 local a=$1; shift
26 local b=$1; shift
27 local -A weights
28 local weight=0
30 local i
46 local a=$1; shift
47 local b=$1; shift
55 local a=$1; shift
56 local b=$1; shift
64 local sleep_cmd=$1; shift
[all …]
/linux-6.12.1/scripts/atomic/
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-6.12.1/tools/testing/selftests/drivers/net/netdevsim/
Dfib_notifications.sh28 local outfile=$1; shift
29 local line
44 local outfile=$1; shift
45 local line
59 local outfile=$1; shift
60 local expected_num_lines=$1; shift
61 local offload_failed=${1:-0}; shift
83 local ip=$1; shift
84 local notify=$1; shift
85 local route=$1; shift
[all …]

12345678910>>...182