Home
last modified time | relevance | path

Searched refs:ifmsh (Results 1 – 8 of 8) sorted by relevance

/linux/net/mac80211/
H A Dmesh.c45 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mesh_housekeeping_timer() local
47 set_bit(MESH_WORK_HOUSEKEEPING, &ifmsh->wrkq_flags); in ieee80211_mesh_housekeeping_timer()
66 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_matches_local() local
85 if (!(ifmsh->mesh_id_len == ie->mesh_id_len && in mesh_matches_local()
86 memcmp(ifmsh->mesh_id, ie->mesh_id, ie->mesh_id_len) == 0 && in mesh_matches_local()
87 (ifmsh->mesh_pp_id == ie->mesh_config->meshconf_psel) && in mesh_matches_local()
88 (ifmsh->mesh_pm_id == ie->mesh_config->meshconf_pmetric) && in mesh_matches_local()
89 (ifmsh->mesh_cc_id == ie->mesh_config->meshconf_congest) && in mesh_matches_local()
90 (ifmsh->mesh_sp_id == ie->mesh_config->meshconf_synch) && in mesh_matches_local()
91 (ifmsh->mesh_auth_id == ie->mesh_config->meshconf_auth))) in mesh_matches_local()
[all …]
H A Dmesh_hwmp.c242 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_error_tx() local
248 if (time_before(jiffies, ifmsh->next_perr)) in mesh_path_error_tx()
291 ifmsh->next_perr = TU_TO_EXP_TIME( in mesh_path_error_tx()
292 ifmsh->mshcfg.dot11MeshHWMPperrMinInterval); in mesh_path_error_tx()
585 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_preq_frame_process() local
613 if (SN_GT(target_sn, ifmsh->sn)) in hwmp_preq_frame_process()
614 ifmsh->sn = target_sn; in hwmp_preq_frame_process()
616 if (time_after(jiffies, ifmsh->last_sn_update + in hwmp_preq_frame_process()
618 time_before(jiffies, ifmsh->last_sn_update)) { in hwmp_preq_frame_process()
619 ++ifmsh->sn; in hwmp_preq_frame_process()
[all …]
H A Dcfg.c2772 static int copy_mesh_setup(struct ieee80211_if_mesh *ifmsh, in copy_mesh_setup() argument
2776 struct ieee80211_sub_if_data *sdata = container_of(ifmsh, in copy_mesh_setup()
2789 ifmsh->ie_len = setup->ie_len; in copy_mesh_setup()
2790 ifmsh->ie = new_ie; in copy_mesh_setup()
2793 ifmsh->mesh_id_len = setup->mesh_id_len; in copy_mesh_setup()
2794 memcpy(ifmsh->mesh_id, setup->mesh_id, ifmsh->mesh_id_len); in copy_mesh_setup()
2795 ifmsh->mesh_sp_id = setup->sync_method; in copy_mesh_setup()
2796 ifmsh->mesh_pp_id = setup->path_sel_proto; in copy_mesh_setup()
2797 ifmsh->mesh_pm_id = setup->path_metric; in copy_mesh_setup()
2798 ifmsh->user_mpm = setup->user_mpm; in copy_mesh_setup()
[all …]
H A Dmesh_pathtbl.c1021 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_flush_pending() local
1028 spin_lock_bh(&ifmsh->mesh_preq_queue_lock); in mesh_path_flush_pending()
1029 list_for_each_entry_safe(preq, tmp, &ifmsh->preq_queue.list, list) { in mesh_path_flush_pending()
1033 --ifmsh->preq_queue_len; in mesh_path_flush_pending()
1036 spin_unlock_bh(&ifmsh->mesh_preq_queue_lock); in mesh_path_flush_pending()
H A Drx.c2873 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_rx_mesh_fast_forward() local
2927 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_unicast); in ieee80211_rx_mesh_fast_forward()
2928 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_frames); in ieee80211_rx_mesh_fast_forward()
2939 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_rx_mesh_data() local
3025 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, dropped_frames_ttl); in ieee80211_rx_mesh_data()
3029 if (!ifmsh->mshcfg.dot11MeshForwarding) { in ieee80211_rx_mesh_data()
3085 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_mcast); in ieee80211_rx_mesh_data()
3091 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_unicast); in ieee80211_rx_mesh_data()
3095 mesh_path_error_tx(sdata, ifmsh->mshcfg.element_ttl, in ieee80211_rx_mesh_data()
3099 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, dropped_frames_no_route); in ieee80211_rx_mesh_data()
[all …]
H A Dmesh.h281 void ieee80211_mesh_root_setup(struct ieee80211_if_mesh *ifmsh);
H A Dtx.c5254 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_beacon_cntdwn_is_complete() local
5256 beacon = rcu_dereference(ifmsh->beacon); in ieee80211_beacon_cntdwn_is_complete()
5672 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in __ieee80211_beacon_get() local
5674 beacon = rcu_dereference(ifmsh->beacon); in __ieee80211_beacon_get()
5690 if (ifmsh->sync_ops) in __ieee80211_beacon_get()
5691 ifmsh->sync_ops->adjust_tsf(sdata, beacon); in __ieee80211_beacon_get()
5702 ieee80211_beacon_add_tim(sdata, link, &ifmsh->ps, skb, in __ieee80211_beacon_get()
H A Dutil.c3826 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_send_action_csa() local
3838 put_unaligned_le16(ifmsh->pre_value, pos);/* Precedence Value */ in ieee80211_send_action_csa()