ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_wifi_mac Struct Reference

One IEEE 802 address, by value. More...

#include <ra8_wifi.h>

Data Fields

uint8_t octet [k_ra8_wifi_mac_bytes]
 Address octets, first on the wire first.

Detailed Description

One IEEE 802 address, by value.

A named type rather than a bare uint8_t[6] so it can be returned and copied without an array-decay parameter that loses its length. It is what an IP stack must use as its own hardware address.

Invariant
Exactly k_ra8_wifi_mac_bytes octets, in transmission order.
An all-zero value is never a real station address, so it doubles as the "not yet read" sentinel.
Example:
ra8_wifi_mac_t mac = {};
(void)ra8_wifi_get_mac(&wifi, &mac);
ra8_err_t ra8_wifi_get_mac(ra8_wifi_t *wifi, ra8_wifi_mac_t *out)
Read the station's own MAC address.
Definition ra8_wifi.c:434
struct ra8_wifi_mac ra8_wifi_mac_t
See also
ra8_wifi_get_mac
Since
0.1.0

Definition at line 209 of file ra8_wifi.h.

Field Documentation

◆ octet

uint8_t ra8_wifi_mac::octet[k_ra8_wifi_mac_bytes]

Address octets, first on the wire first.

Definition at line 210 of file ra8_wifi.h.

Referenced by internal_c6link_op_get_ap(), internal_c6link_op_get_mac(), wifi_hal_ip_bind(), and wifi_hal_put_mac().


The documentation for this struct was generated from the following file: