Skip to content

Commit 75d7dbc

Browse files
twpedersenlinvjw
authored andcommitted
ath9k_htc: RX timestamp is reported at end of frame
Accurate RX timestamp reporting is important for proper IBSS merging, mesh synchronization, and MCCA scheduling. Namely, knowing where the TSF is recorded is needed to sync with the beacon timestamp field. Tested with AR9271. Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent 96d2137 commit 75d7dbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/net/wireless/ath/ath9k/htc_drv_txrx.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ static bool ath9k_rx_prepare(struct ath9k_htc_priv *priv,
10821082
rx_status->freq = hw->conf.channel->center_freq;
10831083
rx_status->signal = rxbuf->rxstatus.rs_rssi + ATH_DEFAULT_NOISE_FLOOR;
10841084
rx_status->antenna = rxbuf->rxstatus.rs_antenna;
1085-
rx_status->flag |= RX_FLAG_MACTIME_START;
1085+
rx_status->flag |= RX_FLAG_MACTIME_END;
10861086

10871087
return true;
10881088

0 commit comments

Comments
 (0)