FW IF

The nRF70 Wi-Fi firmware interface (FW IF) used by the nRF70 Wi-Fi driver to communicate with the nRF70 Series Wi-Fi chipset. These header files are shared between the nRF70 Wi-Fi driver and the nRF70 Wi-Fi firmware.

group nrf_wifi_fw_if

Common interface between host and RPU.

nRF70 patch version.

Common structures and definitions.

Control interface between host and RPU.

System interface between host and RPU.

Data interface between host and RPU.

Defines

NRF_WIFI_UMAC_VER(version)
NRF_WIFI_UMAC_VER_MAJ(version)
NRF_WIFI_UMAC_VER_MIN(version)
NRF_WIFI_UMAC_VER_EXTRA(version)
RPU_MEM_UMAC_BOOT_SIG
RPU_MEM_UMAC_VER
RPU_MEM_UMAC_PEND_Q_BMP
RPU_MEM_UMAC_CMD_ADDRESS
RPU_MEM_UMAC_EVENT_ADDRESS
RPU_MEM_UMAC_PATCH_BIN
RPU_MEM_UMAC_PATCH_BIMG
NRF_WIFI_UMAC_BOOT_SIG
NRF_WIFI_UMAC_ROM_PATCH_OFFSET
NRF_WIFI_UMAC_BOOT_EXCP_VECT_0
NRF_WIFI_UMAC_BOOT_EXCP_VECT_1
NRF_WIFI_UMAC_BOOT_EXCP_VECT_2
NRF_WIFI_UMAC_BOOT_EXCP_VECT_3
NRF_WIFI_PENDING_FRAMES_BITMAP_AC_VO
NRF_WIFI_PENDING_FRAMES_BITMAP_AC_VI
NRF_WIFI_PENDING_FRAMES_BITMAP_AC_BE
NRF_WIFI_PENDING_FRAMES_BITMAP_AC_BK
TX_BUF_HEADROOM
NRF_WIFI_TX_FLAGS_DSCP_TOS_MASK
NRF_WIFI_TX_FLAGS_DSCP_TOS_SHIFT
NRF_WIFI_TX_FLAGS_DSCP_TOS(x)
NRF_WIFI_TX_STATUS_SUCCESS
NRF_WIFI_TX_STATUS_FAILED
NRF_WIFI_CLIENT_ACTIVE

SoftAP client is in active mode

NRF_WIFI_CLIENT_PS_MODE

SoftAP client is in power save mode

USE_PROTECTION_NONE
USE_PROTECTION_RTS
USE_PROTECTION_CTS2SELF
USE_SHORT_PREAMBLE
DONT_USE_SHORT_PREAMBLE
MARK_RATE_AS_MCS_INDEX
MARK_RATE_AS_RATE
ENABLE_GREEN_FIELD
ENABLE_CHNL_WIDTH_40MHZ
ENABLE_SGI
ENABLE_11N_FORMAT
ENABLE_VHT_FORMAT
ENABLE_CHNL_WIDTH_80MHZ
MAX_TX_AGG_SIZE
MAX_RX_BUFS_PER_EVNT
MAX_MGMT_BUFS
MAX_RF_CALIB_DATA
NRF_WIFI_ETH_ADDR_LEN
PHY_THRESHOLD_NORMAL
PHY_THRESHOLD_PROD_MODE
MAX_TX_STREAMS
MAX_RX_STREAMS
MAX_NUM_VIFS
MAX_NUM_STAS
MAX_NUM_APS
NRF_WIFI_COUNTRY_CODE_LEN
NRF_WIFI_FEATURE_DISABLE

Feature Disable

NRF_WIFI_FEATURE_ENABLE

Feature Enable

TWT_EXTEND_SP_EDCA
DISABLE_DFS_CHANNELS
NRF_WIFI_HE_GI_800NS
NRF_WIFI_HE_GI_1600NS
NRF_WIFI_HE_GI_3200NS
NRF_WIFI_HE_LTF_3200NS
NRF_WIFI_HE_LTF_6400NS
NRF_WIFI_HE_LTF_12800NS
NRF_WIFI_DISABLE
NRF_WIFI_ENABLE
MAX_NRF_WIFI_UMAC_CMD_SIZE
IEEE80211_STYPE_DISASSOC
IEEE80211_STYPE_DEAUTH
NRF_WIFI_MAX_SSID_LEN
NRF_WIFI_MAX_IE_LEN
NRF_WIFI_MAX_SEQ_LENGTH
NRF_WIFI_MAX_KEY_LENGTH
NRF_WIFI_MAX_SAE_DATA_LENGTH
NRF_WIFI_MAX_FRAME_LEN
NRF_WIFI_INDEX_IDS_WDEV_ID_VALID
NRF_WIFI_INDEX_IDS_IFINDEX_VALID
NRF_WIFI_INDEX_IDS_WIPHY_IDX_VALID
NRF_WIFI_SUPP_RATES_BAND_VALID
NRF_WIFI_MAX_SUPP_RATES
NRF_WIFI_SCAN_MAX_NUM_SSIDS
NRF_WIFI_SCAN_MAX_NUM_FREQUENCIES
NRF_WIFI_SCAN_BAND_2GHZ
NRF_WIFI_SCAN_BAND_5GHZ
NRF_WIFI_SCAN_BAND_6GHZ
NRF_WIFI_HT_CAPABILITY_VALID
NRF_WIFI_HT_CAPABILITY_MASK_VALID
NRF_WIFI_VHT_CAPABILITY_VALID
NRF_WIFI_VHT_CAPABILITY_MASK_VALID
NRF_WIFI_CMD_HT_VHT_CAPABILITY_DISABLE_HT
NRF_WIFI_HT_VHT_CAPABILITY_MAX_SIZE
NRF_WIFI_SIGNAL_TYPE_NONE
NRF_WIFI_SIGNAL_TYPE_MBM
NRF_WIFI_SIGNAL_TYPE_UNSPEC
NRF_WIFI_WPA_VERSION_1
NRF_WIFI_WPA_VERSION_2
NRF_WIFI_CONNECT_COMMON_INFO_MAC_ADDR_VALID
NRF_WIFI_CONNECT_COMMON_INFO_MAC_ADDR_HINT_VALID
NRF_WIFI_CONNECT_COMMON_INFO_FREQ_VALID
NRF_WIFI_CONNECT_COMMON_INFO_FREQ_HINT_VALID
NRF_WIFI_CONNECT_COMMON_INFO_BG_SCAN_PERIOD_VALID
NRF_WIFI_CONNECT_COMMON_INFO_SSID_VALID
NRF_WIFI_CONNECT_COMMON_INFO_WPA_IE_VALID
NRF_WIFI_CONNECT_COMMON_INFO_WPA_VERSIONS_VALID
NRF_WIFI_CONNECT_COMMON_INFO_CIPHER_SUITES_PAIRWISE_VALID
NRF_WIFI_CONNECT_COMMON_INFO_CIPHER_SUITE_GROUP_VALID
NRF_WIFI_CONNECT_COMMON_INFO_AKM_SUITES_VALID
NRF_WIFI_CONNECT_COMMON_INFO_USE_MFP_VALID
NRF_WIFI_CONNECT_COMMON_INFO_CONTROL_PORT_ETHER_TYPE
NRF_WIFI_CONNECT_COMMON_INFO_CONTROL_PORT_NO_ENCRYPT
NRF_WIFI_MAX_NR_AKM_SUITES
NRF_WIFI_CMD_CONNECT_COMMON_INFO_USE_RRM
NRF_WIFI_CONNECT_COMMON_INFO_PREV_BSSID
NRF_WIFI_CONNECT_COMMON_INFO_SECURITY
NRF_WIFI_BEACON_DATA_MAX_HEAD_LEN
NRF_WIFI_BEACON_DATA_MAX_TAIL_LEN
NRF_WIFI_BEACON_DATA_MAX_PROBE_RESP_LEN
NRF_WIFI_STA_FLAG_INVALID
NRF_WIFI_STA_FLAG_AUTHORIZED
NRF_WIFI_STA_FLAG_SHORT_PREAMBLE
NRF_WIFI_STA_FLAG_WME
NRF_WIFI_STA_FLAG_MFP
NRF_WIFI_STA_FLAG_AUTHENTICATED
NRF_WIFI_STA_FLAG_TDLS_PEER
NRF_WIFI_STA_FLAG_ASSOCIATED
NRF_WIFI_RATE_INFO_BITRATE_VALID
NRF_WIFI_RATE_INFO_BITRATE_COMPAT_VALID
NRF_WIFI_RATE_INFO_BITRATE_MCS_VALID
NRF_WIFI_RATE_INFO_BITRATE_VHT_MCS_VALID
NRF_WIFI_RATE_INFO_BITRATE_VHT_NSS_VALID
NRF_WIFI_RATE_INFO_0_MHZ_WIDTH
NRF_WIFI_RATE_INFO_5_MHZ_WIDTH
NRF_WIFI_RATE_INFO_10_MHZ_WIDTH
NRF_WIFI_RATE_INFO_40_MHZ_WIDTH
NRF_WIFI_RATE_INFO_80_MHZ_WIDTH
NRF_WIFI_RATE_INFO_160_MHZ_WIDTH
NRF_WIFI_RATE_INFO_SHORT_GI
NRF_WIFI_RATE_INFO_80P80_MHZ_WIDTH
NRF_WIFI_BSS_PARAM_FLAGS_CTS_PROT
NRF_WIFI_BSS_PARAM_FLAGS_SHORT_PREAMBLE
NRF_WIFI_BSS_PARAM_FLAGS_SHORT_SLOT_TIME
NRF_WIFI_STA_INFO_CONNECTED_TIME_VALID
NRF_WIFI_STA_INFO_INACTIVE_TIME_VALID
NRF_WIFI_STA_INFO_RX_BYTES_VALID
NRF_WIFI_STA_INFO_TX_BYTES_VALID
NRF_WIFI_STA_INFO_CHAIN_SIGNAL_VALID
NRF_WIFI_STA_INFO_CHAIN_SIGNAL_AVG_VALID
NRF_WIFI_STA_INFO_TX_BITRATE_VALID
NRF_WIFI_STA_INFO_RX_BITRATE_VALID
NRF_WIFI_STA_INFO_STA_FLAGS_VALID
NRF_WIFI_STA_INFO_LLID_VALID
NRF_WIFI_STA_INFO_PLID_VALID
NRF_WIFI_STA_INFO_SIGNAL_VALID
NRF_WIFI_STA_INFO_SIGNAL_AVG_VALID
NRF_WIFI_STA_INFO_RX_PACKETS_VALID
NRF_WIFI_STA_INFO_TX_PACKETS_VALID
NRF_WIFI_STA_INFO_TX_RETRIES_VALID
NRF_WIFI_STA_INFO_TX_FAILED_VALID
NRF_WIFI_STA_INFO_EXPECTED_THROUGHPUT_VALID
NRF_WIFI_STA_INFO_BEACON_LOSS_COUNT_VALID
NRF_WIFI_STA_INFO_LOCAL_PM_VALID
NRF_WIFI_STA_INFO_PEER_PM_VALID
NRF_WIFI_STA_INFO_NONPEER_PM_VALID
NRF_WIFI_STA_INFO_T_OFFSET_VALID
NRF_WIFI_STA_INFO_RX_DROPPED_MISC_VALID
NRF_WIFI_STA_INFO_RX_BEACON_VALID
NRF_WIFI_STA_INFO_RX_BEACON_SIGNAL_AVG_VALID
NRF_WIFI_STA_INFO_STA_BSS_PARAMS_VALID
NRF_WIFI_IEEE80211_MAX_CHAINS
NRF_WIFI_KEY_VALID
NRF_WIFI_KEY_TYPE_VALID
NRF_WIFI_KEY_IDX_VALID
NRF_WIFI_SEQ_VALID
NRF_WIFI_CIPHER_SUITE_VALID
NRF_WIFI_KEY_INFO_VALID
NRF_WIFI_KEY_DEFAULT
NRF_WIFI_KEY_DEFAULT_TYPES
NRF_WIFI_KEY_DEFAULT_MGMT
NRF_WIFI_KEY_DEFAULT_TYPE_UNICAST
NRF_WIFI_KEY_DEFAULT_TYPE_MULTICAST
MCAST_ADDR_ADD
MCAST_ADDR_DEL
NRF_WIFI_CMD_AUTHENTICATE_KEY_INFO_VALID
NRF_WIFI_CMD_AUTHENTICATE_BSSID_VALID
NRF_WIFI_CMD_AUTHENTICATE_FREQ_VALID
NRF_WIFI_CMD_AUTHENTICATE_SSID_VALID
NRF_WIFI_CMD_AUTHENTICATE_IE_VALID
NRF_WIFI_CMD_AUTHENTICATE_SAE_VALID
NRF_WIFI_CMD_AUTHENTICATE_LOCAL_STATE_CHANGE
NRF_WIFI_CMD_ASSOCIATE_MAC_ADDR_VALID
NRF_WIFI_CMD_MLME_MAC_ADDR_VALID
NRF_WIFI_CMD_MLME_LOCAL_STATE_CHANGE
NRF_WIFI_CMD_NEW_INTERFACE_USE_4ADDR_VALID
NRF_WIFI_CMD_NEW_INTERFACE_MAC_ADDR_VALID
NRF_WIFI_CMD_NEW_INTERFACE_IFTYPE_VALID
NRF_WIFI_CMD_NEW_INTERFACE_IFNAME_VALID
NRF_WIFI_FRAME_MATCH_MAX_LEN
NRF_WIFI_CMD_KEY_MAC_ADDR_VALID
NRF_WIFI_CMD_SET_BSS_CTS_VALID
NRF_WIFI_CMD_SET_BSS_PREAMBLE_VALID
NRF_WIFI_CMD_SET_BSS_SLOT_VALID
NRF_WIFI_CMD_SET_BSS_HT_OPMODE_VALID
NRF_WIFI_CMD_SET_BSS_AP_ISOLATE_VALID
NRF_WIFI_CMD_SET_BSS_P2P_CTWINDOW_VALID
NRF_WIFI_CMD_SET_BSS_P2P_OPPPS_VALID
NRF_WIFI_BASIC_MAX_SUPP_RATES
NRF_WIFI_SET_FREQ_PARAMS_FREQ_VALID
NRF_WIFI_SET_FREQ_PARAMS_CHANNEL_WIDTH_VALID
NRF_WIFI_SET_FREQ_PARAMS_CENTER_FREQ1_VALID
NRF_WIFI_SET_FREQ_PARAMS_CENTER_FREQ2_VALID
NRF_WIFI_SET_FREQ_PARAMS_CHANNEL_TYPE_VALID
NRF_WIFI_TX_POWER_SETTING_TYPE_VALID
NRF_WIFI_TX_POWER_SETTING_TX_POWER_LEVEL_VALID
NRF_WIFI_CMD_SET_WIPHY_FREQ_PARAMS_VALID
NRF_WIFI_CMD_SET_WIPHY_TXQ_PARAMS_VALID
NRF_WIFI_CMD_SET_WIPHY_RTS_THRESHOLD_VALID
NRF_WIFI_CMD_SET_WIPHY_FRAG_THRESHOLD_VALID
NRF_WIFI_CMD_SET_WIPHY_TX_POWER_SETTING_VALID
NRF_WIFI_CMD_SET_WIPHY_ANTENNA_TX_VALID
NRF_WIFI_CMD_SET_WIPHY_ANTENNA_RX_VALID
NRF_WIFI_CMD_SET_WIPHY_RETRY_SHORT_VALID
NRF_WIFI_CMD_SET_WIPHY_RETRY_LONG_VALID
NRF_WIFI_CMD_SET_WIPHY_COVERAGE_CLASS_VALID
NRF_WIFI_CMD_SET_WIPHY_WIPHY_NAME_VALID
NRF_WIFI_CMD_DEL_STATION_MAC_ADDR_VALID
NRF_WIFI_CMD_DEL_STATION_MGMT_SUBTYPE_VALID
NRF_WIFI_CMD_DEL_STATION_REASON_CODE_VALID
NRF_WIFI_EXT_CAPABILITY_MAX_LEN
NRF_WIFI_SUPPORTED_CHANNELS_MAX_LEN
NRF_WIFI_OPER_CLASSES_MAX_LEN
NRF_WIFI_STA_FLAGS2_MAX_LEN
NRF_WIFI_CMD_SET_STATION_SUPP_RATES_VALID
NRF_WIFI_CMD_SET_STATION_AID_VALID
NRF_WIFI_CMD_SET_STATION_PEER_AID_VALID
NRF_WIFI_CMD_SET_STATION_STA_CAPABILITY_VALID
NRF_WIFI_CMD_SET_STATION_EXT_CAPABILITY_VALID
NRF_WIFI_CMD_SET_STATION_STA_VLAN_VALID
NRF_WIFI_CMD_SET_STATION_HT_CAPABILITY_VALID
NRF_WIFI_CMD_SET_STATION_VHT_CAPABILITY_VALID
NRF_WIFI_CMD_SET_STATION_OPMODE_NOTIF_VALID
NRF_WIFI_CMD_SET_STATION_SUPPORTED_CHANNELS_VALID
NRF_WIFI_CMD_SET_STATION_SUPPORTED_OPER_CLASSES_VALID
NRF_WIFI_CMD_SET_STATION_STA_FLAGS2_VALID
NRF_WIFI_CMD_SET_STATION_STA_WME_UAPSD_QUEUES_VALID
NRF_WIFI_CMD_SET_STATION_STA_WME_MAX_SP_VALID
NRF_WIFI_CMD_SET_STATION_LISTEN_INTERVAL_VALID
NRF_WIFI_CMD_NEW_STATION_SUPP_RATES_VALID
NRF_WIFI_CMD_NEW_STATION_AID_VALID
NRF_WIFI_CMD_NEW_STATION_PEER_AID_VALID
NRF_WIFI_CMD_NEW_STATION_STA_CAPABILITY_VALID
NRF_WIFI_CMD_NEW_STATION_EXT_CAPABILITY_VALID
NRF_WIFI_CMD_NEW_STATION_STA_VLAN_VALID
NRF_WIFI_CMD_NEW_STATION_HT_CAPABILITY_VALID
NRF_WIFI_CMD_NEW_STATION_VHT_CAPABILITY_VALID
NRF_WIFI_CMD_NEW_STATION_OPMODE_NOTIF_VALID
NRF_WIFI_CMD_NEW_STATION_SUPPORTED_CHANNELS_VALID
NRF_WIFI_CMD_NEW_STATION_SUPPORTED_OPER_CLASSES_VALID
NRF_WIFI_CMD_NEW_STATION_STA_FLAGS2_VALID
NRF_WIFI_CMD_NEW_STATION_STA_WME_UAPSD_QUEUES_VALID
NRF_WIFI_CMD_NEW_STATION_STA_WME_MAX_SP_VALID
NRF_WIFI_CMD_NEW_STATION_LISTEN_INTERVAL_VALID
NRF_WIFI_CMD_BEACON_INFO_BEACON_INTERVAL_VALID
NRF_WIFI_CMD_BEACON_INFO_AUTH_TYPE_VALID
NRF_WIFI_CMD_BEACON_INFO_VERSIONS_VALID
NRF_WIFI_CMD_BEACON_INFO_CIPHER_SUITE_GROUP_VALID
NRF_WIFI_CMD_BEACON_INFO_INACTIVITY_TIMEOUT_VALID
NRF_WIFI_CMD_BEACON_INFO_FREQ_PARAMS_VALID
NRF_WIFI_CMD_BEACON_INFO_PRIVACY
NRF_WIFI_CMD_BEACON_INFO_CONTROL_PORT_NO_ENCRYPT
NRF_WIFI_CMD_BEACON_INFO_P2P_CTWINDOW_VALID
NRF_WIFI_CMD_BEACON_INFO_P2P_OPPPS_VALID
NRF_WIFI_SET_INTERFACE_IFTYPE_VALID
NRF_WIFI_SET_INTERFACE_USE_4ADDR_VALID
IFACENAMSIZ
NRF_WIFI_CMD_FRAME_FREQ_VALID
NRF_WIFI_CMD_FRAME_DURATION_VALID
NRF_WIFI_CMD_SET_FRAME_FREQ_PARAMS_VALID
NRF_WIFI_CMD_FRAME_OFFCHANNEL_TX_OK
NRF_WIFI_CMD_FRAME_TX_NO_CCK_RATE
NRF_WIFI_CMD_FRAME_DONT_WAIT_FOR_ACK
NRF_WIFI_TWT_NEGOTIATION_TYPE_INDIVIDUAL
NRF_WIFI_TWT_NEGOTIATION_TYPE_BROADCAST
NRF_WIFI_TWT_FLOW_TYPE_ANNOUNCED
NRF_WIFI_TWT_FLOW_TYPE_UNANNOUNCED
NRF_WIFI_TWT_RESP_RECEIVED
NRF_WIFI_TWT_RESP_NOT_RECEIVED
NRF_WIFI_INVALID_TWT_WAKE_INTERVAL
INVALID_TIME
TRIGGER_NOT_RECEIVED
TWT_BLOCK_TX
TWT_UNBLOCK_TX
UAPSD_Q_MIN
UAPSD_Q_MAX
NRF_WIFI_EVENT_NEW_SCAN_RESULTS_MAC_ADDR_VALID
NRF_WIFI_EVENT_NEW_SCAN_RESULTS_IES_TSF_VALID
NRF_WIFI_EVENT_NEW_SCAN_RESULTS_IES_VALID
NRF_WIFI_EVENT_NEW_SCAN_RESULTS_BEACON_IES_TSF_VALID
NRF_WIFI_EVENT_NEW_SCAN_RESULTS_BEACON_IES_VALID
NRF_WIFI_EVENT_NEW_SCAN_RESULTS_BEACON_INTERVAL_VALID
NRF_WIFI_EVENT_NEW_SCAN_RESULTS_SIGNAL_VALID
NRF_WIFI_EVENT_NEW_SCAN_RESULTS_STATUS_VALID
NRF_WIFI_EVENT_NEW_SCAN_RESULTS_BSS_PRESP_DATA
NRF_WIFI_NEW_SCAN_RESULTS_BSS_PRESP_DATA
NRF_WIFI_802_11A
NRF_WIFI_802_11B
NRF_WIFI_802_11G
NRF_WIFI_802_11N
NRF_WIFI_802_11AC
NRF_WIFI_802_11AX
NRF_WIFI_MFP_REQUIRED
NRF_WIFI_MFP_CAPABLE
DISPLAY_BSS_TOHOST_PEREVNT
NRF_WIFI_EVENT_MLME_FRAME_VALID
NRF_WIFI_EVENT_MLME_MAC_ADDR_VALID
NRF_WIFI_EVENT_MLME_FREQ_VALID
NRF_WIFI_EVENT_MLME_RX_SIGNAL_DBM_VALID
NRF_WIFI_EVENT_MLME_WME_UAPSD_QUEUES_VALID
NRF_WIFI_EVENT_MLME_RXMGMT_FLAGS_VALID
NRF_WIFI_EVENT_MLME_IE_VALID
NRF_WIFI_EVENT_MLME_TIMED_OUT
NRF_WIFI_EVENT_MLME_ACK
NRF_WIFI_CMD_SEND_STATION_ASSOC_REQ_IES_VALID
NRF_WIFI_MAX_TWT_FLOWS
NRF_WIFI_PS_MODE_LEGACY
NRF_WIFI_PS_MODE_WMM
NRF_WIFI_LISTEN_INTERVAL_MIN

Given that most APs typically use a DTIM value of 3, we anticipate a minimum listen interval of 3 beacon intervals.

NRF_WIFI_EVENT_TRIGGER_SCAN_IE_VALID
NRF_WIFI_EVENT_TRIGGER_SCAN_SCAN_FLAGS_VALID
NRF_WIFI_CMD_ROC_FREQ_PARAMS_VALID
NRF_WIFI_CMD_ROC_DURATION_VALID
NRF_WIFI_EVENT_ROC_FREQ_VALID
NRF_WIFI_EVENT_ROC_DURATION_VALID
NRF_WIFI_EVENT_ROC_CH_TYPE_VALID
NRF_WIFI_INTERFACE_INFO_CHAN_DEF_VALID
NRF_WIFI_INTERFACE_INFO_SSID_VALID
NRF_WIFI_INTERFACE_INFO_IFNAME_VALID
NRF_WIFI_HT_MCS_MASK_LEN
NRF_WIFI_HT_MCS_RES_LEN
NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_NO_IR
NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_NO_IBSS
NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_RADAR
NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_NO_HT40_MINUS
NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_NO_HT40_PLUS
NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_NO_80MHZ
NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_NO_160MHZ
NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_INDOOR_ONLY
NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_GO_CONCURRENT
NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_NO_20MHZ
NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_NO_10MHZ
NRF_WIFI_CHAN_FLAG_FREQUENCY_DISABLED
NRF_WIFI_CHAN_DFS_VALID
NRF_WIFI_CHAN_DFS_CAC_TIME_VALID
NRF_WIFI_EVENT_GET_WIPHY_FLAG_RATE_SHORT_PREAMBLE
NRF_WIFI_EVENT_GET_WIPHY_VALID_RADAR_DETECT_WIDTHS
NRF_WIFI_EVENT_GET_WIPHY_VALID_RADAR_DETECT_REGIONS
NRF_WIFI_EVENT_GET_WIPHY_VALID_
NRF_WIFI_EVENT_GET_WIPHY_IBSS_RSN
NRF_WIFI_EVENT_GET_WIPHY_MESH_AUTH
NRF_WIFI_EVENT_GET_WIPHY_AP_UAPSD
NRF_WIFI_EVENT_GET_WIPHY_SUPPORTS_FW_ROAM
NRF_WIFI_EVENT_GET_WIPHY_SUPPORTS_TDLS
NRF_WIFI_EVENT_GET_WIPHY_TDLS_EXTERNAL_SETUP
NRF_WIFI_EVENT_GET_WIPHY_CONTROL_PORT_ETHERTYPE
NRF_WIFI_EVENT_GET_WIPHY_OFFCHANNEL_TX_OK
NRF_WIFI_GET_WIPHY_VALID_PROBE_RESP_OFFLOAD
NRF_WIFI_GET_WIPHY_VALID_TX_ANT
NRF_WIFI_GET_WIPHY_VALID_RX_ANT
NRF_WIFI_GET_WIPHY_VALID_MAX_NUM_SCAN_SSIDS
NRF_WIFI_GET_WIPHY_VALID_NUM_SCHED_SCAN_SSIDS
NRF_WIFI_GET_WIPHY_VALID_MAX_MATCH_SETS
NRF_WIFI_GET_WIPHY_VALID_MAC_ACL_MAX
NRF_WIFI_GET_WIPHY_VALID_HAVE_AP_SME
NRF_WIFI_GET_WIPHY_VALID_EXTENDED_CAPABILITIES
NRF_WIFI_GET_WIPHY_VALID_MAX_AP_ASSOC_STA
NRF_WIFI_GET_WIPHY_VALID_WIPHY_NAME
NRF_WIFI_GET_WIPHY_VALID_EXTENDED_FEATURES
NRF_WIFI_EVENT_GET_WIPHY_MAX_CIPHER_COUNT
NRF_WIFI_INDEX_IDS_WIPHY_NAME
NRF_WIFI_EVENT_GET_WIPHY_NUM_BANDS
EXTENDED_FEATURE_LEN
DIV_ROUND_UP_NL(n, d)
REG_RULE_FLAGS_VALID
FREQ_RANGE_START_VALID
FREQ_RANGE_END_VALID
FREQ_RANGE_MAX_BW_VALID
POWER_RULE_MAX_EIRP_VALID
NRF_WIFI_RULE_FLAGS_NO_OFDM
NRF_WIFI_RULE_FLAGS_NO_CCK
NRF_WIFI_RULE_FLAGS_NO_INDOOR
NRF_WIFI_RULE_FLAGS_NO_OUTDOOR
NRF_WIFI_RULE_FLAGS_DFS
NRF_WIFI_RULE_FLAGS_PTP_ONLY
NRF_WIFI_RULE_FLAGS_PTMP_ONLY
NRF_WIFI_RULE_FLAGS_NO_IR
NRF_WIFI_RULE_FLAGS_IBSS
NRF_WIFI_RULE_FLAGS_AUTO_BW
NRF_WIFI_RULE_FLAGS_IR_CONCURRENT
NRF_WIFI_RULE_FLAGS_NO_HT40MINUS
NRF_WIFI_RULE_FLAGS_NO_HT40PLUS
NRF_WIFI_RULE_FLAGS_NO_80MHZ
NRF_WIFI_RULE_FLAGS_NO_160MHZ
NRF_WIFI_CMD_SET_REG_ALPHA2_VALID
NRF_WIFI_CMD_SET_REG_RULES_VALID
NRF_WIFI_CMD_SET_REG_DFS_REGION_VALID
MAX_NUM_REG_RULES
NRF_WIFI_CMD_REQ_SET_REG_ALPHA2_VALID
NRF_WIFI_CMD_REQ_SET_REG_USER_REG_HINT_TYPE_VALID
NRF_WIFI_CMD_REQ_SET_REG_USER_REG_FORCE
RPU_MEM_LMAC_BOOT_SIG
RPU_MEM_LMAC_VER
RPU_MEM_LMAC_PATCH_BIN
RPU_MEM_LMAC_PATCH_BIMG
NRF_WIFI_LMAC_VER(ver)
NRF_WIFI_LMAC_VER_MAJ(ver)
NRF_WIFI_LMAC_VER_MIN(ver)
NRF_WIFI_LMAC_VER_EXTRA(ver)
NRF_WIFI_LMAC_BOOT_SIG
NRF_WIFI_LMAC_ROM_PATCH_OFFSET
NRF_WIFI_LMAC_BOOT_EXCP_VECT_0
NRF_WIFI_LMAC_BOOT_EXCP_VECT_1
NRF_WIFI_LMAC_BOOT_EXCP_VECT_2
NRF_WIFI_LMAC_BOOT_EXCP_VECT_3
NRF_WIFI_LMAC_MAX_RX_BUFS
HW_SLEEP_ENABLE
SW_SLEEP_ENABLE
SLEEP_DISABLE
HW_DELAY
SW_DELAY
BCN_TIMEOUT
CALIB_SLEEP_CLOCK_ENABLE
ACTIVE_SCAN_DURATION
PASSIVE_SCAN_DURATION
WORKING_CH_SCAN_DURATION
CHNL_PROBE_CNT
PKT_TYPE_MPDU
PKT_TYPE_MSDU_WITH_MAC
PKT_TYPE_MSDU
NRF_WIFI_RPU_PWR_STATUS_SUCCESS
NRF_WIFI_RPU_PWR_STATUS_FAIL
MAX_RSSI_SAMPLES

struct lmac_prod_stats : used to get the production mode stats

MAX_NUM_OF_RX_QUEUES
BIT(x)
NRF_WIFI_PATCH_SIGNATURE
NRF_WIFI_PATCH_HASH_LEN
NRF_WIFI_PATCH_NUM_IMAGES
RPU_FAMILY
RPU_MAJOR_VERSION
RPU_MINOR_VERSION
RPU_PATCH_VERSION

Enums

enum nrf_wifi_host_rpu_msg_type

This enum defines the different categories of messages that can be exchanged between the Host and the RPU.

Values:

enumerator NRF_WIFI_HOST_RPU_MSG_TYPE_SYSTEM

System interface messages

enumerator NRF_WIFI_HOST_RPU_MSG_TYPE_SUPPLICANT

Unused

enumerator NRF_WIFI_HOST_RPU_MSG_TYPE_DATA

Data path messages

enumerator NRF_WIFI_HOST_RPU_MSG_TYPE_UMAC

Control path messages

enum nrf_wifi_umac_data_commands

UMAC data interface commands and events.

Values:

enumerator NRF_WIFI_CMD_MGMT_BUFF_CONFIG

Unused.

enumerator NRF_WIFI_CMD_TX_BUFF

Transmit data packet nrf_wifi_tx_buff

enumerator NRF_WIFI_CMD_TX_BUFF_DONE

TX done event nrf_wifi_tx_buff_done

enumerator NRF_WIFI_CMD_RX_BUFF

RX packet event nrf_wifi_rx_buff

enumerator NRF_WIFI_CMD_CARRIER_ON

Event to indicate interface is operational nrf_wifi_data_carrier_state

enumerator NRF_WIFI_CMD_CARRIER_OFF

Event to indicate interface is non-operational nrf_wifi_data_carrier_state

enumerator NRF_WIFI_CMD_PM_MODE

Event to indicate softap client’s power save mode If client is in power save mode, host should start buffering packets until it receives NRF_WIFI_CMD_PS_GET_FRAMES event.

enumerator NRF_WIFI_CMD_PS_GET_FRAMES

Event to indicate to start sending buffered packets for softap client nrf_wifi_sap_ps_get_frames.

enum nrf_wifi_tx_flags

Values:

enumerator NRF_WIFI_TX_FLAG_TWT_EMERGENCY_TX
enumerator NRF_WIFI_TX_FLAG_CHKSUM_AVAILABLE
enum nrf_wifi_rx_pkt_type

This structure defines the type of received packet.

Values:

enumerator NRF_WIFI_RX_PKT_DATA

The Rx packet is of type data

enumerator NRF_WIFI_RX_PKT_BCN_PRB_RSP

RX packet is beacon or probe response

enumerator NRF_WIFI_RAW_RX_PKT

Raw Rx packet

enum rpu_op_mode

This enum provides a list of different operating modes.

Values:

enumerator RPU_OP_MODE_RADIO_TEST

Radio test mode is used for performing radio tests using continuous Tx/Rx on a configured channel at a particular rate or power.

enumerator RPU_OP_MODE_FCM

In this mode different types of calibration like RF calibration can be performed

enumerator RPU_OP_MODE_REG

Regular mode of operation

enumerator RPU_OP_MODE_DBG

Debug mode can be used to control certain parameters like TX rate in order to debug functional issues.

enumerator RPU_OP_MODE_MAX

Highest mode number currently defined

enum rpu_stats_type

This enum defines various types of statistics.

Values:

enumerator RPU_STATS_TYPE_ALL

All statistics includes PHY, LMAC & UMAC

enumerator RPU_STATS_TYPE_HOST

Host statistics

enumerator RPU_STATS_TYPE_UMAC

UMAC statistics

enumerator RPU_STATS_TYPE_LMAC

LMAC statistics

enumerator RPU_STATS_TYPE_PHY

PHY statistics

enumerator RPU_STATS_TYPE_MAX

Highest statistics type number currently defined

enum rpu_tput_mode

  • Throughput mode Throughput mode to be used for transmitting the packet.

Values:

enumerator RPU_TPUT_MODE_LEGACY

Legacy mode

enumerator RPU_TPUT_MODE_HT

High Throuput mode(11n)

enumerator RPU_TPUT_MODE_VHT

Very hight throughput(11ac)

enumerator RPU_TPUT_MODE_HE_SU

HE SU mode

enumerator RPU_TPUT_MODE_HE_ER_SU

HE ER SU mode

enumerator RPU_TPUT_MODE_HE_TB

HE TB mode

enumerator RPU_TPUT_MODE_MAX

Highest throughput mode currently defined

enum nrf_wifi_sys_commands

  • System commands.

Values:

enumerator NRF_WIFI_CMD_INIT

Command to initialize RPU and RPU responds with NRF_WIFI_EVENT_INIT_DONE

enumerator NRF_WIFI_CMD_TX

command to send a Tx packet in radiotest mode

enumerator NRF_WIFI_CMD_IF_TYPE

Unused

enumerator NRF_WIFI_CMD_MODE

command to specify mode of operation

enumerator NRF_WIFI_CMD_GET_STATS

command to get statistics

enumerator NRF_WIFI_CMD_CLEAR_STATS

command to clear statistics

enumerator NRF_WIFI_CMD_RX

command to ENABLE/DISABLE receiving packets in radiotest mode

enumerator NRF_WIFI_CMD_PWR

Command to measure battery voltage and RPU responds with NRF_WIFI_EVENT_PWR_DATA

enumerator NRF_WIFI_CMD_DEINIT

RPU De-initialization

enumerator NRF_WIFI_CMD_SRCOEX

Command for WIFI & SR coexistence

enumerator NRF_WIFI_CMD_RF_TEST

Command to start RF test

enumerator NRF_WIFI_CMD_HE_GI_LTF_CONFIG

Configure HE_GI & HE_LTF

enumerator NRF_WIFI_CMD_UMAC_INT_STATS

Command for getting UMAC memory statistics

enumerator NRF_WIFI_CMD_RADIO_TEST_INIT

Command for Setting the channel & Rf params in radiotest mode

enumerator NRF_WIFI_CMD_RT_REQ_SET_REG

Command for setting country in radiotest mode

enumerator NRF_WIFI_CMD_TX_FIX_DATA_RATE

Command to enable/disable fixed data rate in regular mode

enumerator NRF_WIFI_CMD_CHANNEL

Command to set channel in promiscuous, monitor & packet injector mode

enumerator NRF_WIFI_CMD_RAW_CONFIG_MODE

Command to configure promiscuous mode, Monitor mode & packet injector mode

enumerator NRF_WIFI_CMD_RAW_CONFIG_FILTER

Command to configure promiscuous mode, Monitor mode filter

enumerator NRF_WIFI_CMD_RAW_TX_PKT

Command to configure packet injector mode or Raw Tx mode

enumerator NRF_WIFI_CMD_RESET_STATISTICS

Command to reset interface statistics

enum nrf_wifi_sys_events

  • Events from the RPU.

Values:

enumerator NRF_WIFI_EVENT_PWR_DATA

Response to NRF_WIFI_CMD_PWR

enumerator NRF_WIFI_EVENT_INIT_DONE

Response to NRF_WIFI_CMD_INIT

enumerator NRF_WIFI_EVENT_STATS

Response to NRF_WIFI_CMD_GET_STATS

enumerator NRF_WIFI_EVENT_DEINIT_DONE

Response to NRF_WIFI_CMD_DEINIT

enumerator NRF_WIFI_EVENT_RF_TEST

Response to NRF_WIFI_CMD_RF_TEST

enumerator NRF_WIFI_EVENT_COEX_CONFIG

Response to NRF_WIFI_CMD_SRCOEX.

enumerator NRF_WIFI_EVENT_INT_UMAC_STATS

Response to NRF_WIFI_CMD_UMAC_INT_STATS

enumerator NRF_WIFI_EVENT_RADIOCMD_STATUS

Command status events for radio test commands

enumerator NRF_WIFI_EVENT_CHANNEL_SET_DONE

Response to NRF_WIFI_CMD_CHANNEL

enumerator NRF_WIFI_EVENT_MODE_SET_DONE

Response to NRF_WIFI_CMD_RAW_CONFIG_MODE

enumerator NRF_WIFI_EVENT_FILTER_SET_DONE

Response to NRF_WIFI_CMD_RAW_CONFIG_FILTER

enumerator NRF_WIFI_EVENT_RAW_TX_DONE

Tx done event for the Raw Tx

enum rpu_ch_bw

  • Channel Bandwidth types.

Values:

enumerator RPU_CH_BW_20

20MHz bandwidth

enumerator RPU_CH_BW_40

40MHz bandwidth

enumerator RPU_CH_BW_MAX

80MHz bandwidth

enum max_rx_ampdu_size

The maximum Rx (receive) A-MPDU size in KB.

Values:

enumerator MAX_RX_AMPDU_SIZE_8KB

8KB AMPDU Size

enumerator MAX_RX_AMPDU_SIZE_16KB

16KB AMPDU Size

enumerator MAX_RX_AMPDU_SIZE_32KB

32KB AMPDU Size

enumerator MAX_RX_AMPDU_SIZE_64KB

64KB AMPDU Size

enum op_band

This enum defines different types of operating bands.

Values:

enumerator BAND_ALL

All bands

enumerator BAND_24G

2.4Ghz band

enum data_retrieve_mechanism

This enum specifies the type of frames used to retrieve buffered data from the AP in power save mode.

Values:

enumerator PS_POLL_FRAME

Retrieves data from the AP using a PS-Poll frame

enumerator QOS_NULL_FRAME

Retrieves data from the AP using a QoS Null frame

enumerator AUTOMATIC

For future implementation. The RPU will decide which frame to use

enum rpu_pkt_preamble

This enum represents the different types of preambles used. Preambles are sequences of known symbols transmitted before the actual data transmission to enable synchronization, channel estimation, and frame detection at the receiver.

Values:

enumerator RPU_PKT_PREAMBLE_SHORT

Short preamble packet

enumerator RPU_PKT_PREAMBLE_LONG

Long preamble packet

enumerator RPU_PKT_PREAMBLE_MIXED

mixed preamble packet

enumerator RPU_PKT_PREAMBLE_MAX

Highest preamble type currently defined

enum wifi_operation_modes

This enum represents different types of operation modes.

Values:

enumerator NRF_WIFI_STA_MODE

STA mode setting enable.

enumerator NRF_WIFI_MONITOR_MODE

Monitor mode setting enable.

enumerator NRF_WIFI_TX_INJECTION_MODE

TX injection mode setting enable.

enumerator NRF_WIFI_PROMISCUOUS_MODE

Promiscuous mode setting enable.

enumerator NRF_WIFI_AP_MODE

AP mode setting enable.

enumerator NRF_WIFI_STA_AP_MODE

STA-AP mode setting enable.

enumerator WIFI_MODE_LIMIT_CHK

Max limit check based on current modes supported.

enum wifi_packet_filter

This enum represents different types of filters used.

Values:

enumerator NRF_WIFI_PACKET_FILTER_ALL

Support management, data and control packet sniffing.

enumerator NRF_WIFI_PACKET_FILTER_MGMT

Support only sniffing of management packets.

enumerator NRF_WIFI_PACKET_FILTER_DATA

Support only sniffing of data packets.

enumerator NRF_WIFI_PACKET_FILTER_CTRL

Support only sniffing of control packets.

enum UMAC_QUEUE_NUM

This enum represents the queues used to segregate the TX frames depending on their QoS categories. A separate queue is used for Beacon frames / frames transmitted during DTIM intervals.

Values:

enumerator UMAC_AC_BK

Queue for frames belonging to the “Background” Access Category.

enumerator UMAC_AC_BE

Queue for frames belonging to the “Best-Effort” Access Category.

enumerator UMAC_AC_VI

Queue for frames belonging to the “Video” Access Category.

enumerator UMAC_AC_VO

Queue for frames belonging to the “Voice” Access Category.

enumerator UMAC_AC_BCN

Queue for frames belonging to the “Beacon” Access Category.

enumerator UMAC_AC_MAX_CNT

Maximum number of transmit queues supported.

enum nrf_wifi_radio_test_err_status

This enum defines various error status values that may occur during a radio test.

Values:

enumerator NRF_WIFI_UMAC_CMD_SUCCESS

Command success

enumerator NRF_WIFI_UMAC_INVALID_CHNL

Invalid channel error

enum nrf_wifi_umac_commands

The host can send the following commands to the RPU.

Values:

enumerator NRF_WIFI_UMAC_CMD_TRIGGER_SCAN

Trigger a new scan nrf_wifi_umac_cmd_scan

enumerator NRF_WIFI_UMAC_CMD_GET_SCAN_RESULTS

Request for scan results nrf_wifi_umac_cmd_get_scan_results

enumerator NRF_WIFI_UMAC_CMD_AUTHENTICATE

Send authentication request to AP nrf_wifi_umac_cmd_auth

enumerator NRF_WIFI_UMAC_CMD_ASSOCIATE

Send associate request to AP nrf_wifi_umac_cmd_assoc

enumerator NRF_WIFI_UMAC_CMD_DEAUTHENTICATE

Send deauthentication request to AP nrf_wifi_umac_cmd_disconn

enumerator NRF_WIFI_UMAC_CMD_SET_WIPHY

Set wiphy parameters nrf_wifi_umac_cmd_set_wiphy

enumerator NRF_WIFI_UMAC_CMD_NEW_KEY

Add new key nrf_wifi_umac_cmd_key

enumerator NRF_WIFI_UMAC_CMD_DEL_KEY

Delete key nrf_wifi_umac_cmd_key

enumerator NRF_WIFI_UMAC_CMD_SET_KEY

Set default key to use nrf_wifi_umac_cmd_set_key

enumerator NRF_WIFI_UMAC_CMD_GET_KEY

Unused

enumerator NRF_WIFI_UMAC_CMD_NEW_BEACON

Unused

enumerator NRF_WIFI_UMAC_CMD_SET_BEACON

