84 | | === NODE_TEMPERATURE === |
85 | | |
86 | | |
87 | | Fields: |
88 | | ||= Field Name =||= DataType =||= Description =|| |
89 | | || timestamp || uint64 || || |
90 | | || node_id || uint32 || || |
91 | | || serial_num || uint32 || || |
92 | | || temp_current || uint32 || || |
93 | | || temp_min || uint32 || || |
94 | | || temp_max || uint32 || || |
95 | | |
96 | | ---- |
97 | | |
98 | | |
99 | | === WN_CMD_INFO === |
| 86 | === Entry Type NODE_TEMPERATURE === |
| 87 | Record of the FPGA system monitor die temperature. This entry is only created when directed by a wlan_exp command. Temperature values are stored as 32-bit unsigned integers. To convert to degrees Celcius, apply (((float)temp_u32)/(65536.0*0.00198421639)) - 273.15 |
| 88 | |
| 89 | Entry type ID: 4 |
| 90 | |
| 91 | ||= Field Name =||= DataType =||= Description =|| |
| 92 | || timestamp || uint64 || Microsecond timer value at time of log entry creation || |
| 93 | || node_id || uint32 || wlan_exp node ID || |
| 94 | || serial_num || uint32 || Node serial number || |
| 95 | || temp_current || uint32 || Current FPGA die temperature || |
| 96 | || temp_min || uint32 || Minimum FPGA die temperature since FPGA configuration or sysmon reset || |
| 97 | || temp_max || uint32 || Maximum FPGA die temperature since FPGA configuration or sysmon reset || |
| 98 | |
| 99 | ---- |
| 100 | |
| 101 | |
| 102 | === Entry Type WN_CMD_INFO === |
143 | | || mac_payload_len || uint32 || || |
144 | | || mac_payload || 24uint8 || || |
145 | | |
146 | | ---- |
147 | | |
148 | | |
149 | | === TX === |
150 | | |
151 | | |
152 | | Fields: |
153 | | ||= Field Name =||= DataType =||= Description =|| |
154 | | || timestamp || uint64 || || |
155 | | || time_to_accept || uint32 || || |
156 | | || time_to_done || uint32 || || |
157 | | || uniq_seq || uint64 || || |
158 | | || num_tx || uint8 || || |
159 | | || tx_power || int8 || || |
160 | | || chan_num || uint8 || || |
161 | | || rate || uint8 || || |
162 | | || length || uint16 || || |
163 | | || result || uint8 || || |
164 | | || pkt_type || uint8 || || |
165 | | || ant_mode || uint8 || || |
166 | | || queue_id || uint8 || || |
| 149 | || mac_payload_len || uint32 || Length in bytes of MAC payload recorded in log for this packet || |
| 150 | || mac_payload || 24uint8 || First 24 bytes of MAC payload, typically the 802.11 MAC header || |
| 151 | |
| 152 | ---- |
| 153 | |
| 154 | |
| 155 | === Entry Type TX === |
| 156 | Tx events in CPU High, logged for each MPDU frame created and enqueued in CPU High. See TX_LOW for log entries of actual Tx events, including re-transmissions. The time values in this log entry can be used to determine time in queue (time_to_accept), time taken by CPU Low for all Tx attempts (time_to_done) and total time from creation to completion (time_to_accept+time_to_done). |
| 157 | |
| 158 | Entry type ID: 20 |
| 159 | |
| 160 | ||= Field Name =||= DataType =||= Description =|| |
| 161 | || timestamp || uint64 || Microsecond timer value at time packet was created, immediately before it was enqueued || |
| 162 | || time_to_accept || uint32 || Time duration in microseconds between packet creation and packet acceptance by CPU Low || |
| 163 | || time_to_done || uint32 || Time duration in microseconds between packet acceptance by CPU Low and Tx completion in CPU Low || |
| 164 | || uniq_seq || uint64 || Unique sequence number for Tx packet; 12 LSB of this used for 802.11 MAC header sequence number || |
| 165 | || num_tx || uint8 || Number of actual PHY Tx events which were used to transmit the MPDU (first Tx + all re-Tx) || |
| 166 | || tx_power || int8 || Tx power in dBm of final Tx attempt || |
| 167 | || chan_num || uint8 || Channel (center frequency) index of transmission || |
| 168 | || rate || uint8 || PHY rate index in [1:8] of final Tx attempt || |
| 169 | || length || uint16 || Length in bytes of MPDU; includes MAC header, payload and FCS || |
| 170 | || result || uint8 || Tx result; 0 = ACK received or not required || |
| 171 | || pkt_type || uint8 || Packet type: 1 = other data, 2 = encapsulated Ethernet, 3 = LTG, 11 = management, 21 = control || |
| 172 | || ant_mode || uint8 || PHY antenna mode of final Tx attempt || |
| 173 | || queue_id || uint8 || Tx queue ID from which the packet was retrieved || |
168 | | || mac_payload_len || uint32 || || |
169 | | || mac_payload || 24uint8 || || |
170 | | |
171 | | ---- |
172 | | |
173 | | |
174 | | === TX_LOW === |
175 | | |
176 | | |
177 | | Fields: |
178 | | ||= Field Name =||= DataType =||= Description =|| |
179 | | || timestamp || uint64 || || |
180 | | || uniq_seq || uint64 || || |
181 | | || rate || uint8 || || |
182 | | || ant_mode || uint8 || || |
183 | | || tx_power || int8 || || |
184 | | || flags || uint8 || || |
185 | | || tx_count || uint8 || || |
186 | | || chan_num || uint8 || || |
187 | | || length || uint16 || || |
188 | | || num_slots || uint16 || || |
189 | | || cw || uint16 || || |
190 | | || pkt_type || uint8 || || |
| 175 | || mac_payload_len || uint32 || Length in bytes of MAC payload recorded in log for this packet || |
| 176 | || mac_payload || 24uint8 || First 24 bytes of MAC payload, typically the 802.11 MAC header || |
| 177 | |
| 178 | ---- |
| 179 | |
| 180 | |
| 181 | === Entry Type TX_LOW === |
| 182 | Record of actual PHY transmission. At least one TX_LOW will be logged for every TX entry. Multiple TX_LOW entries may be created for the same TX entry if the low-level MAC re-transmitted the frame. The uniq_seq fields can be match between TX and TX_LOW entries to find records common to the same MPUD. |
| 183 | |
| 184 | Entry type ID: 21 |
| 185 | |
| 186 | ||= Field Name =||= DataType =||= Description =|| |
| 187 | || timestamp || uint64 || Microsecond timer value at time packet transmission actually started (PHY TX_START time) || |
| 188 | || uniq_seq || uint64 || Unique sequence number of original MPDU || |
| 189 | || rate || uint8 || PHY rate index in [1:8] || |
| 190 | || ant_mode || uint8 || PHY antenna mode in [1:4] || |
| 191 | || tx_power || int8 || Tx power in dBm || |
| 192 | || flags || uint8 || Tx PHY flags || |
| 193 | || tx_count || uint8 || Transmission index for this attempt; 0 = initial Tx, 1+ = subsequent re-transmissions || |
| 194 | || chan_num || uint8 || Channel (center frequency) index || |
| 195 | || length || uint16 || Length in bytes of MPDU; includes MAC header, payload and FCS || |
| 196 | || num_slots || uint16 || Number of backoff slots allotted prior to this transmission; may not have been used for initial Tx (tx_count==0) || |
| 197 | || cw || uint16 || Contention window value at time of this Tx || |
| 198 | || pkt_type || uint8 || Packet type: 1 = other data, 2 = encapsulated Ethernet, 3 = LTG, 11 = management, 21 = control || |
192 | | || mac_payload_len || uint32 || || |
193 | | || mac_payload || 24uint8 || || |
194 | | |
195 | | ---- |
196 | | |
197 | | |
198 | | === TXRX_STATS === |
199 | | |
200 | | |
201 | | Fields: |
202 | | ||= Field Name =||= DataType =||= Description =|| |
203 | | || timestamp || uint64 || || |
204 | | || last_timestamp || uint64 || || |
205 | | || mac_addr || 6uint8 || || |
206 | | || associated || uint8 || || |
| 200 | || mac_payload_len || uint32 || Length in bytes of MAC payload recorded in log for this packet || |
| 201 | || mac_payload || 24uint8 || First 24 bytes of MAC payload, typically the 802.11 MAC header || |
| 202 | |
| 203 | ---- |
| 204 | |
| 205 | |
| 206 | === Entry Type TXRX_STATS === |
| 207 | Copy of the Tx/Rx statistics struct maintained by CPU High. If promiscuous statistics mode is Tx/Rx stats structs will be maintained for every unique source MAC address, up to the max_stats value. Otherwise statistics are maintaind only associated nodes. |
| 208 | |
| 209 | Entry type ID: 30 |
| 210 | |
| 211 | ||= Field Name =||= DataType =||= Description =|| |
| 212 | || timestamp || uint64 || Microsecond timer value at time of log entry creation || |
| 213 | || last_timestamp || uint64 || Microsecond timer value at time of last Tx or Rx event to node with address mac_addr || |
| 214 | || mac_addr || 6uint8 || MAC address of remote node whose statics are recorded here || |
| 215 | || associated || uint8 || Boolean indicating whether remote node is currently associated with this node || |
208 | | || data_num_rx_bytes || uint64 || || |
209 | | || data_num_tx_bytes_success || uint64 || || |
210 | | || data_num_tx_bytes_total || uint64 || || |
211 | | || data_num_rx_packets || uint32 || || |
212 | | || data_num_tx_packets_success || uint32 || || |
213 | | || data_num_tx_packets_total || uint32 || || |
214 | | || data_num_tx_packets_low || uint32 || || |
215 | | || mgmt_num_rx_bytes || uint64 || || |
216 | | || mgmt_num_tx_bytes_success || uint64 || || |
217 | | || mgmt_num_tx_bytes_total || uint64 || || |
218 | | || mgmt_num_rx_packets || uint32 || || |
219 | | || mgmt_num_tx_packets_success || uint32 || || |
220 | | || mgmt_num_tx_packets_total || uint32 || || |
221 | | || mgmt_num_tx_packets_low || uint32 || || |
222 | | |
223 | | ---- |
224 | | |
225 | | |
226 | | === RX_OFDM === |
227 | | |
228 | | |
229 | | Fields: |
| 217 | || data_num_rx_bytes || uint64 || Total number of bytes received in DATA packets from remote node || |
| 218 | || data_num_tx_bytes_success || uint64 || Total number of bytes successfully transmitted in DATA packets to remote node || |
| 219 | || data_num_tx_bytes_total || uint64 || Total number of bytes transmitted (successfully or not) in DATA packets to remote node || |
| 220 | || data_num_rx_packets || uint32 || Total number of DATA packets received from remote node || |
| 221 | || data_num_tx_packets_success || uint32 || Total number of DATA packets successfully transmitted to remote node || |
| 222 | || data_num_tx_packets_total || uint32 || Total number of DATA packets transmitted (successfully or not) to remote node || |
| 223 | || data_num_tx_packets_low || uint32 || Total number of PHY transmissions of DATA packets to remote node (includes re-transmissions) || |
| 224 | || mgmt_num_rx_bytes || uint64 || Total number of bytes received in management packets from remote node || |
| 225 | || mgmt_num_tx_bytes_success || uint64 || Total number of bytes successfully transmitted in management packets to remote node || |
| 226 | || mgmt_num_tx_bytes_total || uint64 || Total number of bytes transmitted (successfully or not) in management packets to remote node || |
| 227 | || mgmt_num_rx_packets || uint32 || Total number of management packets received from remote node || |
| 228 | || mgmt_num_tx_packets_success || uint32 || Total number of management packets successfully transmitted to remote node || |
| 229 | || mgmt_num_tx_packets_total || uint32 || Total number of management packets transmitted (successfully or not) to remote node || |
| 230 | || mgmt_num_tx_packets_low || uint32 || Total number of PHY transmissions of management packets to remote node (includes re-transmissions) || |
| 231 | |
| 232 | ---- |
| 233 | |
| 234 | |
| 235 | === Entry Type RX_OFDM === |
| 236 | |
| 237 | |
| 238 | Entry type ID: 10 |
| 239 | |
242 | | || chan_est || (64,2)i2 || || |
243 | | || mac_payload_len || uint32 || || |
244 | | || mac_payload || 24uint8 || || |
245 | | |
246 | | ---- |
| 252 | || chan_est || (64,2)i2 || OFDM Rx channel estimates, packed as [(uint16)I (uint16)Q] values, one per subcarrier || |
| 253 | || mac_payload_len || uint32 || Length in bytes of MAC payload recorded in log for this packet || |
| 254 | || mac_payload || 24uint8 || First 24 bytes of MAC payload, typically the 802.11 MAC header || |
| 255 | |
| 256 | ---- |