Home
last modified time | relevance | path

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

/linux-4.4.14/net/mac80211/
Dmesh_plink.c20 #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()
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()
120 sta->mesh->plink_state != NL80211_PLINK_ESTAB) in mesh_set_short_slot_time()
170 sta->mesh->plink_state != NL80211_PLINK_ESTAB) in mesh_set_ht_prot_mode()
200 sdata->u.mesh.mshcfg.ht_opmode = ht_opmode; in mesh_set_ht_prot_mode()
227 2 + sdata->u.mesh.mesh_id_len + in mesh_plink_frame_tx()
[all …]
Dmesh_ps.c82 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()
156 if (sta->mesh->local_pm == pm) in ieee80211_mps_set_sta_local_pm()
162 sta->mesh->local_pm = pm; in ieee80211_mps_set_sta_local_pm()
168 if (sta->mesh->plink_state == NL80211_PLINK_ESTAB) in ieee80211_mps_set_sta_local_pm()
200 sta->mesh->plink_state == NL80211_PLINK_ESTAB) in ieee80211_mps_set_frame_flags()
201 pm = sta->mesh->local_pm; in ieee80211_mps_set_frame_flags()
203 pm = sdata->u.mesh.nonpeer_pm; in ieee80211_mps_set_frame_flags()
[all …]
Dmesh_sync.c52 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_adjust_tbtt()
84 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()
170 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_offset_adjust_tbtt()
Ddebugfs_netdev.c546 IEEE80211_IF_FILE(estab_plinks, u.mesh.estab_plinks, ATOMIC);
549 IEEE80211_IF_FILE(fwded_mcast, u.mesh.mshstats.fwded_mcast, DEC);
550 IEEE80211_IF_FILE(fwded_unicast, u.mesh.mshstats.fwded_unicast, DEC);
551 IEEE80211_IF_FILE(fwded_frames, u.mesh.mshstats.fwded_frames, DEC);
552 IEEE80211_IF_FILE(dropped_frames_ttl, u.mesh.mshstats.dropped_frames_ttl, DEC);
554 u.mesh.mshstats.dropped_frames_congestion, DEC);
556 u.mesh.mshstats.dropped_frames_no_route, DEC);
560 u.mesh.mshcfg.dot11MeshMaxRetries, DEC);
562 u.mesh.mshcfg.dot11MeshRetryTimeout, DEC);
564 u.mesh.mshcfg.dot11MeshConfirmTimeout, DEC);
[all …]
Dmesh.c46 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mesh_housekeeping_timer()
65 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_matches_local()
138 if (free_plinks != sdata->u.mesh.accepting_plinks) { in mesh_accept_plinks_update()
139 sdata->u.mesh.accepting_plinks = free_plinks; in mesh_accept_plinks_update()
162 if (!sdata->u.mesh.user_mpm) { in mesh_sta_cleanup()
164 del_timer_sync(&sta->mesh->plink_timer); in mesh_sta_cleanup()
175 sdata->u.mesh.rmc = kmalloc(sizeof(struct mesh_rmc), GFP_KERNEL); in mesh_rmc_init()
176 if (!sdata->u.mesh.rmc) in mesh_rmc_init()
178 sdata->u.mesh.rmc->idx_mask = RMC_BUCKETS - 1; in mesh_rmc_init()
180 INIT_LIST_HEAD(&sdata->u.mesh.rmc->bucket[i]); in mesh_rmc_init()
[all …]
DKconfig74 bool "Enable mac80211 mesh networking (pre-802.11s) support"
77 This options enables support of Draft 802.11s mesh networking.
214 bool "Verbose mesh peer link debugging"
219 verbose mesh peer link debugging messages (when mac80211
220 is taking part in a mesh network).
227 bool "Verbose mesh path debugging"
232 verbose mesh path selection debugging messages (when mac80211
233 is taking part in a mesh network).
240 bool "Verbose mesh HWMP routing debugging"
245 verbose mesh routing (HWMP) debugging messages (when mac80211
[all …]
Dmesh_hwmp.c81 msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPnetDiameterTraversalTime)
83 MSEC_TO_TU(s->u.mesh.mshcfg.dot11MeshHWMPactivePathTimeout)
85 (msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPpreqMinInterval))
86 #define max_preq_retries(s) (s->u.mesh.mshcfg.dot11MeshHWMPmaxPREQretries)
88 msecs_to_jiffies(sdata->u.mesh.mshcfg.min_discovery_timeout)
90 msecs_to_jiffies(sdata->u.mesh.mshcfg.dot11MeshHWMPconfirmationInterval)
242 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_error_tx()
311 sta->mesh->fail_avg = in ieee80211s_update_metric()
312 ((80 * sta->mesh->fail_avg + 5) / 100 + 20 * failed); in ieee80211s_update_metric()
313 if (sta->mesh->fail_avg > 95) in ieee80211s_update_metric()
[all …]
Dmesh.h217 void mesh_ids_set_default(struct ieee80211_if_mesh *mesh);
332 atomic_inc(&sdata->u.mesh.estab_plinks); in mesh_plink_inc_estab_count()
339 atomic_dec(&sdata->u.mesh.estab_plinks); in mesh_plink_dec_estab_count()
345 return sdata->u.mesh.mshcfg.dot11MeshMaxPeerLinks - in mesh_plink_free_count()
346 atomic_read(&sdata->u.mesh.estab_plinks); in mesh_plink_free_count()
362 return sdata->u.mesh.mesh_pp_id == IEEE80211_PATH_PROTOCOL_HWMP; in mesh_path_sel_is_hwmp()
Dmesh_pathtbl.c466 mpath->sdata->u.mesh.num_gates++; in mesh_path_add_gate()
473 mpath->dst, mpath->sdata->u.mesh.num_gates); in mesh_path_add_gate()
499 mpath->sdata->u.mesh.num_gates--; in mesh_gate_del()
503 mpath->dst, mpath->sdata->u.mesh.num_gates); in mesh_gate_del()
514 return sdata->u.mesh.num_gates; in mesh_gate_num()
529 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_add()
546 if (atomic_add_unless(&sdata->u.mesh.mpaths, 1, MESH_MAX_MPATHS) == 0) in mesh_path_add()
606 atomic_dec(&sdata->u.mesh.mpaths); in mesh_path_add()
663 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mpp_path_add()
771 sdata->u.mesh.mshcfg.element_ttl, in mesh_plink_broken()
[all …]
Dsta_info.c100 ps = &sdata->u.mesh.ps; in __cleanup_single_sta()
253 kfree(sta->mesh); in sta_info_free()
319 sta->mesh = kzalloc(sizeof(*sta->mesh), gfp); in sta_info_alloc()
320 if (!sta->mesh) in sta_info_alloc()
322 spin_lock_init(&sta->mesh->plink_lock); in sta_info_alloc()
324 !sdata->u.mesh.user_mpm) in sta_info_alloc()
325 init_timer(&sta->mesh->plink_timer); in sta_info_alloc()
326 sta->mesh->nonpeer_pm = NL80211_MESH_POWER_ACTIVE; in sta_info_alloc()
416 kfree(sta->mesh); in sta_info_alloc()
654 ps = &sta->sdata->u.mesh.ps; in __sta_info_recalc_tim()
[all …]
DMakefile43 mesh.o \
Dsta_info.h407 struct mesh_sta *mesh; member
503 return sta->mesh->plink_state; in sta_plink_state()
Dcfg.c230 if (sdata->u.mesh.security != IEEE80211_MESH_SEC_NONE) in ieee80211_add_key()
993 if (sta->mesh->plink_state != NL80211_PLINK_ESTAB) in sta_apply_mesh_params()
995 sta->mesh->plink_state = params->plink_state; in sta_apply_mesh_params()
999 sdata->u.mesh.mshcfg.power_mode); in sta_apply_mesh_params()
1007 if (sta->mesh->plink_state == NL80211_PLINK_ESTAB) in sta_apply_mesh_params()
1009 sta->mesh->plink_state = params->plink_state; in sta_apply_mesh_params()
1298 if (sdata->u.mesh.user_mpm) in ieee80211_change_station()
1612 memcpy(conf, &(sdata->u.mesh.mshcfg), sizeof(struct mesh_config)); in ieee80211_get_mesh_config()
1627 struct ieee80211_sub_if_data, u.mesh); in copy_mesh_setup()
1677 ifmsh = &sdata->u.mesh; in ieee80211_update_mesh_config()
[all …]
Dtx.c361 ps = &sdata->u.mesh.ps; in purge_old_ps_buffers()
418 ps = &tx->sdata->u.mesh.ps; in ieee80211_tx_h_multicast_ps_buf()
3244 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_csa_update_counter()
3287 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_csa_is_complete()
3412 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in __ieee80211_beacon_get()
3756 ps = &sdata->u.mesh.ps; in ieee80211_get_buffered_bc()
Dutil.c2888 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_send_action_csa()
2893 *pos++ = sdata->u.mesh.mshcfg.dot11MeshTTL; /* Mesh TTL */ in ieee80211_send_action_csa()
3143 ps = &sdata->u.mesh.ps; in ieee80211_recalc_dtim()
Dieee80211_i.h912 struct ieee80211_if_mesh mesh; member
Drx.c2252 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_rx_h_mesh_fwding()
2868 if (sdata->u.mesh.user_mpm) in ieee80211_rx_h_action()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-net-mesh2 What: /sys/class/net/<mesh_iface>/mesh/aggregated_ogms
7 mesh <mesh_iface> shall be aggregated or not.
9 What: /sys/class/net/<mesh_iface>/mesh/<vlan_subdir>/ap_isolation
18 What: /sys/class/net/<mesh_iface>/mesh/bonding
23 mesh will be sent using multiple interfaces at the
26 What: /sys/class/net/<mesh_iface>/mesh/bridge_loop_avoidance
32 between the mesh and devices bridged with the soft
35 What: /sys/class/net/<mesh_iface>/mesh/fragmentation
40 mesh will be fragmented or silently discarded if the
43 What: /sys/class/net/<mesh_iface>/mesh/gw_bandwidth
[all …]
Dsysfs-class-net-batman-adv13 displays the batman mesh interface this <iface>
/linux-4.4.14/Documentation/networking/
Dbatman-adv.txt65 All mesh wide settings can be found in batman's own interface
68 # ls /sys/class/net/bat0/mesh/
82 ing the mesh network. For example, you can view the table of
83 originators (mesh participants) with:
92 # cat /sys/class/net/bat0/mesh/orig_interval
97 # echo 3000 > /sys/class/net/bat0/mesh/orig_interval
100 interval to a lower value. This will make the mesh more respon-
107 To make use of your newly created mesh, batman advanced provides
140 When investigating problems with your mesh network it is some-
163 /sys/class/net/bat0/mesh/log_level. e.g.
[all …]
/linux-4.4.14/net/batman-adv/
DKconfig13 a routing protocol for multi-hop ad-hoc mesh networks. The
15 http://www.open-mesh.org/ for more information and user space
24 to avoid Ethernet frames looping when mesh nodes are connected
25 to both the same LAN and the same mesh. If you will never use
26 more than one mesh node in the same LAN, you can safely remove
36 mesh networks. If you think that your network does not need
/linux-4.4.14/drivers/scsi/
Dmesh.c144 volatile struct mesh_regs __iomem *mesh; member
222 tlp->bs0 = ms->mesh->bus_status0; in dlog()
223 tlp->bs1 = ms->mesh->bus_status1; in dlog()
304 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_dump_regs()
359 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_init()
406 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_start_cmd()
617 out_8(&ms->mesh->sequence, SEQ_ENBRESEL); in mesh_done()
618 mesh_flush_io(ms->mesh); in mesh_done()
640 volatile struct mesh_regs __iomem *mr = ms->mesh; in set_sdtr()
681 volatile struct mesh_regs __iomem *mr = ms->mesh; in start_phase()
[all …]
DMakefile117 obj-$(CONFIG_SCSI_MESH) += mesh.o
DKconfig1499 module will be called mesh.
/linux-4.4.14/drivers/net/wireless/libertas/
DMakefile10 libertas-$(CONFIG_LIBERTAS_MESH) += mesh.o
DKconfig42 bool "Enable mesh support"
/linux-4.4.14/net/wireless/
DMakefile13 cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o ap.o trace.o ocb.o
/linux-4.4.14/
DMAINTAINERS2106 L: b.a.t.m.a.n@lists.open-mesh.org
2107 W: http://www.open-mesh.org/