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

What the co-processor knows about the AP the station is on. More...

#include <ra8_c6link_wifi.h>

Collaboration diagram for ra8_c6link_ap_info:

Data Fields

ra8_c6link_mac_t bssid
 Address of the associated AP.
char ssid [k_ra8_c6link_ssid_max+1U]
 Its SSID, NUL-terminated.
uint8_t ssid_len
 Octets of ssid.
uint8_t channel
 Primary channel in use.
int8_t rssi
 Signal level in dBm.
int32_t authmode
 Co-processor wifi_auth_mode_t.

Detailed Description

What the co-processor knows about the AP the station is on.

Filled by ra8_c6link_wifi_ap_info from the co-processor's own AP record. Useful as a post-association sanity check – the BSSID and channel here are what the radio actually settled on, which is not necessarily what was asked for when the request left the channel and BSSID open.

Invariant
ssid_len never exceeds k_ra8_c6link_ssid_max and ssid is NUL-terminated at it.
rssi is in dBm and is negative for any real association.
Example:
if (ra8_c6link_wifi_ap_info(&link, &ap) == k_ra8_ok) { use(ap.rssi); }
@ k_ra8_ok
Success – operation completed with all postconditions satisfied.
Definition ra8_err.h:119
See also
ra8_c6link_wifi_ap_info
Since
0.1.0

Definition at line 149 of file ra8_c6link_wifi.h.

Field Documentation

◆ authmode

int32_t ra8_c6link_ap_info::authmode

Co-processor wifi_auth_mode_t.

Definition at line 155 of file ra8_c6link_wifi.h.

Referenced by internal_c6link_op_get_ap(), and internal_c6link_take_ap().

◆ bssid

ra8_c6link_mac_t ra8_c6link_ap_info::bssid

Address of the associated AP.

Definition at line 150 of file ra8_c6link_wifi.h.

Referenced by internal_c6link_op_get_ap(), and internal_c6link_take_ap().

◆ channel

uint8_t ra8_c6link_ap_info::channel

Primary channel in use.

Definition at line 153 of file ra8_c6link_wifi.h.

Referenced by internal_c6link_op_get_ap(), and internal_c6link_take_ap().

◆ rssi

int8_t ra8_c6link_ap_info::rssi

Signal level in dBm.

Definition at line 154 of file ra8_c6link_wifi.h.

Referenced by internal_c6link_op_get_ap(), and internal_c6link_take_ap().

◆ ssid

char ra8_c6link_ap_info::ssid[k_ra8_c6link_ssid_max+1U]

Its SSID, NUL-terminated.

Definition at line 151 of file ra8_c6link_wifi.h.

Referenced by internal_c6link_op_get_ap(), and internal_c6link_take_ap().

◆ ssid_len

uint8_t ra8_c6link_ap_info::ssid_len

Octets of ssid.

Definition at line 152 of file ra8_c6link_wifi.h.

Referenced by internal_c6link_op_get_ap(), and internal_c6link_take_ap().


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