Change the beacon on an AP interface nrf_wifi_umac_cmd_set_beacon

enumerator NRF_WIFI_UMAC_CMD_SET_BSS

Set the BSS nrf_wifi_umac_cmd_set_bss

enumerator NRF_WIFI_UMAC_CMD_START_AP

Start soft AP operation on an AP interface nrf_wifi_umac_cmd_start_ap

enumerator NRF_WIFI_UMAC_CMD_STOP_AP

Stop soft AP operation nrf_wifi_umac_cmd_stop_ap

enumerator NRF_WIFI_UMAC_CMD_NEW_INTERFACE

Create new interface nrf_wifi_umac_cmd_add_vif

enumerator NRF_WIFI_UMAC_CMD_SET_INTERFACE

Change interface configuration nrf_wifi_umac_cmd_chg_vif_attr

enumerator NRF_WIFI_UMAC_CMD_DEL_INTERFACE

Delete interface nrf_wifi_umac_cmd_del_vif

enumerator NRF_WIFI_UMAC_CMD_SET_IFFLAGS

Change interface flags nrf_wifi_umac_cmd_chg_vif_state

enumerator NRF_WIFI_UMAC_CMD_NEW_STATION

Add a new station nrf_wifi_umac_cmd_add_sta

enumerator NRF_WIFI_UMAC_CMD_DEL_STATION

Delete station nrf_wifi_umac_cmd_del_sta

enumerator NRF_WIFI_UMAC_CMD_SET_STATION

Change station info nrf_wifi_umac_cmd_chg_sta

enumerator NRF_WIFI_UMAC_CMD_GET_STATION

Get station info nrf_wifi_umac_cmd_get_sta

enumerator NRF_WIFI_UMAC_CMD_START_P2P_DEVICE

Start the P2P device nrf_wifi_cmd_start_p2p

enumerator NRF_WIFI_UMAC_CMD_STOP_P2P_DEVICE

Stop the P2P device nrf_wifi_umac_cmd_stop_p2p_dev

enumerator NRF_WIFI_UMAC_CMD_REMAIN_ON_CHANNEL

Remain awake on the specified channel nrf_wifi_umac_cmd_remain_on_channel

enumerator NRF_WIFI_UMAC_CMD_CANCEL_REMAIN_ON_CHANNEL

Cancel a pending ROC duration nrf_wifi_umac_cmd_cancel_remain_on_channel

enumerator NRF_WIFI_UMAC_CMD_SET_CHANNEL

Unused

enumerator NRF_WIFI_UMAC_CMD_RADAR_DETECT

Unused

enumerator NRF_WIFI_UMAC_CMD_REGISTER_FRAME

Whitelist filter based on frame types nrf_wifi_umac_cmd_mgmt_frame_reg

enumerator NRF_WIFI_UMAC_CMD_FRAME

Send a management frame nrf_wifi_umac_cmd_mgmt_tx

enumerator NRF_WIFI_UMAC_CMD_JOIN_IBSS

Unused

enumerator NRF_WIFI_UMAC_CMD_WIN_STA_CONNECT

Unused

enumerator NRF_WIFI_UMAC_CMD_SET_POWER_SAVE

Power save Enable/Disable nrf_wifi_umac_cmd_set_power_save

enumerator NRF_WIFI_UMAC_CMD_SET_WOWLAN

Unused

enumerator NRF_WIFI_UMAC_CMD_SUSPEND

Unused

enumerator NRF_WIFI_UMAC_CMD_RESUME

Unused

enumerator NRF_WIFI_UMAC_CMD_SET_QOS_MAP

QOS map nrf_wifi_umac_cmd_set_qos_map

enumerator NRF_WIFI_UMAC_CMD_GET_CHANNEL

Get Channel info nrf_wifi_umac_cmd_get_channel

enumerator NRF_WIFI_UMAC_CMD_GET_TX_POWER

Get Tx power level nrf_wifi_umac_cmd_get_tx_power

enumerator NRF_WIFI_UMAC_CMD_GET_INTERFACE

Get interface nrf_wifi_cmd_get_interface

enumerator NRF_WIFI_UMAC_CMD_GET_WIPHY

Get Wiphy info nrf_wifi_cmd_get_wiphy

enumerator NRF_WIFI_UMAC_CMD_GET_IFHWADDR

Get hardware address nrf_wifi_cmd_get_ifhwaddr

enumerator NRF_WIFI_UMAC_CMD_SET_IFHWADDR

Set hardware address nrf_wifi_cmd_set_ifhwaddr

enumerator NRF_WIFI_UMAC_CMD_GET_REG

Get regulatory domain nrf_wifi_umac_cmd_get_reg

enumerator NRF_WIFI_UMAC_CMD_SET_REG

Unused

enumerator NRF_WIFI_UMAC_CMD_REQ_SET_REG

Set regulatory domain nrf_wifi_cmd_req_set_reg

enumerator NRF_WIFI_UMAC_CMD_CONFIG_UAPSD

Config UAPSD nrf_wifi_umac_cmd_config_uapsd

enumerator NRF_WIFI_UMAC_CMD_CONFIG_TWT

Config TWT nrf_wifi_umac_cmd_config_twt

enumerator NRF_WIFI_UMAC_CMD_TEARDOWN_TWT

Teardown TWT nrf_wifi_umac_cmd_teardown_twt

enumerator NRF_WIFI_UMAC_CMD_ABORT_SCAN

Abort scan nrf_wifi_umac_cmd_abort_scan

enumerator NRF_WIFI_UMAC_CMD_MCAST_FILTER

Multicast filter nrf_wifi_umac_cmd_mcast_filter

enumerator NRF_WIFI_UMAC_CMD_CHANGE_MACADDR

Change macaddress nrf_wifi_umac_cmd_change_macaddr

enumerator NRF_WIFI_UMAC_CMD_SET_POWER_SAVE_TIMEOUT

Set powersave timeout nrf_wifi_umac_cmd_set_power_save_timeout

enumerator NRF_WIFI_UMAC_CMD_GET_CONNECTION_INFO

Get connection information nrf_wifi_umac_cmd_conn_info

enumerator NRF_WIFI_UMAC_CMD_GET_POWER_SAVE_INFO

Get power save information nrf_wifi_umac_cmd_get_power_save_info

enumerator NRF_WIFI_UMAC_CMD_SET_LISTEN_INTERVAL

Set listen interval nrf_wifi_umac_cmd_set_listen_interval

enumerator NRF_WIFI_UMAC_CMD_CONFIG_EXTENDED_PS

Configure extended power save nrf_wifi_umac_cmd_config_extended_ps

enumerator NRF_WIFI_UMAC_CMD_CONFIG_QUIET_PERIOD

Configure quiet period nrf_wifi_umac_cmd_config_quiet_period

enum nrf_wifi_umac_events

The host can receive the following events from the RPU.

Values:

enumerator NRF_WIFI_UMAC_EVENT_UNSPECIFIED
enumerator NRF_WIFI_UMAC_EVENT_TRIGGER_SCAN_START

Indicate scan started nrf_wifi_umac_event_trigger_scan

enumerator NRF_WIFI_UMAC_EVENT_SCAN_ABORTED

Unused

enumerator NRF_WIFI_UMAC_EVENT_SCAN_DONE

Indicate scan done nrf_wifi_umac_event_scan_done

enumerator NRF_WIFI_UMAC_EVENT_SCAN_RESULT

Scan result event nrf_wifi_umac_event_new_scan_results

enumerator NRF_WIFI_UMAC_EVENT_AUTHENTICATE

Authentication status nrf_wifi_umac_event_mlme

enumerator NRF_WIFI_UMAC_EVENT_ASSOCIATE

Association status nrf_wifi_umac_event_mlme

enumerator NRF_WIFI_UMAC_EVENT_CONNECT

Unused

enumerator NRF_WIFI_UMAC_EVENT_DEAUTHENTICATE

Station deauth event nrf_wifi_umac_event_mlme

enumerator NRF_WIFI_UMAC_EVENT_DISASSOCIATE

Station disassoc event nrf_wifi_umac_event_mlme

enumerator NRF_WIFI_UMAC_EVENT_NEW_STATION

Station added indication nrf_wifi_umac_event_new_station

enumerator NRF_WIFI_UMAC_EVENT_DEL_STATION

Station added indication nrf_wifi_umac_event_new_station

enumerator NRF_WIFI_UMAC_EVENT_GET_STATION

Station info indication nrf_wifi_umac_event_new_station

enumerator NRF_WIFI_UMAC_EVENT_REMAIN_ON_CHANNEL

remain on channel event nrf_wifi_event_remain_on_channel

enumerator NRF_WIFI_UMAC_EVENT_CANCEL_REMAIN_ON_CHANNEL

Unused

enumerator NRF_WIFI_UMAC_EVENT_DISCONNECT

Unused

enumerator NRF_WIFI_UMAC_EVENT_FRAME

RX management frame nrf_wifi_umac_event_mlme

Cookie mapping for NRF_WIFI_UMAC_CMD_FRAME nrf_wifi_umac_event_cookie_rsp

enumerator NRF_WIFI_UMAC_EVENT_FRAME_TX_STATUS

TX management frame transmitted nrf_wifi_umac_event_mlme

enumerator NRF_WIFI_UMAC_EVENT_IFFLAGS_STATUS

nrf_wifi_umac_event_vif_state

enumerator NRF_WIFI_UMAC_EVENT_GET_TX_POWER

Send Tx power nrf_wifi_umac_event_get_tx_power

enumerator NRF_WIFI_UMAC_EVENT_GET_CHANNEL

Send Channel info nrf_wifi_umac_event_get_channel

enumerator NRF_WIFI_UMAC_EVENT_SET_INTERFACE

nrf_wifi_umac_event_set_interface

enumerator NRF_WIFI_UMAC_EVENT_UNPROT_DEAUTHENTICATE

nrf_wifi_umac_event_mlme

enumerator NRF_WIFI_UMAC_EVENT_UNPROT_DISASSOCIATE

nrf_wifi_umac_event_mlme

enumerator NRF_WIFI_UMAC_EVENT_NEW_INTERFACE

nrf_wifi_interface_info

enumerator NRF_WIFI_UMAC_EVENT_NEW_WIPHY

nrf_wifi_event_get_wiphy

enumerator NRF_WIFI_UMAC_EVENT_GET_IFHWADDR

Unused

enumerator NRF_WIFI_UMAC_EVENT_GET_REG

Get regulatory nrf_wifi_reg

enumerator NRF_WIFI_UMAC_EVENT_SET_REG

Unused

enumerator NRF_WIFI_UMAC_EVENT_REQ_SET_REG

Unused

enumerator NRF_WIFI_UMAC_EVENT_GET_KEY

Unused

enumerator NRF_WIFI_UMAC_EVENT_BEACON_HINT

Unused

enumerator NRF_WIFI_UMAC_EVENT_REG_CHANGE

Unused

enumerator NRF_WIFI_UMAC_EVENT_WIPHY_REG_CHANGE

Unused

enumerator NRF_WIFI_UMAC_EVENT_SCAN_DISPLAY_RESULT

Display scan result nrf_wifi_umac_event_new_scan_display_results

enumerator NRF_WIFI_UMAC_EVENT_CMD_STATUS

nrf_wifi_umac_event_cmd_status

enumerator NRF_WIFI_UMAC_EVENT_BSS_INFO

nrf_wifi_umac_event_new_scan_results

enumerator NRF_WIFI_UMAC_EVENT_CONFIG_TWT

Send TWT response information nrf_wifi_umac_cmd_config_twt

enumerator NRF_WIFI_UMAC_EVENT_TEARDOWN_TWT

Send TWT teardown information nrf_wifi_umac_cmd_teardown_twt

enumerator NRF_WIFI_UMAC_EVENT_TWT_SLEEP

Send block or unblock state nrf_wifi_umac_event_twt_sleep

enumerator NRF_WIFI_UMAC_EVENT_COALESCING

Unused

enumerator NRF_WIFI_UMAC_EVENT_MCAST_FILTER

Unused

enumerator NRF_WIFI_UMAC_EVENT_GET_CONNECTION_INFO

send connection information nrf_wifi_umac_event_conn_info.

enumerator NRF_WIFI_UMAC_EVENT_GET_POWER_SAVE_INFO

nrf_wifi_umac_event_power_save_info

enum nrf_wifi_band

Represents the values that can be used to specify the frequency band.

Values:

enumerator NRF_WIFI_BAND_2GHZ

2.4 GHz ISM band

enumerator NRF_WIFI_BAND_5GHZ

Around 5 GHz band (4.9 - 5.7 GHz)

enumerator NRF_WIFI_BAND_60GHZ

Unused

enumerator NRF_WIFI_BAND_INVALID

Invalid

enum nrf_wifi_mfp

Enable or Disable Management Frame Protection.

Values:

enumerator NRF_WIFI_MFP_NO

Management frame protection not used

enumerator NRF_WIFI_MFP_REQUIRED

Management frame protection required

enum nrf_wifi_key_type

Enumerates the various categories of security keys.

Values:

enumerator NRF_WIFI_KEYTYPE_GROUP

Group (broadcast/multicast) key

enumerator NRF_WIFI_KEYTYPE_PAIRWISE

Pairwise (unicast/individual) key

enumerator NRF_WIFI_KEYTYPE_PEERKEY

Peer key (DLS)

enumerator NUM_NRF_WIFI_KEYTYPES

Number of defined key types

enum nrf_wifi_auth_type

Enumerates the various types of authentication mechanisms.

Values:

enumerator NRF_WIFI_AUTHTYPE_OPEN_SYSTEM

Open System authentication

enumerator NRF_WIFI_AUTHTYPE_SHARED_KEY

Shared Key authentication (WEP only)

enumerator NRF_WIFI_AUTHTYPE_FT

Fast BSS Transition (IEEE 802.11r)

enumerator NRF_WIFI_AUTHTYPE_NETWORK_EAP

Network EAP (some Cisco APs and mainly LEAP)

enumerator NRF_WIFI_AUTHTYPE_SAE

Simultaneous authentication of equals

enumerator __NRF_WIFI_AUTHTYPE_NUM

Internal

enumerator NRF_WIFI_AUTHTYPE_MAX

Maximum valid auth algorithm

enumerator NRF_WIFI_AUTHTYPE_AUTOMATIC

Determine automatically (if necessary by trying multiple times)

enum nrf_wifi_bss_status

Represents the interface’s status concerning this BSS (Basic Service Set).

Values:

enumerator NRF_WIFI_BSS_STATUS_AUTHENTICATED

Authenticated with this BSS Note that this is no longer used since cfg80211 no longer keeps track of whether or not authentication was done with a given BSS.

enumerator NRF_WIFI_BSS_STATUS_ASSOCIATED

Associated with this BSS

enumerator NRF_WIFI_BSS_STATUS_IBSS_JOINED

Joined to this IBSS

enum nrf_wifi_channel_type

Enumerates the various categories of channels.

Values:

enumerator NRF_WIFI_CHAN_NO_HT

20 MHz, non-HT channel

enumerator NRF_WIFI_CHAN_HT20

20 MHz HT channel

enumerator NRF_WIFI_CHAN_HT40MINUS

HT40 channel, secondary channel below the control channel

enumerator NRF_WIFI_CHAN_HT40PLUS

HT40 channel, secondary channel above the control channel

enum nrf_wifi_chan_width

Enumerates the various channel widths available.

Values:

enumerator NRF_WIFI_CHAN_WIDTH_20_NOHT

20 MHz, non-HT channel

enumerator NRF_WIFI_CHAN_WIDTH_20

20 MHz HT channel

enumerator NRF_WIFI_CHAN_WIDTH_40

40 MHz channel, the NRF_WIFI_ATTR_CENTER_FREQ1 must be provided as well

enumerator NRF_WIFI_CHAN_WIDTH_80

80 MHz channel, the NRF_WIFI_ATTR_CENTER_FREQ1 must be provided as well

enumerator NRF_WIFI_CHAN_WIDTH_80P80

80+80 MHz channel, the NRF_WIFI_ATTR_CENTER_FREQ1 and NRF_WIFI_ATTR_CENTER_FREQ2 must be provided as well

enumerator NRF_WIFI_CHAN_WIDTH_160

160 MHz channel, the NRF_WIFI_ATTR_CENTER_FREQ1 must be provided as well

enumerator NRF_WIFI_CHAN_WIDTH_5

5 MHz OFDM channel

enumerator NRF_WIFI_CHAN_WIDTH_10

10 MHz OFDM channel

enum nrf_wifi_iftype

Interface types based on functionality.

Values:

enumerator NRF_WIFI_IFTYPE_UNSPECIFIED

Unspecified type, driver decides

enumerator NRF_WIFI_IFTYPE_ADHOC

Not Supported

enumerator NRF_WIFI_IFTYPE_STATION

Managed BSS member

enumerator NRF_WIFI_IFTYPE_AP

Access point

enumerator NRF_WIFI_IFTYPE_AP_VLAN

Not Supported

enumerator NRF_WIFI_IFTYPE_WDS

Not Supported

enumerator NRF_WIFI_IFTYPE_MONITOR

Not Supported

enumerator NRF_WIFI_IFTYPE_MESH_POINT

Not Supported

enumerator NRF_WIFI_IFTYPE_P2P_CLIENT

P2P client

enumerator NRF_WIFI_IFTYPE_P2P_GO

P2P group owner

enumerator NRF_WIFI_IFTYPE_P2P_DEVICE

P2P device use the NRF_WIFI_UMAC_CMD_START_P2P_DEVICE & NRF_WIFI_UMAC_CMD_STOP_P2P_DEVICE commands to create and destroy one

enumerator NRF_WIFI_IFTYPE_OCB

Not Supported

enumerator NRF_WIFI_TX_INJECTOR

Tx Packet injector mode.

enumerator NRF_WIFI_STA_TX_INJECTOR

Station + Tx Packet injector mode.

enumerator NRF_WIFI_MONITOR_TX_INJECTOR

Monitor + Tx Packet injector mode.

enumerator NRF_WIFI_STA_PROMISC

Station + Promiscuous mode.

enumerator NRF_WIFI_STA_PROMISC_TX_INJECTOR

Station + Promiscuous mode + TX Packet injector.

enumerator NUM_NRF_WIFI_IFTYPES

Highest interface type number currently defined

enumerator NRF_WIFI_IFTYPE_MAX

Number of defined interface types

enum nrf_wifi_ps_state

Powersave state.

Values:

enumerator NRF_WIFI_PS_DISABLED

powersave is disabled

enumerator NRF_WIFI_PS_ENABLED

powersave is enabled

enum nrf_wifi_security_type

WLAN security types.

Values:

enumerator NRF_WIFI_OPEN

OPEN

enumerator NRF_WIFI_WEP

WEP

enumerator NRF_WIFI_WPA

WPA

enumerator NRF_WIFI_WPA2

WPA2

enumerator NRF_WIFI_WPA3

WPA3

enumerator NRF_WIFI_WAPI

WAPI

enumerator NRF_WIFI_EAP

Enterprise mode

enumerator NRF_WIFI_WPA2_256

WPA2 sha 256

enum nrf_wifi_reg_initiator

Denotes the originator of a regulatory domain request.

Values:

enumerator NRF_WIFI_REGDOM_SET_BY_CORE

Core queried CRDA for a dynamic world regulatory domain

enumerator NRF_WIFI_REGDOM_SET_BY_USER

User asked the wireless core to set the regulatory domain

enumerator NRF_WIFI_REGDOM_SET_BY_DRIVER

A wireless drivers has hinted to the wireless core it thinks its knows the regulatory domain we should be in

enumerator NRF_WIFI_REGDOM_SET_BY_COUNTRY_IE

the wireless core has received an 802.11 country information element with regulatory information it thinks we should consider. cfg80211 only processes the country code from the IE, and relies on the regulatory domain information structure passed by userspace (CRDA) from our wireless-regdb If a channel is enabled but the country code indicates it should be disabled we disable the channel and re-enable it upon disassociation

enum nrf_wifi_reg_type

Specifies the type of regulatory domain.

Values:

enumerator NRF_WIFI_REGDOM_TYPE_COUNTRY

the regulatory domain set is one that pertains to a specific country. When this is set you can count on the ISO / IEC 3166 alpha2 country code being valid.

enumerator NRF_WIFI_REGDOM_TYPE_WORLD

the regulatory set domain is the world regulatory domain

enumerator NRF_WIFI_REGDOM_TYPE_CUSTOM_WORLD

the regulatory domain set is a custom driver specific world regulatory domain. These do not apply system-wide and are only applicable to the individual devices which have requested them to be applied.

enumerator NRF_WIFI_REGDOM_TYPE_INTERSECTION

the regulatory domain set is the product of an intersection between two regulatory domains — the previously set regulatory domain on the system and the last accepted regulatory domain request to be processed.

enum scan_reason

This enum describes the different types of scan.

Values:

enumerator SCAN_DISPLAY

scan for display purpose in user space

enumerator SCAN_CONNECT

scan for connection purpose

enum nrf_wifi_tx_power_type

Types of transmit power settings.

Values:

enumerator NRF_WIFI_TX_POWER_AUTOMATIC

Automatically determine transmit power

enumerator NRF_WIFI_TX_POWER_LIMITED

Limit TX power by the mBm parameter

enumerator NRF_WIFI_TX_POWER_FIXED

Fix TX power to the mBm parameter

enum nrf_wifi_twt_setup_cmd_type

TWT setup commands and events.

Values:

enumerator NRF_WIFI_REQUEST_TWT

STA requests to join a TWT without specifying a target wake time

enumerator NRF_WIFI_SUGGEST_TWT

STA requests to join a TWT with specifying a target wake time and other params, these values can change during negotiation.

enumerator NRF_WIFI_DEMAND_TWT

requests to join a TWT with demanded a target wake time and other params. STA rejects if AP not scheduling those params.

enumerator NRF_WIFI_GROUPING_TWT

Response to the STA request(suggest/demand), these may be different params

enumerator NRF_WIFI_ACCEPT_TWT

AP accept the STA requested params

enumerator NRF_WIFI_ALTERNATE_TWT

AP may suggest the params, these may be different from STA requested

enumerator NRF_WIFI_DICTATE_TWT

AP may suggest the params, these may be different from STA requested

enumerator NRF_WIFI_REJECT_TWT

AP may reject the STA requested params

enum nrf_wifi_channel_flags

channel flags.

