Go to the documentation of this file.
32 #define WLCORE_MAX_TX_DESCRIPTORS 32
38 #define WLCORE_NUM_MAC_ADDRESSES 3
434 wlcore_set_min_fw_ver(
struct wl1271 *wl,
unsigned int chip,
435 unsigned int iftype,
unsigned int major,
436 unsigned int subtype,
unsigned int minor)
446 #define CHUNK_SIZE 16384
451 #define WLCORE_QUIRK_END_OF_TRANSACTION BIT(0)
454 #define WLCORE_QUIRK_TX_BLOCKSIZE_ALIGN BIT(2)
457 #define WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN BIT(3)
460 #define WLCORE_QUIRK_FWLOG_NOT_IMPLEMENTED BIT(4)
463 #define WLCORE_QUIRK_LEGACY_NVS BIT(5)
466 #define WLCORE_QUIRK_NO_ELP BIT(6)
469 #define WLCORE_QUIRK_TX_PAD_LAST_FRAME BIT(7)
472 #define WLCORE_QUIRK_TKIP_HEADER_SPACE BIT(8)
475 #define WLCORE_QUIRK_NO_SCHED_SCAN_WHILE_CONN BIT(9)
478 #define WLCORE_QUIRK_DUAL_PROBE_TMPL BIT(10)
481 #define CHIP_ID_1271_PG10 (0x4030101)
482 #define CHIP_ID_1271_PG20 (0x4030111)
483 #define CHIP_ID_1283_PG10 (0x05030101)
484 #define CHIP_ID_1283_PG20 (0x05030111)
487 #define HW_ACCESS_ELP_CTRL_REG 0x1FFFC
490 #define ELPCTRL_WAKE_UP 0x1
491 #define ELPCTRL_WAKE_UP_WLAN_READY 0x5
492 #define ELPCTRL_SLEEP 0x0
494 #define ELPCTRL_WLAN_READY 0x2
509 #define INTR_TRIG_TX_PROC0 BIT(2)
516 #define INTR_TRIG_RX_PROC0 BIT(3)
518 #define INTR_TRIG_DEBUG_ACK BIT(4)
520 #define INTR_TRIG_STATE_CHANGED BIT(5)
529 #define INTR_TRIG_RX_PROC1 BIT(17)
536 #define INTR_TRIG_TX_PROC1 BIT(18)
538 #define ACX_SLV_SOFT_RESET_BIT BIT(1)
539 #define SOFT_RESET_MAX_TIME 1000000
540 #define SOFT_RESET_STALL_TIME 1000
542 #define ECPU_CONTROL_HALT 0x00000101
544 #define WELP_ARM_COMMAND_VAL 0x4