linux/drivers/net/wireless/silabs/wfx/hif_api_general.h

/* SPDX-License-Identifier: GPL-2.0-only or Apache-2.0 */
/*
 * WF200 hardware interface definitions
 *
 * Copyright (c) 2018-2020, Silicon Laboratories Inc.
 */

#ifndef WFX_HIF_API_GENERAL_H
#define WFX_HIF_API_GENERAL_H

#include <linux/types.h>
#include <linux/if_ether.h>

#define HIF_ID_IS_INDICATION
#define HIF_COUNTER_MAX

struct wfx_hif_msg {} __packed;

enum wfx_hif_general_requests_ids {};

enum wfx_hif_general_confirmations_ids {};

enum wfx_hif_general_indications_ids {};

#define HIF_STATUS_SUCCESS
#define HIF_STATUS_FAIL
#define HIF_STATUS_INVALID_PARAMETER
#define HIF_STATUS_WARNING
#define HIF_STATUS_UNKNOWN_REQUEST
#define HIF_STATUS_RX_FAIL_DECRYPT
#define HIF_STATUS_RX_FAIL_MIC
#define HIF_STATUS_RX_FAIL_NO_KEY
#define HIF_STATUS_TX_FAIL_RETRIES
#define HIF_STATUS_TX_FAIL_TIMEOUT
#define HIF_STATUS_TX_FAIL_REQUEUE
#define HIF_STATUS_REFUSED
#define HIF_STATUS_BUSY
#define HIF_STATUS_SLK_SET_KEY_SUCCESS
#define HIF_STATUS_SLK_SET_KEY_ALREADY_BURNED
#define HIF_STATUS_SLK_SET_KEY_DISALLOWED_MODE
#define HIF_STATUS_SLK_SET_KEY_UNKNOWN_MODE
#define HIF_STATUS_SLK_NEGO_SUCCESS
#define HIF_STATUS_SLK_NEGO_FAILED
#define HIF_STATUS_ROLLBACK_SUCCESS
#define HIF_STATUS_ROLLBACK_FAIL

enum wfx_hif_api_rate_index {};

struct wfx_hif_ind_startup {} __packed;

struct wfx_hif_ind_wakeup {} __packed;

struct wfx_hif_req_configuration {} __packed;

struct wfx_hif_cnf_configuration {} __packed;

enum wfx_hif_gpio_mode {};

struct wfx_hif_req_control_gpio {} __packed;

struct wfx_hif_cnf_control_gpio {} __packed;

enum wfx_hif_generic_indication_type {};

struct wfx_hif_rx_stats {} __packed;

struct wfx_hif_tx_power_loop_info {} __packed;

struct wfx_hif_ind_generic {} __packed;

enum wfx_hif_error {};

struct wfx_hif_ind_error {} __packed;

struct wfx_hif_ind_exception {} __packed;

enum wfx_hif_secure_link_state {};

#endif