Channel flags set by the regulatory control code.

Values:

enumerator CHAN_DISABLED

This channel is disabled

enumerator CHAN_NO_IR

do not initiate radiation, this includes sending probe requests or beaconing

enumerator CHAN_RADAR

Radar detection is required on this channel hole at 1<<2

enumerator CHAN_NO_HT40PLUS

extension channel above this channel is not permitted

enumerator CHAN_NO_HT40MINUS

extension channel below this channel is not permitted

enumerator CHAN_NO_OFDM

OFDM is not allowed on this channel

enumerator CHAN_NO_80MHZ

If the driver supports 80 MHz on the band, this flag indicates that an 80 MHz channel cannot use this channel as the control or any of the secondary channels. This may be due to the driver or due to regulatory bandwidth restrictions.

enumerator CHAN_NO_160MHZ

If the driver supports 160 MHz on the band, this flag indicates that an 160 MHz channel cannot use this channel as the control or any of the secondary channels. This may be due to the driver or due to regulatory bandwidth restrictions.

enumerator CHAN_INDOOR_ONLY

NL80211_FREQUENCY_ATTR_INDOOR_ONLY

enumerator CHAN_GO_CONCURRENT

NL80211_FREQUENCY_ATTR_GO_CONCURRENT

enumerator CHAN_NO_20MHZ

20 MHz bandwidth is not permitted on this channel

enumerator CHAN_NO_10MHZ

10 MHz bandwidth is not permitted on this channel

Values:

enum nrf70_feature_flags

Values:

enumerator NRF70_FEAT_SYSTEM_MODE
enumerator NRF70_FEAT_RADIO_TEST
enumerator NRF70_FEAT_SCAN_ONLY
enumerator NRF70_FEAT_SYSTEM_WITH_RAW_MODES
enum nrf70_image_ids

Values:

enumerator NRF70_IMAGE_UMAC_PRI
enumerator NRF70_IMAGE_UMAC_SEC
enumerator NRF70_IMAGE_LMAC_PRI
enumerator NRF70_IMAGE_LMAC_SEC
struct host_rpu_msg
#include <host_rpu_common_if.h>

This structure defines the common message header used to encapsulate each message exchanged between the Host and UMAC.

Public Members

struct host_rpu_msg_hdr hdr

Header

signed int type

Type of the RPU message see &enum nrf_wifi_host_rpu_msg_type

signed char msg[0]

Actual message

struct sap_client_pend_frames_bitmap
#include <host_rpu_common_if.h>

This new structure represents the bitmap of STA (Station) pending frames in SoftAP power save mode.

Public Members

unsigned char reserved[2]

Reserved: 2 byte for alignment

unsigned char pend_frames_bitmap

Pending frames bitmap for each access category

unsigned char reserved1[3]

Reserved: 3 Bytes for alignment

struct sap_pend_frames_bitmap
#include <host_rpu_common_if.h>

This structure represents the bitmap of STA (Station) pending frames in SoftAP power save mode.

Public Members

unsigned char mac_addr[6]

STA MAC address

unsigned char pend_frames_bitmap

Pending frames bitmap for each access category

struct host_rpu_umac_info
#include <host_rpu_common_if.h>

This structure represents the information related to UMAC.

Public Members

unsigned int boot_status

Boot status signature

unsigned int version

UMAC version

struct sap_pend_frames_bitmap sap_bitmap[4]

sap_pend_frames_bitmap

struct host_rpu_hpqm_info hpqm_info

Hardware queues info &enum host_rpu_hpqm_info

unsigned int info_part

OTP params

unsigned int info_variant

OTP params

unsigned int info_lromversion

OTP params

unsigned int info_uromversion

OTP params

unsigned int info_uuid[4]

OTP params

unsigned int info_spare0

OTP params

unsigned int info_spare1

OTP params

unsigned int mac_address0[2]

OTP params

unsigned int mac_address1[2]

OTP params

unsigned int calib[9]

OTP params

struct nrf_wifi_umac_head
#include <host_rpu_data_if.h>

Data interface Command and Event header.

Public Members

unsigned int cmd

Command or Event id see &enum nrf_wifi_umac_data_commands

unsigned int len

length

struct tx_mac_hdr_info
#include <host_rpu_data_if.h>

Tx mac80211 header information.

Public Members

signed int umac_fill_flags

Unused

unsigned short fc

frame control

unsigned char dest[6]

source Mac header

unsigned char src[6]

destination Mac address

unsigned short etype

Ethernet type

unsigned int tx_flags

TX flags

unsigned char more_data

more frames queued

unsigned char eosp

End Of Service Period flag(applicable in U-APSD)

struct nrf_wifi_tx_buff_info
#include <host_rpu_data_if.h>

This structure provides the information of each packet in the tx command.

Public Members

unsigned short pkt_length

Tx packet length

unsigned int ddr_ptr

Tx packet address

struct nrf_wifi_tx_buff
#include <host_rpu_data_if.h>

This structure provides the parameters for the tx command.

Public Members

struct nrf_wifi_umac_head umac_head

Command header nrf_wifi_umac_head

unsigned char wdev_id

Interface id

unsigned char tx_desc_num

Descriptor id

struct tx_mac_hdr_info mac_hdr_info

Common mac header for all packets in this command tx_mac_hdr_info

unsigned int pending_buf_size

Pending buffer size at host to encode queue size in qos control field of mac header in TWT enable case

unsigned char num_tx_pkts

Number of packets sending in this command

struct nrf_wifi_tx_buff_info tx_buff_info[0]

Each packets information nrf_wifi_tx_buff_info

struct nrf_wifi_tx_buff_done
#include <host_rpu_data_if.h>

This structure represents the Tx done event(NRF_WIFI_CMD_TX_BUFF_DONE).

Public Members

struct nrf_wifi_umac_head umac_head

Header nrf_wifi_umac_head

unsigned char tx_desc_num

Descriptor id

unsigned char num_tx_status_code

Number of packets in this Tx done event

unsigned char timestamp_t1[6]

Frame sent time at Phy

unsigned char timestamp_t4[6]

Frame ack received time at Phy

unsigned char tx_status_code[0]

Status of Tx packet. Maximum of MAX_TX_AGG_SIZE

struct nrf_wifi_rx_buff_info
#include <host_rpu_data_if.h>

This structure provides information about the parameters in the RX data event.

Public Members

unsigned short descriptor_id

Descriptor id

unsigned short rx_pkt_len

Rx packet length

unsigned char pkt_type

type PKT_TYPE_MPDU/PKT_TYPE_MSDU_WITH_MAC/PKT_TYPE_MSDU

unsigned char timestamp_t2[6]

Frame received time at Phy

unsigned char timestamp_t3[6]

Ack sent time at Phy

struct nrf_wifi_rx_buff
#include <host_rpu_data_if.h>

This structure represents RX data event(NRF_WIFI_CMD_RX_BUFF).

Public Members

struct nrf_wifi_umac_head umac_head

Header nrf_wifi_umac_head

signed short rx_pkt_type

Rx packet type. see &enum nrf_wifi_rx_pkt_type

unsigned char rate_flags

Refer rpu_tput_mode

unsigned char rate

Rate: Legacy : 1, 2, 55, 6, 9, 11, 12, 18, 24, 36, 48, 54 11N VHT HE : MCS index 0 to 7.

unsigned char wdev_id

Interface id

unsigned char rx_pkt_cnt

Number of packets in this event

unsigned char reserved

Depricated

unsigned char mac_header_len

MAC header length. Same for all packets in this event

unsigned short frequency

Frequency on which this packet received

signed short signal

signal strength

struct nrf_wifi_rx_buff_info rx_buff_info[0]

Information of each packet. nrf_wifi_rx_buff_info

struct nrf_wifi_data_carrier_state
#include <host_rpu_data_if.h>

This structure provides information about the carrier (interface) state.

Public Members

struct nrf_wifi_umac_head umac_head

Header nrf_wifi_umac_head

unsigned int wdev_id

Interface id

struct nrf_wifi_sap_client_pwrsave
#include <host_rpu_data_if.h>

This structure describes an event related to the power save state of the softap’s client. When the client is in PS mode (NRF_WIFI_CLIENT_PS_MODE), the host should queue Tx packets. When the client is in wakeup mode (NRF_WIFI_CLIENT_ACTIVE), the host should send all buffered and upcoming Tx packets.

Public Members

struct nrf_wifi_umac_head umac_head

Header nrf_wifi_umac_head

unsigned int wdev_id

Interface id

unsigned char sta_ps_state

state NRF_WIFI_CLIENT_ACTIVE or NRF_WIFI_CLIENT_PS_MODE

unsigned char mac_addr[6]

STA MAC Address

struct nrf_wifi_sap_ps_get_frames
#include <host_rpu_data_if.h>

This structure represents an event that instructs the host to transmit a specific number of frames that host queued when softap’s client is in power save mode. This event is primarily used when Softap’s client operates in legacy power save mode. In this scenario, the access point (AP) is required to send a single packet for every PS POLL frame it receives from the client. Additionally, this mechanism will also be utilized in UAPSD power save.

Public Members

struct nrf_wifi_umac_head umac_head

Header nrf_wifi_umac_head

unsigned int wdev_id

Interface id

unsigned char mac_addr[6]

STA MAC Address

signed char num_frames

Number of frames to be transmitted in this service period

struct chan_params
#include <host_rpu_sys_if.h>

  • This structure specifies the parameters required to configure a specific channel.

Public Members

unsigned int primary_num

Primary channel number

unsigned char bw

Channel bandwidth

signed int sec_20_offset

20Mhz offset value

signed int sec_40_offset

40Mhz offset value

struct rpu_conf_rx_radio_test_params
#include <host_rpu_sys_if.h>

This structure specifies the parameters required to start or stop the RX (receive) operation in radiotest mode.

Public Members

unsigned char nss

Number of spatial streams supported. Currently unused.

struct chan_params chan

An array containing RF and baseband control params

signed char phy_threshold

Copy OTP params to this memory

unsigned int phy_calib

Calibration bit map value. More information can be found in the phy_rf_params.h file.

unsigned char rx

Start Rx : 1, Stop Rx :0

struct umac_rx_dbg_params
#include <host_rpu_sys_if.h>

This structure specifies the UMAC (Upper MAC) RX (receive) debug parameters specifically designed for debugging purpose.

Public Members

unsigned int lmac_events

Total lmac events received to UMAC

unsigned int rx_events

Total Rx events(LMAC_EVENT_RX) received in ISR

unsigned int rx_coalesce_events

Received coalised events from LMAC

unsigned int total_rx_pkts_from_lmac

Total Rx packets received from LMAC

unsigned int max_refill_gap

Maximum RX packets buffered at any point of time in UMAC.

unsigned int current_refill_gap

Difference between rx packets received from lmac and packets sent to host

unsigned int out_of_order_mpdus

Number of Packets queued to reorder buffer due to out of order

unsigned int reorder_free_mpdus

Number of packets removed from reorder buffer

unsigned int umac_consumed_pkts

Number of Rx packets resubmitted to LMAC by UMAC

unsigned int host_consumed_pkts

Number of Rx packets sent to Host for resubmiting

unsigned int rx_mbox_post

Total events posted to UMAC RX thread from LMAC

unsigned int rx_mbox_receive

Total events received to UMAC RX thread from LMAC

unsigned int reordering_ampdu

Number of packets received in out of order

unsigned int timer_mbox_post

Messages posted to TX mbox from timer ISR

unsigned int timer_mbox_rcv

Messages received from timer ISR

unsigned int work_mbox_post

Messages posted to TX mbox from work scheduler

unsigned int work_mbox_rcv

Messages received from work scheduler

unsigned int tasklet_mbox_post

Messages posted to TX mbox from tasklet function

unsigned int tasklet_mbox_rcv

Messages received from tasklet function

unsigned int userspace_offload_frames

Management frames sent to userspace

unsigned int alloc_buf_fail

Number of times where requested buffer size is not available and allocated from next available memory buffer

unsigned int rx_packet_total_count

Total packets count in RX thread

unsigned int rx_packet_data_count

Number of data packets received

unsigned int rx_packet_qos_data_count

Number of Qos data packets received

unsigned int rx_packet_protected_data_count

Number of protected data packets received

unsigned int rx_packet_mgmt_count

Number of management packets received

unsigned int rx_packet_beacon_count

Number of beacon packets received

unsigned int rx_packet_probe_resp_count

Number of probe response packets received

unsigned int rx_packet_auth_count

Number of authentication packets received

unsigned int rx_packet_deauth_count

Number of deauthentication packets received

unsigned int rx_packet_assoc_resp_count

Number of assoc response packets received

unsigned int rx_packet_disassoc_count

Number of disassociation packets received

unsigned int rx_packet_action_count

Number of action frames received

unsigned int rx_packet_probe_req_count

Number of probe request packets received

unsigned int rx_packet_other_mgmt_count

Other management packets received

signed char max_coalesce_pkts

Maximum coalised packets received from LMAC in any RX event

unsigned int null_skb_pointer_from_lmac

Packets received with null skb pointer from LMAC

unsigned int unexpected_mgmt_pkt

Number of unexpected management packets received in coalesce event

struct umac_tx_dbg_params
#include <host_rpu_sys_if.h>

This structure specifies the UMAC TX (transmit) debug parameters used for debugging purposes.

Public Members

unsigned int tx_cmd

Total number of tx commands received from host

unsigned int tx_non_coalesce_pkts_rcvd_from_host

Non coalesce packets received

unsigned int tx_coalesce_pkts_rcvd_from_host

coalesce packets received

unsigned int tx_max_coalesce_pkts_rcvd_from_host

Maximum number of coalesce packets received in any TX command coalesce packets received

unsigned int tx_cmds_max_used

Maximum Tx commands currently in process at any point of time in UMAC

unsigned int tx_cmds_currently_in_use

Number of Tx commands that are currently in process in UMAC

unsigned int tx_done_events_send_to_host

Number of tx done events sent to host

unsigned int tx_done_success_pkts_to_host

Number of tx done success packets sent to host

unsigned int tx_done_failure_pkts_to_host

Number of tx done failure packets sent to host

unsigned int tx_cmds_with_crypto_pkts_rcvd_from_host

Number of packets received from host that needs to be encrypted

unsigned int tx_cmds_with_non_crypto_pkts_rcvd_from_host

Number of packets received from host that need not to be encrypted

unsigned int tx_cmds_with_broadcast_pkts_rcvd_from_host

Number of broadcast packets received from host

unsigned int tx_cmds_with_multicast_pkts_rcvd_from_host

Number of multicast packets received from host

unsigned int tx_cmds_with_unicast_pkts_rcvd_from_host

Number of unicast packets received from host

unsigned int xmit

UMAC internal count

unsigned int send_addba_req

Number of addba requests sent

unsigned int addba_resp

Total ADD BA responses received from host

unsigned int softmac_tx

Total packets received in softmac tx function

unsigned int internal_pkts

Number of packets generated internally in UMAC

unsigned int external_pkts

Number of packets Received from host

unsigned int tx_cmds_to_lmac

Total tx commmands sent to lmac

unsigned int tx_dones_from_lmac

Tx dones received from LMAC

unsigned int total_cmds_to_lmac

Total commands sent to lmac in UMAC hal

unsigned int tx_packet_data_count

Number of data packets sent

unsigned int tx_packet_mgmt_count

Number of management packets sent

unsigned int tx_packet_beacon_count

Number of beacon packets sent

unsigned int tx_packet_probe_req_count

Number of probe request packets sent

unsigned int tx_packet_auth_count

Number of authentication packets sent

unsigned int tx_packet_deauth_count

Number of deauthentication packets sent

unsigned int tx_packet_assoc_req_count

Number of association request packets sent

unsigned int tx_packet_disassoc_count

Number of disassociation packets sent

unsigned int tx_packet_action_count

Number of action packets sent

unsigned int tx_packet_other_mgmt_count

Other management packets sent

unsigned int tx_packet_non_mgmt_data_count

Number of Non management packets sent

struct umac_cmd_evnt_dbg_params
#include <host_rpu_sys_if.h>

This structure specifies the UMAC command and event debug parameters used for debugging purpose.

Public Members

unsigned char cmd_init

Number of command init received from host

unsigned char event_init_done

Number of init_done events sent to host

unsigned char cmd_rf_test

Number of rf test command received from host

unsigned char cmd_connect

Number of connect command received from host

unsigned int cmd_get_stats

Number of get_stats command received from host

unsigned int event_ps_state

Number of power save state events sent to host

unsigned int cmd_set_reg

Unused

unsigned int cmd_get_reg

Number of get regulatory commands received from host

unsigned int cmd_req_set_reg

Number of request set regulatory commands received from host

unsigned int cmd_trigger_scan

Number of trigger scan commands received from host

unsigned int event_scan_done

Number of scan done events sent to host

unsigned int cmd_get_scan

Number of get scan commands received from the host to get scan results

unsigned int umac_scan_req

Number of scan commands sent to LMAC

unsigned int umac_scan_complete

Number of scan complete events received from LMAC

unsigned int umac_scan_busy

Number of scan requests received from host when previous scan is in progress

unsigned int cmd_auth

Number of authentication requests received from host

unsigned int cmd_assoc

Number of association requests received from host

unsigned int cmd_deauth

Number of deauthentication requests received from host

unsigned int cmd_register_frame

Number of register frame commands received from host to register a management frame type which should be passed to host

unsigned int cmd_frame

Number of command frames from host which will be used for transmitting management frames

unsigned int cmd_del_key

Number of delete key commands from host

unsigned int cmd_new_key

Number of new key commands received from host

unsigned int cmd_set_key

Number of set key commands received from host

unsigned int cmd_get_key

Number of get key commands received from host

unsigned int event_beacon_hint

Number of beacon hint events sent to host

unsigned int event_reg_change

Number of regulatory change events sent to host when regulatory change command received from host such as in response to command NL80211_CMD_REG_CHANGE

unsigned int event_wiphy_reg_change

Number of regulatory change events sent to host other than host request for regulatory change

unsigned int cmd_set_station

Number of set station commands received from host

unsigned int cmd_new_station

Number of new station commands received from host

unsigned int cmd_del_station

Number of del station commands received from host

unsigned int cmd_new_interface

Number of new interface commands received from host

unsigned int cmd_set_interface

Number of set interface commands received from host

unsigned int cmd_get_interface

Number of get interface commands received from host

unsigned int cmd_set_ifflags

Number of set_ifflags commands received from host

unsigned int cmd_set_ifflags_done

Number of set_ifflags events sent to host

unsigned int cmd_set_bss

Number of set bss command received from host

unsigned int cmd_set_wiphy

Number of set wiphy command received from host

unsigned int cmd_start_ap

Number of start access point command received from host

unsigned int LMAC_CMD_PS

Number of power save configuration commands sent to LMAC

unsigned int CURR_STATE

Current power save state configured to LMAC through LMAC_CMD_PS command

struct nrf_wifi_interface_stats
#include <host_rpu_sys_if.h>

This structure specifies the UMAC interface debug parameters used for debugging purpose.

Public Members

unsigned int tx_unicast_pkt_count

Number of unicast packets sent

unsigned int tx_multicast_pkt_count

Number of multicast packets sent

unsigned int tx_broadcast_pkt_count

Number of broadcast packets sent

unsigned int tx_bytes

Number of tx data bytes sent

unsigned int rx_unicast_pkt_count

Number of unicast packets received

unsigned int rx_multicast_pkt_count

Number of multicast packets received

unsigned int rx_broadcast_pkt_count

Number of broadcast packets received

unsigned int rx_beacon_success_count

Number of beacon packets received

unsigned int rx_beacon_miss_count

Number of beacon packets missed

unsigned int rx_bytes

Number of rx data bytes received

unsigned int rx_checksum_error_count

Number of packets with checksum mismatch received

unsigned int replay_attack_drop_cnt

Number of duplicate packets received

struct rpu_umac_stats
#include <host_rpu_sys_if.h>

This structure defines the UMAC debug statistics. It contains the necessary parameters and fields used to gather and present debugging statistics within the UMAC layer.

Public Members

struct umac_tx_dbg_params tx_dbg_params

Transmit debug statistics umac_tx_dbg_params

struct umac_rx_dbg_params rx_dbg_params

Receive debug statistics umac_rx_dbg_params

struct umac_cmd_evnt_dbg_params cmd_evnt_dbg_params

Command Event debug statistics umac_cmd_evnt_dbg_params

struct nrf_wifi_interface_stats interface_data_stats

Interface debug parameters nrf_wifi_interface_stats

struct rpu_lmac_stats
#include <host_rpu_sys_if.h>

This structure defines the LMAC debug parameters.

Public Members

unsigned int reset_cmd_cnt

Number of reset command counts from UMAC

unsigned int reset_complete_event_cnt

Number of reset complete events sent to UMAC

unsigned int unable_gen_event

Number of events unable to generate

unsigned int ch_prog_cmd_cnt

Number of channel program commands from UMAC

unsigned int channel_prog_done

Number of channel program done events to UMAC

unsigned int tx_pkt_cnt

Number of Tx commands from UMAC

unsigned int tx_pkt_done_cnt

Number of Tx done events to UMAC

unsigned int scan_pkt_cnt

Unused

unsigned int internal_pkt_cnt

Number of internal Tx packets

unsigned int internal_pkt_done_cnt

Number of Tx dones for internal packets

unsigned int ack_resp_cnt

Number of acknowledgment responses

unsigned int tx_timeout

Number of transmit timeouts

unsigned int deagg_isr

Number of deaggregation ISRs

unsigned int deagg_inptr_desc_empty

Number of deaggregation input descriptor empties

unsigned int deagg_circular_buffer_full

Number of deaggregation circular buffer full events

unsigned int lmac_rxisr_cnt

Number of LMAC received ISRs

unsigned int rx_decryptcnt

Number of received packets decrypted

unsigned int process_decrypt_fail

Number of packet decryption failures during processing

unsigned int prepa_rx_event_fail

Number of RX event preparation failures

unsigned int rx_core_pool_full_cnt

Number of RX core pool full counts

unsigned int rx_mpdu_crc_success_cnt

Number of RX MPDU CRC successes

unsigned int rx_mpdu_crc_fail_cnt

Number of RX MPDU CRC failures

unsigned int rx_ofdm_crc_success_cnt

Number of RX OFDM CRC successes

unsigned int rx_ofdm_crc_fail_cnt

