Home
last modified time | relevance | path

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

12

/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.c1824 setup.mesh_id = wdev->u.mesh.id; in cfg80211_netdev_notifier_call()
1825 setup.mesh_id_len = wdev->u.mesh.id_up_len; in cfg80211_netdev_notifier_call()
1826 if (wdev->u.mesh.id_up_len) in cfg80211_netdev_notifier_call()
H A Dnl80211.c3909 * For AP/GO and mesh mode, the channel can be set with the in nl80211_can_set_dev_channel()
3911 * low-level driver when the AP starts or the mesh is joined. in nl80211_can_set_dev_channel()
3913 * the channel in the start-ap or join-mesh commands instead. in nl80211_can_set_dev_channel()
5079 wdev->u.mesh.id_up_len = in nl80211_set_interface()
5081 memcpy(wdev->u.mesh.id, in nl80211_set_interface()
5083 wdev->u.mesh.id_up_len); in nl80211_set_interface()
5196 wdev->u.mesh.id_up_len = in _nl80211_new_interface()
5198 memcpy(wdev->u.mesh.id, in _nl80211_new_interface()
5200 wdev->u.mesh.id_up_len); in _nl80211_new_interface()
6031 width = wdev->u.mesh in eht_build_mcs_mask()
[all...]
H A Dreg.c2378 if (!wdev->u.mesh.beacon_interval) in reg_wdev_chan_valid()
2380 chandef = wdev->u.mesh.chandef; in reg_wdev_chan_valid()
/linux/net/mac80211/
H A Dmesh_pathtbl.c17 #include "mesh.h"
57 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_deinit()
66 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_init()
108 * mesh_path_assign_nexthop - update mesh path next hop
110 * @mpath: mesh path to update
147 /* size of the fixed part of the mesh header */ in prepare_for_gate()
156 /* we preserve the previous mesh header and only add in prepare_for_gate()
259 * mesh_path_lookup - look up a path in the mesh path table
263 * Returns: pointer to the mesh path structure, or NULL if not found
270 return mpath_lookup(&sdata->u.mesh in mesh_path_lookup()
[all...]
H A Dmesh.c42 timer_container_of(sdata, t, u.mesh.housekeeping_timer); in ieee80211_mesh_housekeeping_timer()
44 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()
157 if (free_plinks != sdata->u.mesh.accepting_plinks) { in mesh_accept_plinks_update()
158 sdata->u.mesh.accepting_plinks = free_plinks; in mesh_accept_plinks_update()
183 sdata->u.mesh.rmc = kmalloc_obj(struct mesh_rmc); in mesh_rmc_init()
184 if (!sdata->u.mesh.rmc) in mesh_rmc_init()
186 sdata->u.mesh.rmc->idx_mask = RMC_BUCKETS - 1; in mesh_rmc_init()
188 INIT_HLIST_HEAD(&sdata->u.mesh.rmc->bucket[i]); in mesh_rmc_init()
194 struct mesh_rmc *rmc = sdata->u.mesh.rmc; in mesh_rmc_free()
[all …]
H A Ddebugfs_netdev.c748 IEEE80211_IF_FILE(estab_plinks, u.mesh.estab_plinks, ATOMIC);
751 IEEE80211_IF_FILE(fwded_mcast, u.mesh.mshstats.fwded_mcast, DEC);
752 IEEE80211_IF_FILE(fwded_unicast, u.mesh.mshstats.fwded_unicast, DEC);
753 IEEE80211_IF_FILE(fwded_frames, u.mesh.mshstats.fwded_frames, DEC);
754 IEEE80211_IF_FILE(dropped_frames_ttl, u.mesh.mshstats.dropped_frames_ttl, DEC);
756 u.mesh.mshstats.dropped_frames_no_route, DEC);
760 u.mesh.mshcfg.dot11MeshMaxRetries, DEC);
762 u.mesh.mshcfg.dot11MeshRetryTimeout, DEC);
764 u.mesh.mshcfg.dot11MeshConfirmTimeout, DEC);
766 u.mesh.mshcfg.dot11MeshHoldingTimeout, DEC);
[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.c27 #include "mesh.h"
43 * particular, it may not start any mesh peer link management or add
149 ps = &sdata->u.mesh.ps; in __cleanup_single_sta()
508 kfree(sta->mesh); in sta_info_free()
670 sta->mesh = kzalloc_obj(*sta->mesh, gfp); in __sta_info_alloc()
671 if (!sta->mesh) in __sta_info_alloc()
673 sta->mesh->plink_sta = sta; in __sta_info_alloc()
674 spin_lock_init(&sta->mesh->plink_lock); in __sta_info_alloc()
675 if (!sdata->u.mesh in __sta_info_alloc()
[all...]
H A Dcfg.c716 if (sdata->u.mesh.security != IEEE80211_MESH_SEC_NONE) in ieee80211_add_key()
2208 if (sta->mesh->plink_state != NL80211_PLINK_ESTAB) in sta_apply_mesh_params()
2210 sta->mesh->plink_state = params->plink_state; in sta_apply_mesh_params()
2211 sta->mesh->aid = params->peer_aid; in sta_apply_mesh_params()
2215 sdata->u.mesh.mshcfg.power_mode); in sta_apply_mesh_params()
2217 ewma_mesh_tx_rate_avg_init(&sta->mesh->tx_rate_avg); in sta_apply_mesh_params()
2219 ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg, 10); in sta_apply_mesh_params()
2228 if (sta->mesh->plink_state == NL80211_PLINK_ESTAB) in sta_apply_mesh_params()
2230 sta->mesh->plink_state = params->plink_state; in sta_apply_mesh_params()
2813 if (sdata->u.mesh.user_mpm) in ieee80211_change_station()
[all …]
H A Dsta_info.h734 struct mesh_sta *mesh; member
803 return sta->mesh->plink_state; in sta_plink_state()
H A Doffchannel.c851 !sdata->u.mesh.mesh_id_len) in ieee80211_mgmt_tx()
1005 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_mgmt_tx()
H A Dtx.c35 #include "mesh.h"
343 ps = &sdata->u.mesh.ps; in purge_old_ps_buffers()
392 /* powersaving STAs currently only in AP/VLAN/mesh mode */ in ieee80211_tx_h_multicast_ps_buf()
400 ps = &tx->sdata->u.mesh.ps; in ieee80211_tx_h_multicast_ps_buf()
2819 * forwarded to another mesh gate. In either case in ieee80211_build_hdr()
2941 /* sta is always NULL for mesh */ in ieee80211_build_hdr()
2946 /* For mesh, the use of the QoS header is mandatory */ in ieee80211_build_hdr()
5376 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_beacon_set_cntdwn()
5401 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_beacon_cntdwn_is_complete()
5452 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_beacon_cntdwn_is_complete()
[all...]
H A Dutil.c3941 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_send_action_csa()
3946 *pos++ = sdata->u.mesh.mshcfg.dot11MeshTTL; /* Mesh TTL */ in ieee80211_send_action_csa()
4133 ps = &sdata->u.mesh.ps; in ieee80211_recalc_dtim()
H A Drx.c30 #include "mesh.h"
1957 /* mesh power save support */ in ieee80211_rx_h_sta_process()
2905 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_rx_mesh_fast_forward()
2971 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_rx_mesh_data()
3122 /* mesh power mode flags updated in mesh_nexthop_lookup */ in ieee80211_rx_mesh_data()
3864 if (sdata->u.mesh.user_mpm) in ieee80211_rx_h_action()
4180 /* process for all: mesh, mlme, ibss */ in ieee80211_rx_h_mgmt()
4204 /* process only for ibss and mesh */ in ieee80211_rx_h_mgmt()
5148 /* capture before mesh forward may memset or free skb->cb */ in ieee80211_invoke_fast_rx()
/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/drivers/scsi/
H A DMakefile133 obj-$(CONFIG_SCSI_MESH) += mesh.o
/linux/
H A D.mailmap111 Antonio Quartulli <antonio@mandelbit.com> <antonio@open-mesh.com>
112 Antonio Quartulli <antonio@mandelbit.com> <antonio.quartulli@open-mesh.com>
862 Simon Wunderlich <sw@simonwunderlich.de> <simon.wunderlich@open-mesh.com>
865 Simon Wunderlich <sw@simonwunderlich.de> <simon@open-mesh.com>
899 Sven Eckelmann <sven@narfation.org> <sven.eckelmann@open-mesh.com>
901 Sven Eckelmann <sven@narfation.org> <sven@open-mesh.com>
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.h716 u8 mesh;
713 u8 mesh; global() member
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c14448 bool ap, mesh, p2p; in ath12k_mac_setup_radio_iface_comb() local
14453 mesh = IS_ENABLED(CONFIG_MAC80211_MESH) && in ath12k_mac_setup_radio_iface_comb()
14456 if ((ap || mesh) && !p2p) { in ath12k_mac_setup_radio_iface_comb()
14461 if (ap || mesh) in ath12k_mac_setup_radio_iface_comb()
14477 if (ap || mesh || p2p) in ath12k_mac_setup_radio_iface_comb()
14483 if (mesh) in ath12k_mac_setup_radio_iface_comb()
14518 bool ap, mesh, p2p; in ath12k_mac_setup_global_iface_comb() local
14525 mesh = ath12k_mac_is_iface_mode_enable(ah, NL80211_IFTYPE_MESH_POINT); in ath12k_mac_setup_global_iface_comb()
14527 if ((ap || mesh) && !p2p) in ath12k_mac_setup_global_iface_comb()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.h681 u8 mesh; member

12