24 #include "cy_result.h" 25 #include "cyhal_hw_types.h" 27 #ifndef INCLUDED_WHD_TYPES_H_ 28 #define INCLUDED_WHD_TYPES_H_ 38 #define SSID_NAME_SIZE (32) 40 #define WEP_ENABLED 0x0001 41 #define TKIP_ENABLED 0x0002 42 #define AES_ENABLED 0x0004 43 #define SHARED_ENABLED 0x00008000 44 #define WPA_SECURITY 0x00200000 45 #define WPA2_SECURITY 0x00400000 46 #define WPA3_SECURITY 0x01000000 47 #define SECURITY_MASK (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED) 49 #define ENTERPRISE_ENABLED 0x02000000 50 #define WPS_ENABLED 0x10000000 51 #define IBSS_ENABLED 0x20000000 52 #define FBT_ENABLED 0x40000000 54 #define PM1_POWERSAVE_MODE (1) 55 #define PM2_POWERSAVE_MODE (2) 56 #define NO_POWERSAVE_MODE (0) 61 #define UNUSED_PARAMETER(x) ( (void)(x) ) 66 #define UNUSED_VARIABLE(x) ( (void)(x) ) 71 #define REFERENCE_DEBUG_ONLY_VARIABLE(x) ( (void)(x) ) 76 typedef void *whd_buffer_t;
90 #define WIFI_IE_OUI_LENGTH (3) 94 #define BDC_HEADER_WITH_PAD 6 99 #define BDC_HEADER_OFFSET_TO_DATA 4 101 #define SDPCM_HEADER (8 + 4) 103 #define MAX_BUS_HEADER_SIZE 4 105 #define BUFFER_OVERHEAD 4 111 #define WHD_LINK_HEADER (BDC_HEADER_WITH_PAD + BDC_HEADER_OFFSET_TO_DATA + \ 112 SDPCM_HEADER + MAX_BUS_HEADER_SIZE + BUFFER_OVERHEAD) 117 #define WHD_ETHERNET_SIZE (14) 122 #define WHD_PHYSICAL_HEADER (WHD_LINK_HEADER + WHD_ETHERNET_SIZE) 127 #ifndef WHD_PAYLOAD_MTU 128 #define WHD_PAYLOAD_MTU (1500) 138 #define WHD_LINK_MTU (WHD_PAYLOAD_MTU + WHD_PHYSICAL_HEADER) 142 typedef uint64_t whd_thread_arg_t;
144 typedef uint32_t whd_thread_arg_t;
314 WHD_IOCTL_GET_RATE = 12,
315 WHD_IOCTL_GET_COUNTRY = 83,
316 WHD_IOCTL_GET_CLK = 160,
317 WHD_IOCTL_GET_WSEC = 133,
318 WHD_IOCTL_GET_AUTH = 21,
319 WHD_IOCTL_GET_WPA_AUTH = 164,
320 WHD_IOCTL_GET_PM = 85,
321 WHD_IOCTL_GET_BSSID = 23,
322 WHD_IOCTL_GET_ASSOCLIST = 159,
323 WHD_IOCTL_GET_BSS_INFO = 136,
324 WHD_IOCTL_GET_CHANNEL = 29
333 WHD_IOCTL_SET_CHANNEL = 30,
334 WHD_IOCTL_SET_WSEC_PMK = 268,
335 WHD_IOCTL_SET_KEY = 45,
336 WHD_IOCTL_SET_WPA_AUTH = 165,
337 WHD_IOCTL_SCB_DEAUTHENTICATE_FOR_REASON = 201,
338 WHD_IOCTL_SET_PM = 86,
339 WHD_IOCTL_SET_SSID = 26,
340 WHD_IOCTL_SET_BCNPRD = 76,
341 WHD_IOCTL_SET_DTIMPRD = 78,
342 WHD_IOCTL_SET_WSEC = 134,
343 WHD_IOCTL_SET_INFRA = 20,
344 WHD_IOCTL_SET_AUTH = 22
353 WHD_IOVAR_SET_MFP = 0,
355 WHD_IOVAR_SET_AMPDU_BA_WINDOW_SIZE,
356 WHD_IOVAR_SET_AMPDU_MPDU,
357 WHD_IOVAR_SET_LISTEN_INTERVAL_BEACON,
358 WHD_IOVAR_SET_LISTEN_INTERVAL_DTIM,
359 WHD_IOVAR_SET_LISTEN_INTERVAL_ASSOC,
367 WHD_IOVAR_GET_MFP = 0,
369 WHD_IOVAR_GET_AMPDU_BA_WINDOW_SIZE,
370 WHD_IOVAR_GET_AMPDU_MPDU,
421 #define MK_CNTRY(a, b, \ 422 rev) ( ( (unsigned char)(b) ) + ( ( (unsigned char)(a) ) << 8 ) + \ 423 ( ( (unsigned short)(rev) ) << 16 ) ) 425 #define MK_CNTRY(a, b, \ 426 rev) ( ( (unsigned char)(a) ) + ( ( (unsigned char)(b) ) << 8 ) + \ 427 ( ( (unsigned short)(rev) ) << 16 ) ) 721 #define MCSSET_LEN 16 751 uint32_t reserved32[1];
781 #define WHD_RESULT_TYPE 0 782 #define WHD_RESULT_CREATE(x) CY_RSLT_CREATE(WHD_RESULT_TYPE, CY_RSLT_MODULE_DRIVERS_WHD_BASE, (x) ) 784 #define WHD_SUCCESS CY_RSLT_SUCCESS 785 #define WHD_PENDING WHD_RESULT_CREATE(1) 786 #define WHD_TIMEOUT WHD_RESULT_CREATE(2) 787 #define WHD_BADARG WHD_RESULT_CREATE(5) 788 #define WHD_UNFINISHED WHD_RESULT_CREATE(10) 790 #define WHD_PARTIAL_RESULTS WHD_RESULT_CREATE(1003) 791 #define WHD_INVALID_KEY WHD_RESULT_CREATE(1004) 792 #define WHD_DOES_NOT_EXIST WHD_RESULT_CREATE(1005) 793 #define WHD_NOT_AUTHENTICATED WHD_RESULT_CREATE(1006) 794 #define WHD_NOT_KEYED WHD_RESULT_CREATE(1007) 795 #define WHD_IOCTL_FAIL WHD_RESULT_CREATE(1008) 796 #define WHD_BUFFER_UNAVAILABLE_TEMPORARY WHD_RESULT_CREATE(1009) 797 #define WHD_BUFFER_UNAVAILABLE_PERMANENT WHD_RESULT_CREATE(1010) 798 #define WHD_CONNECTION_LOST WHD_RESULT_CREATE(1012) 799 #define WHD_OUT_OF_EVENT_HANDLER_SPACE WHD_RESULT_CREATE(1013) 800 #define WHD_SEMAPHORE_ERROR WHD_RESULT_CREATE(1014) 801 #define WHD_FLOW_CONTROLLED WHD_RESULT_CREATE(1015) 802 #define WHD_NO_CREDITS WHD_RESULT_CREATE(1016) 803 #define WHD_NO_PACKET_TO_SEND WHD_RESULT_CREATE(1017) 804 #define WHD_CORE_CLOCK_NOT_ENABLED WHD_RESULT_CREATE(1018) 805 #define WHD_CORE_IN_RESET WHD_RESULT_CREATE(1019) 806 #define WHD_UNSUPPORTED WHD_RESULT_CREATE(1020) 807 #define WHD_BUS_WRITE_REGISTER_ERROR WHD_RESULT_CREATE(1021) 808 #define WHD_SDIO_BUS_UP_FAIL WHD_RESULT_CREATE(1022) 809 #define WHD_JOIN_IN_PROGRESS WHD_RESULT_CREATE(1023) 810 #define WHD_NETWORK_NOT_FOUND WHD_RESULT_CREATE(1024) 811 #define WHD_INVALID_JOIN_STATUS WHD_RESULT_CREATE(1025) 812 #define WHD_UNKNOWN_INTERFACE WHD_RESULT_CREATE(1026) 813 #define WHD_SDIO_RX_FAIL WHD_RESULT_CREATE(1027) 814 #define WHD_HWTAG_MISMATCH WHD_RESULT_CREATE(1028) 815 #define WHD_RX_BUFFER_ALLOC_FAIL WHD_RESULT_CREATE(1029) 816 #define WHD_BUS_READ_REGISTER_ERROR WHD_RESULT_CREATE(1030) 817 #define WHD_THREAD_CREATE_FAILED WHD_RESULT_CREATE(1031) 818 #define WHD_QUEUE_ERROR WHD_RESULT_CREATE(1032) 819 #define WHD_BUFFER_POINTER_MOVE_ERROR WHD_RESULT_CREATE(1033) 820 #define WHD_BUFFER_SIZE_SET_ERROR WHD_RESULT_CREATE(1034) 821 #define WHD_THREAD_STACK_NULL WHD_RESULT_CREATE(1035) 822 #define WHD_THREAD_DELETE_FAIL WHD_RESULT_CREATE(1036) 823 #define WHD_SLEEP_ERROR WHD_RESULT_CREATE(1037) 824 #define WHD_BUFFER_ALLOC_FAIL WHD_RESULT_CREATE(1038) 825 #define WHD_NO_PACKET_TO_RECEIVE WHD_RESULT_CREATE(1039) 826 #define WHD_INTERFACE_NOT_UP WHD_RESULT_CREATE(1040) 827 #define WHD_DELAY_TOO_LONG WHD_RESULT_CREATE(1041) 828 #define WHD_INVALID_DUTY_CYCLE WHD_RESULT_CREATE(1042) 829 #define WHD_PMK_WRONG_LENGTH WHD_RESULT_CREATE(1043) 830 #define WHD_UNKNOWN_SECURITY_TYPE WHD_RESULT_CREATE(1044) 831 #define WHD_WEP_NOT_ALLOWED WHD_RESULT_CREATE(1045) 832 #define WHD_WPA_KEYLEN_BAD WHD_RESULT_CREATE(1046) 833 #define WHD_FILTER_NOT_FOUND WHD_RESULT_CREATE(1047) 834 #define WHD_SPI_ID_READ_FAIL WHD_RESULT_CREATE(1048) 835 #define WHD_SPI_SIZE_MISMATCH WHD_RESULT_CREATE(1049) 836 #define WHD_ADDRESS_ALREADY_REGISTERED WHD_RESULT_CREATE(1050) 837 #define WHD_SDIO_RETRIES_EXCEEDED WHD_RESULT_CREATE(1051) 838 #define WHD_NULL_PTR_ARG WHD_RESULT_CREATE(1052) 839 #define WHD_THREAD_FINISH_FAIL WHD_RESULT_CREATE(1053) 840 #define WHD_WAIT_ABORTED WHD_RESULT_CREATE(1054) 841 #define WHD_SET_BLOCK_ACK_WINDOW_FAIL WHD_RESULT_CREATE(1055) 842 #define WHD_DELAY_TOO_SHORT WHD_RESULT_CREATE(1056) 843 #define WHD_INVALID_INTERFACE WHD_RESULT_CREATE(1057) 844 #define WHD_WEP_KEYLEN_BAD WHD_RESULT_CREATE(1058) 845 #define WHD_HANDLER_ALREADY_REGISTERED WHD_RESULT_CREATE(1059) 846 #define WHD_AP_ALREADY_UP WHD_RESULT_CREATE(1060) 847 #define WHD_EAPOL_KEY_PACKET_M1_TIMEOUT WHD_RESULT_CREATE(1061) 848 #define WHD_EAPOL_KEY_PACKET_M3_TIMEOUT WHD_RESULT_CREATE(1062) 849 #define WHD_EAPOL_KEY_PACKET_G1_TIMEOUT WHD_RESULT_CREATE(1063) 850 #define WHD_EAPOL_KEY_FAILURE WHD_RESULT_CREATE(1064) 851 #define WHD_MALLOC_FAILURE WHD_RESULT_CREATE(1065) 852 #define WHD_ACCESS_POINT_NOT_FOUND WHD_RESULT_CREATE(1066) 853 #define WHD_RTOS_ERROR WHD_RESULT_CREATE(1067) 854 #define WHD_CLM_BLOB_DLOAD_ERROR WHD_RESULT_CREATE(1068) 855 #define WHD_HAL_ERROR WHD_RESULT_CREATE(1069) 856 #define WHD_RTOS_STATIC_MEM_LIMIT WHD_RESULT_CREATE(1070) 858 #define WLAN_ENUM_OFFSET 2000 860 #define WHD_WLAN_ERROR WHD_RESULT_CREATE(2001) 861 #define WHD_WLAN_BADARG WHD_RESULT_CREATE(2002) 862 #define WHD_WLAN_BADOPTION WHD_RESULT_CREATE(2003) 863 #define WHD_WLAN_NOTUP WHD_RESULT_CREATE(2004) 864 #define WHD_WLAN_NOTDOWN WHD_RESULT_CREATE(2005) 865 #define WHD_WLAN_NOTAP WHD_RESULT_CREATE(2006) 866 #define WHD_WLAN_NOTSTA WHD_RESULT_CREATE(2007) 867 #define WHD_WLAN_BADKEYIDX WHD_RESULT_CREATE(2008) 868 #define WHD_WLAN_RADIOOFF WHD_RESULT_CREATE(2009) 869 #define WHD_WLAN_NOTBANDLOCKED WHD_RESULT_CREATE(2010) 870 #define WHD_WLAN_NOCLK WHD_RESULT_CREATE(2011) 871 #define WHD_WLAN_BADRATESET WHD_RESULT_CREATE(2012) 872 #define WHD_WLAN_BADBAND WHD_RESULT_CREATE(2013) 873 #define WHD_WLAN_BUFTOOSHORT WHD_RESULT_CREATE(2014) 874 #define WHD_WLAN_BUFTOOLONG WHD_RESULT_CREATE(2015) 875 #define WHD_WLAN_BUSY WHD_RESULT_CREATE(2016) 876 #define WHD_WLAN_NOTASSOCIATED WHD_RESULT_CREATE(2017) 877 #define WHD_WLAN_BADSSIDLEN WHD_RESULT_CREATE(2018) 878 #define WHD_WLAN_OUTOFRANGECHAN WHD_RESULT_CREATE(2019) 879 #define WHD_WLAN_BADCHAN WHD_RESULT_CREATE(2020) 880 #define WHD_WLAN_BADADDR WHD_RESULT_CREATE(2021) 881 #define WHD_WLAN_NORESOURCE WHD_RESULT_CREATE(2022) 882 #define WHD_WLAN_UNSUPPORTED WHD_RESULT_CREATE(2023) 883 #define WHD_WLAN_BADLEN WHD_RESULT_CREATE(2024) 884 #define WHD_WLAN_NOTREADY WHD_RESULT_CREATE(2025) 885 #define WHD_WLAN_EPERM WHD_RESULT_CREATE(2026) 886 #define WHD_WLAN_NOMEM WHD_RESULT_CREATE(2027) 887 #define WHD_WLAN_ASSOCIATED WHD_RESULT_CREATE(2028) 888 #define WHD_WLAN_RANGE WHD_RESULT_CREATE(2029) 889 #define WHD_WLAN_NOTFOUND WHD_RESULT_CREATE(2030) 890 #define WHD_WLAN_WME_NOT_ENABLED WHD_RESULT_CREATE(2031) 891 #define WHD_WLAN_TSPEC_NOTFOUND WHD_RESULT_CREATE(2032) 892 #define WHD_WLAN_ACM_NOTSUPPORTED WHD_RESULT_CREATE(2033) 893 #define WHD_WLAN_NOT_WME_ASSOCIATION WHD_RESULT_CREATE(2034) 894 #define WHD_WLAN_SDIO_ERROR WHD_RESULT_CREATE(2035) 895 #define WHD_WLAN_WLAN_DOWN WHD_RESULT_CREATE(2036) 896 #define WHD_WLAN_BAD_VERSION WHD_RESULT_CREATE(2037) 897 #define WHD_WLAN_TXFAIL WHD_RESULT_CREATE(2038) 898 #define WHD_WLAN_RXFAIL WHD_RESULT_CREATE(2039) 899 #define WHD_WLAN_NODEVICE WHD_RESULT_CREATE(2040) 900 #define WHD_WLAN_UNFINISHED WHD_RESULT_CREATE(2041) 901 #define WHD_WLAN_NONRESIDENT WHD_RESULT_CREATE(2042) 902 #define WHD_WLAN_DISABLED WHD_RESULT_CREATE(2043) 903 #define WHD_WLAN_NOFUNCTION WHD_RESULT_CREATE(2044) 904 #define WHD_WLAN_INVALID WHD_RESULT_CREATE(2045) 905 #define WHD_WLAN_NOBAND WHD_RESULT_CREATE(2046) 1023 #define PORT_FILTER_LEN 26 1024 #define PACKET_FILTER_LIST_BUFFER_MAX_LEN 1000 1048 #define TKO_DATA_OFFSET offsetof(wl_tko_t, data) Specifies that a filter should NOT match a given pattern.
uint32_t length
byte length of data in this record, starting at version and including IEs
whd_802_11_band_t
Enumeration of 802.11 radio bands.
Denotes 2.4GHz radio band.
uint8_t n_cap
BSS is 802.11N Capable.
Denotes either infrastructure or ad-hoc network.
ST Sao_Tome_and_Principe.
Denotes authentication response packet.
whd_mac_t BSSID
Unique 6-byte MAC address.
whd_mac_t BSSID
Basic Service Set Identification (i.e.
struct wl_bss_info_struct wl_bss_info_t
BSS(Basic Service Set) information structure.
uint16_t max_win
LE Max Scan window.
Specifies bus type and write direction.
TZ Tanzania,_United_Republic_Of.
Structure for storing radio band list information.
uint8_t * pattern
Pattern bytes used to filter eg.
WPA Enterprise Security with AES & TKIP.
Flag to enable WEP Security.
Structure to store scan result parameters for each AP.
PM Saint_Pierre_and_Miquelon.
WEP PSK Security with shared authentication.
Add a custom IE(Information Element)
int32_t scan_home_channel_dwell_time_between_channels_ms
Period of time to wait on the home channel when scanning.
IO British_Indian_Ocean_Territory.
struct whd_btc_lescan_params whd_btc_lescan_params_t
Structure for LE Scan parameters.
whd_packet_filter_rule_t rule
Filter matches are either POSITIVE or NEGATIVE matching.
Get/Set TKO intervals & retrys.
uint32_t nbss_cap
802.11N BSS Capabilities (based on HT_CAP_*)
whd_country_code_t
Enumerated list of country codes.
Q1 United_States Revision 931.
uint32_t max_data_rate
Maximum data rate in kilobits/s.
int8_t phy_noise
noise (in dBm)
int16_t signal_strength
Receive Signal Strength Indication in dBm.
whd_usr_iovar_get_list_t
IOVAR get list.
Denotes a custom IE(Information Element) identifier.
May be returned by scan function if security is unknown.
TF French_Southern_Territories.
whd_btc_lescan_params_t le_scan_params
LE Scan Parameters.
struct whd_simple_scan_result whd_sync_scan_result_t
Structure to store scan result parameters for each AP.
E0 European_Wide Revision 895.
#define SSID_NAME_SIZE
SSID Length.
LA Lao_People's_Democratic_Repubic.
uint8_t SSID_len
SSID length.
Struct to query FW for current TKO configuation.
Permit (passively) scanning a channel that isn't valid for the current country.
CD Congo,_The_Democratic_Republic_Of_The.
whd_ssid_t SSID
Service Set Identification (i.e.
IR Iran,_Islamic_Republic_Of.
struct whd_scan_result * next
Pointer to the next scan result.
whd_802_11_band_t band
Radio band.
UM United_States_Minor_Outlying_Islands.
Structure for SDIO config parameters which can be set by application during whd power up...
struct whd_oob_config whd_oob_config_t
Structure for Out-of-band interrupt config parameters which can be set by application during whd powe...
BA Bosnia_and_Herzegovina.
Structure for storing AP information.
whd_usr_ioctl_set_list_t
Enumeration of ioctl set.
Structure for storing extended scan parameters.
int32_t scan_passive_dwell_time_per_channel_ms
Period of time to wait on each channel when passive scanning.
Denotes an 802.11 ad-hoc IBSS network.
WPA Enterprise Security with AES.
VG Virgin_Islands,_British.
Denotes that scan is not finished.
uint16_t offset
Offset in bytes to start filtering (referenced to the start of the ethernet packet) ...
uint8_t dtim
Listen interval in DTIM periods.
Structure for storing scan results.
whd_scan_type_t
Enumeration of methods of scanning.
WPA PSK Security with TKIP.
whd_security_t
Enumeration of Wi-Fi security modes.
uint16_t wl_chanspec_t
Channel specified in uint16_t.
Disables the client support for MFP.
struct whd_coex_config whd_coex_config_t
Structure for coex config parameters which can be set by application.
uint16_t duty_cycle
LE scan duty cycle.
struct whd_ap_info whd_ap_info_t
Structure for storing AP information.
uint8_t * ie_ptr
Pointer to received Beacon/Probe Response IE(Information Element)
int32_t number_of_probes_per_channel
Number of probes to send on each channel.
whd_scan_result_flag_t
Enumeration of scan result flags.
uint32_t count
Count of rates in this set.
WPA3 WPA2 PSK Security with AES.
Structure for storing a Service Set Identifier (i.e.
uint8_t channel
Radio channel that the AP beacon was received on.
whd_bus_transfer_direction_t
Transfer direction for the WHD platform bus interface.
Denotes probe request packet.
WPA2 WPA PSK Security with AES.
uint8_t length
SSID length.
whd_usr_iovar_set_list_t
IOVAR set list.
whd_bool_t enabled_status
When returned from wwd_wifi_get_packet_filters, indicates if the filter is enabled.
whd_802_11_band_t band
Radio band.
whd_bool_t
Boolean values.
KN Saint_Kitts_and_Nevis.
uint8_t dev_gpio_sel
WiFi device-side GPIO pin selection (must be zero)
uint8_t ctl_ch
802.11N BSS control channel number
#define WEP_ENABLED
Flag to enable WEP Security.
uint32_t max_data_rate
Maximum data rate in kilobits/s.
Denotes association request packet.
Return a scan record for each beacon or probe response RX'ed.
WPA2 Enterprise Security with AES.
int32_t other_band
If value of number_of_bands parameter is 2, then this member specifies the 2nd band.
WPA PSK Security with AES & TKIP.
Structure for storing 802.11 powersave listen interval values See whd_wifi_get_listen_interval for m...
#define FBT_ENABLED
Flag to enable FBT.
whd_security_t security
Security type.
whd_security_t security
Security type.
#define IBSS_ENABLED
Flag to enable IBSS mode.
int32_t current_band
Current band type: WLC_BAND_2G or WLC_BAND_5G.
uint16_t mask_size
Size of the mask in bytes.
#define SHARED_ENABLED
Flag to enable Shared key Security.
uint16_t int_grant
LE Small Interval Grant.
Status of each TCP connection.
FM Micronesia,_Federated_States_Of.
Denotes association response packet.
Beacon (vs probe response)
Structure for storing a MAC address (Wi-Fi Media Access Control address).
int16_t SNR
Average SNR(signal to noise ratio) during frame reception.
WPA2 PSK Security with TKIP.
uint8_t channel
Radio channel that the AP beacon was received on.
Actively scan a network by sending 802.11 probe(s)
#define ENTERPRISE_ENABLED
Flag to enable Enterprise Security.
int32_t number_of_bands
Number of bands supported, currently 1 or 2.
uint32_t version
version field
Time units specified in beacon periods.
#define WPA2_SECURITY
Flag to enable WPA2 Security.
whd_ie_packet_flag_t
Enumeration of applicable packet mask bits for custom Information Elements (IEs)
uint32_t whd_result_t
WHD result is specified as uint32_t value.
struct whd_sdio_config whd_sdio_config_t
Structure for SDIO config parameters which can be set by application during whd power up...
Clients are allowed to associate only if MFP is negotiated.
int16_t signal_strength
Receive Signal Strength Indication in dBm.
Structure to store fields after ethernet header in event message.
Structure for coex config parameters which can be set by application.
whd_usr_ioctl_get_list_t
Enumeration of ioctl get.
VC Saint_Vincent_and_The_Grenadines.
whd_mac_t BSSID
Basic Service Set Identification (i.e.
LY Libyan_Arab_Jamahiriya.
uint32_t ie_len
Length of IE(Information Element)
Denotes infrastructure network.
Successful completion of scan.
struct whd_spi_config whd_spi_config_t
Structure for SPI config parameters which can be set by application during whd power up...
#define TKIP_ENABLED
Flag to enable TKIP Encryption.
uint32_t count
Number of MAC addresses in the list.
whd_bool_t is_falling_edge
Interrupt trigger (polarity)
TC Turks_and_Caicos_Islands.
int16_t signal_strength
Receive Signal Strength Indication in dBm.
whd_bool_t sdio_1bit_mode
Default is false, means SDIO operates under 4 bit mode.
uint8_t index
WEP key index [0/1/2/3].
Open security on IBSS ad-hoc network.
Denotes 802.11 mesh network.
uint16_t capability
Capability information.
whd_security_t security
Security type.
whd_listen_interval_time_unit_t
Enumeration of listen interval time unit types.
Structure for Out-of-band interrupt config parameters which can be set by application during whd powe...
Allows both MFP-capable and clients that do not support MFP to join the network.
struct whd_ap_info * next
Pointer to the next scan result.
WPA Enterprise Security with TKIP.
Structure describing a packet filter list item.
uint8_t channel
Radio channel that the AP beacon was received on.
WPA2 PSK Security with AES & TKIP.
TW Taiwan,_Province_Of_China.
WPA2 PSK Security with AES.
uint8_t * mask
Pattern mask bytes to be ANDed with the pattern eg.
WPA2 Enterprise Security with TKIP.
Structure for storing a WEP key.
int32_t scan_active_dwell_time_per_channel_ms
Period of time to wait on each channel when active scanning.
US United_States Revision 4.
WPA2 FBT PSK Security with AES & TKIP.
int16_t RSSI
receive signal strength (in dBm)
whd_bool_t high_speed_sdio_clock
Default is false, means SDIO operates in normal clock rate.
uint16_t atim_window
Announcement traffic indication message window size.
Remove a custom IE(Information Element)
struct whd_scan_result whd_scan_result_t
Structure for storing scan results.
WPA2 WPA PSK Security with AES & TKIP.
MK Macedonia,_Former_Yugoslav_Republic_Of.
Structure describing a list of associated softAP clients.
Worldwide Locale Revision 983.
uint8_t dtim_period
Delivery traffic indication message period.
WPA2 Enterprise Security with AES & FBT.
#define MK_CNTRY(a, b, rev)
Macro for creating country codes according to endianness.
whd_scan_status_t
Structure for storing scan status.
Exists only to force whd_security_t type to 32 bits.
uint8_t intr_priority
OOB interrupt priority.
Worldwide Locale (passive Ch12-14) Revision 17.
whd_dot11_reason_code_t
Enumeration of Dot11 Reason Codes.
FK Falkland_Islands_(Malvinas)
BSS(Basic Service Set) information structure.
whd_bool_t is_spi_normal_mode
Default is false.
uint32_t ie_length
byte length of Information Elements
uint8_t ccode[2]
Two letter ISO country code from AP.
Get Listen Interval value.
wl_chanspec_t chanspec
Channel specification for basic service set.
Structure for SPI config parameters which can be set by application during whd power up...
MP Northern_Mariana_Islands.
whd_oob_config_t oob_config
Out-of-band interrupt configuration.
whd_bss_type_t bss_type
Network type.
Worldwide Locale (passive Ch12-14)
uint16_t scan_int
LE scan interval.
uint16_t scan_win
LE scan Window.
whd_ssid_t SSID
Service Set Identification (i.e.
CF Central_African_Republic.
Specifies that a filter should match a given pattern.
May be returned by scan function if BSS type is unknown.
#define AES_ENABLED
Flag to enable AES Encryption.
whd_bss_type_t
Enumeration of network types.
Passively scan a network by listening for beacons from APs.
whd_bss_type_t bss_type
Network type.
MF Sanit_Martin_/_Sint_Marteen.
uint16_t ie_offset
offset at which IEs start, from beginning
#define WPA_SECURITY
Flag to enable WPA Security.
whd_mac_t BSSID
Basic Service Set Identification (i.e.
#define WPA3_SECURITY
Flag to enable WPA3 PSK Security.
whd_packet_filter_rule_t
Enumeration of packet filter rules.
cyhal_gpio_t host_oob_pin
Host-side GPIO pin selection.
uint16_t assoc
Listen interval as sent to APs.
Time units specified in DTIM periods.
Structure for LE Scan parameters.
Use preferred network offload to detect an AP.
whd_ssid_t SSID
Service Set Identification (i.e.
whd_custom_ie_action_t
Enumeration of custom IE(Information Element) management actions.
Flag to enable AES Encryption.
WPA2 Enterprise Security with AES & TKIP.
uint32_t whd_time_t
Time value in milliseconds.
whd_buffer_t whd_buffer_queue_ptr_t
type definition for whd_buffer_t
RSSI came from an off channel DSSS (1 or 1 Mb) Rx.
uint16_t beacon_period
Interval between two consecutive beacon frames.
Specifies bus type and read direction.
uint16_t priority
LE scan priority.
#define MCSSET_LEN
Maximum allowed mcs rate.
VA Holy_See_(Vatican_City_State)
uint32_t id
Unique identifier for a packet filter item.
Denotes probe response packet.
Q2 United_States_(No_DFS)
uint8_t beacon
Listen interval in beacon periods.
uint8_t length
WEP key length.
WPA PSK Security with AES.
whd_oob_config_t oob_config
Out-of-band interrupt configuration (required when bus can sleep)