The auth_mode field in cyw43_ev_scan_result_t isn't right. (Did I add the doxygen?)
/*!
* \brief Structure to return wifi scan results
*/
//!\{
typedef struct _cyw43_ev_scan_result_t {
uint32_t _0[5];
uint8_t bssid[6]; ///< access point mac address
uint16_t _1[2];
uint8_t ssid_len; ///< length of wlan access point name
uint8_t ssid[32]; ///< wlan access point name
uint32_t _2[5];
uint16_t channel; ///< wifi channel
uint16_t _3;
uint8_t auth_mode; ///< wifi auth mode \ref CYW43_AUTH_
int16_t rssi; ///< signal strength
} cyw43_ev_scan_result_t;
//!\}
It's only 8 bits when it needs to be 32 bits. I think it's actually the dtim period if you look where it's pulled from the frame.
I have some code that extracts this value from the RSN information element if you would like this to be fixed? I think it's useful to know if an AP is WPA2 or WPA3?
The auth_mode field in cyw43_ev_scan_result_t isn't right. (Did I add the doxygen?)
It's only 8 bits when it needs to be 32 bits. I think it's actually the dtim period if you look where it's pulled from the frame.
I have some code that extracts this value from the RSN information element if you would like this to be fixed? I think it's useful to know if an AP is WPA2 or WPA3?