1STRUCT IEEE80211_RX_(9) The basic mac80211 driver inte STRUCT IEEE80211_RX_(9)
2
3
4
6 struct_ieee80211_rx_status - receive status
7
9 struct ieee80211_rx_status {
10 u64 mactime;
11 u32 device_timestamp;
12 u32 ampdu_reference;
13 u32 flag;
14 u16 freq;
15 u8 vht_flag;
16 u8 rate_idx;
17 u8 vht_nss;
18 u8 rx_flags;
19 u8 band;
20 u8 antenna;
21 s8 signal;
22 u8 chains;
23 s8 chain_signal[IEEE80211_MAX_CHAINS];
24 u8 ampdu_delimiter_crc;
25 };
26
28 mactime
29 value in microseconds of the 64-bit Time Synchronization Function
30 (TSF) timer when the first data symbol (MPDU) arrived at the
31 hardware.
32
33 device_timestamp
34 arbitrary timestamp for the device, mac80211 doesn´t use it but can
35 store it and pass it back to the driver for synchronisation
36
37 ampdu_reference
38 A-MPDU reference number, must be a different value for each A-MPDU
39 but the same for each subframe within one A-MPDU
40
41 flag
42
43 RX_FLAG_*
44
45 freq
46 frequency the radio was tuned to when receiving this frame, in MHz
47
48 vht_flag
49
50 RX_VHT_FLAG_*
51
52 rate_idx
53 index of data rate into band´s supported rates or MCS index if HT
54 or VHT is used (RX_FLAG_HT/RX_FLAG_VHT)
55
56 vht_nss
57 number of streams (VHT only)
58
59 rx_flags
60 internal RX flags for mac80211
61
62 band
63 the active band when this frame was received
64
65 antenna
66 antenna used
67
68 signal
69 signal strength when receiving this frame, either in dBm, in dB or
70 unspecified depending on the hardware capabilities flags
71 IEEE80211_HW_SIGNAL_*
72
73 chains
74 bitmask of receive chains for which separate signal strength values
75 were filled.
76
77 chain_signal[IEEE80211_MAX_CHAINS]
78 per-chain signal strength, in dBm (unlike signal, doesn´t support
79 dB or unspecified units)
80
81 ampdu_delimiter_crc
82 A-MPDU delimiter CRC
83
85 The low-level driver should provide this information (the subset
86 supported by hardware) to the 802.11 code with each received frame, in
87 the skb´s control buffer (cb).
88
90 Johannes Berg <johannes@sipsolutions.net>
91 Author.
92
94Kernel Hackers Manual 2.6. June 2019 STRUCT IEEE80211_RX_(9)