Lines Matching refs:sdata

49 void mesh_sync_adjust_tbtt(struct ieee80211_sub_if_data *sdata)  in mesh_sync_adjust_tbtt()  argument
51 struct ieee80211_local *local = sdata->local; in mesh_sync_adjust_tbtt()
52 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_adjust_tbtt()
54 u64 beacon_int_fraction = sdata->vif.bss_conf.beacon_int * 1024 / 2500; in mesh_sync_adjust_tbtt()
60 msync_dbg(sdata, "TBTT : max clockdrift=%lld; adjusting\n", in mesh_sync_adjust_tbtt()
65 msync_dbg(sdata, "TBTT : max clockdrift=%lld; adjusting by %llu\n", in mesh_sync_adjust_tbtt()
73 tsf = drv_get_tsf(local, sdata); in mesh_sync_adjust_tbtt()
75 drv_set_tsf(local, sdata, tsf + tsfdelta); in mesh_sync_adjust_tbtt()
78 static void mesh_sync_offset_rx_bcn_presp(struct ieee80211_sub_if_data *sdata, in mesh_sync_offset_rx_bcn_presp() argument
84 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_offset_rx_bcn_presp()
85 struct ieee80211_local *local = sdata->local; in mesh_sync_offset_rx_bcn_presp()
108 t_r = drv_get_tsf(local, sdata); in mesh_sync_offset_rx_bcn_presp()
111 sta = sta_info_get(sdata, mgmt->sa); in mesh_sync_offset_rx_bcn_presp()
123 msync_dbg(sdata, "STA %pM : is adjusting TBTT\n", in mesh_sync_offset_rx_bcn_presp()
134 msync_dbg(sdata, in mesh_sync_offset_rx_bcn_presp()
142 msync_dbg(sdata, in mesh_sync_offset_rx_bcn_presp()
157 msync_dbg(sdata, in mesh_sync_offset_rx_bcn_presp()
167 static void mesh_sync_offset_adjust_tbtt(struct ieee80211_sub_if_data *sdata, in mesh_sync_offset_adjust_tbtt() argument
170 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_sync_offset_adjust_tbtt()
185 msync_dbg(sdata, in mesh_sync_offset_adjust_tbtt()
192 msync_dbg(sdata, in mesh_sync_offset_adjust_tbtt()