Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/net/mac80211/
H A 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()
124 sta->mesh->plink_state != NL80211_PLINK_ESTAB) in mesh_set_short_slot_time()
175 sta->mesh->plink_state != NL80211_PLINK_ESTAB) in mesh_set_ht_prot_mode()
205 sdata->u.mesh.mshcfg.ht_opmode = ht_opmode; in mesh_set_ht_prot_mode()
234 2 + sdata->u.mesh.mesh_id_len + in mesh_plink_frame_tx()
[all …]
H A 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 …]
H A Dmesh_pathtbl.c241 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()
284 return __mesh_path_lookup_by_idx(sdata->u.mesh.mesh_paths, idx); in mesh_path_lookup_by_idx()
299 return __mesh_path_lookup_by_idx(sdata->u.mesh.mpp_paths, idx); in mpp_path_lookup_by_idx()
312 tbl = mpath->sdata->u.mesh.mesh_paths; in mesh_path_add_gate()
321 mpath->sdata->u.mesh.num_gates++; in mesh_path_add_gate()
331 mpath->dst, mpath->sdata->u.mesh.num_gates); in mesh_path_add_gate()
352 mpath->sdata->u.mesh.num_gates--; in mesh_gate_del()
357 mpath->dst, mpath->sdata->u.mesh.num_gates); in mesh_gate_del()
366 return sdata->u.mesh.num_gates; in mesh_gate_num()
[all …]
H A Ddebugfs_netdev.c581 IEEE80211_IF_FILE(estab_plinks, u.mesh.estab_plinks, ATOMIC);
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);
595 u.mesh.mshcfg.dot11MeshMaxRetries, DEC);
597 u.mesh.mshcfg.dot11MeshRetryTimeout, DEC);
599 u.mesh.mshcfg.dot11MeshConfirmTimeout, DEC);
[all …]
H A Dmesh_sync.c49 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()
170 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_offset_adjust_tsf()
H A Dmesh.c41 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()
62 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_matches_local()
147 if (free_plinks != sdata->u.mesh.accepting_plinks) { in mesh_accept_plinks_update()
148 sdata->u.mesh.accepting_plinks = free_plinks; in mesh_accept_plinks_update()
173 sdata->u.mesh.rmc = kmalloc(sizeof(struct mesh_rmc), GFP_KERNEL); in mesh_rmc_init()
174 if (!sdata->u.mesh.rmc) in mesh_rmc_init()
176 sdata->u.mesh.rmc->idx_mask = RMC_BUCKETS - 1; in mesh_rmc_init()
178 INIT_HLIST_HEAD(&sdata->u.mesh.rmc->bucket[i]); in mesh_rmc_init()
184 struct mesh_rmc *rmc = sdata->u.mesh.rmc; in mesh_rmc_free()
[all …]
H A 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 …]
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)
240 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_error_tx()
308 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, failed * 100); in ieee80211s_update_metric()
309 if (ewma_mesh_fail_avg_read(&sta->mesh->fail_avg) > in ieee80211s_update_metric()
314 ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg, in ieee80211s_update_metric()
[all …]
H A Dmesh.h204 void mesh_ids_set_default(struct ieee80211_if_mesh *mesh);
326 atomic_inc(&sdata->u.mesh.estab_plinks); in mesh_plink_inc_estab_count()
333 atomic_dec(&sdata->u.mesh.estab_plinks); in mesh_plink_dec_estab_count()
339 return sdata->u.mesh.mshcfg.dot11MeshMaxPeerLinks - in mesh_plink_free_count()
340 atomic_read(&sdata->u.mesh.estab_plinks); in mesh_plink_free_count()
356 return sdata->u.mesh.mesh_pp_id == IEEE80211_PATH_PROTOCOL_HWMP; in mesh_path_sel_is_hwmp()
H A Dsta_info.c99 ps = &sdata->u.mesh.ps; in __cleanup_single_sta()
288 kfree(sta->mesh); in sta_info_free()
362 sta->mesh = kzalloc(sizeof(*sta->mesh), gfp); in sta_info_alloc()
363 if (!sta->mesh) in sta_info_alloc()
365 sta->mesh->plink_sta = sta; in sta_info_alloc()
366 spin_lock_init(&sta->mesh->plink_lock); in sta_info_alloc()
368 !sdata->u.mesh.user_mpm) in sta_info_alloc()
369 timer_setup(&sta->mesh->plink_timer, mesh_plink_timer, in sta_info_alloc()
371 sta->mesh->nonpeer_pm = NL80211_MESH_POWER_ACTIVE; in sta_info_alloc()
531 kfree(sta->mesh); in sta_info_alloc()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/aeis/
H A Deis_algo_service.cpp127 int EisAlgoAdaptor::OnMeshCallback(struct dvsEngine* engine, struct meshxyFEC* mesh) { in OnMeshCallback() argument
128 XCAM_ASSERT(mesh != nullptr); in OnMeshCallback()
130 LOGD_AEIS("OnMeshCallback got img id %d , mesh idx %d, img idx %d", mesh->image_index, in OnMeshCallback()
131 mesh->mesh_buffer_index, mesh->image_buffer_index); in OnMeshCallback()
132 remap_->Remap(mesh); in OnMeshCallback()
145 auto img = dvs_images_.find(mesh->image_index); in OnMeshCallback()
251 auto* mesh = remap_->AllocUserBuffer(); in Prepare() local
254 dvs_mesh->image_buffer_index = mesh->ImageBufferIndex; in Prepare()
255 dvs_mesh->image_index = mesh->FrameId; in Prepare()
256 dvs_mesh->mesh_buffer_index = mesh->Index; in Prepare()
[all …]
H A Dremap_backend.cpp170 void FecRemapBackend::Remap(meshxyFEC* mesh) { in Remap() argument
173 [&mesh](const std::unique_ptr<FecMeshBuffer>& buf) { in Remap()
174 return buf->Index == (size_t)mesh->mesh_buffer_index; in Remap()
177 (*it)->ImageBufferIndex = mesh->image_buffer_index; in Remap()
178 (*it)->FrameId = mesh->image_index; in Remap()
179 if (mesh->is_skip) { in Remap()
223 auto* mesh = AllocUserBuffer(); in GetPendingHwResult() local
224 if (mesh != nullptr) { in GetPendingHwResult()
225 mesh->Fd = -1; in GetPendingHwResult()
226 mesh->FrameId = buf->FrameId; in GetPendingHwResult()
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/obsolete/
H A 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 …]
/OK3568_Linux_fs/buildroot/package/bluez5_utils/
H A D0001-tools-mesh-cfgtest-include-limits.h.patch4 Subject: [PATCH BlueZ] tools/mesh-cfgtest: include limits.h
6 mesh-cfgtest.c uses PATH_MAX so it should include limits.h.
8 fixes compilation error when enabling mesh support with musl-based
16 tools/mesh-cfgtest.c | 1 +
19 diff --git a/tools/mesh-cfgtest.c b/tools/mesh-cfgtest.c
21 --- a/tools/mesh-cfgtest.c
22 +++ b/tools/mesh-cfgtest.c
H A Dbluez5_utils.mk96 BLUEZ5_UTILS_CONF_OPTS += --enable-external-ell --enable-mesh
99 BLUEZ5_UTILS_CONF_OPTS += --disable-external-ell --disable-mesh
/OK3568_Linux_fs/buildroot/package/batman-adv/
H A DConfig.in8 batman-adv mesh networking kernel module
12 https://www.open-mesh.org/projects/batman-adv/
27 https://www.open-mesh.org/projects/batman-adv/wiki/NetworkCoding
36 https://www.open-mesh.org/projects/batman-adv/wiki/BATMAN_V
H A Dbatman-adv.mk8 BATMAN_ADV_SITE = https://downloads.open-mesh.org/batman/stable/sources/batman-adv
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dmesh.c145 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()
305 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_dump_regs()
360 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_init()
407 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_start_cmd()
618 out_8(&ms->mesh->sequence, SEQ_ENBRESEL); in mesh_done()
619 mesh_flush_io(ms->mesh); in mesh_done()
641 volatile struct mesh_regs __iomem *mr = ms->mesh; in set_sdtr()
682 volatile struct mesh_regs __iomem *mr = ms->mesh; in start_phase()
[all …]
/OK3568_Linux_fs/kernel/Documentation/networking/
H A 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/)
/OK3568_Linux_fs/kernel/net/batman-adv/
H A 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
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/
H A Dcommon.mk73 core/mesh/rtw_mesh.o \
74 core/mesh/rtw_mesh_pathtbl.o \
75 core/mesh/rtw_mesh_hwmp.o \
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/
H A Dcommon.mk72 core/mesh/rtw_mesh.o \
73 core/mesh/rtw_mesh_pathtbl.o \
74 core/mesh/rtw_mesh_hwmp.o \
/OK3568_Linux_fs/yocto/poky/meta/recipes-connectivity/bluez5/
H A Dbluez5.inc46 PACKAGECONFIG[mesh] = "--enable-mesh --enable-external-ell,--disable-mesh, json-c ell"
/OK3568_Linux_fs/buildroot/package/olsr/
H A Dolsr.service2 Description=Ad-hoc wireless mesh routing daemon
/OK3568_Linux_fs/buildroot/package/batctl/
H A Dbatctl.hash1 # From https://downloads.open-mesh.org/batman/releases/batman-adv-2021.0/batctl-2021.0.tar.gz.sha1

1234