struct ieee80211_sta **sta)
 {
        struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb);
+       struct ieee80211_hdr *hdr = mt76_skb_get_hdr(skb);
        struct mt76_rx_status mstat;
 
        mstat = *((struct mt76_rx_status *)skb->cb);
        status->device_timestamp = mstat.timestamp;
        status->mactime = mstat.timestamp;
 
+       if (ieee80211_is_beacon(hdr->frame_control) ||
+           ieee80211_is_probe_resp(hdr->frame_control))
+               status->boottime_ns = ktime_get_boottime_ns();
+
        BUILD_BUG_ON(sizeof(mstat) > sizeof(skb->cb));
        BUILD_BUG_ON(sizeof(status->chain_signal) !=
                     sizeof(mstat.chain_signal));