Number of RX OFDM CRC failures

unsigned int rxDSSSCrcSuccessCnt

Number of RX DSSS CRC successes

unsigned int rxDSSSCrcFailCnt

Number of RX DSSS CRC failures

unsigned int rx_crypto_start_cnt

Number of RX crypto start counts

unsigned int rx_crypto_done_cnt

Number of RX crypto done counts

unsigned int rx_event_buf_full

Number of RX event buffer full counts

unsigned int rx_extram_buf_full

Number of RX external RAM buffer full counts

unsigned int scan_req

Number of scan requests receive from UMAC

unsigned int scan_complete

Number of scan complete events sent to UMAC

unsigned int scan_abort_req

Number of scan abort requests

unsigned int scan_abort_complete

Number of scan abort complete events

unsigned int internal_buf_pool_null

Number of internal buffer pool null counts

unsigned int rpu_hw_lockup_count

RPU hardware lockup event detection count

unsigned int rpu_hw_lockup_recovery_done

RPU hardware lockup recovery completed count

struct rpu_phy_stats
#include <host_rpu_sys_if.h>

This structure defines the PHY (Physical Layer) debug statistics.

Public Members

signed char rssi_avg

Rssi average value received from LMAC

unsigned char pdout_val

Unused

unsigned int ofdm_crc32_pass_cnt

Number of OFDM CRC Pass packets

unsigned int ofdm_crc32_fail_cnt

Number of OFDM CRC Fail packets

unsigned int dsss_crc32_pass_cnt

Number of DSSS CRC Pass packets

unsigned int dsss_crc32_fail_cnt

Number of DSSS CRC Fail packets

struct nrf_wifi_sys_head
#include <host_rpu_sys_if.h>

The UMAC header structure for system commands and events defines the format used to transmit and receive system-level commands and events.

Public Members

unsigned int cmd_event

Command/Event id

unsigned int len

message length

struct nrf_wifi_data_config_params
#include <host_rpu_sys_if.h>

This structure specifies the configuration parameters used for configuring data-related settings.

Public Members

unsigned char rate_protection_type

rate_protection_type:0->NONE, 1->RTS/CTS, 2->CTS2SELF

unsigned char aggregation

Aggregation is enabled(NRF_WIFI_FEATURE_ENABLE) or disabled(NRF_WIFI_FEATURE_DISABLE)

unsigned char wmm

WMM is enabled(NRF_WIFI_FEATURE_ENABLE) or disabled(NRF_WIFI_FEATURE_DISABLE)

unsigned char max_num_tx_agg_sessions

Max number of aggregated TX sessions

unsigned char max_num_rx_agg_sessions

Max number of aggregated RX sessions

unsigned char max_tx_aggregation

maximum aggregation size

unsigned char reorder_buf_size

Reorder buffer size (1 to 64)

signed int max_rxampdu_size

Max RX AMPDU size (8/16/32/64 KB), see &enum max_rx_ampdu_size

struct nrf_wifi_sys_params
#include <host_rpu_sys_if.h>

This structure specifies the parameters that need to be provided for the command NRF_WIFI_CMD_INIT. The NRF_WIFI_CMD_INIT command is typically used to initialize the Wi-Fi module and prepare it for further communication.

Public Members

unsigned int sleep_enable

enable rpu sleep

unsigned int hw_bringup_time

Normal/FTM mode

unsigned int sw_bringup_time

Antenna Configuration, applicable only for 1x1

unsigned int bcn_time_out

Internal tuning parameter

unsigned int calib_sleep_clk

Set to 1 if rpu is expected to perform sleep clock calibration

unsigned int phy_calib

calib bit map value. More info can be found in phy_rf_params.h NRF_WIFI_DEF_PHY_CALIB

unsigned char mac_addr[6]

MAC address of the interface

unsigned char rf_params[NRF_WIFI_RF_PARAMS_SIZE]

An array containing RF & baseband control params

unsigned char rf_params_valid

Indicates whether the rf_params has a valid value

struct nrf_wifi_tx_pwr_ctrl_params
#include <host_rpu_sys_if.h>

This structure defines the parameters used to control the transmit (TX) power.

Public Members

unsigned char ant_gain_2g

Antenna gain for 2.4 GHz band

unsigned char ant_gain_5g_band1

Antenna gain for 5 GHz band (5150 MHz - 5350 MHz)

unsigned char ant_gain_5g_band2

Antenna gain for 5 GHz band (5470 MHz - 5730 MHz)

unsigned char ant_gain_5g_band3

Antenna gain for 5 GHz band (5730 MHz - 5895 MHz)

unsigned char band_edge_2g_lo_dss

DSSS Transmit power backoff (in dB) for lower edge of 2.4 GHz frequency band

unsigned char band_edge_2g_lo_ht

HT/VHT Transmit power backoff (in dB) for lower edge of 2.4 GHz frequency band

unsigned char band_edge_2g_lo_he

HE Transmit power backoff (in dB) for lower edge of 2.4 GHz frequency band

unsigned char band_edge_2g_hi_dsss

DSSS Transmit power backoff (in dB) for upper edge of 2.4 GHz frequency band

unsigned char band_edge_2g_hi_ht

HT/VHT Transmit power backoff (in dB) for upper edge of 2.4 GHz frequency band

unsigned char band_edge_2g_hi_he

HE Transmit power backoff (in dB) for upper edge of 2.4 GHz frequency band

unsigned char band_edge_5g_unii_1_lo_ht

HT Transmit power backoff (in dB) for lower edge of UNII-1 frequency band

unsigned char band_edge_5g_unii_1_lo_he

HE Transmit power backoff (in dB) for lower edge of UNII-1 frequency band

unsigned char band_edge_5g_unii_1_hi_ht

HT/VHT Transmit power backoff (in dB) for upper edge of UNII-1 frequency band

unsigned char band_edge_5g_unii_1_hi_he

HE Transmit power backoff (in dB) for upper edge of UNII-1 frequency band

unsigned char band_edge_5g_unii_2a_lo_ht

HT/VHT Transmit power backoff (in dB) for lower edge of UNII-2A frequency band

unsigned char band_edge_5g_unii_2a_lo_he

HE Transmit power backoff (in dB) for lower edge of UNII-2A frequency band

unsigned char band_edge_5g_unii_2a_hi_ht

HT/VHT Transmit power backoff (in dB) for upper edge of UNII-2A frequency band

unsigned char band_edge_5g_unii_2a_hi_he

HE Transmit power backoff (in dB) for upper edge of UNII-2A frequency band

unsigned char band_edge_5g_unii_2c_lo_ht

HT/VHT Transmit power backoff (in dB) for lower edge of UNII-2C frequency band

unsigned char band_edge_5g_unii_2c_lo_he

HE Transmit power backoff (in dB) for lower edge of UNII-2C frequency band

unsigned char band_edge_5g_unii_2c_hi_ht

HT/VHT Transmit power backoff (in dB) for upper edge of UNII-2C frequency band

unsigned char band_edge_5g_unii_2c_hi_he

HE Transmit power backoff (in dB) for upper edge of UNII-2C frequency band

unsigned char band_edge_5g_unii_3_lo_ht

HT/VHT Transmit power backoff (in dB) for lower edge of UNII-3 frequency band

unsigned char band_edge_5g_unii_3_lo_he

HE Transmit power backoff (in dB) for lower edge of UNII-3 frequency band

unsigned char band_edge_5g_unii_3_hi_ht

HT/VHT Transmit power backoff (in dB) for upper edge of UNII-3 frequency band

unsigned char band_edge_5g_unii_3_hi_he

HE Transmit power backoff (in dB) for upper edge of UNII-3 frequency band

unsigned char band_edge_5g_unii_4_lo_ht

HT/VHT Transmit power backoff (in dB) for lower edge of UNII-4 frequency band

unsigned char band_edge_5g_unii_4_lo_he

HE Transmit power backoff (in dB) for lower edge of UNII-4 frequency band

unsigned char band_edge_5g_unii_4_hi_ht

HT/VHT Transmit power backoff (in dB) for upper edge of UNII-4 frequency band

unsigned char band_edge_5g_unii_4_hi_he

HE Transmit power backoff (in dB) for upper edge of UNII-4 frequency band

struct nrf_wifi_board_params
#include <host_rpu_sys_if.h>

This structure defines board dependent parameters like PCB loss.

Public Members

unsigned char pcb_loss_2g

PCB loss for 2.4 GHz band

unsigned char pcb_loss_5g_band1

PCB loss for 5 GHz band (5150 MHz - 5350 MHz)

unsigned char pcb_loss_5g_band2

PCB loss for 5 GHz band (5470 MHz - 5730 MHz)

unsigned char pcb_loss_5g_band3

PCB loss for 5 GHz band (5730 MHz - 5895 MHz)

struct nrf_wifi_cmd_sys_init
#include <host_rpu_sys_if.h>

This structure defines the command responsible for initializing the UMAC. After the host driver brings up, the host sends NRF_WIFI_CMD_INIT to the RPU. The RPU then performs the initialization and responds with NRF_WIFI_EVENT_INIT_DONE once the initialization is completed.

Public Members

struct nrf_wifi_sys_head sys_head

umac header, nrf_wifi_sys_head

unsigned int wdev_id

id of the interface

struct nrf_wifi_sys_params sys_params

nrf_wifi_sys_params

struct rx_buf_pool_params rx_buf_pools[3]

LMAC Rx buffs pool params, rx_buf_pool_params

struct nrf_wifi_data_config_params data_config_params

Data configuration params, nrf_wifi_data_config_params

struct temp_vbat_config temp_vbat_config_params

Calibration trigger control info based on battery voltage and temperature changes. temp_vbat_config from lmac_if_common.h

unsigned char tcp_ip_checksum_offload

0:umac checksum disable 1: umac checksum enable

unsigned char country_code[2]

Country code to set

unsigned int op_band

Operating band see enum op_band

unsigned char mgmt_buff_offload

Offload mgmt buffer refill to UMAC when enabled

unsigned int feature_flags

Enable features from driver config

unsigned int disable_beamforming

To deactivate beamforming, By default the RPU enables the beamforming feature. If a user wishes to turn it off, they should set this parameter to 1.

unsigned int discon_timeout

The RPU uses this value (in seconds) to decide how long to wait without receiving beacons before disconnection.

unsigned char ps_data_retrieval_mech

RPU uses QoS null frame or PS-Poll frame to retrieve buffered frames from the AP in power save data_retrieve_mechanism.

struct nrf_wifi_cmd_sys_deinit
#include <host_rpu_sys_if.h>

This structure defines the command used to de-initialize the RPU.

Public Members

struct nrf_wifi_sys_head sys_head

umac header, nrf_wifi_sys_head

struct nrf_wifi_cmd_he_gi_ltf_config
#include <host_rpu_sys_if.h>

This structure defines the command used to configure High-Efficiency Guard Interval(HE-GI) and High-Efficiency Long Training Field (HE-LTF).

HE-GI duration determines the guard interval length used in the HE transmission. HE-LTF is used for channel estimation and signal detection in HE transmissions.

Public Members

struct nrf_wifi_sys_head sys_head

umac header, see &nrf_wifi_sys_head

unsigned char wdev_id

wdev interface id

unsigned char he_gi_type

HE GI type (NRF_WIFI_HE_GI_800NS/NRF_WIFI_HE_GI_1600NS/NRF_WIFI_HE_GI_3200NS)

unsigned char he_ltf

HE LTF (NRF_WIFI_HE_LTF_3200NS/NRF_WIFI_HE_LTF_6400NS/NRF_WIFI_HE_LTF_12800NS)

unsigned char enable

Fixed HE GI & LTF values can be enabled and disabled

struct rpu_conf_params
#include <host_rpu_sys_if.h>

This structure describes different Physical Layer (PHY) configuration parameters used in RF test and Radio test scenarios. These parameters are specific to testing and evaluating the performance of the radio hardware.

Public Members

unsigned char nss

Unused. Number of spatial streams supported. Support is there for 1x1 only.

unsigned char antenna_sel

Unused

unsigned char rf_params[NRF_WIFI_RF_PARAMS_SIZE]

An array containing RF & baseband control params

unsigned char tx_pkt_chnl_bw

Not required

unsigned char tx_pkt_tput_mode

WLAN packet formats. 0->Legacy 1->HT 2->VHT 3->HE(SU) 4->HE(ERSU) and 5->HE(TB)

unsigned char tx_pkt_sgi

Short Guard enable/disable

unsigned char tx_pkt_nss

Not required

unsigned char tx_pkt_preamble

Preamble type. 0->short, 1->Long and 2->Mixed

unsigned char tx_pkt_stbc

Not used

unsigned char tx_pkt_fec_coding

0->BCC 1->LDPC. Supporting only BCC in nRF7002

signed char tx_pkt_mcs

Valid MCS number between 0 to 7

signed char tx_pkt_rate

Legacy rate to be used in Mbps (1, 2, 5.5, 11, 6, 9, 12, 18, 24, 36, 48, 54)

signed char phy_threshold

Copy OTP params to this memory

unsigned int phy_calib

Calibration bit map value. refer NRF_WIFI_DEF_PHY_CALIB

signed int op_mode

Radio test mode or System mode selection

struct chan_params chan

Channel related info viz, channel, bandwidth, primary 20 offset

unsigned char tx_mode

Value of 0 means continuous transmission.Greater than 1 is invalid

signed int tx_pkt_num

Number of packets to be transmitted. Any number above 0. Set -1 for continuous transmission

unsigned short tx_pkt_len

Length of the packet (in bytes) to be transmitted

unsigned int tx_power

Desired TX power in dBm in the range 0 dBm to 21 dBm in steps of 1 dBm

unsigned char tx

Transmit WLAN packet

unsigned char rx

Receive WLAN packet

unsigned char aux_adc_input_chain_id

Not required

unsigned char agg

Unused

unsigned char he_ltf

Select HE LTF type viz, 0->1x, 1->2x and 2->4x

unsigned char he_gi

Select HE LTF type viz, 0->0.8us, 1->1.6us and 2->3.2us

unsigned char set_he_ltf_gi

Not required

unsigned char power_save

Not required

unsigned int rts_threshold

Not required

unsigned int uapsd_queue

Not required

unsigned int tx_pkt_gap_us

Interval between TX packets in us (Min: 200, Max: 200000, Default: 200)

unsigned char wlan_ant_switch_ctrl

Configure WLAN antenna switch(0-separate/1-shared)

unsigned char sr_ant_switch_ctrl

Switch to control the SR antenna or shared WiFi antenna

unsigned char ru_tone

Resource unit (RU) size (26,52,106 or 242)

unsigned char ru_index

Location of resource unit (RU) in 20 MHz spectrum

signed char tx_tone_freq

Desired tone frequency to be transmitted

unsigned char lna_gain

RX LNA gain

unsigned char bb_gain

RX BB gain

unsigned short int capture_length

Number of RX samples to be captured

unsigned short int capture_timeout

Capture timeout in seconds

unsigned char bypass_regulatory

Configure WLAN to bypass regulatory

unsigned char country_code[2]

Two letter country code (00: Default for WORLD)

unsigned int tx_pkt_cw

Contention window value to be configured

struct nrf_wifi_cmd_mode_params
#include <host_rpu_sys_if.h>

This structure defines the command used to configure the RPU with different PHY configuration parameters specifically designed for RF test and Radio test scenarios. The command is intended to set up the RPU for testing and evaluating the performance of the radio hardware.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, See &struct nrf_wifi_sys_head

struct rpu_conf_params conf

configuration parameters of different modes see &union rpu_conf_params

unsigned short pkt_length[16]

Packet length

unsigned int ddr_ptrs[16]

Packet ddr pointer

struct nrf_wifi_radio_test_init_info
#include <host_rpu_sys_if.h>

This structure represents the parameters required to initialize a radio test.

Public Members

unsigned char rf_params[NRF_WIFI_RF_PARAMS_SIZE]

An array containing RF & baseband control params

struct chan_params chan

Channel related info viz, channel, bandwidth, primary 20 offset

signed char phy_threshold

Phy threshold value to be sent to LMAC in channel programming

unsigned int phy_calib

Calibration bit map value. refer phy_rf_params.h NRF_WIFI_DEF_PHY_CALIB

struct nrf_wifi_cmd_radio_test_init
#include <host_rpu_sys_if.h>

This structure defines the command used to initialize a radio test.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct nrf_wifi_radio_test_init_info conf

radiotest init configuration parameters nrf_wifi_radio_test_init_info

struct nrf_wifi_cmd_rx
#include <host_rpu_sys_if.h>

This structure defines the command used to enable or disable the reception (Rx). It allows controlling the radio hardware’s receive functionality to start or stop listening for incoming data frames.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct rpu_conf_rx_radio_test_params conf

rx configuration parameters rpu_conf_rx_radio_test_params

struct nrf_wifi_cmd_get_stats
#include <host_rpu_sys_if.h>

This structure defines the command used to retrieve statistics from the RPU.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

signed int stats_type

Statistics type &enum rpu_stats_type

signed int op_mode

Production mode or FCM mode

struct nrf_wifi_cmd_set_channel
#include <host_rpu_sys_if.h>

This structure represents the channel parameters to configure specific channel.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head.

unsigned char if_index

Interface index.

struct chan_params chan

channel parameters, chan_params.

struct nrf_wifi_cmd_raw_config_mode
#include <host_rpu_sys_if.h>

This structure defines the command used to configure promiscuous mode/Monitor mode/Packet injector mode.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head.

unsigned char if_index

Interface index.

unsigned char op_mode

Wireless device operating mode.

struct nrf_wifi_cmd_raw_config_filter
#include <host_rpu_sys_if.h>

This structure defines the command used to configure filters and capture length in promiscuous and monitor modes.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head.

unsigned char if_index

Interface index.

unsigned char filter

Wireless device operating mode filters for Promiscuous/Monitor modes.

unsigned short capture_len

capture length.

struct nrf_wifi_raw_tx_pkt
#include <host_rpu_sys_if.h>

This structure defines the raw tx parameters used in packet injector mode.

Public Members

unsigned char queue_num

Queue number will be BK, BE, VI, VO and BCN refer UMAC_QUEUE_NUM.

unsigned char desc_num

Descriptor identifier or token identifier.

unsigned short pkt_length

Packet lengths of frames.

unsigned char rate_retries

Number of times a packet should be transmitted at each possible rate.

unsigned char rate_flags

refer see &enum rpu_tput_mode.

unsigned char rate

rate: legacy rates: 1,2,55,11,6,9,12,18,24,36,48,54 11N VHT HE : MCS index 0 to 7.

unsigned int frame_ddr_pointer

Starting Physical address of each frame in Ext-RAM after dma_mapping.

struct nrf_wifi_cmd_raw_tx
#include <host_rpu_sys_if.h>

This structure defines the command used to configure packet injector mode.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head.

unsigned char if_index

Interface index.

struct nrf_wifi_raw_tx_pkt raw_tx_info

Raw tx packet information.

struct nrf_wifi_event_set_channel
#include <host_rpu_sys_if.h>

This structure defines an event that indicates set channel command done.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head.

unsigned char if_index

Interface index.

unsigned int chan_num

channel number.

int status

status of the set channel command, success(0)/Fail(-1).

struct nrf_wifi_event_raw_config_mode
#include <host_rpu_sys_if.h>

This structure defines an event that indicates set raw config mode command done.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head.

unsigned char if_index

Interface index.

unsigned char op_mode

Operating mode.

int status

status of the set raw config mode command, success(0)/Fail(-1).

struct nrf_wifi_event_raw_config_filter
#include <host_rpu_sys_if.h>

This structure defines an event that indicates set raw config filter command done.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head.

unsigned char if_index

Interface index.

unsigned char filter

mode filter configured.

unsigned char capture_len

capture len configured.

int status

status of the set raw filter command, success(0)/Fail(-1).

struct nrf_wifi_event_raw_tx_done
#include <host_rpu_sys_if.h>

This structure defines an event that indicates the Raw tx done.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head.

unsigned char desc_num

descriptor number.

int status

status of the raw tx packet command, success(0)/Fail(-1).

struct nrf_wifi_cmd_clear_stats
#include <host_rpu_sys_if.h>

This structure defines the command used to clear or reset statistics.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

signed int stats_type

Type of statistics to clear &enum rpu_stats_type

struct nrf_wifi_cmd_pwr
#include <host_rpu_sys_if.h>

This structure represents the command used to obtain power monitor information specific to different data types.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

signed int data_type

Type of Control info that host need

struct coex_wlan_switch_ctrl
#include <host_rpu_sys_if.h>

Structure for coexistence (coex) switch configuration.

Public Members

signed int rpu_msg_id

Host to coexistence manager message id

signed int switch_A

Switch configuration value

struct nrf_wifi_cmd_srcoex
#include <host_rpu_sys_if.h>

The structure represents the command used to configure the Wi-Fi side shared switch for SR coexistence.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct coex_wlan_switch_ctrl conf

Switch configuration data

struct rpu_cmd_coex_config_info
#include <host_rpu_sys_if.h>

The structure defines the parameters used to configure the coexistence hardware.

Public Members

unsigned int len

Length of coexistence configuration data

unsigned char coex_cmd[0]

Coexistence configuration data

struct nrf_wifi_cmd_coex_config
#include <host_rpu_sys_if.h>

This structure defines the command used to configure the coexistence hardware.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct rpu_cmd_coex_config_info coex_config_info

Coexistence configuration data. rpu_cmd_coex_config_info

struct rpu_evnt_coex_config_info
#include <host_rpu_sys_if.h>

This structure describes the coexistence configuration data received in the NRF_WIFI_EVENT_COEX_CONFIG event.

Public Members

unsigned int len

Length of coexistence configuration data

unsigned char coex_event[0]

Coexistence configuration data

struct nrf_wifi_event_coex_config
#include <host_rpu_sys_if.h>

This structure defines the event used to represent coexistence configuration.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct rpu_evnt_coex_config_info coex_config_info

Coexistence configuration data in the event. rpu_evnt_coex_config_info

struct nrf_wifi_cmd_fix_tx_rate
#include <host_rpu_sys_if.h>

This structure defines the command used to fix the transmission (Tx) data rate. The command allows setting a specific data rate for data transmission, ensuring that the system uses the designated rate instead of dynamically adapting to changing channel conditions.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

unsigned char rate_flags

refer see &enum rpu_tput_mode

int fixed_rate

