diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2021-03-30 01:25:00 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-04-12 23:07:24 +0200 |
commit | 0fda6d7bb5a29b241fba8d37b92567c6bec79655 (patch) | |
tree | bbe0ad24a13d855bd21cc8ec35e564d2c51e130a /drivers/net/wireless/mediatek/mt76/mt7615/init.c | |
parent | 92e916362ba58e080a8b8e97556d11670ea6ce3d (diff) | |
download | linux-stable-0fda6d7bb5a29b241fba8d37b92567c6bec79655.tar.gz linux-stable-0fda6d7bb5a29b241fba8d37b92567c6bec79655.tar.bz2 linux-stable-0fda6d7bb5a29b241fba8d37b92567c6bec79655.zip |
mt76: report Rx timestamp
Frame reception timestamp (low 32-bits) that indicates the value of the
local TSF timer value at the time the first bit of the MAC header in the
received frame (PPDU unit) arriving at the MAC.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/init.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7615/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/init.c b/drivers/net/wireless/mediatek/mt76/mt7615/init.c index 857fb4918975..1e418740c17b 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/init.c @@ -333,6 +333,9 @@ mt7615_init_wiphy(struct ieee80211_hw *hw) hw->max_rate_tries = 11; hw->netdev_features = NETIF_F_RXCSUM; + hw->radiotap_timestamp.units_pos = + IEEE80211_RADIOTAP_TIMESTAMP_UNIT_US; + phy->slottime = 9; hw->sta_data_size = sizeof(struct mt7615_sta); |