/Linux-v6.1/net/mac80211/ |
D | driver-ops.h | 31 static inline void drv_tx(struct ieee80211_local *local, in drv_tx() argument 35 local->ops->tx(&local->hw, control, skb); in drv_tx() 38 static inline void drv_sync_rx_queues(struct ieee80211_local *local, in drv_sync_rx_queues() argument 41 if (local->ops->sync_rx_queues) { in drv_sync_rx_queues() 42 trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta); in drv_sync_rx_queues() 43 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues() 44 trace_drv_return_void(local); in drv_sync_rx_queues() 51 struct ieee80211_local *local = sdata->local; in drv_get_et_strings() local 52 if (local->ops->get_et_strings) { in drv_get_et_strings() 53 trace_drv_get_et_strings(local, sset); in drv_get_et_strings() [all …]
|
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 …]
|
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() 59 ieee80211_update_bss_from_elems(struct ieee80211_local *local, in ieee80211_update_bss_from_elems() argument 129 local->hw.wiphy->bands[rx_status->band]; in ieee80211_update_bss_from_elems() 144 ieee80211_bss_info_update(struct ieee80211_local *local, in ieee80211_bss_info_update() argument 164 else if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) in ieee80211_bss_info_update() 166 else if (ieee80211_hw_check(&local->hw, SIGNAL_UNSPEC)) in ieee80211_bss_info_update() 167 bss_meta.signal = (rx_status->signal * 100) / local->hw.max_signal; in ieee80211_bss_info_update() 178 scan_sdata = rcu_dereference(local->scan_sdata); in ieee80211_bss_info_update() 183 ieee80211_calculate_rx_timestamp(local, rx_status, in ieee80211_bss_info_update() [all …]
|
D | driver-ops.c | 11 int drv_start(struct ieee80211_local *local) in drv_start() argument 17 if (WARN_ON(local->started)) in drv_start() 20 trace_drv_start(local); in drv_start() 21 local->started = true; in drv_start() 24 ret = local->ops->start(&local->hw); in drv_start() 25 trace_drv_return_int(local, ret); in drv_start() 28 local->started = false; in drv_start() 33 void drv_stop(struct ieee80211_local *local) in drv_stop() argument 37 if (WARN_ON(!local->started)) in drv_stop() 40 trace_drv_stop(local); in drv_stop() [all …]
|
D | main.c | 36 void ieee80211_configure_filter(struct ieee80211_local *local) in ieee80211_configure_filter() argument 42 if (atomic_read(&local->iff_allmultis)) in ieee80211_configure_filter() 45 if (local->monitors || test_bit(SCAN_SW_SCANNING, &local->scanning) || in ieee80211_configure_filter() 46 test_bit(SCAN_ONCHANNEL_SCANNING, &local->scanning)) in ieee80211_configure_filter() 49 if (local->fif_probe_req || local->probe_req_reg) in ieee80211_configure_filter() 52 if (local->fif_fcsfail) in ieee80211_configure_filter() 55 if (local->fif_plcpfail) in ieee80211_configure_filter() 58 if (local->fif_control) in ieee80211_configure_filter() 61 if (local->fif_other_bss) in ieee80211_configure_filter() 64 if (local->fif_pspoll) in ieee80211_configure_filter() [all …]
|
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 del_timer_sync(&local->dynamic_ps_timer); in ieee80211_offchannel_ps_enable() 37 cancel_work_sync(&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 …]
|
D | chan.c | 15 static int ieee80211_chanctx_num_assigned(struct ieee80211_local *local, in ieee80211_chanctx_num_assigned() argument 21 lockdep_assert_held(&local->chanctx_mtx); 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_held(&local->chanctx_mtx); 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) in ieee80211_num_chanctx() argument 55 lockdep_assert_held(&local->chanctx_mtx); in ieee80211_num_chanctx() 57 list_for_each_entry(ctx, &local->chanctx_list, list) in ieee80211_num_chanctx() [all …]
|
D | iface.c | 71 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 …]
|
D | trace.h | 20 #define LOCAL_ASSIGN strlcpy(__entry->wiphy_name, wiphy_name(local->hw.wiphy), MAXNAME) 127 TP_PROTO(struct ieee80211_local *local), 128 TP_ARGS(local), 139 TP_PROTO(struct ieee80211_local *local, 141 TP_ARGS(local, sdata), 162 TP_PROTO(struct ieee80211_local *local, u32 value), 163 TP_ARGS(local, value), 182 TP_PROTO(struct ieee80211_local *local, 184 TP_ARGS(local, sdata), 203 TP_PROTO(struct ieee80211_local *local), [all …]
|
/Linux-v6.1/net/mac802154/ |
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_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 …]
|
D | main.c | 25 struct ieee802154_local *local = from_tasklet(local, t, tasklet); in ieee802154_tasklet_handler() local 28 while ((skb = skb_dequeue(&local->skb_queue))) { in ieee802154_tasklet_handler() 35 ieee802154_rx(local, skb); in ieee802154_tasklet_handler() 50 struct ieee802154_local *local; in ieee802154_alloc_hw() local 75 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee802154_alloc_hw() 85 local = wpan_phy_priv(phy); in ieee802154_alloc_hw() 86 local->phy = phy; in ieee802154_alloc_hw() 87 local->hw.phy = local->phy; in ieee802154_alloc_hw() 88 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee802154_alloc_hw() 89 local->ops = ops; in ieee802154_alloc_hw() [all …]
|
/Linux-v6.1/net/rxrpc/ |
D | local_object.c | 2 /* Local endpoint object management 27 * Compare a local to an address. Return -ve, 0 or +ve to indicate less than, 35 static long rxrpc_local_cmp_key(const struct rxrpc_local *local, in rxrpc_local_cmp_key() argument 40 diff = ((local->srx.transport_type - srx->transport_type) ?: in rxrpc_local_cmp_key() 41 (local->srx.transport_len - srx->transport_len) ?: in rxrpc_local_cmp_key() 42 (local->srx.transport.family - srx->transport.family)); in rxrpc_local_cmp_key() 51 return ((u16 __force)local->srx.transport.sin.sin_port - in rxrpc_local_cmp_key() 53 memcmp(&local->srx.transport.sin.sin_addr, in rxrpc_local_cmp_key() 61 return ((u16 __force)local->srx.transport.sin6.sin6_port - in rxrpc_local_cmp_key() 63 memcmp(&local->srx.transport.sin6.sin6_addr, in rxrpc_local_cmp_key() [all …]
|
/Linux-v6.1/drivers/net/wireless/intersil/hostap/ |
D | hostap_main.c | 45 struct net_device * hostap_add_interface(struct local_info *local, in hostap_add_interface() argument 60 iface->local = local; in hostap_add_interface() 62 list_add(&iface->list, &local->hostap_interfaces); in hostap_add_interface() 64 mdev = local->dev; in hostap_add_interface() 71 hostap_setup_dev(dev, local, type); in hostap_add_interface() 112 if (dev == iface->local->ddev) in hostap_remove_interface() 113 iface->local->ddev = NULL; in hostap_remove_interface() 114 else if (dev == iface->local->apdev) in hostap_remove_interface() 115 iface->local->apdev = NULL; in hostap_remove_interface() 116 else if (dev == iface->local->stadev) in hostap_remove_interface() [all …]
|
D | hostap_hw.c | 24 * host and card memories. BAP0 accesses are protected with local->baplock 125 static void prism2_check_sta_fw_version(local_info_t *local); 131 static int prism2_download(local_info_t *local, 134 static int prism2_download_volatile(local_info_t *local, 136 static int prism2_download_genesis(local_info_t *local, 138 static int prism2_get_ram_size(local_info_t *local); 163 * @local: pointer to private Host AP driver data 168 * Caller must have acquired local->cmdlock before calling this function. 170 static inline void __hostap_cmd_queue_free(local_info_t *local, in __hostap_cmd_queue_free() argument 178 local->cmd_queue_len--; in __hostap_cmd_queue_free() [all …]
|
D | hostap_info.c | 14 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 …]
|
D | hostap_ioctl.c | 20 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 …]
|
D | hostap_proc.c | 17 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 …]
|
/Linux-v6.1/net/nfc/ |
D | llcp_core.c | 21 static void nfc_llcp_rx_skb(struct nfc_llcp_local *local, struct sk_buff *skb); 45 struct nfc_llcp_local *local = sock->local; in nfc_llcp_socket_purge() local 51 if (local == NULL) in nfc_llcp_socket_purge() 54 /* Search for local pending SKBs that are related to this socket */ in nfc_llcp_socket_purge() 55 skb_queue_walk_safe(&local->tx_queue, s, tmp) { in nfc_llcp_socket_purge() 59 skb_unlink(s, &local->tx_queue); in nfc_llcp_socket_purge() 64 static void nfc_llcp_socket_release(struct nfc_llcp_local *local, bool device, in nfc_llcp_socket_release() argument 71 skb_queue_purge(&local->tx_queue); in nfc_llcp_socket_release() 73 write_lock(&local->sockets.lock); in nfc_llcp_socket_release() 75 sk_for_each_safe(sk, tmp, &local->sockets.head) { in nfc_llcp_socket_release() [all …]
|
/Linux-v6.1/tools/testing/selftests/drivers/net/bonding/ |
D | net_forwarding_lib.sh | 58 local dev=$1; shift 73 local dev=$1; shift 74 local ret; 151 local cmd=$1; shift 197 local i 200 local j=$((i+1)) 229 local new_addr= 230 local dev= 245 local dev= 279 local err=$1 [all …]
|
/Linux-v6.1/tools/testing/selftests/drivers/net/dsa/ |
D | lib.sh | 58 local dev=$1; shift 73 local dev=$1; shift 74 local ret; 151 local cmd=$1; shift 197 local i 200 local j=$((i+1)) 229 local new_addr= 230 local dev= 245 local dev= 279 local err=$1 [all …]
|
/Linux-v6.1/tools/testing/selftests/drivers/net/team/ |
D | net_forwarding_lib.sh | 58 local dev=$1; shift 73 local dev=$1; shift 74 local ret; 151 local cmd=$1; shift 197 local i 200 local j=$((i+1)) 229 local new_addr= 230 local dev= 245 local dev= 279 local err=$1 [all …]
|
/Linux-v6.1/tools/testing/selftests/net/forwarding/ |
D | lib.sh | 58 local dev=$1; shift 73 local dev=$1; shift 74 local ret; 151 local cmd=$1; shift 197 local i 200 local j=$((i+1)) 229 local new_addr= 230 local dev= 245 local dev= 279 local err=$1 [all …]
|
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 …]
|
D | devlink_lib.sh | 58 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 137 local port=$1; shift 138 local pool=$1; shift [all …]
|
/Linux-v6.1/tools/testing/selftests/drivers/net/netdevsim/ |
D | fib_notifications.sh | 28 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 …]
|