Lines Matching defs:ifmsh
50 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
56 spin_lock_bh(&ifmsh->sync_offset_lock);
57 if (ifmsh->sync_offset_clockdrift_max < beacon_int_fraction) {
59 (long long) ifmsh->sync_offset_clockdrift_max);
60 tsfdelta = -ifmsh->sync_offset_clockdrift_max;
61 ifmsh->sync_offset_clockdrift_max = 0;
64 (long long) ifmsh->sync_offset_clockdrift_max,
67 ifmsh->sync_offset_clockdrift_max -= beacon_int_fraction;
69 spin_unlock_bh(&ifmsh->sync_offset_lock);
86 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
91 WARN_ON(ifmsh->mesh_sp_id != IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET);
148 spin_lock_bh(&ifmsh->sync_offset_lock);
149 if (t_clockdrift > ifmsh->sync_offset_clockdrift_max)
150 ifmsh->sync_offset_clockdrift_max = t_clockdrift;
151 spin_unlock_bh(&ifmsh->sync_offset_lock);
168 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
170 WARN_ON(ifmsh->mesh_sp_id != IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET);
173 spin_lock_bh(&ifmsh->sync_offset_lock);
175 if (ifmsh->sync_offset_clockdrift_max > TOFFSET_MINIMUM_ADJUSTMENT) {
183 ifmsh->sync_offset_clockdrift_max);
184 set_bit(MESH_WORK_DRIFT_ADJUST, &ifmsh->wrkq_flags);
188 (long long)ifmsh->sync_offset_clockdrift_max);
189 ifmsh->sync_offset_clockdrift_max = 0;
191 spin_unlock_bh(&ifmsh->sync_offset_lock);