fixed_rate: -1 Disable fixed rate and use ratecontrol selected rate fixed rate: >0 legacy rates: 1,2,55,11,6,9,12,18,24,36,48,54 11N VHT HE : MCS index 0 to 7.

struct rpu_cmd_rftest_info
#include <host_rpu_sys_if.h>

This structure describes rf test command information.

Public Members

unsigned int len

length of the rf test command

unsigned char rfcmd[0]

Rf test command data

struct nrf_wifi_cmd_rftest
#include <host_rpu_sys_if.h>

This structure defines the command used for RF (Radio Frequency) testing. RF test commands are specifically designed to configure and control the radio hardware for conducting tests and evaluating its performance in various scenarios.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct rpu_cmd_rftest_info rf_test_info

rpu_cmd_rftest_info

struct rpu_evnt_rftest_info
#include <host_rpu_sys_if.h>

This structure describes rf test event information.

Public Members

unsigned int len

length of the rf test event

unsigned char rfevent[0]

Rf test event data

struct nrf_wifi_event_rftest
#include <host_rpu_sys_if.h>

This structure describes the event generated during RF (Radio Frequency) testing.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct rpu_evnt_rftest_info rf_test_info

rpu_evnt_rftest_info

struct nrf_wifi_event_pwr_data
#include <host_rpu_sys_if.h>

This structure represents the power data event generated in response to the NRF_WIFI_CMD_PWR command.

The NRF_WIFI_CMD_PWR command is used to retrieve power-related data or measurements from the radio hardware.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

signed int mon_status

Power monitor command status info

signed int data_type

Data

struct nrf_wifi_rpu_pwr_data data

Data that host may want to read from Power IP

struct rpu_fw_stats
#include <host_rpu_sys_if.h>

This structure is a comprehensive combination of all the firmware statistics that the RPU (Radio Processing Unit) can provide.

Public Members

struct rpu_phy_stats phy

PHY statistics rpu_phy_stats

struct rpu_lmac_stats lmac

LMAC statistics rpu_lmac_stats

struct rpu_umac_stats umac

UMAC statistics rpu_umac_stats

struct nrf_wifi_umac_event_stats
#include <host_rpu_sys_if.h>

This structure represents the event that provides RPU statistics in response to the command NRF_WIFI_CMD_GET_STATS in a wireless communication system.

The NRF_WIFI_CMD_GET_STATS command is used to request various statistics from the RPU.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct rpu_fw_stats fw

All the statistics that the firmware can provide rpu_fw_stats

struct nrf_wifi_umac_event_err_status
#include <host_rpu_sys_if.h>

This structure defines an event that indicates the error status values that may occur during a radio test. It serves as a response to the radio test commands.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

unsigned int status

status of the command, Fail/success &enum nrf_wifi_radio_test_err_status

struct nrf_wifi_event_init_done
#include <host_rpu_sys_if.h>

This structure represents the UMAC initialization done event. The event is sent by the RPU (Radio Processing Unit) in response to the NRF_WIFI_CMD_INIT command, indicating that the RPU initialization process has been completed successfully.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct pool_data_to_host
#include <host_rpu_sys_if.h>

structure for UMAC memory pool information.

Public Members

unsigned int buffer_size

Size of the memory buffer

unsigned char num_pool_items

Number of pool items available for the above memory buffer

unsigned char items_num_max_allocated

Maximum pools allocated at any point of time

unsigned char items_num_cur_allocated

Currently allocated pools

unsigned int items_num_total_allocated

Total number of pool allocated

unsigned int items_num_not_allocated

Number of times this memory pool is full

struct umac_int_stats
#include <host_rpu_sys_if.h>

This structure represents the event that provides UMAC (Upper MAC) internal memory statistics in response to the NRF_WIFI_CMD_UMAC_INT_STATS command.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct pool_data_to_host scratch_dynamic_memory_info[56]

See pool_data_to_host

struct pool_data_to_host retention_dynamic_memory_info[56]

See pool_data_to_host

struct nrf_wifi_event_deinit_done
#include <host_rpu_sys_if.h>

This structure represents the event that indicates the completion of UMAC deinitialization. The RPU sends this event as a response to the NRF_WIFI_CMD_DEINIT command, signaling that the UMAC has been successfully deinitialized.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct nrf_wifi_cmd_reset_stats
#include <host_rpu_sys_if.h>

This structure describes the command for reset of interface statistics.

Public Members

struct nrf_wifi_sys_head sys_head

UMAC header, nrf_wifi_sys_head

struct nrf_wifi_ssid
#include <host_rpu_umac_if.h>

This structure provides details about the SSID.

Public Members

unsigned char nrf_wifi_ssid_len

length of SSID

unsigned char nrf_wifi_ssid[32]

SSID string

struct nrf_wifi_ie
#include <host_rpu_umac_if.h>

This structure contains data related to the Information Elements (IEs).

Public Members

unsigned short ie_len

length of IE

signed char ie[400]

Information element data

struct nrf_wifi_seq
#include <host_rpu_umac_if.h>

Transmit key sequence number.

Public Members

signed int nrf_wifi_seq_len

Length of the seq parameter

unsigned char nrf_wifi_seq[256]

Key sequence number data

struct nrf_wifi_key
#include <host_rpu_umac_if.h>

This structure holds information related to a security key.

Public Members

unsigned int nrf_wifi_key_len

Length of the key data

unsigned char nrf_wifi_key[256]

Key data

struct nrf_wifi_sae
#include <host_rpu_umac_if.h>

This structure represents SAE elements in Authentication frame.

Public Members

signed int sae_data_len

Length of SAE element data

unsigned char sae_data[256]

SAE element data

struct nrf_wifi_frame
#include <host_rpu_umac_if.h>

This structure defines the frame that is intended for transmission.

Public Members

signed int frame_len

Length of the frame

signed char frame[400]

frame data

struct nrf_wifi_index_ids
#include <host_rpu_umac_if.h>

This structure contains details about the interface information.

Public Members

unsigned int valid_fields

Indicate which properties below are set

signed int ifaceindex

wdev id

signed int nrf_wifi_wiphy_idx

Unused

unsigned long long wdev_id

Unused

struct nrf_wifi_supp_rates
#include <host_rpu_umac_if.h>

This structure provides information about the rate parameters.

Public Members

unsigned int valid_fields

Indicate which of the following parameters are valid

signed int band

Frequency band, see &enum nrf_wifi_band

signed int nrf_wifi_num_rates

Number of values in rates parameter

unsigned char rates[60]

List of supported rates as defined by IEEE 802.11 7.3.2.2

struct nrf_wifi_channel
#include <host_rpu_umac_if.h>

This structure contains details about a channel’s information.

Public Members

signed int band

band this channel belongs to

unsigned int center_frequency

center frequency in MHz

unsigned int nrf_wifi_flags

channel flags from see &enum nrf_wifi_channel_flags

signed int nrf_wifi_max_antenna_gain

maximum antenna gain in dBi

signed int nrf_wifi_max_power

maximum transmission power (in dBm)

signed int nrf_wifi_max_reg_power

maximum regulatory transmission power (in dBm)

unsigned int nrf_wifi_orig_flags

channel flags at registration time, used by regulatory code to support devices with additional restrictions

signed int nrf_wifi_orig_mag

internal use

signed int nrf_wifi_orig_mpwr

internal use

unsigned short hw_value

hardware-specific value for the channel

signed char nrf_wifi_beacon_found

helper to regulatory code to indicate when a beacon has been found on this channel. Use regulatory_hint_found_beacon() to enable this, this is useful only on 5 GHz band.

struct nrf_wifi_scan_params
#include <host_rpu_umac_if.h>

This structure provides details about the parameters required for a scan request.

Public Members

unsigned short passive_scan

If 0x1, RPU force passive scan on all channels

unsigned char num_scan_ssids

Number of ssid’s in scan_ssids parameter

struct nrf_wifi_ssid scan_ssids[2]

Specific SSID’s to scan for

unsigned char no_cck

used to send probe requests at non CCK rate in 2GHz band

unsigned char bands

Bitmap of bands to be scanned. Value Zero will scan both 2.4 and 5 GHZ

struct nrf_wifi_ie ie

Information element(s) data nrf_wifi_ie

unsigned char mac_addr[6]

MAC address

unsigned short dwell_time_active

Max scan duration in active scan. If zero rpu programs 50msec

unsigned short dwell_time_passive

Max scan duration in passive scan. If zero rpu programs 150msec

unsigned short num_scan_channels

Number of channels to be scanned

unsigned char skip_local_admin_macs

If true, skip local and IANA Unicast reserved MACs

unsigned int center_frequency[0]

specific channels to be scanned

struct nrf_wifi_ht_vht_capabilities
#include <host_rpu_umac_if.h>

This structure contains specific information about the VHT (Very High Throughput) and HT ((High Throughput)) capabilities.

Public Members

unsigned int valid_fields

Indicate which of the following parameters are valid

unsigned short nrf_wifi_flags

Indicate which capabilities have been specified

unsigned char ht_capability[256]

HT Capability information element (from association request when used with NRF_WIFI_UMAC_CMD_NEW_STATION).

unsigned char ht_capability_mask[256]

Specify which bits of the ht_capability are masked

unsigned char vht_capability[256]

VHT Capability information element

unsigned char vht_capability_mask[256]

Specify which bits in vht_capability to which attention should be paid

struct nrf_wifi_signal
#include <host_rpu_umac_if.h>

This structure represents information related to the signal strength.

Public Members

unsigned int signal_type

MBM or unspecified

unsigned int mbm_signal

If MBM signal strength of probe response/beacon in mBm (100 * dBm) (s32)

unsigned char unspec_signal

If unspecified signal strength of the probe response/beacon in unspecified units, scaled to 0..100 (u8).

union nrf_wifi_signal.[anonymous] signal

signal

struct nrf_wifi_connect_common_info
#include <host_rpu_umac_if.h>

This structure contains parameters related to the connection.

Public Members

unsigned int valid_fields

Indicate which of the following parameters are valid

unsigned int frequency

Frequency of the selected channel in MHz

unsigned int freq_hint

Frequency of the recommended initial BSS

unsigned int wpa_versions

Indicates which WPA version(s)

signed int num_cipher_suites_pairwise

Number of pairwise cipher suites

unsigned int cipher_suites_pairwise[7]

For crypto settings, indicates which pairwise cipher suites are used

unsigned int cipher_suite_group

For crypto settings, indicates which group cipher suite is used

unsigned int num_akm_suites

Number of groupwise cipher suites

unsigned int akm_suites[2]

Indicate which key management algorithm(s) to use

signed int use_mfp

Whether management frame protection (IEEE 802.11w) is used for the association

unsigned int nrf_wifi_flags

Flag for indicating whether the current connection shall support Radio Resource Measurements (11k)

unsigned short bg_scan_period

Background scan period in seconds or 0 to disable background scan

unsigned char mac_addr[6]

MAC address

unsigned char mac_addr_hint[6]

MAC address recommendation as initial BSS

struct nrf_wifi_ssid ssid

SSID (binary attribute, 0..32 octets)

struct nrf_wifi_ie wpa_ie

IE’s nrf_wifi_ie

struct nrf_wifi_ht_vht_capabilities ht_vht_capabilities

VHT Capability information element nrf_wifi_ht_vht_capabilities

unsigned short control_port_ether_type

A 16-bit value indicating the ethertype that will be used for key negotiation. If it is not specified, the value defaults to 0x888E.

unsigned char control_port_no_encrypt

When included along with control_port_ether_type, indicates that the custom ethertype frames used for key negotiation must not be encrypted.

signed char control_port

Indicating whether user space controls IEEE 802.1X port, If set, the RPU will assume that the port is unauthorized until authorized by user space. Otherwise, port is marked authorized by default in station mode.

unsigned char prev_bssid[6]

previous BSSID, used to specify a request to reassociate within an ESS that is, to use Reassociate Request frame (with the value of this attribute in the Current AP address field) instead of Association Request frame which is used for the initial association to an ESS.

unsigned short maxidle_insec

Bss max idle timeout value in sec which will be encapsulated into BSS MAX IDLE IE in assoc request frame.

struct nrf_wifi_beacon_data
#include <host_rpu_umac_if.h>

This structure provides information about beacon and probe data.

Public Members

unsigned int head_len

length of head

unsigned int tail_len

length of tail

unsigned int probe_resp_len

length of probe response template (probe_resp)

unsigned char head[256]

head portion of beacon (before TIM IE) or NULL if not changed

unsigned char tail[512]

tail portion of beacon (after TIM IE) or NULL if not changed

unsigned char probe_resp[400]

probe response template

struct nrf_wifi_sta_flag_update
#include <host_rpu_umac_if.h>

This structure provides information regarding station flags.

Public Members

unsigned int nrf_wifi_mask

Mask of station flags to set

unsigned int nrf_wifi_set

Values to set them to. NRF_WIFI_STA_FLAG_AUTHORIZED

struct nrf_wifi_rate_info
#include <host_rpu_umac_if.h>

This structure contains information about rate parameters.

Public Members

unsigned int valid_fields

Valid fields with in this structure

unsigned int bitrate

bitrate

unsigned short bitrate_compat

Bitrate compatible

unsigned char nrf_wifi_mcs

Modulation and Coding Scheme(MCS)

unsigned char vht_mcs

MCS related to VHT

unsigned char vht_nss

NSS related to VHT

unsigned int nrf_wifi_flags

Rate flags NRF_WIFI_RATE_INFO_0_MHZ_WIDTH

struct nrf_wifi_sta_bss_parameters
#include <host_rpu_umac_if.h>

This structure provides information about the Basic Service Set (BSS) parameters for the attached station.

Public Members

unsigned char nrf_wifi_flags

bitfields of flags NRF_WIFI_BSS_PARAM_FLAGS_CTS_PROT

unsigned char dtim_period

DTIM period for the BSS

unsigned short beacon_interval

beacon interval

struct nrf_wifi_sta_info
#include <host_rpu_umac_if.h>

This structure contains information about a Station (STA).

Public Members

unsigned int valid_fields

Valid fields with in this structure

unsigned int connected_time

time since the station is last connected

unsigned int inactive_time

time since last activity, in msec

unsigned int rx_bytes

total received bytes from this station

unsigned int tx_bytes

total transmitted bytes to this station

unsigned int chain_signal_mask

per-chain signal mask value

unsigned char chain_signal[4]

per-chain signal strength of last PPDU

unsigned int chain_signal_avg_mask

per-chain signal strength average mask value

unsigned char chain_signal_avg[4]

per-chain signal strength average

struct nrf_wifi_rate_info tx_bitrate

nrf_wifi_rate_info

struct nrf_wifi_rate_info rx_bitrate

nrf_wifi_rate_info

unsigned short llid

Not used

unsigned short plid

Not used

Not used

signed int signal

signal strength of last received PPDU, in dbm

signed int signal_avg

signal strength average, in dbm

unsigned int rx_packets

total received packet from this station

unsigned int tx_packets

total transmitted packets to this station

unsigned int tx_retries

total retries to this station

unsigned int tx_failed

total failed packets to this station

unsigned int expected_throughput

expected throughput in kbps

unsigned int beacon_loss_count

count of times beacon loss was detected

unsigned int local_pm

Not used

unsigned int peer_pm

Not used

unsigned int nonpeer_pm

Not used

struct nrf_wifi_sta_flag_update sta_flags

station flags nrf_wifi_sta_flag_update

unsigned long long t_offset

timing offset with respect to this STA

unsigned long long rx_dropped_misc

count of times other(non beacon) loss was detected

unsigned long long rx_beacon

count of times beacon

long long rx_beacon_signal_avg

average of beacon signal

struct nrf_wifi_sta_bss_parameters bss_param

Station connected BSS params. nrf_wifi_sta_bss_parameters

struct nrf_wifi_umac_hdr
#include <host_rpu_umac_if.h>

The command header expected by UMAC to handle requests from the control interface.

Public Members

unsigned int portid

unused

unsigned int seq

unused

unsigned int cmd_evnt

UMAC command/event value see &enum nrf_wifi_umac_commands see &enum nrf_wifi_umac_events

signed int rpu_ret_val

unused

struct nrf_wifi_index_ids ids

Interface information nrf_wifi_index_ids

struct nrf_wifi_umac_key_info
#include <host_rpu_umac_if.h>

This structure contains information about a security key.

Public Members

unsigned int valid_fields

Indicate which of the following parameters are valid

unsigned int cipher_suite

Key cipher suite (as defined by IEEE 802.11 section 7.3.2.25.1)

unsigned short nrf_wifi_flags

Specify what a key should be set as default as example NRF_WIFI_KEY_DEFAULT_MGMT

signed int key_type

Key Type, see &enum nrf_wifi_key_type

struct nrf_wifi_key key

Key data nrf_wifi_key

struct nrf_wifi_seq seq

Transmit key sequence number (IV/PN) for TKIP and CCMP keys, each six bytes in little endian nrf_wifi_seq

unsigned char key_idx

Key ID (0-3)

struct nrf_wifi_umac_scan_info
#include <host_rpu_umac_if.h>

This structure contains details about scan request information.

Public Members

signed int scan_reason

scan type see &enum scan_reason

struct nrf_wifi_scan_params scan_params

scan parameters nrf_wifi_scan_params

struct nrf_wifi_umac_cmd_scan
#include <host_rpu_umac_if.h>

This structure defines a command scan request.

struct nrf_wifi_umac_cmd_abort_scan
#include <host_rpu_umac_if.h>

This structure defines a command to abort a scan request.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_cmd_get_scan_results
#include <host_rpu_umac_if.h>

TThis structure defines a command to request scan results. This command should be executed only if we have received a NRF_WIFI_UMAC_EVENT_SCAN_DONE event for a previous scan.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

signed int scan_reason

scan type see &enum scan_reason

struct nrf_wifi_umac_event_scan_done
#include <host_rpu_umac_if.h>

This structure provides details about the “Scan Done” event.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

signed int status

status, 0=Scan successful & 1=Scan aborted

unsigned int scan_type

scan type see &enum scan_reason

struct nrf_wifi_umac_mcast_cfg
#include <host_rpu_umac_if.h>

This structure represents the parameters used to configure the multicast address filter.

Public Members

unsigned int type

Add (0) or Delete (1)

unsigned char mac_addr[6]

multicast address to be added/deleted

struct nrf_wifi_umac_cmd_mcast_filter
#include <host_rpu_umac_if.h>

This structure defines a command used to set multicast (mcast) addresses.

struct nrf_wifi_umac_change_macaddr_info
#include <host_rpu_umac_if.h>

This structure represents the parameters used to change the MAC address.

Public Members

unsigned char mac_addr[6]

MAC address to be set

struct nrf_wifi_umac_cmd_change_macaddr
#include <host_rpu_umac_if.h>

This structure describes command to change MAC address. This has to be used only when the interface is down.

struct nrf_wifi_umac_auth_info
#include <host_rpu_umac_if.h>

This structure specifies the parameters to be used when sending an authentication request.

Public Members

unsigned int frequency

Frequency of the selected channel in MHz

unsigned short nrf_wifi_flags

Flag attribute to indicate that a command is requesting a local authentication/association state change without invoking actual management frame exchange. This can be used with NRF_WIFI_UMAC_CMD_AUTHENTICATE NRF_WIFI_UMAC_CMD_DEAUTHENTICATE.

signed int auth_type

Authentication type. see &enum nrf_wifi_auth_type

struct nrf_wifi_umac_key_info key_info

Key information

struct nrf_wifi_ssid ssid

SSID (binary attribute, 0..32 octets)

struct nrf_wifi_ie ie

Information element(s) data

struct nrf_wifi_sae sae

SAE elements in Authentication frames. This starts with the Authentication transaction sequence number field.

unsigned char nrf_wifi_bssid[6]

MAC address (various uses)

signed int scan_width

The following parameters will be used to construct bss database in case of cfg80211 offload to host case. scanning width

signed int nrf_wifi_signal

Signal strength

signed int from_beacon

Received elements from beacon or probe response

struct nrf_wifi_ie bss_ie

BSS information element data

unsigned short capability

BSS capability

unsigned short beacon_interval

Beacon interval(ms)

unsigned long long tsf

Beacon tsf

struct nrf_wifi_umac_cmd_auth
#include <host_rpu_umac_if.h>

This structure defines a command used to send an authentication request.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_umac_auth_info info

Information to be passed in the authentication command nrf_wifi_umac_auth_info

struct nrf_wifi_umac_assoc_info
#include <host_rpu_umac_if.h>

This structure specifies the parameters to be used when sending an association request.

Public Members

unsigned int center_frequency

Frequency of the selected channel in MHz

struct nrf_wifi_ssid ssid

ssid nrf_wifi_ssid

unsigned char nrf_wifi_bssid[6]

MAC address (various uses)

struct nrf_wifi_ie wpa_ie

WPA information element data. nrf_wifi_ie

unsigned char use_mfp

Whether management frame protection (IEEE 802.11w) is used for the association

signed char control_port

Indicating whether user space controls IEEE 802.1X port. If set, the RPU will assume that the port is unauthorized until authorized by user space. Otherwise, port is marked authorized by default in station mode.

unsigned int prev_bssid_flag

Previous BSSID used in flag

unsigned char prev_bssid[6]

Previous BSSID used in Re-assoc.

unsigned short bss_max_idle_time

Bss max idle timeout value in sec wich will be encapsulated into BSS MAX IDLE IE in assoc request frame.

struct nrf_wifi_umac_cmd_assoc
#include <host_rpu_umac_if.h>

This structure specifies the parameters to be used when sending an association request.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_connect_common_info connect_common_info

nrf_wifi_connect_common_info

unsigned char mac_addr[6]

Previous BSSID, to be used by in ASSOCIATE commands to specify using a reassociate frame.

struct nrf_wifi_umac_disconn_info
#include <host_rpu_umac_if.h>

This structure specifies the parameters to be passed while sending a deauthentication request (NRF_WIFI_UMAC_CMD_DEAUTHENTICATE).

Public Members

unsigned short nrf_wifi_flags

Indicates that a command is requesting a local deauthentication/disassociation state change without invoking actual management frame exchange.

unsigned short reason_code

Reason code for disassociation or deauthentication

unsigned char mac_addr[6]

MAC address (various uses)

struct nrf_wifi_umac_cmd_disconn
#include <host_rpu_umac_if.h>

This structure specifies the parameters to be used when sending a disconnect request.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_umac_disconn_info info

