Searched refs:ifmsh (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/net/mac80211/ |
D | mesh.c | 46 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mesh_housekeeping_timer() local 48 set_bit(MESH_WORK_HOUSEKEEPING, &ifmsh->wrkq_flags); in ieee80211_mesh_housekeeping_timer() 65 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_matches_local() local 79 if (!(ifmsh->mesh_id_len == ie->mesh_id_len && in mesh_matches_local() 80 memcmp(ifmsh->mesh_id, ie->mesh_id, ie->mesh_id_len) == 0 && in mesh_matches_local() 81 (ifmsh->mesh_pp_id == ie->mesh_config->meshconf_psel) && in mesh_matches_local() 82 (ifmsh->mesh_pm_id == ie->mesh_config->meshconf_pmetric) && in mesh_matches_local() 83 (ifmsh->mesh_cc_id == ie->mesh_config->meshconf_congest) && in mesh_matches_local() 84 (ifmsh->mesh_sp_id == ie->mesh_config->meshconf_synch) && in mesh_matches_local() 85 (ifmsh->mesh_auth_id == ie->mesh_config->meshconf_auth))) in mesh_matches_local() [all …]
|
D | mesh_sync.c | 52 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_adjust_tbtt() local 58 spin_lock_bh(&ifmsh->sync_offset_lock); in mesh_sync_adjust_tbtt() 59 if (ifmsh->sync_offset_clockdrift_max < beacon_int_fraction) { in mesh_sync_adjust_tbtt() 61 (long long) ifmsh->sync_offset_clockdrift_max); in mesh_sync_adjust_tbtt() 62 tsfdelta = -ifmsh->sync_offset_clockdrift_max; in mesh_sync_adjust_tbtt() 63 ifmsh->sync_offset_clockdrift_max = 0; in mesh_sync_adjust_tbtt() 66 (long long) ifmsh->sync_offset_clockdrift_max, in mesh_sync_adjust_tbtt() 69 ifmsh->sync_offset_clockdrift_max -= beacon_int_fraction; in mesh_sync_adjust_tbtt() 71 spin_unlock_bh(&ifmsh->sync_offset_lock); in mesh_sync_adjust_tbtt() 84 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_offset_rx_bcn_presp() local [all …]
|
D | mesh_hwmp.c | 245 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_error_tx() local 251 if (time_before(jiffies, ifmsh->next_perr)) in mesh_path_error_tx() 300 ifmsh->next_perr = TU_TO_EXP_TIME( in mesh_path_error_tx() 301 ifmsh->mshcfg.dot11MeshHWMPperrMinInterval); in mesh_path_error_tx() 515 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_preq_frame_process() local 543 if (time_after(jiffies, ifmsh->last_sn_update + in hwmp_preq_frame_process() 545 time_before(jiffies, ifmsh->last_sn_update)) { in hwmp_preq_frame_process() 546 ++ifmsh->sn; in hwmp_preq_frame_process() 547 ifmsh->last_sn_update = jiffies; in hwmp_preq_frame_process() 549 target_sn = ifmsh->sn; in hwmp_preq_frame_process() [all …]
|
D | mesh_ps.c | 82 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mps_local_status_update() local 128 nonpeer_pm = ifmsh->mshcfg.power_mode; in ieee80211_mps_local_status_update() 132 if (ifmsh->nonpeer_pm != nonpeer_pm || in ieee80211_mps_local_status_update() 133 !ifmsh->ps_peers_light_sleep != !light_sleep_cnt || in ieee80211_mps_local_status_update() 134 !ifmsh->ps_peers_deep_sleep != !deep_sleep_cnt) in ieee80211_mps_local_status_update() 137 ifmsh->nonpeer_pm = nonpeer_pm; in ieee80211_mps_local_status_update() 138 ifmsh->ps_peers_light_sleep = light_sleep_cnt; in ieee80211_mps_local_status_update() 139 ifmsh->ps_peers_deep_sleep = deep_sleep_cnt; in ieee80211_mps_local_status_update()
|
D | cfg.c | 1640 static int copy_mesh_setup(struct ieee80211_if_mesh *ifmsh, in copy_mesh_setup() argument 1645 struct ieee80211_sub_if_data *sdata = container_of(ifmsh, in copy_mesh_setup() 1650 old_ie = ifmsh->ie; in copy_mesh_setup() 1658 ifmsh->ie_len = setup->ie_len; in copy_mesh_setup() 1659 ifmsh->ie = new_ie; in copy_mesh_setup() 1663 ifmsh->mesh_id_len = setup->mesh_id_len; in copy_mesh_setup() 1664 memcpy(ifmsh->mesh_id, setup->mesh_id, ifmsh->mesh_id_len); in copy_mesh_setup() 1665 ifmsh->mesh_sp_id = setup->sync_method; in copy_mesh_setup() 1666 ifmsh->mesh_pp_id = setup->path_sel_proto; in copy_mesh_setup() 1667 ifmsh->mesh_pm_id = setup->path_metric; in copy_mesh_setup() [all …]
|
D | mesh_pathtbl.c | 529 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_add() local 594 set_bit(MESH_WORK_GROW_MPATH_TABLE, &ifmsh->wrkq_flags); in mesh_path_add() 663 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mpp_path_add() local 726 set_bit(MESH_WORK_GROW_MPP_TABLE, &ifmsh->wrkq_flags); in mpp_path_add()
|
D | rx.c | 2229 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_rx_h_mesh_fwding() local 2302 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, dropped_frames_congestion); in ieee80211_rx_h_mesh_fwding() 2308 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, dropped_frames_ttl); in ieee80211_rx_h_mesh_fwding() 2312 if (!ifmsh->mshcfg.dot11MeshForwarding) in ieee80211_rx_h_mesh_fwding() 2330 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_mcast); in ieee80211_rx_h_mesh_fwding() 2336 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_unicast); in ieee80211_rx_h_mesh_fwding() 2339 mesh_path_error_tx(sdata, ifmsh->mshcfg.element_ttl, in ieee80211_rx_h_mesh_fwding() 2343 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, dropped_frames_no_route); in ieee80211_rx_h_mesh_fwding() 2348 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_frames); in ieee80211_rx_h_mesh_fwding()
|
D | mesh.h | 238 void ieee80211_mesh_root_setup(struct ieee80211_if_mesh *ifmsh);
|
D | tx.c | 2772 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_csa_is_complete() local 2774 beacon = rcu_dereference(ifmsh->beacon); in ieee80211_csa_is_complete() 2897 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in __ieee80211_beacon_get() local 2899 beacon = rcu_dereference(ifmsh->beacon); in __ieee80211_beacon_get() 2915 if (ifmsh->sync_ops) in __ieee80211_beacon_get() 2916 ifmsh->sync_ops->adjust_tbtt(sdata, beacon); in __ieee80211_beacon_get() 2928 ieee80211_beacon_add_tim(sdata, &ifmsh->ps, skb, is_template); in __ieee80211_beacon_get()
|
D | util.c | 2890 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_send_action_csa() local 2902 put_unaligned_le16(ifmsh->pre_value, pos);/* Precedence Value */ in ieee80211_send_action_csa()
|