| /net/mac80211/ |
| A D | mesh_plink.c | 79 sta->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0; in mesh_plink_fsm_restart() 412 sta->mesh->plid, sta->mesh->reason); in mesh_plink_deactivate() 656 struct mesh_sta *mesh = timer_container_of(mesh, t, plink_timer); in mesh_plink_timer() local 668 sta = mesh->plink_sta; in mesh_plink_timer() 715 sta->mesh->plink_timeout = sta->mesh->plink_timeout + in mesh_plink_timer() 743 sta->mesh->llid, sta->mesh->plid, reason); in mesh_plink_timer() 998 sta->mesh->llid, sta->mesh->plid, in mesh_plink_fsm() 1074 (sta->mesh->plid && sta->mesh->plid != plid)) in mesh_plink_get_event() 1084 (sta->mesh->plid && sta->mesh->plid != plid)) in mesh_plink_get_event() 1191 sta->mesh->plid = plid; in mesh_process_plink_frame() [all …]
|
| A D | mesh_ps.c | 100 switch (sta->mesh->plink_state) { in ieee80211_mps_local_status_update() 161 if (sta->mesh->local_pm == pm) in ieee80211_mps_set_sta_local_pm() 167 sta->mesh->local_pm = pm; in ieee80211_mps_set_sta_local_pm() 206 pm = sta->mesh->local_pm; in ieee80211_mps_set_frame_flags() 208 pm = sdata->u.mesh.nonpeer_pm; in ieee80211_mps_set_frame_flags() 251 pm = sta->mesh->peer_pm; in ieee80211_mps_sta_status_update() 253 pm = sta->mesh->nonpeer_pm; in ieee80211_mps_sta_status_update() 304 if (sta->mesh->peer_pm == pm) in mps_set_sta_peer_pm() 310 sta->mesh->peer_pm = pm; in mps_set_sta_peer_pm() 331 sta->mesh->nonpeer_pm = pm; in mps_set_sta_nonpeer_pm() [all …]
|
| A D | mesh_pathtbl.c | 57 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_deinit() 66 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_init() 352 mpath->sdata->u.mesh.num_gates++; in mesh_path_add_gate() 383 mpath->sdata->u.mesh.num_gates--; in mesh_gate_del() 399 return sdata->u.mesh.num_gates; in mesh_gate_num() 440 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_get() 485 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_cache() 700 tbl = &sdata->u.mesh.mesh_paths; in mesh_path_add() 742 tbl = &sdata->u.mesh.mpp_paths; in mpp_path_add() 805 atomic_dec(&sdata->u.mesh.mpaths); in mesh_path_free_rcu() [all …]
|
| A D | mesh_sync.c | 52 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_adjust_tsf() 88 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()
|
| A D | mesh.c | 45 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mesh_housekeeping_timer() 156 sdata->u.mesh.accepting_plinks = free_plinks; in mesh_accept_plinks_update() 182 if (!sdata->u.mesh.rmc) in mesh_rmc_init() 184 sdata->u.mesh.rmc->idx_mask = RMC_BUCKETS - 1; in mesh_rmc_init() 192 struct mesh_rmc *rmc = sdata->u.mesh.rmc; in mesh_rmc_free() 197 if (!sdata->u.mesh.rmc) in mesh_rmc_free() 208 sdata->u.mesh.rmc = NULL; in mesh_rmc_free() 227 struct mesh_rmc *rmc = sdata->u.mesh.rmc; in mesh_rmc_check() 1502 if (!sdata->u.mesh.user_mpm || in ieee80211_mesh_rx_bcn_presp() 1689 if (!sdata->u.mesh.mesh_id_len) in ieee80211_mesh_rx_queued_mgmt() [all …]
|
| A D | debugfs_netdev.c | 748 u.mesh.mshstats.dropped_frames_no_route, DEC); 752 u.mesh.mshcfg.dot11MeshMaxRetries, DEC); 754 u.mesh.mshcfg.dot11MeshRetryTimeout, DEC); 756 u.mesh.mshcfg.dot11MeshConfirmTimeout, DEC); 758 u.mesh.mshcfg.dot11MeshHoldingTimeout, DEC); 763 u.mesh.mshcfg.dot11MeshMaxPeerLinks, DEC); 775 u.mesh.mshcfg.path_refresh_time, DEC); 777 u.mesh.mshcfg.min_discovery_timeout, DEC); 779 u.mesh.mshcfg.dot11MeshHWMPRootMode, DEC); 783 u.mesh.mshcfg.dot11MeshHWMPRannInterval, DEC); [all …]
|
| A D | Kconfig | 71 bool "Enable mac80211 mesh networking support" 210 bool "Verbose mesh peer link debugging" 216 is taking part in a mesh network). 223 bool "Verbose mesh path debugging" 229 is taking part in a mesh network). 236 bool "Verbose mesh HWMP routing debugging" 242 is taking part in a mesh network). 255 mesh network). 266 mesh network). 271 bool "Verbose mesh powersave debugging" [all …]
|
| A D | mesh_hwmp.c | 242 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_error_tx() 321 ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg, in ieee80211s_update_metric() 336 ewma_mesh_fail_avg_read(&sta->mesh->fail_avg); in airtime_link_metric_get() 518 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get() 568 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get() 743 sdata->u.mesh.mshstats.dropped_frames_ttl++; in hwmp_prep_frame_process() 772 sdata->u.mesh.mshstats.fwded_unicast++; in hwmp_prep_frame_process() 773 sdata->u.mesh.mshstats.fwded_frames++; in hwmp_prep_frame_process() 1114 sdata->u.mesh.last_sn_update = jiffies; in mesh_path_start_discovery() 1117 ttl = sdata->u.mesh.mshcfg.element_ttl; in mesh_path_start_discovery() [all …]
|
| A D | mesh.h | 385 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()
|
| A D | sta_info.c | 147 ps = &sdata->u.mesh.ps; in __cleanup_single_sta() 489 kfree(sta->mesh); in sta_info_free() 635 sta->mesh = kzalloc(sizeof(*sta->mesh), gfp); in __sta_info_alloc() 636 if (!sta->mesh) in __sta_info_alloc() 638 sta->mesh->plink_sta = sta; in __sta_info_alloc() 640 if (!sdata->u.mesh.user_mpm) in __sta_info_alloc() 762 kfree(sta->mesh); in __sta_info_alloc() 1083 ps = &sta->sdata->u.mesh.ps; in __sta_info_recalc_tim() 1782 ps = &sdata->u.mesh.ps; in ieee80211_sta_ps_deliver_wakeup() 2679 sinfo->llid = sta->mesh->llid; in sta_set_mesh_sinfo() [all …]
|
| A D | Makefile | 49 mesh.o \
|
| A D | cfg.c | 1888 sta->mesh->plink_state = params->plink_state; in sta_apply_mesh_params() 1889 sta->mesh->aid = params->peer_aid; in sta_apply_mesh_params() 1893 sdata->u.mesh.mshcfg.power_mode); in sta_apply_mesh_params() 1908 sta->mesh->plink_state = params->plink_state; in sta_apply_mesh_params() 2327 if (sdata->u.mesh.user_mpm) in ieee80211_change_station() 2633 struct ieee80211_sub_if_data, u.mesh); in copy_mesh_setup() 2694 ifmsh = &sdata->u.mesh; in ieee80211_update_mesh_config() 2697 conf = &(sdata->u.mesh.mshcfg); in ieee80211_update_mesh_config() 2811 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_join_mesh() 2843 kfree(sdata->u.mesh.ie); in ieee80211_leave_mesh() [all …]
|
| A D | sta_info.h | 720 struct mesh_sta *mesh; member 789 return sta->mesh->plink_state; in sta_plink_state()
|
| A D | offchannel.c | 847 !sdata->u.mesh.mesh_id_len) in ieee80211_mgmt_tx() 992 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_mgmt_tx()
|
| A D | tx.c | 343 ps = &sdata->u.mesh.ps; in purge_old_ps_buffers() 400 ps = &tx->sdata->u.mesh.ps; in ieee80211_tx_h_multicast_ps_buf() 5074 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_beacon_update_cntdwn() 5099 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_beacon_set_cntdwn() 5150 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_beacon_cntdwn_is_complete() 5569 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in __ieee80211_beacon_get() 5998 ps = &sdata->u.mesh.ps; in ieee80211_get_buffered_bc()
|
| A D | util.c | 3742 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_send_action_csa() 3747 *pos++ = sdata->u.mesh.mshcfg.dot11MeshTTL; /* Mesh TTL */ in ieee80211_send_action_csa() 3934 ps = &sdata->u.mesh.ps; in ieee80211_recalc_dtim()
|
| A D | rx.c | 2782 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_rx_mesh_fast_forward() 2848 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_rx_mesh_data() 3736 if (sdata->u.mesh.user_mpm) in ieee80211_rx_h_action()
|
| /net/wireless/ |
| A D | mesh.c | 121 if (wdev->u.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() 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() 280 wdev->u.mesh.id_len = 0; in cfg80211_leave_mesh() 281 wdev->u.mesh.beacon_interval = 0; in cfg80211_leave_mesh() 282 memset(&wdev->u.mesh.chandef, 0, in cfg80211_leave_mesh() [all …]
|
| A D | Makefile | 10 cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o ap.o trace.o ocb.o
|
| A D | chan.c | 884 if (wdev->u.mesh.id_len) in cfg80211_beaconing_iface_active() 924 return cfg80211_is_sub_chan(&wdev->u.mesh.chandef, chan, in cfg80211_wdev_on_sub_chan() 1560 return &wdev->u.mesh.chandef; in wdev_chandef()
|
| A D | core.c | 1615 setup.mesh_id = wdev->u.mesh.id; in cfg80211_netdev_notifier_call() 1616 setup.mesh_id_len = wdev->u.mesh.id_up_len; in cfg80211_netdev_notifier_call() 1617 if (wdev->u.mesh.id_up_len) in cfg80211_netdev_notifier_call()
|
| A D | reg.c | 2398 if (!wdev->u.mesh.beacon_interval) in reg_wdev_chan_valid() 2400 chandef = wdev->u.mesh.chandef; in reg_wdev_chan_valid()
|
| A D | nl80211.c | 4479 wdev->u.mesh.id_up_len = in nl80211_set_interface() 4481 memcpy(wdev->u.mesh.id, in nl80211_set_interface() 4483 wdev->u.mesh.id_up_len); in nl80211_set_interface() 4595 wdev->u.mesh.id_up_len = in _nl80211_new_interface() 4597 memcpy(wdev->u.mesh.id, in _nl80211_new_interface() 4599 wdev->u.mesh.id_up_len); in _nl80211_new_interface() 8965 if (!wdev->u.mesh.id_len) in nl80211_get_mesh_config() 9344 if (!wdev->u.mesh.id_len) in nl80211_update_mesh_config() 10844 wdev->u.mesh.chandef = chandef; in nl80211_start_radar_detection() 10983 if (!wdev->u.mesh.id_len) in nl80211_channel_switch() [all …]
|
| /net/batman-adv/ |
| A D | Kconfig | 15 a routing protocol for multi-hop ad-hoc mesh networks. The 17 https://www.open-mesh.org/ for more information and user space 41 to avoid Ethernet frames looping when mesh nodes are connected 42 to both the same LAN and the same mesh. If you will never use 43 more than one mesh node in the same LAN, you can safely remove 53 mesh networks. If you think that your network does not need
|
| A D | Makefile | 22 batman-adv-y += mesh-interface.o
|