Home
last modified time | relevance | path

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

/linux/net/mac80211/
A Dmesh.c315 memcpy(pos, ifmsh->mesh_id, ifmsh->mesh_id_len); in mesh_add_meshid_ie()
350 if (!ifmsh->ie || !ifmsh->ie_len) in mesh_add_vendor_ies()
354 offset = ieee80211_ie_split_vendor(ifmsh->ie, ifmsh->ie_len, 0); in mesh_add_vendor_ies()
373 if (!ifmsh->ie || !ifmsh->ie_len) in mesh_add_rsn_ie()
377 data = cfg80211_find_ie(WLAN_EID_RSN, ifmsh->ie, ifmsh->ie_len); in mesh_add_rsn_ie()
851 ifmsh->ie_len; in ieee80211_mesh_build_beacon()
1042 ifmsh->sync_ops = ieee80211_mesh_sync_ops_get(ifmsh->mesh_sp_id); in ieee80211_start_mesh()
1229 if (ifmsh->chsw_ttl >= ifmsh->mshcfg.dot11MeshTTL) in ieee80211_mesh_process_chnswitch()
1275 memcmp(elems->mesh_id, ifmsh->mesh_id, ifmsh->mesh_id_len))) in ieee80211_mesh_rx_probe_req()
1363 if (ifmsh->sync_ops) in ieee80211_mesh_rx_bcn_presp()
[all …]
A Dmesh_sync.c50 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_adjust_tsf() local
56 spin_lock_bh(&ifmsh->sync_offset_lock); in mesh_sync_adjust_tsf()
60 tsfdelta = -ifmsh->sync_offset_clockdrift_max; in mesh_sync_adjust_tsf()
61 ifmsh->sync_offset_clockdrift_max = 0; in mesh_sync_adjust_tsf()
69 spin_unlock_bh(&ifmsh->sync_offset_lock); in mesh_sync_adjust_tsf()
148 spin_lock_bh(&ifmsh->sync_offset_lock); in mesh_sync_offset_rx_bcn_presp()
151 spin_unlock_bh(&ifmsh->sync_offset_lock); in mesh_sync_offset_rx_bcn_presp()
173 spin_lock_bh(&ifmsh->sync_offset_lock); in mesh_sync_offset_adjust_tsf()
183 ifmsh->sync_offset_clockdrift_max); in mesh_sync_offset_adjust_tsf()
189 ifmsh->sync_offset_clockdrift_max = 0; in mesh_sync_offset_adjust_tsf()
[all …]
A Dmesh_hwmp.c592 ifmsh->sn = target_sn; in hwmp_preq_frame_process()
597 ++ifmsh->sn; in hwmp_preq_frame_process()
600 target_sn = ifmsh->sn; in hwmp_preq_frame_process()
609 target_sn = ++ifmsh->sn; in hwmp_preq_frame_process()
681 ifmsh->mshstats.fwded_mcast++; in hwmp_preq_frame_process()
1011 ++ifmsh->preq_queue_len; in mesh_queue_preq()
1024 mod_timer(&ifmsh->mesh_path_timer, ifmsh->last_preq + in mesh_queue_preq()
1043 if (!ifmsh->preq_queue_len || in mesh_path_start_discovery()
1053 --ifmsh->preq_queue_len; in mesh_path_start_discovery()
1084 ifmsh->last_preq = jiffies; in mesh_path_start_discovery()
[all …]
A Dmesh_ps.c82 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()
A Dcfg.c2158 old_ie = ifmsh->ie; in copy_mesh_setup()
2166 ifmsh->ie_len = setup->ie_len; in copy_mesh_setup()
2167 ifmsh->ie = new_ie; in copy_mesh_setup()
2172 memcpy(ifmsh->mesh_id, setup->mesh_id, ifmsh->mesh_id_len); in copy_mesh_setup()
2176 ifmsh->user_mpm = setup->user_mpm; in copy_mesh_setup()
2213 struct ieee80211_if_mesh *ifmsh; in ieee80211_update_mesh_config() local
2216 ifmsh = &sdata->u.mesh; in ieee80211_update_mesh_config()
2235 if (ifmsh->user_mpm) in ieee80211_update_mesh_config()
3438 if (!ifmsh->pre_value) in ieee80211_set_csa_beacon()
3439 ifmsh->pre_value = 1; in ieee80211_set_csa_beacon()
[all …]
A Dmesh.h217 void ieee80211_mesh_root_setup(struct ieee80211_if_mesh *ifmsh);
A Drx.c2847 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_rx_h_mesh_fwding() local
2923 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, dropped_frames_congestion); in ieee80211_rx_h_mesh_fwding()
2930 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, in ieee80211_rx_h_mesh_fwding()
2935 if (!ifmsh->mshcfg.dot11MeshForwarding) in ieee80211_rx_h_mesh_fwding()
2956 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_mcast); in ieee80211_rx_h_mesh_fwding()
2962 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_unicast); in ieee80211_rx_h_mesh_fwding()
2965 mesh_path_error_tx(sdata, ifmsh->mshcfg.element_ttl, in ieee80211_rx_h_mesh_fwding()
2969 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, dropped_frames_no_route); in ieee80211_rx_h_mesh_fwding()
2974 IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_frames); in ieee80211_rx_h_mesh_fwding()
A Dtx.c4936 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_beacon_cntdwn_is_complete() local
4938 beacon = rcu_dereference(ifmsh->beacon); in ieee80211_beacon_cntdwn_is_complete()
5161 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in __ieee80211_beacon_get() local
5163 beacon = rcu_dereference(ifmsh->beacon); in __ieee80211_beacon_get()
5179 if (ifmsh->sync_ops) in __ieee80211_beacon_get()
5180 ifmsh->sync_ops->adjust_tsf(sdata, beacon); in __ieee80211_beacon_get()
5191 ieee80211_beacon_add_tim(sdata, &ifmsh->ps, skb, is_template); in __ieee80211_beacon_get()
A Dutil.c4068 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_send_action_csa() local
4080 put_unaligned_le16(ifmsh->pre_value, pos);/* Precedence Value */ in ieee80211_send_action_csa()

Completed in 40 milliseconds