nrf_wifi_umac_disconn_info

struct nrf_wifi_umac_add_vif_info
#include <host_rpu_umac_if.h>

This structure contains the information to be passed to the RPU to create a new virtual interface using the NRF_WIFI_UMAC_CMD_NEW_INTERFACE command.

Public Members

signed int iftype

Interface type, see enum nrf_wifi_sys_iftype

signed int nrf_wifi_use_4addr

Use 4-address frames on a virtual interface

unsigned int mon_flags

Unused

unsigned char mac_addr[6]

MAC Address

signed char ifacename[16]

Interface name

struct nrf_wifi_umac_cmd_add_vif
#include <host_rpu_umac_if.h>

This structure defines a command used to create a new virtual interface using the NRF_WIFI_UMAC_CMD_NEW_INTERFACE command.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_umac_add_vif_info info

VIF specific information to be passed to the RPU nrf_wifi_umac_add_vif_info

struct nrf_wifi_umac_cmd_del_vif
#include <host_rpu_umac_if.h>

This structure defines a command used to delete a virtual interface. However, this command is not allowed on the default interface.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_frame_match
#include <host_rpu_umac_if.h>

This structure represents the data of management frame that must be matched for processing in userspace.

Public Members

unsigned int frame_match_len

Length of data

unsigned char frame_match[8]

Data to match

struct nrf_wifi_umac_mgmt_frame_info
#include <host_rpu_umac_if.h>

This structure contains information about the type of management frame that should be passed to the driver for processing in userspace.

Public Members

unsigned short frame_type

Frame type/subtype

struct nrf_wifi_umac_frame_match frame_match

Match information Refer &struct nrf_wifi_umac_frame_match

struct nrf_wifi_umac_cmd_mgmt_frame_reg
#include <host_rpu_umac_if.h>

This structure defines a command to inform the RPU to register a management frame, which must not be filtered by the RPU and should instead be passed to the host for userspace processing.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_mgmt_frame_info info

Management frame specific information to be passed to the RPU. nrf_wifi_umac_mgmt_frame_info

struct nrf_wifi_umac_cmd_key
#include <host_rpu_umac_if.h>

This structure represents command to add a new key.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_umac_key_info key_info

Key information. nrf_wifi_umac_key_info

unsigned char mac_addr[6]

MAC address associated with the key

struct nrf_wifi_umac_cmd_set_key
#include <host_rpu_umac_if.h>

This structure defines a command that is used to add a new key.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_key_info key_info

Key information , nrf_wifi_umac_key_info

struct nrf_wifi_umac_bss_info
#include <host_rpu_umac_if.h>

This structure contains parameters that describe the BSS (Basic Service Set) information.

Public Members

unsigned int p2p_go_ctwindow

P2P GO Client Traffic Window, used with the START_AP and SET_BSS commands.

unsigned int p2p_opp_ps

P2P GO opportunistic PS, used with the START_AP and SET_BSS commands. This can have the values 0 or 1; if not given in START_AP 0 is assumed, if not given in SET_BSS no change is made.

unsigned int num_basic_rates

Number of basic rate elements

unsigned short ht_opmode

HT operation mode

unsigned char nrf_wifi_cts

Whether CTS protection is enabled (0 or 1)

unsigned char preamble

Whether short preamble is enabled (0 or 1)

unsigned char nrf_wifi_slot

Whether short slot time enabled (0 or 1)

unsigned char ap_isolate

(AP mode) Do not forward traffic between stations connected to this BSS

unsigned char basic_rates[32]

Basic rates, array of basic rates in format defined by IEEE 802.11 7.3.2.2

struct nrf_wifi_umac_cmd_set_bss
#include <host_rpu_umac_if.h>

This structure represents a command used to set BSS (Basic Service Set) parameters.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_umac_bss_info bss_info

BSS specific information to be passed to the RPU nrf_wifi_umac_bss_info

struct freq_params
#include <host_rpu_umac_if.h>

This structure contains information about frequency parameters.

Public Members

unsigned int valid_fields

Indicate which of the following parameters are valid

signed int frequency

Value in MHz

signed int channel_width

Width of the channel

See also

&enu nrf_wifi_chan_width

signed int center_frequency1

Unused

signed int center_frequency2

Unused

signed int channel_type

Type of channel see &enum nrf_wifi_channel_type

struct nrf_wifi_txq_params
#include <host_rpu_umac_if.h>

This structure contains information about transmit queue parameters.

Public Members

unsigned short txop

Transmit oppurtunity

unsigned short cwmin

Minimum contention window

unsigned short cwmax

Maximum contention window

unsigned char aifs

Arbitration interframe spacing

unsigned char ac

Access category

struct nrf_wifi_tx_power_setting
#include <host_rpu_umac_if.h>

This structure contains the parameters related to the transmit power setting.

Public Members

unsigned int valid_fields

Indicate which of the following parameters are valid

signed int type

Power value type, see nrf_wifi_tx_power_type

signed int tx_power_level

Transmit power level in signed mBm units

struct nrf_wifi_umac_set_wiphy_info
#include <host_rpu_umac_if.h>

This structure contains information about the configuration parameters needed to set up and configure the wireless Physical Layer.

Public Members

int rts_threshold

RTS threshold, TX frames with length larger than or equal to this use RTS/CTS handshake allowed range: 0..65536, disable with -1.

unsigned int frag_threshold

Fragmentation threshold, maximum length in octets for frames. allowed range: 256..8000, disable fragmentation with (u32)-1.

unsigned int antenna_tx

Bitmap of allowed antennas for transmitting. This can be used to mask out antennas which are not attached or should not be used for transmitting. If an antenna is not selected in this bitmap the hardware is not allowed to transmit on this antenna.

unsigned int antenna_rx

Bitmap of allowed antennas for receiving. This can be used to mask out antennas which are not attached or should not be used for receiving. If an antenna is not selected in this bitmap the hardware should not be configured to receive on this antenna.

struct freq_params freq_params

Frequency information of the a channel see &struct freq_params

struct nrf_wifi_txq_params txq_params

TX queue parameters nrf_wifi_txq_params

struct nrf_wifi_tx_power_setting tx_power_setting

Tx power settings nrf_wifi_tx_power_setting nrf_wifi_tx_power_setting

unsigned char retry_short

TX retry limit for frames whose length is less than or equal to the RTS threshold allowed range: 1..255.

unsigned char retry_long

TX retry limit for frames whose length is greater than the RTS threshold allowed range: 1..255.

unsigned char coverage_class

Unused

signed char wiphy_name[32]

WIPHY name (used for renaming)

struct nrf_wifi_umac_cmd_set_wiphy
#include <host_rpu_umac_if.h>

This structure defines the command to set the wireless PHY configuration.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicates which of the following parameters are valid

struct nrf_wifi_umac_set_wiphy_info info

nrf_wifi_umac_set_wiphy_info

struct nrf_wifi_umac_del_sta_info
#include <host_rpu_umac_if.h>

This structure contains the parameters to delete a station.

Public Members

unsigned char mac_addr[6]

MAC address of the station

unsigned char mgmt_subtype

Management frame subtype

unsigned short reason_code

Reason code for DEAUTHENTICATION and DISASSOCIATION

struct nrf_wifi_umac_cmd_del_sta
#include <host_rpu_umac_if.h>

This structure defines the command to delete a station.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_umac_del_sta_info info

Information regarding the station to be deleted nrf_wifi_umac_del_sta_info

struct nrf_wifi_umac_get_sta_info
#include <host_rpu_umac_if.h>

This structure contains the information required for obtaining station details.

Public Members

unsigned char mac_addr[6]

MAC address of the station

struct nrf_wifi_umac_cmd_get_sta
#include <host_rpu_umac_if.h>

This structure defines the command to get station information.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_get_sta_info info

Information regarding the station to get nrf_wifi_umac_get_sta_info

struct nrf_wifi_ext_capability
#include <host_rpu_umac_if.h>

Extended capability information.

Public Members

unsigned int ext_capability_len

length

unsigned char ext_capability[32]

Extended capability info

struct nrf_wifi_supported_channels
#include <host_rpu_umac_if.h>

Supported channels.

Public Members

unsigned int supported_channels_len

number of channels

unsigned char supported_channels[64]

channels info

struct nrf_wifi_supported_oper_classes
#include <host_rpu_umac_if.h>

Operating classes information.

Public Members

unsigned int supported_oper_classes_len

length

unsigned char supported_oper_classes[64]

oper_class info

struct nrf_wifi_sta_flags2
#include <host_rpu_umac_if.h>

Station flags.

Public Members

unsigned int sta_flags2_len

length

unsigned char sta_flags2[64]

flags

struct nrf_wifi_umac_chg_sta_info
#include <host_rpu_umac_if.h>

This structure represents the information needed to update a station entry in the RPU.

Public Members

signed int nrf_wifi_listen_interval

Listen interval as defined by IEEE 802.11 7.3.1.6

unsigned int sta_vlan

Unused

unsigned short aid

AID or zero for no change

unsigned short nrf_wifi_peer_aid

Unused

unsigned short sta_capability

Station capability

unsigned short spare

Unused

struct nrf_wifi_supp_rates supp_rates

Supported rates in IEEE 802.11 format nrf_wifi_supp_rates

struct nrf_wifi_ext_capability ext_capability

Extended capabilities of the station nrf_wifi_ext_capability

struct nrf_wifi_supported_channels supported_channels

Supported channels in IEEE 802.11 format nrf_wifi_supported_channels

struct nrf_wifi_supported_oper_classes supported_oper_classes

Supported oper classes in IEEE 802.11 format nrf_wifi_supported_oper_classes

struct nrf_wifi_sta_flag_update sta_flags2

station flags mask/set nrf_wifi_sta_flag_update nrf_wifi_sta_flag_update

unsigned char ht_capability[256]

HT capabilities of station

unsigned char vht_capability[256]

VHT capabilities of station

unsigned char mac_addr[6]

Station mac address

unsigned char opmode_notif

Information if operating mode field is used

unsigned char wme_uapsd_queues

Bitmap of queues configured for uapsd. Same format as the AC bitmap in the QoS info field.

unsigned char wme_max_sp

Max Service Period. same format as the MAX_SP in the QoS info field (but already shifted down).

struct nrf_wifi_umac_cmd_chg_sta
#include <host_rpu_umac_if.h>

This structure defines the command for updating the parameters of a station entry.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_umac_chg_sta_info info

nrf_wifi_umac_chg_sta_info

struct nrf_wifi_umac_add_sta_info
#include <host_rpu_umac_if.h>

This structure describes the parameters for adding a new station entry to the RPU.

Public Members

signed int nrf_wifi_listen_interval

Listen interval as defined by IEEE 802.11 7.3.1.6

unsigned int sta_vlan

Unused

unsigned short aid

AID or zero for no change

unsigned short nrf_wifi_peer_aid

Unused

unsigned short sta_capability

Station capability

unsigned short spare

Unused

struct nrf_wifi_supp_rates supp_rates

Supported rates in IEEE 802.11 format nrf_wifi_supp_rates

struct nrf_wifi_ext_capability ext_capability

Extended capabilities of the station nrf_wifi_ext_capability

struct nrf_wifi_supported_channels supported_channels

Supported channels in IEEE 802.11 format nrf_wifi_supported_channels

struct nrf_wifi_supported_oper_classes supported_oper_classes

Supported oper classes in IEEE 802.11 format nrf_wifi_supported_oper_classes

struct nrf_wifi_sta_flag_update sta_flags2

station flags mask/set nrf_wifi_sta_flag_update

unsigned char ht_capability[256]

HT capabilities of station

unsigned char vht_capability[256]

VHT capabilities of station

unsigned char mac_addr[6]

Station mac address

unsigned char opmode_notif

Information if operating mode field is used

unsigned char wme_uapsd_queues

Bitmap of queues configured for uapsd. same format as the AC bitmap in the QoS info field.

unsigned char wme_max_sp

Max Service Period. same format as the MAX_SP in the QoS info field (but already shifted down).

struct nrf_wifi_umac_cmd_add_sta
#include <host_rpu_umac_if.h>

This structure defines the command for adding a new station entry.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_umac_add_sta_info info

nrf_wifi_umac_add_sta_info

struct nrf_wifi_umac_start_ap_info
#include <host_rpu_umac_if.h>

This structure describes the parameters required to be passed to the RPU when initiating a SoftAP (Soft Access Point).

Public Members

unsigned short beacon_interval

Beacon frame interval

unsigned char dtim_period

DTIM count

signed int hidden_ssid

Send beacons with wildcard sssid

signed int auth_type

Authentication type, see &enum nrf_wifi_auth_type

signed int smps_mode

Unused

unsigned int nrf_wifi_flags

Beacon info flags

struct nrf_wifi_beacon_data beacon_data

Beacon frame, nrf_wifi_beacon_data

struct nrf_wifi_ssid ssid

SSID string, nrf_wifi_ssid

struct nrf_wifi_connect_common_info connect_common_info

Connect params, nrf_wifi_connect_common_info

struct freq_params freq_params

Channel info, see &struct freq_params

unsigned short inactivity_timeout

Time to stop ap after inactivity period

unsigned char p2p_go_ctwindow

P2P GO Client Traffic Window

unsigned char p2p_opp_ps

Opportunistic power save allows P2P Group Owner to save power when all its associated clients are sleeping.

struct nrf_wifi_umac_cmd_start_ap
#include <host_rpu_umac_if.h>

This structure defines the command for starting the SoftAP using NRF_WIFI_UMAC_CMD_NEW_BEACON and NRF_WIFI_UMAC_CMD_START_AP.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_umac_start_ap_info info

Parameters that need to be passed to the RPU when starting a SoftAP. nrf_wifi_umac_start_ap_info

struct nrf_wifi_umac_cmd_stop_ap
#include <host_rpu_umac_if.h>

This structure defines the command used to stop Soft AP operation.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_set_beacon_info
#include <host_rpu_umac_if.h>

This structure represents the parameters that must be passed to the RPU when configuring Beacon and Probe response data.

Public Members

struct nrf_wifi_beacon_data beacon_data

Beacon frame, nrf_wifi_beacon_data

struct nrf_wifi_umac_cmd_set_beacon
#include <host_rpu_umac_if.h>

This structure defines the command for setting the beacon data using NRF_WIFI_UMAC_CMD_SET_BEACON.

struct nrf_wifi_umac_chg_vif_attr_info
#include <host_rpu_umac_if.h>

This structure contains the information that needs to be provided to the RPU when modifying the attributes of a virtual interface.

Public Members

signed int iftype

Interface type, see &enum nrf_wifi_iftype

signed int nrf_wifi_use_4addr

Unused

struct nrf_wifi_umac_cmd_chg_vif_attr
#include <host_rpu_umac_if.h>

This structure defines the command used to change the interface.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_umac_chg_vif_attr_info info

Interface attributes to be changed nrf_wifi_umac_chg_vif_attr_info

struct nrf_wifi_umac_chg_vif_state_info
#include <host_rpu_umac_if.h>

This structure contains the information that needs to be passed to the RPU when changing the interface state, specifically when bringing it up or down.

Public Members

signed int state

Interface state (1 = UP / 0 = DOWN)

signed char if_index

Interface index

struct nrf_wifi_umac_cmd_chg_vif_state
#include <host_rpu_umac_if.h>

This structure defines the command used to change the interface state.

struct nrf_wifi_umac_event_vif_state
#include <host_rpu_umac_if.h>

This structure defines an event-to-command mapping for NRF_WIFI_UMAC_CMD_SET_IFFLAGS.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

signed int status

Status to command NRF_WIFI_UMAC_CMD_SET_IFFLAGS

struct nrf_wifi_cmd_start_p2p
#include <host_rpu_umac_if.h>

This structure defines the command used to start P2P (Peer-to-Peer) mode on an interface.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_cmd_stop_p2p_dev
#include <host_rpu_umac_if.h>

This structure represents the command for stopping P2P mode on an interface.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_mgmt_tx_info
#include <host_rpu_umac_if.h>

This structure describes the parameters required to transmit a management frame from the host.

Public Members

unsigned int nrf_wifi_flags

OFFCHANNEL_TX_OK, NO_CCK_RATE, DONT_WAIT_FOR_ACK

unsigned int frequency

Channel frequency

unsigned int dur

Duration field value

struct nrf_wifi_frame frame

Management frame to transmit, nrf_wifi_frame

struct freq_params freq_params

Frequency configuration, see &struct freq_params

Identifier to be used for processing event, NRF_WIFI_UMAC_EVENT_FRAME_TX_STATUS.

struct nrf_wifi_umac_cmd_mgmt_tx
#include <host_rpu_umac_if.h>

This structure defines the command used to transmit a management frame.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct nrf_wifi_umac_mgmt_tx_info info

Information about the management frame to be transmitted. nrf_wifi_umac_mgmt_tx_info

struct nrf_wifi_umac_set_power_save_info
#include <host_rpu_umac_if.h>

This structure represents the information regarding the power save state.

Public Members

signed int ps_state

power save is disabled or enabled, see enum nrf_wifi_ps_state

struct nrf_wifi_umac_cmd_set_power_save
#include <host_rpu_umac_if.h>

This structure represents the command used to enable or disable the power save functionality.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_set_power_save_info info

Power save setting parameters. nrf_wifi_umac_set_power_save_info

struct nrf_wifi_umac_cmd_set_power_save_timeout
#include <host_rpu_umac_if.h>

This structure represents the command to configure power save timeout value.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

signed int timeout

Timeout value in milli seconds if timeout < 0 RPU will set timeout to 100ms

struct nrf_wifi_umac_qos_map_info
#include <host_rpu_umac_if.h>

This structure represents the information of qos_map.

Public Members

unsigned int qos_map_info_len

length of qos_map info field

unsigned char qos_map_info[256]

contains qos_map info as received from stack

struct nrf_wifi_umac_cmd_set_qos_map
#include <host_rpu_umac_if.h>

This structure represents the information related to the Quality of Service (QoS) map.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_qos_map_info info

qos map info. nrf_wifi_umac_qos_map_info

struct nrf_wifi_umac_cmd_get_tx_power
#include <host_rpu_umac_if.h>

This structure defines the command used to retrieve the transmit power information.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_cmd_get_reg
#include <host_rpu_umac_if.h>

This structure defines the command used to obtain the regulatory domain information.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_cmd_get_channel
#include <host_rpu_umac_if.h>

This structure defines the command used to retrieve channel information.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_config_twt_info
#include <host_rpu_umac_if.h>

This structure describes the TWT information.

Public Members

unsigned char twt_flow_id

TWT flow Id

unsigned char neg_type

Negotiation type NRF_WIFI_TWT_NEGOTIATION_TYPE_INDIVIDUAL or NRF_WIFI_TWT_NEGOTIATION_TYPE_BROADAST

signed int setup_cmd

see &enum nrf_wifi_twt_setup_cmd_type

unsigned char ap_trigger_frame

indicating AP to initiate a trigger frame (ps_poll/Null) before data transfer

unsigned char is_implicit

1->implicit(same negotiated values to be used), 0->AP sends new calculated TWT values for every service period.

unsigned char twt_flow_type

Whether STA has to send the PS-Poll/Null frame indicating that it’s in wake period(NRF_WIFI_TWT_FLOW_TYPE_ANNOUNCED)

unsigned char twt_target_wake_interval_exponent

wake interval exponent value

unsigned short twt_target_wake_interval_mantissa

wake interval mantissa value

unsigned long long target_wake_time

start of the waketime value after successful TWT negotiation

unsigned int nominal_min_twt_wake_duration

min TWT wake duration

unsigned char dialog_token

dialog_token of twt frame

unsigned char twt_resp_status

0->not received 1->received

unsigned int twt_wake_ahead_duration

TWT early wake duration

struct nrf_wifi_umac_cmd_config_twt
#include <host_rpu_umac_if.h>

This structure defines the parameters required for setting up TWT session.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_config_twt_info info

TWT configuration info nrf_wifi_umac_config_twt_info

struct nrf_wifi_umac_teardown_twt_info
#include <host_rpu_umac_if.h>

This structure represents the TWT delete information.

Public Members

unsigned char twt_flow_id

TWT flow Id

unsigned char reason_code

reason for teardown

struct nrf_wifi_umac_cmd_teardown_twt
#include <host_rpu_umac_if.h>

This structure defines the command used to delete or remove a TWT session.

struct twt_sleep_info
#include <host_rpu_umac_if.h>

This structure represents the information related to Tx (transmit) block/unblock.

Public Members

unsigned int type

value for blocking/unblocking TX (TWT_BLOCK_TX or TWT_UNBLOCK_TX)

struct nrf_wifi_umac_event_twt_sleep
#include <host_rpu_umac_if.h>

This structure defines an event used to indicate to the host whether to block or unblock Tx (transmit) packets in TWT communication.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct twt_sleep_info info

twt_sleep_info

struct nrf_wifi_umac_uapsd_info
#include <host_rpu_umac_if.h>

This structure represents the information about UAPSD queues.

Public Members

unsigned int uapsd_queue

UAPSD-Q value

struct nrf_wifi_umac_cmd_config_uapsd
#include <host_rpu_umac_if.h>

This structure defines the command used to configure the UAPSD-Q value.

struct nrf_wifi_umac_event_trigger_scan
#include <host_rpu_umac_if.h>

This structure represents the event used to indicate that a scan has started.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

unsigned int nrf_wifi_scan_flags

Scan request control flags (u32). Bit values (NRF_WIFI_SCAN_FLAG_LOW_PRIORITY/NRF_WIFI_SCAN_FLAG_RANDOM_ADDR…)

unsigned char num_scan_ssid

No.of ssids in scan request

unsigned char num_scan_frequencies

No.of frequencies in scan request

unsigned short scan_frequencies[64]

center frequencies

struct nrf_wifi_ssid scan_ssid[2]

nrf_wifi_ssid

struct nrf_wifi_ie ie

nrf_wifi_ie

struct nrf_wifi_umac_event_new_scan_results
#include <host_rpu_umac_if.h>

This structure serves as a response to the command NRF_WIFI_UMAC_CMD_GET_SCAN_RESULTS. It contains scan results for each entry. RPU sends multiple events of this type for every scan entry, and when umac_hdr->seq == 0, it indicates the last scan entry.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

unsigned int generation

Unused

unsigned int frequency

Frequency in MHz

unsigned int chan_width

Channel width of the control channel

