Wi-Fi transceiver RX Data callback structure.
Public Attributes#
Status code for the received RX packet.
RSSI of the received 802.11 frame. This field is valid only if status is set to success.
Rate of the received 802.11 frame as per sl_wifi_data_rate_t. This field is valid only if status is set to success.
Length of the buffer.
IEEE 802.11 frame received from firmware.
Public Attribute Documentation#
status#
sl_status_t sl_wifi_transceiver_rx_data_t::status
Status code for the received RX packet.
Status | Description |
---|---|
SL_STATUS_OK (0x0) | Success |
SL_STATUS_UNKNOWN_PEER (0x3) | If SL_SI91X_FEAT_TRANSCEIVER_MAC_PEER_DS_SUPPORT feature is enabled and data packet is received from a peer not present in MAC layer |
600
of file components/protocol/wifi/inc/sl_wifi_types.h
rssi#
int8_t sl_wifi_transceiver_rx_data_t::rssi
RSSI of the received 802.11 frame. This field is valid only if status is set to success.
602
of file components/protocol/wifi/inc/sl_wifi_types.h
rate#
uint32_t sl_wifi_transceiver_rx_data_t::rate
Rate of the received 802.11 frame as per sl_wifi_data_rate_t. This field is valid only if status is set to success.
604
of file components/protocol/wifi/inc/sl_wifi_types.h
length#
uint32_t sl_wifi_transceiver_rx_data_t::length
Length of the buffer.
606
of file components/protocol/wifi/inc/sl_wifi_types.h
buffer#
uint8_t* sl_wifi_transceiver_rx_data_t::buffer
IEEE 802.11 frame received from firmware.
buffer
points to the beginning of the MAC header. Contents are not valid once the function returns. If the contents need to be accessed after return, it needs to be copied to the application buffer. If the status is not successful, buffer is set to NULL and shall not be accessed.
Format of IEEE 802.11 frame received from firmware in buffer
Field name | Frame Control | Duration | Addr1 | Addr2 | Adddr3 | Seq Ctrl | Addr4 | QoS ctrl | Payload (LLC + Data) |
---|---|---|---|---|---|---|---|---|---|
Size(bytes) | 2 | 2 | 6 | 6 | 6 | 2 | 6 (Optionally present) | 2 (Optionally present) | Variable |
Note
All unicast data frames received where Address 1 (RA) matches the device MAC address are passed to the host application.
All broadcast data frames are sent to the host.
All multicast data frames are sent to the host unless filtering is enabled using sl_wifi_set_transceiver_multicast_filter.
On chip duplicate detection is not supported and is expected to be handled by the application.
On chip MAC level decryption is not supported.
618
of file components/protocol/wifi/inc/sl_wifi_types.h