#include <linux/platform_device.h>
#include "wlcore_i.h"
#include "event.h"
#include "boot.h"
Go to the source code of this file.
|
enum | wlcore_partitions {
PART_DOWN,
PART_WORK,
PART_BOOT,
PART_DRPW,
PART_TOP_PRCM_ELP_SOC,
PART_PHY_INIT,
PART_TABLE_LEN
} |
|
enum | wlcore_registers {
REG_ECPU_CONTROL,
REG_INTERRUPT_NO_CLEAR,
REG_INTERRUPT_ACK,
REG_COMMAND_MAILBOX_PTR,
REG_EVENT_MAILBOX_PTR,
REG_INTERRUPT_TRIG,
REG_INTERRUPT_MASK,
REG_PC_ON_RECOVERY,
REG_CHIP_ID_B,
REG_CMD_MBOX_ADDRESS,
REG_SLV_MEM_DATA,
REG_SLV_REG_DATA,
REG_RAW_FW_STATUS_ADDR,
REG_TABLE_LEN
} |
|
#define ACX_SLV_SOFT_RESET_BIT BIT(1) |
#define CHIP_ID_1271_PG10 (0x4030101) |
#define CHIP_ID_1271_PG20 (0x4030111) |
#define CHIP_ID_1283_PG10 (0x05030101) |
#define CHIP_ID_1283_PG20 (0x05030111) |
#define ECPU_CONTROL_HALT 0x00000101 |
#define ELPCTRL_SLEEP 0x0 |
#define ELPCTRL_WAKE_UP 0x1 |
#define ELPCTRL_WAKE_UP_WLAN_READY 0x5 |
#define ELPCTRL_WLAN_READY 0x2 |
#define HW_ACCESS_ELP_CTRL_REG 0x1FFFC |
#define INTR_TRIG_DEBUG_ACK BIT(4) |
#define INTR_TRIG_RX_PROC0 BIT(3) |
#define INTR_TRIG_RX_PROC1 BIT(17) |
#define INTR_TRIG_STATE_CHANGED BIT(5) |
#define INTR_TRIG_TX_PROC0 BIT(2) |
#define INTR_TRIG_TX_PROC1 BIT(18) |
#define SOFT_RESET_MAX_TIME 1000000 |
#define SOFT_RESET_STALL_TIME 1000 |
#define WELP_ARM_COMMAND_VAL 0x4 |
#define WLCORE_MAX_TX_DESCRIPTORS 32 |
#define WLCORE_NUM_MAC_ADDRESSES 3 |
#define WLCORE_QUIRK_DUAL_PROBE_TMPL BIT(10) |
#define WLCORE_QUIRK_END_OF_TRANSACTION BIT(0) |
#define WLCORE_QUIRK_FWLOG_NOT_IMPLEMENTED BIT(4) |
#define WLCORE_QUIRK_LEGACY_NVS BIT(5) |
#define WLCORE_QUIRK_NO_ELP BIT(6) |
#define WLCORE_QUIRK_NO_SCHED_SCAN_WHILE_CONN BIT(9) |
#define WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN BIT(3) |
#define WLCORE_QUIRK_TKIP_HEADER_SPACE BIT(8) |
#define WLCORE_QUIRK_TX_BLOCKSIZE_ALIGN BIT(2) |
#define WLCORE_QUIRK_TX_PAD_LAST_FRAME BIT(7) |
- Enumerator:
PART_DOWN |
|
PART_WORK |
|
PART_BOOT |
|
PART_DRPW |
|
PART_TOP_PRCM_ELP_SOC |
|
PART_PHY_INIT |
|
PART_TABLE_LEN |
|
Definition at line 93 of file wlcore.h.
- Enumerator:
REG_ECPU_CONTROL |
|
REG_INTERRUPT_NO_CLEAR |
|
REG_INTERRUPT_ACK |
|
REG_COMMAND_MAILBOX_PTR |
|
REG_EVENT_MAILBOX_PTR |
|
REG_INTERRUPT_TRIG |
|
REG_INTERRUPT_MASK |
|
REG_PC_ON_RECOVERY |
|
REG_CHIP_ID_B |
|
REG_CMD_MBOX_ADDRESS |
|
REG_SLV_MEM_DATA |
|
REG_SLV_REG_DATA |
|
REG_RAW_FW_STATUS_ADDR |
|
REG_TABLE_LEN |
|
Definition at line 116 of file wlcore.h.