Home
last modified time | relevance | path

Searched refs:tsf_val (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/mwifiex/
Djoin.c105 __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()
/drivers/net/wireless/ath/ath9k/
Dchannel.c267 cur_tsf = (u32) cur->tsf_val + in ath_chanctx_adjust_tbtt_delta()
270 prev_tsf = prev->last_beacon - (u32) prev->tsf_val + cur_tsf; in ath_chanctx_adjust_tbtt_delta()
283 prev->tsf_val += offset; in ath_chanctx_adjust_tbtt_delta()
506 tsf_time -= (u32) sc->cur_chan->tsf_val + in ath_chanctx_event()
1095 sc->cur_chan->tsf_val = ath9k_hw_gettsf64(sc->sc_ah); in ath_chanctx_set_next()
Dath9k.h345 u64 tsf_val; member
Dmain.c240 if (sc->cur_chan->tsf_val) { in ath_complete_reset()
245 ath9k_hw_settsf64(ah, sc->cur_chan->tsf_val + offset); in ath_complete_reset()