Lines Matching defs:ifmsh
49 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
55 spin_lock_bh(&ifmsh->sync_offset_lock);
56 if (ifmsh->sync_offset_clockdrift_max < beacon_int_fraction) {
58 (long long) ifmsh->sync_offset_clockdrift_max);
59 tsfdelta = -ifmsh->sync_offset_clockdrift_max;
60 ifmsh->sync_offset_clockdrift_max = 0;
63 (long long) ifmsh->sync_offset_clockdrift_max,
66 ifmsh->sync_offset_clockdrift_max -= beacon_int_fraction;
68 spin_unlock_bh(&ifmsh->sync_offset_lock);
85 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
90 WARN_ON(ifmsh->mesh_sp_id != IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET);
150 spin_lock_bh(&ifmsh->sync_offset_lock);
151 if (t_clockdrift > ifmsh->sync_offset_clockdrift_max)
152 ifmsh->sync_offset_clockdrift_max = t_clockdrift;
153 spin_unlock_bh(&ifmsh->sync_offset_lock);
170 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
172 WARN_ON(ifmsh->mesh_sp_id != IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET);
175 spin_lock_bh(&ifmsh->sync_offset_lock);
177 if (ifmsh->sync_offset_clockdrift_max > TOFFSET_MINIMUM_ADJUSTMENT) {
185 ifmsh->sync_offset_clockdrift_max);
186 set_bit(MESH_WORK_DRIFT_ADJUST, &ifmsh->wrkq_flags);
190 (long long)ifmsh->sync_offset_clockdrift_max);
191 ifmsh->sync_offset_clockdrift_max = 0;
193 spin_unlock_bh(&ifmsh->sync_offset_lock);