Home
last modified time | relevance | path

Searched refs:mesh (Results 1 – 25 of 38) sorted by relevance

12

/linux/net/mac80211/
H A Dmesh_plink.c14 #include "mesh.h"
20 #define mod_plink_timer(s, t) (mod_timer(&s->mesh->plink_timer, \
61 s32 rssi_threshold = sdata->u.mesh.mshcfg.rssi_threshold; in rssi_threshold_check()
69 * mesh_plink_fsm_restart - restart a mesh peer link finite state machine
71 * @sta: mesh peer link to restart
73 * Locking: this function must be called holding sta->mesh->plink_lock
77 lockdep_assert_held(&sta->mesh->plink_lock); in mesh_plink_fsm_restart()
78 sta->mesh->plink_state = NL80211_PLINK_LISTEN; in mesh_plink_fsm_restart()
79 sta->mesh->llid = sta->mesh in mesh_plink_fsm_restart()
656 struct mesh_sta *mesh = timer_container_of(mesh, t, plink_timer); mesh_plink_timer() local
[all...]
H A Dmesh_pathtbl.c57 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_deinit()
66 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_init()
270 return mpath_lookup(&sdata->u.mesh.mesh_paths, dst, sdata); in mesh_path_lookup()
276 return mpath_lookup(&sdata->u.mesh.mpp_paths, dst, sdata); in mpp_path_lookup()
313 return __mesh_path_lookup_by_idx(&sdata->u.mesh.mesh_paths, idx); in mesh_path_lookup_by_idx()
328 return __mesh_path_lookup_by_idx(&sdata->u.mesh.mpp_paths, idx); in mpp_path_lookup_by_idx()
343 tbl = &mpath->sdata->u.mesh.mesh_paths; in mesh_path_add_gate()
352 mpath->sdata->u.mesh.num_gates++; in mesh_path_add_gate()
362 mpath->dst, mpath->sdata->u.mesh.num_gates); in mesh_path_add_gate()
383 mpath->sdata->u.mesh.num_gates--; in mesh_gate_del()
[all …]
H A Dmesh.c43 timer_container_of(sdata, t, u.mesh.housekeeping_timer); in ieee80211_mesh_housekeeping_timer()
45 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mesh_housekeeping_timer()
66 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_matches_local()
155 if (free_plinks != sdata->u.mesh.accepting_plinks) { in mesh_accept_plinks_update()
156 sdata->u.mesh.accepting_plinks = free_plinks; in mesh_accept_plinks_update()
181 sdata->u.mesh.rmc = kmalloc_obj(struct mesh_rmc); in mesh_rmc_init()
182 if (!sdata->u.mesh.rmc) in mesh_rmc_init()
184 sdata->u.mesh.rmc->idx_mask = RMC_BUCKETS - 1; in mesh_rmc_init()
186 INIT_HLIST_HEAD(&sdata->u.mesh.rmc->bucket[i]); in mesh_rmc_init()
192 struct mesh_rmc *rmc = sdata->u.mesh.rmc; in mesh_rmc_free()
[all …]
H A DKconfig71 bool "Enable mac80211 mesh networking support"
74 Select this option to enable 802.11 mesh operation in mac80211
75 drivers that support it. 802.11 mesh connects multiple stations
210 bool "Verbose mesh peer link debugging"
215 verbose mesh peer link debugging messages (when mac80211
216 is taking part in a mesh network).
223 bool "Verbose mesh path debugging"
228 verbose mesh path selection debugging messages (when mac80211
229 is taking part in a mesh network).
236 bool "Verbose mesh HWMP routing debugging"
[all …]
H A Dmesh_hwmp.c80 msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPnetDiameterTraversalTime)
82 MSEC_TO_TU(s->u.mesh.mshcfg.dot11MeshHWMPactivePathTimeout)
84 (msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPpreqMinInterval))
85 #define max_preq_retries(s) (s->u.mesh.mshcfg.dot11MeshHWMPmaxPREQretries)
87 msecs_to_jiffies(sdata->u.mesh.mshcfg.min_discovery_timeout)
89 msecs_to_jiffies(sdata->u.mesh.mshcfg.dot11MeshHWMPconfirmationInterval)
242 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_error_tx()
310 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, failed * 100); in ieee80211s_update_metric()
311 if (ewma_mesh_fail_avg_read(&sta->mesh->fail_avg) > in ieee80211s_update_metric()
321 ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg, in ieee80211s_update_metric()
[all …]
H A Dmesh.h385 atomic_inc(&sdata->u.mesh.estab_plinks); in mesh_plink_inc_estab_count()
392 atomic_dec(&sdata->u.mesh.estab_plinks); in mesh_plink_dec_estab_count()
398 return sdata->u.mesh.mshcfg.dot11MeshMaxPeerLinks - in mesh_plink_free_count()
399 atomic_read(&sdata->u.mesh.estab_plinks); in mesh_plink_free_count()
415 return sdata->u.mesh.mesh_pp_id == IEEE80211_PATH_PROTOCOL_HWMP; in mesh_path_sel_is_hwmp()
H A Dsta_info.c147 ps = &sdata->u.mesh.ps; in __cleanup_single_sta()
501 kfree(sta->mesh); in sta_info_free()
647 sta->mesh = kzalloc_obj(*sta->mesh, gfp); in __sta_info_alloc()
648 if (!sta->mesh) in __sta_info_alloc()
650 sta->mesh->plink_sta = sta; in __sta_info_alloc()
651 spin_lock_init(&sta->mesh->plink_lock); in __sta_info_alloc()
652 if (!sdata->u.mesh.user_mpm) in __sta_info_alloc()
653 timer_setup(&sta->mesh->plink_timer, mesh_plink_timer, in __sta_info_alloc()
655 sta->mesh->nonpeer_pm = NL80211_MESH_POWER_ACTIVE; in __sta_info_alloc()
774 kfree(sta->mesh); in __sta_info_alloc()
[all …]
H A DMakefile49 mesh.o \
H A Dcfg.c716 if (sdata->u.mesh.security != IEEE80211_MESH_SEC_NONE) in ieee80211_add_key()
2015 if (sta->mesh->plink_state != NL80211_PLINK_ESTAB) in sta_apply_mesh_params()
2017 sta->mesh->plink_state = params->plink_state; in sta_apply_mesh_params()
2018 sta->mesh->aid = params->peer_aid; in sta_apply_mesh_params()
2022 sdata->u.mesh.mshcfg.power_mode); in sta_apply_mesh_params()
2024 ewma_mesh_tx_rate_avg_init(&sta->mesh->tx_rate_avg); in sta_apply_mesh_params()
2026 ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg, 10); in sta_apply_mesh_params()
2035 if (sta->mesh->plink_state == NL80211_PLINK_ESTAB) in sta_apply_mesh_params()
2037 sta->mesh->plink_state = params->plink_state; in sta_apply_mesh_params()
2471 if (sdata->u.mesh.user_mpm) in ieee80211_change_station()
[all …]
H A Dsta_info.h68 * @WLAN_STA_MPSP_OWNER: local STA is owner of a mesh Peer Service Period.
368 * struct mesh_sta - mesh STA information
387 * @connected_to_gate: true if mesh STA has a path to a mesh gate
388 * @connected_to_as: true if mesh STA has a path to a authentication server
413 /* mesh power save */
665 * @mesh: mesh STA information
674 * @amsdu_mesh_control: track the mesh A-MSDU format used by the peer:
677 * * 0: non-mesh
720 struct mesh_sta *mesh; global() member
[all...]
H A Doffchannel.c847 !sdata->u.mesh.mesh_id_len) in ieee80211_mgmt_tx()
995 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_mgmt_tx()
H A Dtx.c346 ps = &sdata->u.mesh.ps; in purge_old_ps_buffers()
403 ps = &tx->sdata->u.mesh.ps; in ieee80211_tx_h_multicast_ps_buf()
5176 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_beacon_update_cntdwn()
5201 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_beacon_set_cntdwn()
5252 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_beacon_cntdwn_is_complete()
5670 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in __ieee80211_beacon_get()
6099 ps = &sdata->u.mesh.ps; in ieee80211_get_buffered_bc()
H A Dutil.c3826 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_send_action_csa()
3831 *pos++ = sdata->u.mesh.mshcfg.dot11MeshTTL; /* Mesh TTL */ in ieee80211_send_action_csa()
4018 ps = &sdata->u.mesh.ps; in ieee80211_recalc_dtim()
/linux/net/wireless/
H A Dmesh.c121 if (wdev->u.mesh.id_len) in __cfg80211_join_mesh()
135 setup->chandef = wdev->u.mesh.preset_chandef; in __cfg80211_join_mesh()
216 memcpy(wdev->u.mesh.id, setup->mesh_id, setup->mesh_id_len); in __cfg80211_join_mesh()
217 wdev->u.mesh.id_len = setup->mesh_id_len; in __cfg80211_join_mesh()
218 wdev->u.mesh.chandef = setup->chandef; in __cfg80211_join_mesh()
219 wdev->u.mesh.beacon_interval = setup->beacon_interval; in __cfg80211_join_mesh()
248 wdev->u.mesh.chandef = *chandef; in cfg80211_set_mesh_channel()
253 if (wdev->u.mesh.id_len) in cfg80211_set_mesh_channel()
256 wdev->u.mesh.preset_chandef = *chandef; in cfg80211_set_mesh_channel()
274 if (!wdev->u.mesh.id_len) in cfg80211_leave_mesh()
[all …]
H A Dcore.c1647 setup.mesh_id = wdev->u.mesh.id; in cfg80211_netdev_notifier_call()
1648 setup.mesh_id_len = wdev->u.mesh.id_up_len; in cfg80211_netdev_notifier_call()
1649 if (wdev->u.mesh.id_up_len) in cfg80211_netdev_notifier_call()
/linux/Documentation/networking/
H A Dbatman-adv.rst30 batman-adv can operate. The batman-adv mesh-interface can be created using the
56 There are additional settings for each batadv mesh interface, vlan and hardif
72 lower value. This will make the mesh more responsive to topology changes, but
83 To make use of your newly created mesh, batman advanced provides a new
117 When investigating problems with your mesh network, it is sometimes necessary to
151 batctl is available on https://www.open-mesh.org/
162 b.a.t.m.a.n@lists.open-mesh.org (optional subscription at
163 https://lists.open-mesh.org/mailman3/postorius/lists/b.a.t.m.a.n.lists.open-mesh.org/)
/linux/drivers/net/wireless/marvell/libertas/
H A DMakefile11 libertas-$(CONFIG_LIBERTAS_MESH) += mesh.o
H A Dmesh.c112 ie->val.mesh_id_len = mesh_wdev->u.mesh.id_up_len; in lbs_mesh_config()
113 memcpy(ie->val.mesh_id, mesh_wdev->u.mesh.id, in lbs_mesh_config()
114 mesh_wdev->u.mesh.id_up_len); in lbs_mesh_config()
1004 sprintf(mesh_wdev->u.mesh.id, "mesh"); in lbs_add_mesh()
1005 mesh_wdev->u.mesh.id_up_len = 4; in lbs_add_mesh()
/linux/Documentation/admin-guide/perf/
H A Darm-cmn.rst5 CMN-600 is a configurable mesh interconnect consisting of a rectangular
22 each mesh counts its own events entirely independently, and additional
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx7d-flex-concentrator.dts66 label = "hmi-c:red:mesh-error";
71 label = "hmi-c:green:mesh-activity";
/linux/include/uapi/linux/media/arm/
H A Dmali-c55-config.h703 __u32 mesh[MALI_C55_NUM_MESH_SHADING_ELEMENTS]; member
/linux/drivers/scsi/
H A DMakefile109 obj-$(CONFIG_SCSI_MESH) += mesh.o
/linux/Documentation/admin-guide/pm/
H A Dintel_uncore_frequency_scaling.rst66 of mesh partitions. This partition is called fabric cluster.
/linux/
H A D.mailmap98 Antonio Quartulli <antonio@mandelbit.com> <antonio@open-mesh.com>
99 Antonio Quartulli <antonio@mandelbit.com> <antonio.quartulli@open-mesh.com>
766 Simon Wunderlich <sw@simonwunderlich.de> <simon.wunderlich@open-mesh.com>
769 Simon Wunderlich <sw@simonwunderlich.de> <simon@open-mesh.com>
802 Sven Eckelmann <sven@narfation.org> <sven.eckelmann@open-mesh.com>
804 Sven Eckelmann <sven@narfation.org> <sven@open-mesh.com>
/linux/drivers/media/platform/arm/mali-c55/
H A Dmali-c55-params.c377 mali_c55_ctx_write(mali_c55, addr, params->mesh[i]); in mali_c55_params_lsc_config()

12