Home
last modified time | relevance | path

Searched full:mesh (Results 1 – 25 of 130) sorted by relevance

123456

/kernel/linux/linux-5.10/net/mac80211/
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->plid = sta->mesh->reason = 0; in mesh_plink_fsm_restart()
80 sta->mesh->plink_retries = 0; in mesh_plink_fsm_restart()
[all …]
Dmesh_pathtbl.c16 #include "mesh.h"
79 * mesh_path_assign_nexthop - update mesh path next hop
81 * @mpath: mesh path to update
118 /* size of the fixed part of the mesh header */ in prepare_for_gate()
127 /* we preserve the previous mesh header and only add in prepare_for_gate()
230 * mesh_path_lookup - look up a path in the mesh path table
234 * Returns: pointer to the mesh path structure, or NULL if not found
241 return mpath_lookup(sdata->u.mesh.mesh_paths, dst, sdata); in mesh_path_lookup()
247 return mpath_lookup(sdata->u.mesh.mpp_paths, dst, sdata); in mpp_path_lookup()
273 * mesh_path_lookup_by_idx - look up a path in the mesh path table by its index
[all …]
Dmesh.h19 * enum mesh_path_flags - mac80211 mesh path flags
21 * @MESH_PATH_ACTIVE: the mesh path can be used for forwarding
22 * @MESH_PATH_RESOLVING: the discovery process is running for this mesh path
23 * @MESH_PATH_SN_VALID: the mesh path contains a valid destination sequence
25 * @MESH_PATH_FIXED: the mesh path has been manually set and should not be
27 * @MESH_PATH_RESOLVED: the mesh path can has been resolved
30 * @MESH_PATH_DELETED: the mesh path has been deleted and should no longer
33 * MESH_PATH_RESOLVED is used by the mesh path timer to
34 * decide when to stop or cancel the mesh path discovery.
47 * enum mesh_deferred_task_flags - mac80211 mesh deferred tasks
[all …]
Dmesh_ps.c8 #include "mesh.h"
12 /* mesh PS management */
15 * mps_qos_null_get - create pre-addressed QoS Null frame for mesh powersave
75 * @sdata: local mesh subif
82 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mps_local_status_update()
95 switch (sta->mesh->plink_state) { in ieee80211_mps_local_status_update()
102 if (sta->mesh->local_pm == NL80211_MESH_POWER_LIGHT_SLEEP) in ieee80211_mps_local_status_update()
104 else if (sta->mesh->local_pm == NL80211_MESH_POWER_DEEP_SLEEP) in ieee80211_mps_local_status_update()
115 * (see IEEE802.11-2012 13.14.8.3). The non-peer mesh power mode is in ieee80211_mps_local_status_update()
117 * least one mesh peer (see 13.14.3.1). Otherwise, set it to the in ieee80211_mps_local_status_update()
[all …]
DKconfig61 bool "Enable mac80211 mesh networking support"
64 Select this option to enable 802.11 mesh operation in mac80211
65 drivers that support it. 802.11 mesh connects multiple stations
200 bool "Verbose mesh peer link debugging"
205 verbose mesh peer link debugging messages (when mac80211
206 is taking part in a mesh network).
213 bool "Verbose mesh path debugging"
218 verbose mesh path selection debugging messages (when mac80211
219 is taking part in a mesh network).
226 bool "Verbose mesh HWMP routing debugging"
[all …]
Dmesh.c12 #include "mesh.h"
41 from_timer(sdata, t, u.mesh.housekeeping_timer); in ieee80211_mesh_housekeeping_timer()
43 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mesh_housekeeping_timer()
51 * mesh_matches_local - check if the config of a mesh point matches ours
53 * @sdata: local mesh subif
54 * @ie: information elements of a management frame from the mesh peer
56 * This function checks if the mesh configuration of a mesh point matches the
57 * local mesh configuration, i.e. if both nodes belong to the same mesh network.
62 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_matches_local()
70 * - On mesh config capabilities in mesh_matches_local()
[all …]
Ddebugfs_netdev.c581 IEEE80211_IF_FILE(estab_plinks, u.mesh.estab_plinks, ATOMIC);
583 /* Mesh stats attributes */
584 IEEE80211_IF_FILE(fwded_mcast, u.mesh.mshstats.fwded_mcast, DEC);
585 IEEE80211_IF_FILE(fwded_unicast, u.mesh.mshstats.fwded_unicast, DEC);
586 IEEE80211_IF_FILE(fwded_frames, u.mesh.mshstats.fwded_frames, DEC);
587 IEEE80211_IF_FILE(dropped_frames_ttl, u.mesh.mshstats.dropped_frames_ttl, DEC);
589 u.mesh.mshstats.dropped_frames_congestion, DEC);
591 u.mesh.mshstats.dropped_frames_no_route, DEC);
593 /* Mesh parameters */
595 u.mesh.mshcfg.dot11MeshMaxRetries, DEC);
[all …]
Dmesh_sync.c9 #include "mesh.h"
38 * @ie: information elements of a management frame from the mesh peer
49 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_adjust_tsf()
85 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_offset_rx_bcn_presp()
130 sta->mesh->t_offset = t_t - t_r; in mesh_sync_offset_rx_bcn_presp()
133 s64 t_clockdrift = sta->mesh->t_offset_setpoint - sta->mesh->t_offset; in mesh_sync_offset_rx_bcn_presp()
136 sta->sta.addr, (long long) sta->mesh->t_offset, in mesh_sync_offset_rx_bcn_presp()
137 (long long) sta->mesh->t_offset_setpoint, in mesh_sync_offset_rx_bcn_presp()
155 sta->mesh->t_offset_setpoint = sta->mesh->t_offset - TOFFSET_SET_MARGIN; in mesh_sync_offset_rx_bcn_presp()
160 (long long) sta->mesh->t_offset); in mesh_sync_offset_rx_bcn_presp()
[all …]
Dmesh_hwmp.c12 #include "mesh.h"
80 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)
221 * mesh_path_error_tx - Sends a PERR mesh management frame
228 * @sdata: local mesh subif
240 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_error_tx()
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/obsolete/
Dsysfs-class-net-mesh4 What: /sys/class/net/<mesh_iface>/mesh/aggregated_ogms
9 mesh <mesh_iface> shall be aggregated or not.
11 What: /sys/class/net/<mesh_iface>/mesh/<vlan_subdir>/ap_isolation
20 What: /sys/class/net/<mesh_iface>/mesh/bonding
25 mesh will be sent using multiple interfaces at the
28 What: /sys/class/net/<mesh_iface>/mesh/bridge_loop_avoidance
34 between the mesh and devices bridged with the soft
37 What: /sys/class/net/<mesh_iface>/mesh/fragmentation
42 mesh will be fragmented or silently discarded if the
45 What: /sys/class/net/<mesh_iface>/mesh/gw_bandwidth
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dmesh.c3 * SCSI low-level driver for the MESH (Macintosh Enhanced SCSI Hardware)
5 * We assume the MESH is connected to a DBDMA (descriptor-based DMA)
50 #include "mesh.h"
58 MODULE_DESCRIPTION("PowerMac MESH SCSI driver");
145 volatile struct mesh_regs __iomem *mesh; member
223 tlp->bs0 = ms->mesh->bus_status0; in dlog()
224 tlp->bs1 = ms->mesh->bus_status1; in dlog()
252 printk(KERN_DEBUG "mesh log %d: bs=%.2x%.2x ph=%.2x ", in dumplog()
277 printk(KERN_DEBUG "mesh log: bs=%.2x%.2x ph=%.2x t%d ", in dumpslog()
305 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_dump_regs()
[all …]
Dmesh.h3 * mesh.h: definitions for the driver for the MESH SCSI bus adaptor
12 * Registers in the MESH controller.
/kernel/linux/linux-5.10/Documentation/networking/
Dbatman-adv.rst56 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@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/)
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Ddefs.h60 #define lbs_deb_mesh(fmt, args...) LBS_DEB_LL(LBS_DEB_MESH, " mesh", fmt, ##args)
173 * is when enabling the mesh using CMD_MESH_CONFIG.
207 /* Tx mesh flag */
209 * Currently we are using normal WDS flag as mesh flag.
210 * TODO: change to proper mesh flag when MAC understands it.
215 /* Mesh interface ID */
217 /* Mesh id should be in bits 14-13-12 */
219 /* Mesh enable bit in FW capability */
236 /* Rx mesh flag */
238 * Currently we are using normal WDS flag as mesh flag.
[all …]
Dmesh.c14 #include "mesh.h"
22 * Mesh command handling
49 * Command id is 0xac for v10 FW along with mesh interface in __lbs_mesh_config_send()
127 lbs_deb_cmd("mesh config action %d type %x channel %d SSID %*pE\n", in lbs_mesh_config()
146 * Mesh sysfs support
262 * lbs_mesh_get - Get function for sysfs attribute mesh
275 * lbs_mesh_set - Set function for sysfs attribute mesh
530 dev_err(dev, "inconsistent mesh ID length\n"); in mesh_id_get()
806 * Initializing and starting, stopping mesh
810 * Check mesh FW version and appropriately send the mesh start
[all …]
DKconfig43 bool "Enable mesh support"
46 This enables Libertas' MESH support, used by e.g. the OLPC people.
/kernel/linux/linux-5.10/net/batman-adv/
DKconfig16 a routing protocol for multi-hop ad-hoc mesh networks. The
18 https://www.open-mesh.org/ for more information and user space
42 to avoid Ethernet frames looping when mesh nodes are connected
43 to both the same LAN and the same mesh. If you will never use
44 more than one mesh node in the same LAN, you can safely remove
54 mesh networks. If you think that your network does not need
Dtypes.h190 /** @hardif_obj: kobject of the per interface sysfs "mesh" directory */
374 * struct batadv_orig_node - structure for orig_list maintaining nodes of mesh
958 * struct batadv_priv_tt - per mesh interface translation table data
1033 * struct batadv_priv_bla - per mesh interface bridge loop avoidance data
1040 * @claim_hash: hash table containing mesh nodes this host has claimed
1113 * struct batadv_priv_gw - per mesh interface gateway data
1152 * struct batadv_priv_tvlv - per mesh interface tvlv data
1174 * struct batadv_priv_dat - per mesh interface DAT private data
1193 /** @exists: whether a querier exists in the mesh */
1207 /** @querier_ipv4: the current state of an IGMP querier in the mesh */
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dbatman_adv.h82 * mesh.
92 * @BATADV_MCAST_FLAGS_BRIDGED: There is a bridge on top of the mesh
99 * exists in the mesh
105 * exists in the mesh
351 * messages of the mesh interface shall be aggregated or not.
376 * the mesh will be sent using multiple interfaces at the same time.
383 * between the mesh and devices bridged with the soft interface
391 * the whole mesh.
397 * through the mesh will be fragmented or silently discarded if the
444 * of multicast packets. If set to non-zero then all nodes in the mesh
[all …]
Dnl80211.h388 * @NL80211_CMD_GET_MPATH: Get mesh path attributes for mesh path to
391 * @NL80211_CMD_SET_MPATH: Set mesh path attributes for mesh path to
394 * @NL80211_CMD_NEW_MPATH: Create a new mesh path for the destination given by
396 * @NL80211_CMD_DEL_MPATH: Delete a mesh path to the destination given by
398 * @NL80211_CMD_NEW_PATH: Add a mesh path with given attributes to the
400 * @NL80211_CMD_DEL_PATH: Remove a mesh path identified by %NL80211_ATTR_MAC
401 * or, if no MAC address given, all mesh paths, on the interface identified
433 * @NL80211_CMD_GET_MESH_CONFIG: Get mesh networking properties for the
436 * @NL80211_CMD_SET_MESH_CONFIG: Set mesh networking properties for the
776 * @NL80211_CMD_JOIN_MESH: Join a mesh. The mesh ID must be given, and initial
[all …]
/kernel/linux/linux-5.10/net/wireless/
Dmesh.c183 * mesh to be interoperable with older versions. in __cfg80211_join_mesh()
229 * into mesh mode but doesn't implement join_mesh. Instead, in cfg80211_set_mesh_channel()
230 * it is configured via sysfs and then joins the mesh when in cfg80211_set_mesh_channel()
231 * you set the channel. Note that the libertas mesh isn't in cfg80211_set_mesh_channel()
232 * compatible with 802.11 mesh. in cfg80211_set_mesh_channel()
/kernel/linux/linux-5.10/Documentation/admin-guide/perf/
Darm-cmn.rst2 Arm Coherent Mesh Network PMU
5 CMN-600 is a configurable mesh interconnect consisting of a rectangular
22 each mesh counts its own events entirely independently, and additional
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/perf/
Darm,cmn.yaml8 title: Arm CMN (Coherent Mesh Network) Performance Monitors
53 /* 4x2 mesh with one DTC, and CFG node at 0,1,1,0 */
/kernel/linux/linux-5.10/include/net/
Dcfg80211.h221 * @IEEE80211_BSS_TYPE_MBSS: Mesh BSS
1320 * @peer_aid: mesh peer AID or zero for no change
1332 * @local_pm: local link-specific mesh power save mode (no change when set
1415 * @CFG80211_STA_MESH_PEER_KERNEL: peer on mesh interface (kernel managed)
1416 * @CFG80211_STA_MESH_PEER_USER: peer on mesh interface (user managed)
1615 * @llid: mesh local link id
1616 * @plid: mesh peer link id
1617 * @plink_state: mesh peer link state
1645 * @local_pm: local mesh STA power save mode
1646 * @peer_pm: peer mesh STA power save mode
[all …]
/kernel/linux/linux-5.10/include/linux/
Dieee80211.h268 /* Mesh Control 802.11s */
271 /* Mesh Power Save Level */
273 /* Mesh Receiver Service Period Initiated */
781 /* Mesh flags */
788 * enum ieee80211_preq_flags - mesh PREQ element flags
797 * enum ieee80211_preq_target_flags - mesh PREQ element per target flags
865 * struct ieee80211_mesh_chansw_params_ie - mesh channel switch parameters IE
867 * This structure represents the "Mesh Channel Switch Paramters element"
900 * This structure refers to "Mesh Configuration information element"
913 * enum mesh_config_capab_flags - Mesh Configuration IE capability field flags
[all …]

123456