| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | join.c | 105 __le64 tsf_val; in mwifiex_cmd_append_tsf_tlv() local 116 tsf_tlv.header.len = cpu_to_le16(2 * sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv() 122 tsf_val = cpu_to_le64(bss_desc->fw_tsf); in mwifiex_cmd_append_tsf_tlv() 123 memcpy(*buffer, &tsf_val, sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv() 124 *buffer += sizeof(tsf_val); in mwifiex_cmd_append_tsf_tlv() 126 tsf_val = cpu_to_le64(bss_desc->timestamp); in mwifiex_cmd_append_tsf_tlv() 132 memcpy(*buffer, &tsf_val, sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv() 133 *buffer += sizeof(tsf_val); in mwifiex_cmd_append_tsf_tlv() 135 return sizeof(tsf_tlv.header) + (2 * sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/ |
| H A D | mlan_join.c | 211 t_u64 tsf_val; in wlan_cmd_append_tsf_tlv() local 229 tsf_tlv.header.len = wlan_cpu_to_le16(2 * sizeof(tsf_val)); in wlan_cmd_append_tsf_tlv() 237 tsf_val = wlan_cpu_to_le64(pbss_desc->network_tsf); in wlan_cmd_append_tsf_tlv() 238 memcpy_ext(pmriv->adapter, *ppbuffer, &tsf_val, sizeof(tsf_val), in wlan_cmd_append_tsf_tlv() 239 sizeof(tsf_val)); in wlan_cmd_append_tsf_tlv() 240 *ppbuffer += sizeof(tsf_val); in wlan_cmd_append_tsf_tlv() 242 memcpy_ext(pmriv->adapter, &tsf_val, pbss_desc->time_stamp, in wlan_cmd_append_tsf_tlv() 243 sizeof(pbss_desc->time_stamp), sizeof(tsf_val)); in wlan_cmd_append_tsf_tlv() 245 PRINTM(MINFO, "ASSOC: TSF offset calc: %016llx - %016llx\n", tsf_val, in wlan_cmd_append_tsf_tlv() 248 memcpy_ext(pmriv->adapter, *ppbuffer, &tsf_val, sizeof(tsf_val), in wlan_cmd_append_tsf_tlv() [all …]
|
| H A D | mlan_scan.c | 4492 t_u64 tsf_val; in wlan_ret_802_11_scan() local 4730 pmpriv->adapter, &tsf_val, in wlan_ret_802_11_scan() 4732 sizeof(tsf_val), sizeof(tsf_val)); in wlan_ret_802_11_scan() 4733 tsf_val = wlan_le64_to_cpu(tsf_val); in wlan_ret_802_11_scan() 4736 &tsf_val, in wlan_ret_802_11_scan() 5545 t_u64 tsf_val; in wlan_parse_ext_scan_result() local 5687 memcpy_ext(pmpriv->adapter, &tsf_val, in wlan_parse_ext_scan_result() 5689 sizeof(tsf_val), sizeof(tsf_val)); in wlan_parse_ext_scan_result() 5690 tsf_val = wlan_le64_to_cpu(tsf_val); in wlan_parse_ext_scan_result() 5693 &tsf_val, in wlan_parse_ext_scan_result()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/ |
| H A D | mlan_join.c | 201 t_u64 tsf_val; in wlan_cmd_append_tsf_tlv() local 219 tsf_tlv.header.len = wlan_cpu_to_le16(2 * sizeof(tsf_val)); in wlan_cmd_append_tsf_tlv() 225 tsf_val = wlan_cpu_to_le64(pbss_desc->network_tsf); in wlan_cmd_append_tsf_tlv() 226 memcpy(pmriv->adapter, *ppbuffer, &tsf_val, sizeof(tsf_val)); in wlan_cmd_append_tsf_tlv() 227 *ppbuffer += sizeof(tsf_val); in wlan_cmd_append_tsf_tlv() 229 memcpy(pmriv->adapter, &tsf_val, pbss_desc->time_stamp, in wlan_cmd_append_tsf_tlv() 230 sizeof(tsf_val)); in wlan_cmd_append_tsf_tlv() 233 tsf_val, pbss_desc->network_tsf); in wlan_cmd_append_tsf_tlv() 235 memcpy(pmriv->adapter, *ppbuffer, &tsf_val, sizeof(tsf_val)); in wlan_cmd_append_tsf_tlv() 236 *ppbuffer += sizeof(tsf_val); in wlan_cmd_append_tsf_tlv() [all …]
|
| H A D | mlan_scan.c | 3635 t_u64 tsf_val; in wlan_ret_802_11_scan() local 3874 memcpy(pmpriv->adapter, &tsf_val, in wlan_ret_802_11_scan() 3876 sizeof(tsf_val)); in wlan_ret_802_11_scan() 3877 tsf_val = wlan_le64_to_cpu(tsf_val); in wlan_ret_802_11_scan() 3879 &bss_new_entry->network_tsf, &tsf_val, in wlan_ret_802_11_scan() 4154 t_u64 tsf_val; in wlan_parse_ext_scan_result() local 4297 memcpy(pmpriv->adapter, &tsf_val, in wlan_parse_ext_scan_result() 4298 &pscan_info_tlv->tsf, sizeof(tsf_val)); in wlan_parse_ext_scan_result() 4299 tsf_val = wlan_le64_to_cpu(tsf_val); in wlan_parse_ext_scan_result() 4301 &bss_new_entry->network_tsf, &tsf_val, in wlan_parse_ext_scan_result()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/ |
| H A D | channel.c | 350 cur_tsf = (u32) cur->tsf_val + in ath_chanctx_adjust_tbtt_delta() 353 prev_tsf = prev->last_beacon - (u32) prev->tsf_val + cur_tsf; in ath_chanctx_adjust_tbtt_delta() 366 prev->tsf_val += offset; in ath_chanctx_adjust_tbtt_delta() 684 !sc->cur_chan->tsf_val) in ath_chanctx_event() 693 tsf_time -= (u32) sc->cur_chan->tsf_val + in ath_chanctx_event() 1281 sc->cur_chan->tsf_val = ath9k_hw_gettsf64(sc->sc_ah); in ath_chanctx_set_next()
|
| H A D | beacon.c | 294 avp->chanctx->tsf_val += tsfadjust; in ath9k_beacon_ensure_primary_slot() 297 ath9k_hw_settsf64(sc->sc_ah, avp->chanctx->tsf_val + offset); in ath9k_beacon_ensure_primary_slot()
|
| H A D | main.c | 250 if (sc->cur_chan->tsf_val) { in ath_complete_reset() 255 ath9k_hw_settsf64(ah, sc->cur_chan->tsf_val + offset); in ath_complete_reset() 1962 tsf = sc->cur_chan->tsf_val + in ath9k_get_tsf() 1985 avp->chanctx->tsf_val = tsf; in ath9k_set_tsf() 2001 avp->chanctx->tsf_val = 0; in ath9k_reset_tsf()
|
| H A D | ath9k.h | 340 u64 tsf_val; member
|