unsigned int seen_ms_ago

Age of this BSS entry in ms

unsigned int nrf_wifi_flags

Unused

signed int status

Status, if this BSS is “used”

unsigned long long ies_tsf

TSF of the received probe response/beacon (u64)

unsigned long long beacon_ies_tsf

TSF of the last received beacon (not present if no beacon frame has been received yet).

unsigned short beacon_interval

Beacon interval of BSS

unsigned short capability

Capability field

struct nrf_wifi_signal signal

Signal strength, nrf_wifi_signal

unsigned char mac_addr[6]

BSSID of the BSS (6 octets)

unsigned int ies_len

Indicates length of IE’s present at the starting of ies[0]

unsigned int beacon_ies_len

Indicates length of beacon_ies present after ies+ies_len

unsigned char ies[0]

contains raw information elements from the probe response/beacon. If beacon_ies are not present then the IEs here are from a Probe Response frame; otherwise they are from a Beacon frame.

struct umac_display_results
#include <host_rpu_umac_if.h>

This structure represents the response for NRF_WIFI_UMAC_CMD_GET_SCAN_RESULTS. It contains the displayed scan result.

Public Members

struct nrf_wifi_ssid ssid

Network SSID nrf_wifi_ssid

unsigned char mac_addr[6]

BSSID of the BSS (6 octets)

signed int nwk_band

Network band of operation, refer &enum nrf_wifi_band

unsigned int nwk_channel

Network channel number

unsigned char protocol_flags

Protocol type (NRF_WIFI_802_11A)

signed int security_type

Network security mode, refer &enum nrf_wifi_security_type

unsigned short beacon_interval

Beacon interval of the BSS

unsigned short capability

Capability field

struct nrf_wifi_signal signal

Signal strength. Refer &struct nrf_wifi_signal

unsigned char twt_support

TWT support

unsigned char mfp_flag

management frame protection NRF_WIFI_MFP_REQUIRED/NRF_WIFI_MFP_CAPABLE

unsigned char reserved3

reserved

unsigned char reserved4

reserved

struct nrf_wifi_umac_event_new_scan_display_results
#include <host_rpu_umac_if.h>

This structure serves as a response to the command NRF_WIFI_UMAC_CMD_GET_SCAN_RESULTS of display scan type. It contains a maximum of DISPLAY_BSS_TOHOST_PEREVENT scan results in each event. When umac_hdr->seq == 0, it indicates the last scan event.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned char event_bss_count

Number of scan results in the current event

struct umac_display_results display_results[8]

Display scan results info umac_display_results

struct nrf_wifi_umac_event_mlme
#include <host_rpu_umac_if.h>

This structure represent different responses received from the access point during various stages of the connection process like Authentication Response and Association Response.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

unsigned int frequency

Frequency of the channel in MHz

unsigned int rx_signal_dbm

Signal strength in dBm

unsigned int nrf_wifi_flags

Indicate whether the frame was acked or timed out

unsigned long long cookie

cookie identifier

struct nrf_wifi_frame frame

Frame data, including frame header and body nrf_wifi_frame

unsigned char mac_addr[6]

BSSID of the BSS

unsigned char wme_uapsd_queues

Bitmap of uapsd queues

unsigned int req_ie_len

Request(AUTH/ASSOC) ie length

unsigned char req_ie[0]

ie’s

struct nrf_wifi_umac_event_new_station
#include <host_rpu_umac_if.h>

This structure represents an event that is generated when a station is added or removed.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate if assoc_req ies is valid

unsigned char wme

set to 1: STA supports QoS/WME

unsigned char is_sta_legacy

Set to 1 if STA is Legacy(a/b/g)

unsigned char mac_addr[6]

Station mac address

unsigned int generation

generation number

struct nrf_wifi_sta_info sta_info

Station information nrf_wifi_sta_info

struct nrf_wifi_ie assoc_req_ies

nrf_wifi_ie

#include <host_rpu_umac_if.h>

This structure specifies the cookie response event, which is used to receive an RPU cookie associated with the host cookie passed during NRF_WIFI_UMAC_CMD_FRAME.

Public Members

Header nrf_wifi_umac_hdr

Indicate if assoc_req ies is valid

Identifier passed during NRF_WIFI_UMAC_CMD_FRAME

Cookie used to indicate TX done in NRF_WIFI_UMAC_EVENT_FRAME_TX_STATUS

Mac address

struct nrf_wifi_umac_event_get_tx_power
#include <host_rpu_umac_if.h>

This structure represents the event that corresponds to the command NRF_WIFI_UMAC_CMD_GET_TX_POWER. It is used to retrieve the transmit power information from the device.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

signed int txpwr_level

Tx power in dbm

struct nrf_wifi_umac_event_set_interface
#include <host_rpu_umac_if.h>

This structure represents the response to the command NRF_WIFI_UMAC_CMD_SET_INTERFACE. It contains the necessary information indicating the result or status of the interface configuration operation after the command has been executed.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

signed int return_value

return value

struct nrf_wifi_chan_definition
#include <host_rpu_umac_if.h>

channel definition.

Public Members

struct nrf_wifi_channel chan

Frequency of the selected channel in MHz

signed int width

channel width

unsigned int center_frequency1

center frequency of first segment

unsigned int center_frequency2

center frequency of second segment (only with 80+80 MHz)

struct nrf_wifi_umac_event_get_channel
#include <host_rpu_umac_if.h>

This structure represents channel information and serves as the event for the command NRF_WIFI_UMAC_CMD_GET_CHANNEL.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_chan_definition chan_def

Channel information.nrf_wifi_chan_definition

struct nrf_wifi_umac_cmd_conn_info
#include <host_rpu_umac_if.h>

This structure represents the command used to retrieve connection information.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_event_conn_info
#include <host_rpu_umac_if.h>

This structure represents the information related to the connection of a station.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned short beacon_interval

Beacon interval

unsigned char dtim_interval

DTIM interval

unsigned char associated

Station association state

unsigned char twt_capable

TWT supported or not

unsigned char linkmode

Refer &enum link_mode

struct nrf_wifi_umac_cmd_get_power_save_info
#include <host_rpu_umac_if.h>

This structure defines the command used to retrieve power save information.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_umac_cmd_set_listen_interval
#include <host_rpu_umac_if.h>

This structure defines the command used to set the listen interval period. It determines how frequently a device wakes up to check for any pending data or traffic from the access point. By setting the listen interval, devices can adjust their power-saving behavior to balance power efficiency and responsiveness to incoming data.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned short listen_interval

listen interval

struct nrf_wifi_umac_cmd_config_extended_ps
#include <host_rpu_umac_if.h>

This structure represents the command used to enable or disable extended power save mode. When enabled, the RPU wakes up based on the listen interval, allowing the device to spend more time in a lower power state. When disabled, the RPU wakes up based on the DTIM period, which may require more frequent wake-ups but can provide better responsiveness for receiving multicast/broadcast traffic.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned char enable_extended_ps

1=enable 0=disable

struct nrf_wifi_umac_event_power_save_info
#include <host_rpu_umac_if.h>

This structure represents an event that provides information about the RPU power save mode. It contains details regarding the current power save mode and its settings.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned char ps_mode

Power save mode. NRF_WIFI_PS_MODE_LEGACY/NRF_WIFI_PS_MODE_WMM

unsigned char enabled

Power save enable flag

unsigned char extended_ps

Extended power save ON(1)/OFF(0)

unsigned char twt_responder

Is TWT responder

unsigned int ps_timeout

Power save timed out value

unsigned short listen_interval

Listen interval value

unsigned char num_twt_flows

Number TWT flows

struct nrf_wifi_umac_config_twt_info twt_flow_info[0]

TWT info of each flow nrf_wifi_umac_config_twt_info

struct remain_on_channel_info
#include <host_rpu_umac_if.h>

This structure contains information relevant to the “Remain on Channel” operation. It is used to specify the details related to the duration and channel on which a device needs to stay without regular data transmission or reception.

Public Members

unsigned int dur

Amount of time to remain on specified channel

struct freq_params nrf_wifi_freq_params

Frequency configuration, see &struct freq_params

Identifier to be used for processing NRF_WIFI_UMAC_EVENT_COOKIE_RESP event

unsigned long long cookie

Unused

struct nrf_wifi_umac_cmd_remain_on_channel
#include <host_rpu_umac_if.h>

This structure represents the command used to keep the device awake on the specified channel for a designated period. The command initiates the “Remain on Channel” operation.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

struct remain_on_channel_info info

Information about channel parameters.remain_on_channel_info

struct nrf_wifi_umac_cmd_cancel_remain_on_channel
#include <host_rpu_umac_if.h>

This structure represents the command to cancel “Remain on Channel” operation.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

unsigned long long cookie

cookie to identify remain on channel

struct nrf_wifi_event_remain_on_channel
#include <host_rpu_umac_if.h>

This structure represents the response to command “Remain on Channel”.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

unsigned int frequency

Frequency of the channel

unsigned int dur

duration that can be requested with the remain-on-channel operation(ms)

unsigned int ch_type

see &enum nrf_wifi_channel_type

unsigned long long cookie

cookie to identify remain on channel

struct nrf_wifi_cmd_get_interface
#include <host_rpu_umac_if.h>

This structure defines the command used to retrieve interface information.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_interface_info
#include <host_rpu_umac_if.h>

This structure represents an event that contains information about a network interface.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

signed int nrf_wifi_iftype

Interface type, see &enum nrf_wifi_iftype

signed char ifacename[16]

Interface name

unsigned char nrf_wifi_eth_addr[6]

Mac address

struct nrf_wifi_chan_definition chan_def

nrf_wifi_chan_definition

struct nrf_wifi_ssid ssid

nrf_wifi_ssid

struct nrf_wifi_event_mcs_info
#include <host_rpu_umac_if.h>

MCS information.

Public Members

unsigned short nrf_wifi_rx_highest

Highest supported RX rate

unsigned char nrf_wifi_rx_mask[10]

RX mask

unsigned char nrf_wifi_tx_params

TX parameters

unsigned char nrf_wifi_reserved[3]

reserved

struct nrf_wifi_event_sta_ht_cap
#include <host_rpu_umac_if.h>

This structure represents HT capability parameters.

Public Members

signed int nrf_wifi_ht_supported

1 indicates HT Supported

unsigned short nrf_wifi_cap

HT capabilities, as in the HT information IE

struct nrf_wifi_event_mcs_info mcs

MCS information. nrf_wifi_event_mcs_info

unsigned char nrf_wifi_ampdu_factor

A-MPDU factor, as in 11n

unsigned char nrf_wifi_ampdu_density

A-MPDU density, as in 11n

struct nrf_wifi_event_channel
#include <host_rpu_umac_if.h>

This structure represents channel parameters.

Public Members

unsigned short nrf_wifi_flags

channel flags NRF_WIFI_CHAN_FLAG_FREQUENCY_ATTR_NO_IBSS

signed int nrf_wifi_max_power

maximum transmission power (in dBm)

unsigned int nrf_wifi_time

DFS state time

unsigned int dfs_cac_msec

DFS CAC time in ms

signed char ch_valid

Channel parameters are valid or not 1=valid

unsigned short center_frequency

Channel center frequency

signed char dfs_state

Current dfs state

struct nrf_wifi_event_rate
#include <host_rpu_umac_if.h>

This structure represents rate information.

Public Members

unsigned short nrf_wifi_flags

NRF_WIFI_EVENT_GET_WIPHY_FLAG_RATE_SHORT_PREAMBLE

unsigned short nrf_wifi_bitrate

Bitrate in units of 100 kbps

struct nrf_wifi_event_vht_mcs_info
#include <host_rpu_umac_if.h>

VHT MCS information.

Public Members

unsigned short rx_mcs_map

RX MCS map 2 bits for each stream, total 8 streams

unsigned short rx_highest

Indicates highest long GI VHT PPDU data rate STA can receive. Rate expressed in units of 1 Mbps. If this field is 0 this value should not be used to consider the highest RX data rate supported.

unsigned short tx_mcs_map

TX MCS map 2 bits for each stream, total 8 streams

unsigned short tx_highest

Indicates highest long GI VHT PPDU data rate STA can transmit. Rate expressed in units of 1 Mbps. If this field is 0 this value should not be used to consider the highest TX data rate supported.

struct nrf_wifi_event_sta_vht_cap
#include <host_rpu_umac_if.h>

This structure represents VHT capability parameters.

Public Members

signed char nrf_wifi_vht_supported

1 indicates VHT Supported

unsigned int nrf_wifi_cap

VHT capability info

struct nrf_wifi_event_vht_mcs_info vht_mcs

Refer nrf_wifi_event_vht_mcs_info

struct nrf_wifi_event_supported_band
#include <host_rpu_umac_if.h>

Frequency band information.

Public Members

unsigned short nrf_wifi_n_channels

No.of channels

unsigned short nrf_wifi_n_bitrates

No.of bitrates

struct nrf_wifi_event_channel channels[29]

Array of channels the hardware can operate in this band

struct nrf_wifi_event_rate bitrates[13]

Array of bitrates the hardware can operate with in this band

struct nrf_wifi_event_sta_ht_cap ht_cap

HT capabilities in this band

struct nrf_wifi_event_sta_vht_cap vht_cap

VHT capabilities in this band

signed char band

the band this structure represents

struct nrf_wifi_event_iface_limit
#include <host_rpu_umac_if.h>

Interface limits.

Public Members

unsigned short nrf_wifi_max

max interface limits

unsigned short nrf_wifi_types

types

struct nrf_wifi_event_iface_combination
#include <host_rpu_umac_if.h>

This structure defines an event that represents interface combinations.

Public Members

unsigned int nrf_wifi_num_different_channels

channels count

signed int beacon_int_infra_match

Unused

struct nrf_wifi_event_iface_limit limits[2]

nrf_wifi_event_iface_limit

unsigned short nrf_wifi_max_interfaces

Max interfaces

unsigned char nrf_wifi_radar_detect_widths

Not used

unsigned char nrf_wifi_n_limits

Not used

unsigned char nrf_wifi_radar_detect_regions

Not used

unsigned char comb_valid

Not used

struct nrf_wifi_event_get_wiphy
#include <host_rpu_umac_if.h>

This structure represents wiphy parameters.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int nrf_wifi_frag_threshold

Unused

unsigned int nrf_wifi_rts_threshold

RTS threshold value

unsigned int nrf_wifi_available_antennas_tx

Unused

unsigned int nrf_wifi_available_antennas_rx

Unused

unsigned int nrf_wifi_probe_resp_offload

Unused

unsigned int tx_ant

Unused

unsigned int rx_ant

Unused

unsigned int split_start2_flags

Unused

unsigned int max_remain_on_channel_duration

Maximum ROC duration

unsigned int ap_sme_capa

Unused

unsigned int features

Unused

unsigned int max_acl_mac_addresses

Unused

unsigned int max_ap_assoc_sta

maximum number of associated stations supported in AP mode

unsigned int cipher_suites[30]

supported cipher suites

unsigned int get_wiphy_flags

wiphy flags NRF_WIFI_EVENT_GET_WIPHY_AP_UAPSD

unsigned int params_valid

valid parameters NRF_WIFI_GET_WIPHY_VALID_WIPHY_NAME

unsigned short int max_scan_ie_len

Maximum scan IE length

unsigned short int max_sched_scan_ie_len

Unused

unsigned short int interface_modes

bit mask of interface value of see &enum nrf_wifi_iftype

struct nrf_wifi_event_iface_combination iface_com[6]

Unused

signed char supp_commands[40]

Unused

unsigned char retry_short

Retry limit for short frames

unsigned char retry_long

Retry limit for long frames

unsigned char coverage_class

Unused

unsigned char max_scan_ssids

Maximum ssids supported in scan

unsigned char max_sched_scan_ssids

Unused

unsigned char max_match_sets

Unused

unsigned char n_cipher_suites

Unused

unsigned char max_num_pmkids

Unused

unsigned char extended_capabilities_len

length of the extended capabilities

unsigned char extended_capabilities[10]

Extended capabilities

unsigned char extended_capabilities_mask[10]

Extended capabilities mask

unsigned char ext_features[(((60) + (8) - 1) / (8))]

Unused

unsigned char ext_features_len

Unused

signed char num_iface_com

Unused

signed char wiphy_name[32]

Wiphy name

struct nrf_wifi_event_supported_band sband[2]

Supported bands info. nrf_wifi_event_supported_band

struct nrf_wifi_cmd_get_wiphy
#include <host_rpu_umac_if.h>

This structure represents the command used to retrieve Wireless PHY (wiphy) information.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

struct nrf_wifi_cmd_get_ifhwaddr
#include <host_rpu_umac_if.h>

This structure represents the command to get hardware address.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

signed char ifacename[16]

Interface name

struct nrf_wifi_cmd_set_ifhwaddr
#include <host_rpu_umac_if.h>

This structure represents the command used to retrieve the hardware address or MAC address of the device.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

signed char ifacename[16]

Interface name

unsigned char nrf_wifi_hwaddr[6]

Hardware address to be set

struct nrf_wifi_reg_rules
#include <host_rpu_umac_if.h>

This structure represents the information related to the regulatory domain of a wireless device. The regulatory domain defines the specific rules and regulations that govern the usage of radio frequencies in a particular geographical region.

Public Members

unsigned int valid_fields

Indicate which of the following parameters are valid

unsigned int rule_flags

NRF_WIFI_RULE_FLAGS_NO_CCK and NRF_WIFI_RULE_FLAGS_NO_INDOOR

unsigned int freq_range_start

starting frequencry for the regulatory rule in KHz

unsigned int freq_range_end

ending frequency for the regulatory rule in KHz

unsigned int freq_range_max_bw

maximum allowed bandwidth for this frequency range

unsigned int pwr_max_eirp

maximum allowed EIRP mBm (100 * dBm)

struct nrf_wifi_get_reg_chn_info
#include <host_rpu_umac_if.h>

This structure represents channels information like maximum power, center frequency, channel supported and active or passive scan.

Public Members

unsigned int center_frequency

center frequency in MHz

unsigned int max_power

maximum transmission power (in dBm)

char supported

Particular channel is supported or not

char passive_channel

Particular channel is supports passive scanning or not

char dfs

Particular channel is dfs or not

struct nrf_wifi_reg
#include <host_rpu_umac_if.h>

This structure represents an event that contains regulatory domain information.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned char nrf_wifi_alpha2[2]

Country code

unsigned int num_channels

Number of channel list information

struct nrf_wifi_get_reg_chn_info chn_info[0]

channels list information

struct nrf_wifi_cmd_req_set_reg
#include <host_rpu_umac_if.h>

This structure represents the command used to set the regulatory domain for a wireless device. It allows configuring the device to adhere to the rules and regulations specific to the geographical region in which it is operating.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int valid_fields

Indicate which of the following parameters are valid

unsigned int nrf_wifi_user_reg_hint_type

Type of regulatory hint passed from userspace

unsigned char nrf_wifi_alpha2[2]

Country code

struct nrf_wifi_event_regulatory_change
#include <host_rpu_umac_if.h>

This structure represents the event that is generated when the regulatory domain is modified or updated. It contains the new regulatory domain information.

struct nrf_wifi_umac_event_cmd_status
#include <host_rpu_umac_if.h>

This structure represents the status code for a command. It is used to indicate the outcome or result of executing a specific command. The status code provides valuable information about the success, failure, or any errors encountered during the execution of the command, helping to understand the current state of the device.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int cmd_id

Command id. see &enum nrf_wifi_umac_commands

unsigned int cmd_status

Status codes

struct nrf_wifi_umac_cmd_config_quiet_period
#include <host_rpu_umac_if.h>

This structure represents the command used to configure quiet period.

Public Members

struct nrf_wifi_umac_hdr umac_hdr

Header nrf_wifi_umac_hdr

unsigned int quiet_period_in_sec

quiet period value in seconds

struct lmac_prod_stats
#include <lmac_if_common.h>
struct phy_prod_stats
#include <lmac_if_common.h>

struct phy_prod_stats : used to get the production mode stats

union rpu_stats
#include <lmac_if_common.h>

Public Members

struct lmac_prod_stats lmac_stats
struct phy_prod_stats phy_stats
struct hpqm_queue
#include <lmac_if_common.h>
struct INT_HPQ
#include <lmac_if_common.h>
struct lmac_fw_config_params
#include <lmac_if_common.h>

LMAC firmware config params.

Public Members

unsigned int boot_status

lmac firmware boot status. LMAC will set to 0x5a5a5a5a after completing boot process

unsigned int version

LMAC version

unsigned int lmac_rx_buffer_addr

Address to resubmit Rx buffers

unsigned int lmac_rx_max_desc_cnt

Maximum Rx descriptors

unsigned int lmac_rx_desc_size

size of each descriptor size

unsigned char rpu_config_name[16]

rpu config name. this is a string

unsigned char rpu_config_number[8]

rpu config number

unsigned int numRX

numRX

unsigned int numTX

numTX

unsigned int bands

supported bands

unsigned int sys_frequency_in_mhz

system frequency

struct hpqm_queue FreeCmdPtrQ

queue which contains Free GRAM pointers for commands

struct hpqm_queue cmdPtrQ

Command pointer queue. Host should pick pointer from FreeCmdPtrQ, populate command into that address and submit back to this queue for RPU

struct hpqm_queue eventPtrQ

queue which contains Free GRAM pointers for events

struct hpqm_queue freeEventPtrQ

Event pointer queue. Host should pick pointer from FreeCmdPtrQ, populate command into that address and submit back to this queue for RPU

struct hpqm_queue SKBGramPtrQ_1

Rx buffer queue

struct hpqm_queue SKBGramPtrQ_2

Rx buffer queue

struct hpqm_queue SKBGramPtrQ_3

Rx buffer queue

unsigned int HP_lmac_to_host_isr_en

lmac register address to enable ISR to Host

unsigned int HP_lmac_to_host_isr_clear

Address to Clear host ISR

unsigned int HP_set_lmac_isr

Address to set ISR to lmac Clear host ISR

struct INT_HPQ hpq32[4]

Hardware queues

struct rx_buf_pool_params
#include <lmac_if_common.h>

Public Members

unsigned short buf_sz

buffer size

unsigned short num_bufs

number of buffers

struct temp_vbat_config
#include <lmac_if_common.h>
struct nrf70_fw_image
#include <patch_info.h>
struct nrf70_fw_image_info
#include <patch_info.h>