Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
struct iwl_bt_uart_msg | __attribute__ ((packed)) |
#define ABORT_STATUS 0x2 |
Definition at line 2422 of file commands.h.
#define AC_NUM 4 |
Definition at line 766 of file commands.h.
#define ADD_STA_MODIFY_NON_EXIST_STA 0x8 |
Definition at line 945 of file commands.h.
#define ADD_STA_NO_BLOCK_ACK_RESOURCE 0x4 |
Definition at line 944 of file commands.h.
#define ADD_STA_NO_ROOM_IN_TABLE 0x2 |
Definition at line 943 of file commands.h.
#define ADD_STA_SUCCESS_MSK 0x1 |
Definition at line 942 of file commands.h.
#define AGG_TX_STATE_LAST_SENT_MSK |
Definition at line 1408 of file commands.h.
#define AGG_TX_STATE_SEQ_NUM_MSK 0xffff0000 |
Definition at line 1418 of file commands.h.
#define AGG_TX_STATE_SEQ_NUM_POS 16 |
Definition at line 1417 of file commands.h.
#define AGG_TX_STATE_TRY_CNT_MSK 0xf000 |
Definition at line 1414 of file commands.h.
#define AGG_TX_STATE_TRY_CNT_POS 12 |
Definition at line 1413 of file commands.h.
#define AGG_TX_STATUS_MSK 0x00000fff /* bits 0:11 */ |
Definition at line 1405 of file commands.h.
#define AGG_TX_TRY_MSK 0x0000f000 /* bits 12:15 */ |
Definition at line 1406 of file commands.h.
#define BT_AGG_THRESHOLD_DEF 1200 |
Definition at line 1870 of file commands.h.
#define BT_AGG_THRESHOLD_MAX 8000 |
Definition at line 1871 of file commands.h.
#define BT_AGG_THRESHOLD_MIN 400 |
Definition at line 1872 of file commands.h.
#define BT_COEX_DISABLE (0x0) |
Definition at line 1847 of file commands.h.
#define BT_COEX_DISABLE (0x0) |
Definition at line 1847 of file commands.h.
#define BT_COEX_ENABLE (BT_ENABLE_CHANNEL_ANNOUNCE | BT_ENABLE_PRIORITY) |
Definition at line 1848 of file commands.h.
#define BT_DISABLE_REDUCED_TXPOWER_THRESHOLD (-65) |
Definition at line 3688 of file commands.h.
#define BT_DURATION_LIMIT_DEF 625 |
Definition at line 1858 of file commands.h.
#define BT_DURATION_LIMIT_MAX 1250 |
Definition at line 1859 of file commands.h.
#define BT_DURATION_LIMIT_MIN 625 |
Definition at line 1860 of file commands.h.
#define BT_ENABLE_2_WIRE BIT(2) |
Definition at line 1845 of file commands.h.
#define BT_ENABLE_CHANNEL_ANNOUNCE BIT(0) |
Definition at line 1843 of file commands.h.
#define BT_ENABLE_PRIORITY BIT(1) |
Definition at line 1844 of file commands.h.
#define BT_ENABLE_REDUCED_TXPOWER_THRESHOLD (-62) |
Definition at line 3687 of file commands.h.
#define BT_FRAG_THRESHOLD_DEF 0 |
Definition at line 1866 of file commands.h.
#define BT_FRAG_THRESHOLD_MAX 0 |
Definition at line 1867 of file commands.h.
#define BT_FRAG_THRESHOLD_MIN 0 |
Definition at line 1868 of file commands.h.
#define BT_LEAD_TIME_DEF (0x1E) |
Definition at line 1851 of file commands.h.
#define BT_LEAD_TIME_MAX (0xFF) |
Definition at line 1852 of file commands.h.
#define BT_LEAD_TIME_MIN (0x0) |
Definition at line 1850 of file commands.h.
#define BT_MAX_KILL_DEF (0x5) |
Definition at line 1855 of file commands.h.
#define BT_MAX_KILL_MAX (0xFF) |
Definition at line 1856 of file commands.h.
#define BT_MAX_KILL_MIN (0x1) |
Definition at line 1854 of file commands.h.
#define BT_ON_THRESHOLD_DEF 4 |
Definition at line 1862 of file commands.h.
#define BT_ON_THRESHOLD_MAX 1000 |
Definition at line 1863 of file commands.h.
#define BT_ON_THRESHOLD_MIN 1 |
Definition at line 1864 of file commands.h.
#define BT_SESSION_ACTIVITY_1_UART_MSG 0x1 |
Definition at line 3508 of file commands.h.
#define BT_SESSION_ACTIVITY_2_UART_MSG 0x2 |
Definition at line 3509 of file commands.h.
#define BT_UART_MSG_2_FRAME1RESERVED1_MSK (0x1<<BT_UART_MSG_2_FRAME1RESERVED1_POS) |
Definition at line 3611 of file commands.h.
#define BT_UART_MSG_2_FRAME1RESERVED1_POS (5) |
Definition at line 3610 of file commands.h.
#define BT_UART_MSG_2_FRAME1RESERVED2_MSK (0x3<<BT_UART_MSG_2_FRAME1RESERVED2_POS) |
Definition at line 3614 of file commands.h.
#define BT_UART_MSG_2_FRAME1RESERVED2_POS (6) |
Definition at line 3613 of file commands.h.
#define BT_UART_MSG_2_FRAME2AGGTRAFFICLOAD_MSK (0x3F<<BT_UART_MSG_2_FRAME2AGGTRAFFICLOAD_POS) |
Definition at line 3618 of file commands.h.
#define BT_UART_MSG_2_FRAME2AGGTRAFFICLOAD_POS (0) |
Definition at line 3617 of file commands.h.
#define BT_UART_MSG_2_FRAME2RESERVED_MSK (0x3<<BT_UART_MSG_2_FRAME2RESERVED_POS) |
Definition at line 3621 of file commands.h.
#define BT_UART_MSG_2_FRAME2RESERVED_POS (6) |
Definition at line 3620 of file commands.h.
#define BT_UART_MSG_2_FRAME3BRLASTTXPOWER_MSK (0xF<<BT_UART_MSG_2_FRAME3BRLASTTXPOWER_POS) |
Definition at line 3625 of file commands.h.
#define BT_UART_MSG_2_FRAME3BRLASTTXPOWER_POS (0) |
Definition at line 3624 of file commands.h.
#define BT_UART_MSG_2_FRAME3INQPAGESRMODE_MSK (0x1<<BT_UART_MSG_2_FRAME3INQPAGESRMODE_POS) |
Definition at line 3628 of file commands.h.
#define BT_UART_MSG_2_FRAME3INQPAGESRMODE_POS (4) |
Definition at line 3627 of file commands.h.
#define BT_UART_MSG_2_FRAME3LEMASTER_MSK (0x1<<BT_UART_MSG_2_FRAME3LEMASTER_POS) |
Definition at line 3631 of file commands.h.
#define BT_UART_MSG_2_FRAME3LEMASTER_POS (5) |
Definition at line 3630 of file commands.h.
#define BT_UART_MSG_2_FRAME3RESERVED_MSK (0x3<<BT_UART_MSG_2_FRAME3RESERVED_POS) |
Definition at line 3634 of file commands.h.
#define BT_UART_MSG_2_FRAME3RESERVED_POS (6) |
Definition at line 3633 of file commands.h.
#define BT_UART_MSG_2_FRAME4LELASTTXPOWER_MSK (0xF<<BT_UART_MSG_2_FRAME4LELASTTXPOWER_POS) |
Definition at line 3638 of file commands.h.
#define BT_UART_MSG_2_FRAME4LELASTTXPOWER_POS (0) |
Definition at line 3637 of file commands.h.
#define BT_UART_MSG_2_FRAME4NUMLECONN_MSK (0x3<<BT_UART_MSG_2_FRAME4NUMLECONN_POS) |
Definition at line 3641 of file commands.h.
#define BT_UART_MSG_2_FRAME4NUMLECONN_POS (4) |
Definition at line 3640 of file commands.h.
#define BT_UART_MSG_2_FRAME4RESERVED_MSK (0x3<<BT_UART_MSG_2_FRAME4RESERVED_POS) |
Definition at line 3644 of file commands.h.
#define BT_UART_MSG_2_FRAME4RESERVED_POS (6) |
Definition at line 3643 of file commands.h.
#define BT_UART_MSG_2_FRAME5BTMINRSSI_MSK (0xF<<BT_UART_MSG_2_FRAME5BTMINRSSI_POS) |
Definition at line 3648 of file commands.h.
#define BT_UART_MSG_2_FRAME5BTMINRSSI_POS (0) |
Definition at line 3647 of file commands.h.
#define BT_UART_MSG_2_FRAME5LEADVERMODE_MSK (0x1<<BT_UART_MSG_2_FRAME5LEADVERMODE_POS) |
Definition at line 3654 of file commands.h.
#define BT_UART_MSG_2_FRAME5LEADVERMODE_POS (5) |
Definition at line 3653 of file commands.h.
#define BT_UART_MSG_2_FRAME5LESCANINITMODE_MSK (0x1<<BT_UART_MSG_2_FRAME5LESCANINITMODE_POS) |
Definition at line 3651 of file commands.h.
#define BT_UART_MSG_2_FRAME5LESCANINITMODE_POS (4) |
Definition at line 3650 of file commands.h.
#define BT_UART_MSG_2_FRAME5RESERVED_MSK (0x3<<BT_UART_MSG_2_FRAME5RESERVED_POS) |
Definition at line 3657 of file commands.h.
#define BT_UART_MSG_2_FRAME5RESERVED_POS (6) |
Definition at line 3656 of file commands.h.
#define BT_UART_MSG_2_FRAME6LECONNINTERVAL_MSK (0x1F<<BT_UART_MSG_2_FRAME6LECONNINTERVAL_POS) |
Definition at line 3661 of file commands.h.
#define BT_UART_MSG_2_FRAME6LECONNINTERVAL_POS (0) |
Definition at line 3660 of file commands.h.
#define BT_UART_MSG_2_FRAME6RESERVED_MSK (0x3<<BT_UART_MSG_2_FRAME6RESERVED_POS) |
Definition at line 3667 of file commands.h.
#define BT_UART_MSG_2_FRAME6RESERVED_POS (6) |
Definition at line 3666 of file commands.h.
#define BT_UART_MSG_2_FRAME6RFU_MSK (0x1<<BT_UART_MSG_2_FRAME6RFU_POS) |
Definition at line 3664 of file commands.h.
#define BT_UART_MSG_2_FRAME6RFU_POS (5) |
Definition at line 3663 of file commands.h.
#define BT_UART_MSG_2_FRAME7LECONNSLAVELAT_MSK (0x7<<BT_UART_MSG_2_FRAME7LECONNSLAVELAT_POS) |
Definition at line 3671 of file commands.h.
#define BT_UART_MSG_2_FRAME7LECONNSLAVELAT_POS (0) |
Definition at line 3670 of file commands.h.
#define BT_UART_MSG_2_FRAME7LEPROFILE1_MSK (0x1<<BT_UART_MSG_2_FRAME7LEPROFILE1_POS) |
Definition at line 3674 of file commands.h.
#define BT_UART_MSG_2_FRAME7LEPROFILE1_POS (3) |
Definition at line 3673 of file commands.h.
#define BT_UART_MSG_2_FRAME7LEPROFILE2_MSK (0x1<<BT_UART_MSG_2_FRAME7LEPROFILE2_POS) |
Definition at line 3677 of file commands.h.
#define BT_UART_MSG_2_FRAME7LEPROFILE2_POS (4) |
Definition at line 3676 of file commands.h.
#define BT_UART_MSG_2_FRAME7LEPROFILEOTHER_MSK (0x1<<BT_UART_MSG_2_FRAME7LEPROFILEOTHER_POS) |
Definition at line 3680 of file commands.h.
#define BT_UART_MSG_2_FRAME7LEPROFILEOTHER_POS (5) |
Definition at line 3679 of file commands.h.
#define BT_UART_MSG_2_FRAME7RESERVED_MSK (0x3<<BT_UART_MSG_2_FRAME7RESERVED_POS) |
Definition at line 3683 of file commands.h.
#define BT_UART_MSG_2_FRAME7RESERVED_POS (6) |
Definition at line 3682 of file commands.h.
#define BT_UART_MSG_FRAME1MSGTYPE_MSK (0x7 << BT_UART_MSG_FRAME1MSGTYPE_POS) |
Definition at line 3513 of file commands.h.
#define BT_UART_MSG_FRAME1MSGTYPE_POS (0) |
Definition at line 3512 of file commands.h.
#define BT_UART_MSG_FRAME1RESERVED_MSK (0x3 << BT_UART_MSG_FRAME1RESERVED_POS) |
Definition at line 3522 of file commands.h.
#define BT_UART_MSG_FRAME1RESERVED_POS (6) |
Definition at line 3521 of file commands.h.
#define BT_UART_MSG_FRAME1SSN_MSK (0x3 << BT_UART_MSG_FRAME1SSN_POS) |
Definition at line 3516 of file commands.h.
#define BT_UART_MSG_FRAME1SSN_POS (3) |
Definition at line 3515 of file commands.h.
#define BT_UART_MSG_FRAME1UPDATEREQ_MSK (0x1 << BT_UART_MSG_FRAME1UPDATEREQ_POS) |
Definition at line 3519 of file commands.h.
#define BT_UART_MSG_FRAME1UPDATEREQ_POS (5) |
Definition at line 3518 of file commands.h.
#define BT_UART_MSG_FRAME2CHLSEQN_MSK (0x1 << BT_UART_MSG_FRAME2CHLSEQN_POS) |
Definition at line 3532 of file commands.h.
#define BT_UART_MSG_FRAME2CHLSEQN_POS (4) |
Definition at line 3531 of file commands.h.
#define BT_UART_MSG_FRAME2INBAND_MSK (0x1 << BT_UART_MSG_FRAME2INBAND_POS) |
Definition at line 3535 of file commands.h.
#define BT_UART_MSG_FRAME2INBAND_POS (5) |
Definition at line 3534 of file commands.h.
#define BT_UART_MSG_FRAME2OPENCONNECTIONS_MSK (0x3 << BT_UART_MSG_FRAME2OPENCONNECTIONS_POS) |
Definition at line 3526 of file commands.h.
#define BT_UART_MSG_FRAME2OPENCONNECTIONS_POS (0) |
Definition at line 3525 of file commands.h.
#define BT_UART_MSG_FRAME2RESERVED_MSK (0x3 << BT_UART_MSG_FRAME2RESERVED_POS) |
Definition at line 3538 of file commands.h.
#define BT_UART_MSG_FRAME2RESERVED_POS (6) |
Definition at line 3537 of file commands.h.
#define BT_UART_MSG_FRAME2TRAFFICLOAD_MSK (0x3 << BT_UART_MSG_FRAME2TRAFFICLOAD_POS) |
Definition at line 3529 of file commands.h.
#define BT_UART_MSG_FRAME2TRAFFICLOAD_POS (2) |
Definition at line 3528 of file commands.h.
#define BT_UART_MSG_FRAME3A2DP_MSK (0x1 << BT_UART_MSG_FRAME3A2DP_POS) |
Definition at line 3548 of file commands.h.
#define BT_UART_MSG_FRAME3A2DP_POS (2) |
Definition at line 3547 of file commands.h.
#define BT_UART_MSG_FRAME3ACL_MSK (0x1 << BT_UART_MSG_FRAME3ACL_POS) |
Definition at line 3551 of file commands.h.
#define BT_UART_MSG_FRAME3ACL_POS (3) |
Definition at line 3550 of file commands.h.
#define BT_UART_MSG_FRAME3MASTER_MSK (0x1 << BT_UART_MSG_FRAME3MASTER_POS) |
Definition at line 3554 of file commands.h.
#define BT_UART_MSG_FRAME3MASTER_POS (4) |
Definition at line 3553 of file commands.h.
#define BT_UART_MSG_FRAME3OBEX_MSK (0x1 << BT_UART_MSG_FRAME3OBEX_POS) |
Definition at line 3557 of file commands.h.
#define BT_UART_MSG_FRAME3OBEX_POS (5) |
Definition at line 3556 of file commands.h.
#define BT_UART_MSG_FRAME3RESERVED_MSK (0x3 << BT_UART_MSG_FRAME3RESERVED_POS) |
Definition at line 3560 of file commands.h.
#define BT_UART_MSG_FRAME3RESERVED_POS (6) |
Definition at line 3559 of file commands.h.
#define BT_UART_MSG_FRAME3SCOESCO_MSK (0x1 << BT_UART_MSG_FRAME3SCOESCO_POS) |
Definition at line 3542 of file commands.h.
#define BT_UART_MSG_FRAME3SCOESCO_POS (0) |
Definition at line 3541 of file commands.h.
#define BT_UART_MSG_FRAME3SNIFF_MSK (0x1 << BT_UART_MSG_FRAME3SNIFF_POS) |
Definition at line 3545 of file commands.h.
#define BT_UART_MSG_FRAME3SNIFF_POS (1) |
Definition at line 3544 of file commands.h.
#define BT_UART_MSG_FRAME4IDLEDURATION_MSK (0x3F << BT_UART_MSG_FRAME4IDLEDURATION_POS) |
Definition at line 3564 of file commands.h.
#define BT_UART_MSG_FRAME4IDLEDURATION_POS (0) |
Definition at line 3563 of file commands.h.
#define BT_UART_MSG_FRAME4RESERVED_MSK (0x3 << BT_UART_MSG_FRAME4RESERVED_POS) |
Definition at line 3567 of file commands.h.
#define BT_UART_MSG_FRAME4RESERVED_POS (6) |
Definition at line 3566 of file commands.h.
#define BT_UART_MSG_FRAME5ESCORETRANSMIT_MSK (0x3 << BT_UART_MSG_FRAME5ESCORETRANSMIT_POS) |
Definition at line 3577 of file commands.h.
#define BT_UART_MSG_FRAME5ESCORETRANSMIT_POS (4) |
Definition at line 3576 of file commands.h.
#define BT_UART_MSG_FRAME5RESERVED_MSK (0x3 << BT_UART_MSG_FRAME5RESERVED_POS) |
Definition at line 3580 of file commands.h.
#define BT_UART_MSG_FRAME5RESERVED_POS (6) |
Definition at line 3579 of file commands.h.
#define BT_UART_MSG_FRAME5RXACTIVITY_MSK (0x3 << BT_UART_MSG_FRAME5RXACTIVITY_POS) |
Definition at line 3574 of file commands.h.
#define BT_UART_MSG_FRAME5RXACTIVITY_POS (2) |
Definition at line 3573 of file commands.h.
#define BT_UART_MSG_FRAME5TXACTIVITY_MSK (0x3 << BT_UART_MSG_FRAME5TXACTIVITY_POS) |
Definition at line 3571 of file commands.h.
#define BT_UART_MSG_FRAME5TXACTIVITY_POS (0) |
Definition at line 3570 of file commands.h.
#define BT_UART_MSG_FRAME6DISCOVERABLE_MSK (0x1 << BT_UART_MSG_FRAME6DISCOVERABLE_POS) |
Definition at line 3587 of file commands.h.
#define BT_UART_MSG_FRAME6DISCOVERABLE_POS (5) |
Definition at line 3586 of file commands.h.
#define BT_UART_MSG_FRAME6RESERVED_MSK (0x3 << BT_UART_MSG_FRAME6RESERVED_POS) |
Definition at line 3590 of file commands.h.
#define BT_UART_MSG_FRAME6RESERVED_POS (6) |
Definition at line 3589 of file commands.h.
#define BT_UART_MSG_FRAME6SNIFFINTERVAL_MSK (0x1F << BT_UART_MSG_FRAME6SNIFFINTERVAL_POS) |
Definition at line 3584 of file commands.h.
#define BT_UART_MSG_FRAME6SNIFFINTERVAL_POS (0) |
Definition at line 3583 of file commands.h.
#define BT_UART_MSG_FRAME7CONNECTABLE_MSK (0x1 << BT_UART_MSG_FRAME7CONNECTABLE_POS) |
Definition at line 3603 of file commands.h.
#define BT_UART_MSG_FRAME7CONNECTABLE_POS (5) |
Definition at line 3602 of file commands.h.
#define BT_UART_MSG_FRAME7INQUIRY_MSK (0x1 << BT_UART_MSG_FRAME7INQUIRY_POS) |
Definition at line 3600 of file commands.h.
#define BT_UART_MSG_FRAME7INQUIRY_POS (4) |
Definition at line 3599 of file commands.h.
#define BT_UART_MSG_FRAME7PAGE_MSK (0x1 << BT_UART_MSG_FRAME7PAGE_POS) |
Definition at line 3597 of file commands.h.
#define BT_UART_MSG_FRAME7PAGE_POS (3) |
Definition at line 3596 of file commands.h.
#define BT_UART_MSG_FRAME7RESERVED_MSK (0x3 << BT_UART_MSG_FRAME7RESERVED_POS) |
Definition at line 3606 of file commands.h.
#define BT_UART_MSG_FRAME7RESERVED_POS (6) |
Definition at line 3605 of file commands.h.
#define BT_UART_MSG_FRAME7SNIFFACTIVITY_MSK (0x7 << BT_UART_MSG_FRAME7SNIFFACTIVITY_POS) |
Definition at line 3594 of file commands.h.
#define BT_UART_MSG_FRAME7SNIFFACTIVITY_POS (0) |
Definition at line 3593 of file commands.h.
Definition at line 843 of file commands.h.
#define CAN_ABORT_STATUS cpu_to_le32(0x1) |
Definition at line 2420 of file commands.h.
#define CARD_STATE_CMD_DISABLE 0x00 /* Put card to sleep */ |
Definition at line 2217 of file commands.h.
#define CARD_STATE_CMD_ENABLE 0x01 /* Wake up card */ |
Definition at line 2218 of file commands.h.
#define CARD_STATE_CMD_HALT 0x02 /* Power down permanently */ |
Definition at line 2219 of file commands.h.
#define CCMP_MIC_LEN 8 |
Definition at line 1233 of file commands.h.
#define COEX_ASSOC_ACTIVE_LEVEL_FLAGS 0 |
Definition at line 3361 of file commands.h.
#define COEX_ASSOC_AUTO_SCAN_FLAGS |
Definition at line 3358 of file commands.h.
#define COEX_ASSOC_MANUAL_SCAN_FLAGS |
Definition at line 3355 of file commands.h.
#define COEX_ASSOCIATED_IDLE_FLAGS 0 |
Definition at line 3354 of file commands.h.
#define COEX_CALIBRATION_FLAGS |
Definition at line 3342 of file commands.h.
#define COEX_CONNECTION_ESTAB_FLAGS |
Definition at line 3350 of file commands.h.
#define COEX_CU_ASSOC_ACTIVE_LEVEL_RP 4 |
Definition at line 3310 of file commands.h.
#define COEX_CU_ASSOC_ACTIVE_LEVEL_WP 3 |
Definition at line 3327 of file commands.h.
#define COEX_CU_ASSOC_AUTO_SCAN_RP 4 |
Definition at line 3309 of file commands.h.
#define COEX_CU_ASSOC_AUTO_SCAN_WP 3 |
Definition at line 3326 of file commands.h.
#define COEX_CU_ASSOC_MANUAL_SCAN_RP 4 |
Definition at line 3308 of file commands.h.
#define COEX_CU_ASSOC_MANUAL_SCAN_WP 3 |
Definition at line 3325 of file commands.h.
#define COEX_CU_ASSOCIATED_IDLE_RP 4 |
Definition at line 3307 of file commands.h.
#define COEX_CU_ASSOCIATED_IDLE_WP 3 |
Definition at line 3324 of file commands.h.
#define COEX_CU_CALIBRATION_RP 4 |
Definition at line 3304 of file commands.h.
#define COEX_CU_CALIBRATION_WP 3 |
Definition at line 3321 of file commands.h.
#define COEX_CU_CONNECTION_ESTAB_RP 4 |
Definition at line 3306 of file commands.h.
#define COEX_CU_CONNECTION_ESTAB_WP 3 |
Definition at line 3323 of file commands.h.
#define COEX_CU_IPAN_ASSOC_LEVEL_RP 4 |
Definition at line 3314 of file commands.h.
#define COEX_CU_IPAN_ASSOC_LEVEL_WP 3 |
Definition at line 3331 of file commands.h.
#define COEX_CU_PERIODIC_CALIBRATION_RP 4 |
Definition at line 3305 of file commands.h.
#define COEX_CU_PERIODIC_CALIBRATION_WP 3 |
Definition at line 3322 of file commands.h.
#define COEX_CU_RF_OFF_RP 4 |
Definition at line 3312 of file commands.h.
#define COEX_CU_RF_OFF_WP 3 |
Definition at line 3329 of file commands.h.
#define COEX_CU_RF_ON_FLAGS |
Definition at line 3377 of file commands.h.
#define COEX_CU_RF_ON_RP 6 |
Definition at line 3311 of file commands.h.
#define COEX_CU_RF_ON_WP 3 |
Definition at line 3328 of file commands.h.
#define COEX_CU_RSRVD1_RP 4 |
Definition at line 3315 of file commands.h.
#define COEX_CU_RSRVD1_WP 3 |
Definition at line 3332 of file commands.h.
#define COEX_CU_RSRVD2_RP 4 |
Definition at line 3316 of file commands.h.
#define COEX_CU_RSRVD2_WP 3 |
Definition at line 3333 of file commands.h.
#define COEX_CU_STAND_ALONE_DEBUG_RP 6 |
Definition at line 3313 of file commands.h.
#define COEX_CU_STAND_ALONE_DEBUG_WP 6 |
Definition at line 3330 of file commands.h.
#define COEX_CU_UNASSOC_AUTO_SCAN_RP 4 |
Definition at line 3303 of file commands.h.
#define COEX_CU_UNASSOC_AUTO_SCAN_WP 3 |
Definition at line 3320 of file commands.h.
#define COEX_CU_UNASSOC_IDLE_RP 4 |
Definition at line 3301 of file commands.h.
#define COEX_CU_UNASSOC_IDLE_WP 3 |
Definition at line 3318 of file commands.h.
#define COEX_CU_UNASSOC_MANUAL_SCAN_RP 4 |
Definition at line 3302 of file commands.h.
#define COEX_CU_UNASSOC_MANUAL_SCAN_WP 3 |
Definition at line 3319 of file commands.h.
#define COEX_EVENT_REQUEST_MSK (0x1) |
Definition at line 3475 of file commands.h.
#define COEX_EVT_FLAG_DELAY_MEDIUM_FREE_NTFY_FLG (0x4) |
Definition at line 3299 of file commands.h.
#define COEX_EVT_FLAG_MEDIUM_ACTV_NTFY_FLG (0x2) |
Definition at line 3298 of file commands.h.
#define COEX_EVT_FLAG_MEDIUM_FREE_NTFY_FLG (0x1) |
Definition at line 3297 of file commands.h.
#define COEX_FLAGS_ASSOC_WA_UNMASK_MSK (0x8) |
Definition at line 3429 of file commands.h.
#define COEX_FLAGS_COEX_ENABLE_MSK (0x80) |
Definition at line 3431 of file commands.h.
#define COEX_FLAGS_STA_TABLE_VALID_MSK (0x1) |
Definition at line 3425 of file commands.h.
#define COEX_FLAGS_UNASSOC_WA_UNMASK_MSK (0x4) |
Definition at line 3427 of file commands.h.
#define COEX_IPAN_ASSOC_LEVEL_FLAGS |
Definition at line 3367 of file commands.h.
#define COEX_MEDIUM_ACTIVE (0x1) /* radio belongs to WiFi */ |
Definition at line 3454 of file commands.h.
#define COEX_MEDIUM_BUSY (0x0) /* radio belongs to WiMAX */ |
Definition at line 3453 of file commands.h.
#define COEX_MEDIUM_CHANGED (0x8) |
Definition at line 3459 of file commands.h.
#define COEX_MEDIUM_CHANGED_MSK (0x8) |
Definition at line 3460 of file commands.h.
#define COEX_MEDIUM_MSK (0x7) |
Definition at line 3456 of file commands.h.
#define COEX_MEDIUM_PRE_RELEASE (0x2) /* received radio release */ |
Definition at line 3455 of file commands.h.
#define COEX_MEDIUM_SHIFT (3) |
Definition at line 3461 of file commands.h.
#define COEX_PERIODIC_CALIBRATION_FLAGS 0 |
Definition at line 3345 of file commands.h.
#define COEX_RF_OFF_FLAGS 0 |
Definition at line 3363 of file commands.h.
#define COEX_RF_ON_FLAGS 0 |
Definition at line 3362 of file commands.h.
#define COEX_RSRVD1_FLAGS 0 |
Definition at line 3371 of file commands.h.
#define COEX_RSRVD2_FLAGS 0 |
Definition at line 3372 of file commands.h.
#define COEX_STAND_ALONE_DEBUG_FLAGS |
Definition at line 3364 of file commands.h.
#define COEX_UNASSOC_AUTO_SCAN_FLAGS |
Definition at line 3339 of file commands.h.
#define COEX_UNASSOC_IDLE_FLAGS 0 |
Definition at line 3335 of file commands.h.
#define COEX_UNASSOC_MANUAL_SCAN_FLAGS |
Definition at line 3336 of file commands.h.
#define CT_CARD_DISABLED 0x04 |
Definition at line 2233 of file commands.h.
#define DEFAULT_RADIO_SENSOR_OFFSET cpu_to_le16(2700) |
Definition at line 3234 of file commands.h.
#define ENHANCE_HD_TABLE_ENTRIES (ENHANCE_HD_TABLE_SIZE - HD_TABLE_SIZE) |
Definition at line 3041 of file commands.h.
#define ENHANCE_HD_TABLE_SIZE (23) |
Definition at line 3038 of file commands.h.
#define HD_AUTO_CORR32_X1_TH_ADD_MIN_INDEX (2) |
Definition at line 3011 of file commands.h.
#define HD_AUTO_CORR32_X1_TH_ADD_MIN_MRC_INDEX (3) |
Definition at line 3012 of file commands.h.
#define HD_AUTO_CORR32_X4_TH_ADD_MIN_INDEX (5) |
Definition at line 3014 of file commands.h.
#define HD_AUTO_CORR32_X4_TH_ADD_MIN_MRC_INDEX (6) |
Definition at line 3015 of file commands.h.
#define HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX (9) |
Definition at line 3018 of file commands.h.
#define HD_AUTO_CORR40_X4_TH_ADD_MIN_MRC_INDEX (4) |
Definition at line 3013 of file commands.h.
#define HD_BARKER_CORR_TH_ADD_MIN_INDEX (7) |
Definition at line 3016 of file commands.h.
#define HD_BARKER_CORR_TH_ADD_MIN_MRC_INDEX (8) |
Definition at line 3017 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_DATA_V1 cpu_to_le16(99) |
Definition at line 3053 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_DATA_V2 cpu_to_le16(99) |
Definition at line 3065 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_INDEX (21) |
Definition at line 3034 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V1 cpu_to_le16(4) |
Definition at line 3051 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V2 cpu_to_le16(60) |
Definition at line 3063 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_INTERCEPT_MRC_INDEX (19) |
Definition at line 3032 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_SLOPE_DATA_V1 cpu_to_le16(476) |
Definition at line 3052 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_SLOPE_DATA_V2 cpu_to_le16(476) |
Definition at line 3064 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_SLOPE_INDEX (20) |
Definition at line 3033 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_SLOPE_MRC_DATA_V1 cpu_to_le16(853) |
Definition at line 3050 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_SLOPE_MRC_DATA_V2 cpu_to_le16(853) |
Definition at line 3062 of file commands.h.
#define HD_CCK_NON_SQUARE_DET_SLOPE_MRC_INDEX (18) |
Definition at line 3031 of file commands.h.
#define HD_CORR_11_INSTEAD_OF_CORR_9_EN_DATA_V1 cpu_to_le16(0) |
Definition at line 3045 of file commands.h.
#define HD_CORR_11_INSTEAD_OF_CORR_9_EN_DATA_V2 cpu_to_le16(1) |
Definition at line 3057 of file commands.h.
#define HD_CORR_11_INSTEAD_OF_CORR_9_EN_INDEX (13) |
Definition at line 3026 of file commands.h.
#define HD_INA_NON_SQUARE_DET_CCK_DATA_V1 cpu_to_le16(0) |
Definition at line 3044 of file commands.h.
#define HD_INA_NON_SQUARE_DET_CCK_DATA_V2 cpu_to_le16(1) |
Definition at line 3056 of file commands.h.
#define HD_INA_NON_SQUARE_DET_CCK_INDEX (12) |
Definition at line 3025 of file commands.h.
#define HD_INA_NON_SQUARE_DET_OFDM_DATA_V1 cpu_to_le16(0) |
Definition at line 3043 of file commands.h.
#define HD_INA_NON_SQUARE_DET_OFDM_DATA_V2 cpu_to_le16(1) |
Definition at line 3055 of file commands.h.
#define HD_INA_NON_SQUARE_DET_OFDM_INDEX (11) |
Definition at line 3024 of file commands.h.
#define HD_MIN_ENERGY_CCK_DET_INDEX (0) /* table indexes */ |
Definition at line 3009 of file commands.h.
#define HD_MIN_ENERGY_OFDM_DET_INDEX (1) |
Definition at line 3010 of file commands.h.
#define HD_OFDM_ENERGY_TH_IN_INDEX (10) |
Definition at line 3019 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_DATA_V1 cpu_to_le16(37) |
Definition at line 3049 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_DATA_V2 cpu_to_le16(45) |
Definition at line 3061 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_INDEX (17) |
Definition at line 3030 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V1 cpu_to_le16(4) |
Definition at line 3047 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_MRC_DATA_V2 cpu_to_le16(40) |
Definition at line 3059 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_INTERCEPT_MRC_INDEX (15) |
Definition at line 3028 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_SLOPE_DATA_V1 cpu_to_le16(486) |
Definition at line 3048 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_SLOPE_DATA_V2 cpu_to_le16(486) |
Definition at line 3060 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_SLOPE_INDEX (16) |
Definition at line 3029 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_SLOPE_MRC_DATA_V1 cpu_to_le16(668) |
Definition at line 3046 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_SLOPE_MRC_DATA_V2 cpu_to_le16(600) |
Definition at line 3058 of file commands.h.
#define HD_OFDM_NON_SQUARE_DET_SLOPE_MRC_INDEX (14) |
Definition at line 3027 of file commands.h.
#define HD_RESERVED (22) |
Definition at line 3035 of file commands.h.
SENSITIVITY_CMD = 0xa8 (command, has simple generic response)
This command sets up the Rx signal detector for a sensitivity level that is high enough to lock onto all signals within the associated network, but low enough to ignore signals that are below a certain threshold, so as not to have too many "false alarms". False alarms are signals that the Rx DSP tries to lock onto, but then discards after determining that they are noise.
The optimum number of false alarms is between 5 and 50 per 200 TUs (200 * 1024 uSecs, i.e. 204.8 milliseconds) of actual Rx time (i.e. time listening, not transmitting). Driver must adjust sensitivity so that the ratio of actual false alarms to actual Rx time falls within this range.
While associated, uCode delivers STATISTICS_NOTIFICATIONs after each received beacon. These provide information to the driver to analyze the sensitivity. Don't analyze statistics that come in from scanning, or any other non-associated-network source. Pertinent statistics include:
From "general" statistics (struct statistics_rx_non_phy):
(beacon_energy_[abc] & 0x0FF00) >> 8 (unsigned, higher value is lower level) Measure of energy of desired signal. Used for establishing a level below which the device does not detect signals.
(beacon_silence_rssi_[abc] & 0x0FF00) >> 8 (unsigned, units in dB) Measure of background noise in silent period after beacon.
channel_load uSecs of actual Rx time during beacon period (varies according to how much time was spent transmitting).
From "cck" and "ofdm" statistics (struct statistics_rx_phy), separately:
false_alarm_cnt Signal locks abandoned early (before phy-level header).
plcp_err Signal locks abandoned late (during phy-level header).
NOTE: Both false_alarm_cnt and plcp_err increment monotonically from beacon to beacon, i.e. each value is an accumulation of all errors before and including the latest beacon. Values will wrap around to 0 after counting up to 2^32 - 1. Driver must differentiate vs. previous beacon's values to determine # false alarms in the current beacon period.
Total number of false alarms = false_alarms + plcp_errs
For OFDM, adjust the following table entries in struct iwl_sensitivity_cmd (notice that the start points for OFDM are at or close to settings for maximum sensitivity):
START / MIN / MAX
HD_AUTO_CORR32_X1_TH_ADD_MIN_INDEX 90 / 85 / 120 HD_AUTO_CORR32_X1_TH_ADD_MIN_MRC_INDEX 170 / 170 / 210 HD_AUTO_CORR32_X4_TH_ADD_MIN_INDEX 105 / 105 / 140 HD_AUTO_CORR32_X4_TH_ADD_MIN_MRC_INDEX 220 / 220 / 270
If actual rate of OFDM false alarms (+ plcp_errors) is too high (greater than 50 for each 204.8 msecs listening), reduce sensitivity by adding 1 to all 4 of the table entries above, up to the max for each entry. Conversely, if false alarm rate is too low (less than 5 for each 204.8 msecs listening), subtract 1 from each entry to increase sensitivity.
For CCK sensitivity, keep track of the following:
1). 20-beacon history of maximum background noise, indicated by (beacon_silence_rssi_[abc] & 0x0FF00), units in dB, across the 3 receivers. For any given beacon, the "silence reference" is the maximum of last 60 samples (20 beacons * 3 receivers).
2). 10-beacon history of strongest signal level, as indicated by (beacon_energy_[abc] & 0x0FF00) >> 8, across the 3 receivers, i.e. the strength of the signal through the best receiver at the moment. These measurements are "upside down", with lower values for stronger signals, so max energy will be minimum value.
Then for any given beacon, the driver must determine the weakest of the strongest signals; this is the minimum level that needs to be successfully detected, when using the best receiver at the moment. "Max cck energy" is the maximum (higher value means lower energy!) of the last 10 minima. Once this is determined, driver must add a little margin by adding "6" to it.
3). Number of consecutive beacon periods with too few false alarms. Reset this to 0 at the first beacon period that falls within the "good" range (5 to 50 false alarms per 204.8 milliseconds rx).
Then, adjust the following CCK table entries in struct iwl_sensitivity_cmd (notice that the start points for CCK are at maximum sensitivity):
START / MIN / MAX
HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX 125 / 125 / 200 HD_AUTO_CORR40_X4_TH_ADD_MIN_MRC_INDEX 200 / 200 / 400 HD_MIN_ENERGY_CCK_DET_INDEX 100 / 0 / 100
If actual rate of CCK false alarms (+ plcp_errors) is too high (greater than 50 for each 204.8 msecs listening), method for reducing sensitivity is:
1) Add 3 to value in HD_AUTO_CORR40_X4_TH_ADD_MIN_MRC_INDEX, up to max 400.
2) If current value in HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX is < 160, sensitivity has been reduced a significant amount; bring it up to a moderate 161. Otherwise, add 3, up to max 200.
3) a) If current value in HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX is > 160, sensitivity has been reduced only a moderate or small amount; subtract 2 from value in HD_MIN_ENERGY_CCK_DET_INDEX, down to min 0. Otherwise (if gain has been significantly reduced), don't change the HD_MIN_ENERGY_CCK_DET_INDEX value.
b) Save a snapshot of the "silence reference".
If actual rate of CCK false alarms (+ plcp_errors) is too low (less than 5 for each 204.8 msecs listening), method for increasing sensitivity is used only if:
1a) Previous beacon did not have too many false alarms 1b) AND difference between previous "silence reference" and current "silence reference" (prev - current) is 2 or more, OR 2) 100 or more consecutive beacon periods have had rate of less than 5 false alarms per 204.8 milliseconds rx time.
Method for increasing sensitivity:
1) Subtract 3 from value in HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX, down to min 125.
2) Subtract 3 from value in HD_AUTO_CORR40_X4_TH_ADD_MIN_MRC_INDEX, down to min 200.
3) Add 2 to value in HD_MIN_ENERGY_CCK_DET_INDEX, up to max 100.
If actual rate of CCK false alarms (+ plcp_errors) is within good range (between 5 and 50 for each 204.8 msecs listening):
1) Save a snapshot of the silence reference.
2) If previous beacon had too many CCK false alarms (+ plcp_errors), give some extra margin to energy threshold by subtracting 8 from value in HD_MIN_ENERGY_CCK_DET_INDEX.
For all cases (too few, too many, good range), make sure that the CCK detection threshold (energy) is below the energy level for robust detection over the past 10 beacon periods, the "Max cck energy". Lower values mean higher energy; this means making sure that the value in HD_MIN_ENERGY_CCK_DET_INDEX is at or above "Max cck energy".
Definition at line 3008 of file commands.h.
#define HW_CARD_DISABLED 0x01 |
Definition at line 2231 of file commands.h.
#define INTERFERENCE_DATA_AVAILABLE cpu_to_le32(1) |
Definition at line 2585 of file commands.h.
#define IWL50_TX_RES_INIT_RATE_INDEX_MSK 0x0f |
Definition at line 1458 of file commands.h.
#define IWL50_TX_RES_INIT_RATE_INDEX_POS 0 |
Definition at line 1457 of file commands.h.
#define IWL50_TX_RES_INV_RATE_INDEX_MSK 0x80 |
Definition at line 1461 of file commands.h.
#define IWL50_TX_RES_RATE_TABLE_COLOR_MSK 0x70 |
Definition at line 1460 of file commands.h.
#define IWL50_TX_RES_RATE_TABLE_COLOR_POS 4 |
Definition at line 1459 of file commands.h.
#define IWL_AGG_TX_QUEUE_MSK cpu_to_le32(0xffc00) |
Definition at line 987 of file commands.h.
#define IWL_AP_ID 0 |
Definition at line 789 of file commands.h.
#define IWL_AP_ID_PAN 1 |
Definition at line 790 of file commands.h.
#define IWL_BT_COEX_ENV_CLOSE 0 |
Definition at line 3758 of file commands.h.
#define IWL_BT_COEX_ENV_OPEN 1 |
Definition at line 3759 of file commands.h.
#define IWL_BT_COEX_PRIO_TBL_PRIO_MASK 0x0e |
Definition at line 3712 of file commands.h.
#define IWL_BT_COEX_PRIO_TBL_PRIO_POS 1 |
Definition at line 3711 of file commands.h.
#define IWL_BT_COEX_PRIO_TBL_PRIO_SHIFT 1 |
Definition at line 3715 of file commands.h.
#define IWL_BT_COEX_PRIO_TBL_RESERVED_MASK 0xf0 |
Definition at line 3714 of file commands.h.
#define IWL_BT_COEX_PRIO_TBL_RESERVED_POS 4 |
Definition at line 3713 of file commands.h.
#define IWL_BT_COEX_PRIO_TBL_SHARED_ANTENNA_MSK 0x1 |
Definition at line 3710 of file commands.h.
#define IWL_BT_COEX_PRIO_TBL_SHARED_ANTENNA_POS 0 |
Definition at line 3709 of file commands.h.
#define IWL_CALIB_CFG_FLAG_SEND_COMPLETE_NTFY_MSK cpu_to_le32(BIT(0)) |
Definition at line 3193 of file commands.h.
#define IWL_CALIB_INIT_CFG_ALL |
Definition at line 3176 of file commands.h.
#define IWL_CALIB_RT_CFG_ALL |
Definition at line 3183 of file commands.h.
#define IWL_CONN_MAX_LISTEN_INTERVAL 10 |
Definition at line 660 of file commands.h.
#define IWL_DEFAULT_CMD_QUEUE_NUM 4 |
Definition at line 207 of file commands.h.
#define IWL_DROP_ALL (BIT(IWL_RXON_CTX_BSS) | BIT(IWL_RXON_CTX_PAN)) |
Definition at line 990 of file commands.h.
#define IWL_DROP_SINGLE 0 |
Definition at line 989 of file commands.h.
#define IWL_GOOD_CRC_TH_DEFAULT cpu_to_le16(1) |
Definition at line 2314 of file commands.h.
#define IWL_GOOD_CRC_TH_DISABLED 0 |
Definition at line 2313 of file commands.h.
#define IWL_GOOD_CRC_TH_NEVER cpu_to_le16(0xffff) |
Definition at line 2315 of file commands.h.
#define IWL_IPAN_CMD_QUEUE_NUM 9 |
Definition at line 208 of file commands.h.
#define IWL_IPAN_MCAST_QUEUE 8 |
Definition at line 229 of file commands.h.
#define IWL_MAX_CMD_SIZE 4096 |
Definition at line 2316 of file commands.h.
#define IWL_MAX_UCODE_BEACON_INTERVAL 4 /* 4096 */ |
Definition at line 661 of file commands.h.
#define IWL_MIN_NUM_QUEUES 11 |
Definition at line 202 of file commands.h.
#define IWL_MIN_SLOT_TIME 20 |
Definition at line 3908 of file commands.h.
#define IWL_MISSED_BEACON_THRESHOLD_DEF (5) |
Definition at line 2825 of file commands.h.
#define IWL_MISSED_BEACON_THRESHOLD_MAX IWL_MISSED_BEACON_THRESHOLD_DEF |
Definition at line 2826 of file commands.h.
#define IWL_MISSED_BEACON_THRESHOLD_MIN (1) |
Definition at line 2824 of file commands.h.
#define IWL_PAN_SCD_BE_MSK cpu_to_le32(BIT(5)) |
Definition at line 981 of file commands.h.
#define IWL_PAN_SCD_BK_MSK cpu_to_le32(BIT(4)) |
Definition at line 980 of file commands.h.
#define IWL_PAN_SCD_MGMT_MSK cpu_to_le32(BIT(7)) |
Definition at line 984 of file commands.h.
#define IWL_PAN_SCD_MULTICAST_MSK cpu_to_le32(BIT(8)) |
Definition at line 985 of file commands.h.
#define IWL_PAN_SCD_VI_MSK cpu_to_le32(BIT(6)) |
Definition at line 982 of file commands.h.
#define IWL_PAN_SCD_VO_MSK cpu_to_le32(BIT(7)) |
Definition at line 983 of file commands.h.
#define IWL_POWER_ADVANCE_PM_ENA_MSK cpu_to_le16(BIT(9)) |
Definition at line 2174 of file commands.h.
#define IWL_POWER_BEACON_FILTERING cpu_to_le16(BIT(5)) |
Definition at line 2170 of file commands.h.
#define IWL_POWER_BT_SCO_ENA cpu_to_le16(BIT(8)) |
Definition at line 2173 of file commands.h.
#define IWL_POWER_CT_KILL_SET cpu_to_le16(BIT(7)) |
Definition at line 2172 of file commands.h.
#define IWL_POWER_DRIVER_ALLOW_SLEEP_MSK cpu_to_le16(BIT(0)) |
Definition at line 2164 of file commands.h.
#define IWL_POWER_FAST_PD cpu_to_le16(BIT(4)) |
Definition at line 2169 of file commands.h.
#define IWL_POWER_PCI_PM_MSK cpu_to_le16(BIT(3)) |
Definition at line 2168 of file commands.h.
#define IWL_POWER_POWER_MANAGEMENT_ENA_MSK cpu_to_le16(BIT(1)) |
Definition at line 2166 of file commands.h.
#define IWL_POWER_POWER_SAVE_ENA_MSK cpu_to_le16(BIT(0)) |
Definition at line 2165 of file commands.h.
#define IWL_POWER_SHADOW_REG_ENA cpu_to_le16(BIT(6)) |
Definition at line 2171 of file commands.h.
#define IWL_POWER_SLEEP_OVER_DTIM_MSK cpu_to_le16(BIT(2)) |
Definition at line 2167 of file commands.h.
#define IWL_POWER_VEC_SIZE 5 |
struct iwl_powertable_cmd - Power Table Command : See below:
POWER_TABLE_CMD = 0x77 (command, has simple generic response)
PM allow: bit 0 - '0' Driver not allow power management '1' Driver allow PM (use rest of parameters)
uCode send sleep notifications: bit 1 - '0' Don't send sleep notification '1' send sleep notification (SEND_PM_NOTIFICATION)
Sleep over DTIM bit 2 - '0' PM have to walk up every DTIM '1' PM could sleep over DTIM till listen Interval.
PCI power managed bit 3 - '0' (PCI_CFG_LINK_CTRL & 0x1) '1' !(PCI_CFG_LINK_CTRL & 0x1)
Fast PD bit 4 - '1' Put radio to sleep when receiving frame for others
Force sleep Modes bit 31/30- '00' use both mac/xtal sleeps '01' force Mac sleep '10' force xtal sleep '11' Illegal set
NOTE: if sleep_interval[SLEEP_INTRVL_TABLE_SIZE-1] > DTIM period then ucode assume sleep over DTIM is allowed and we don't need to wake up for every DTIM.
Definition at line 2162 of file commands.h.
#define IWL_PROBE_STATUS_FAIL_BT BIT(2) |
Definition at line 2451 of file commands.h.
#define IWL_PROBE_STATUS_FAIL_TTL BIT(1) |
Definition at line 2450 of file commands.h.
#define IWL_PROBE_STATUS_OK 0 |
Definition at line 2447 of file commands.h.
#define IWL_PROBE_STATUS_TX_FAILED BIT(0) |
Definition at line 2448 of file commands.h.
#define IWL_PWR_CCK_ENTRIES 2 |
Definition at line 334 of file commands.h.
#define IWL_PWR_NUM_HT_OFDM_ENTRIES 24 |
Definition at line 333 of file commands.h.
Definition at line 2295 of file commands.h.
#define IWL_SCD_BE_MSK cpu_to_le32(BIT(1)) |
Definition at line 974 of file commands.h.
#define IWL_SCD_BK_MSK cpu_to_le32(BIT(0)) |
Definition at line 973 of file commands.h.
#define IWL_SCD_MGMT_MSK cpu_to_le32(BIT(3)) |
Definition at line 977 of file commands.h.
#define IWL_SCD_VI_MSK cpu_to_le32(BIT(2)) |
Definition at line 975 of file commands.h.
#define IWL_SCD_VO_MSK cpu_to_le32(BIT(3)) |
Definition at line 976 of file commands.h.
#define IWL_STA_ID 2 |
Definition at line 791 of file commands.h.
#define IWL_STATS_CONF_CLEAR_STATS cpu_to_le32(0x1) /* see above */ |
Definition at line 2766 of file commands.h.
#define IWL_STATS_CONF_DISABLE_NOTIF cpu_to_le32(0x2)/* see above */ |
Definition at line 2767 of file commands.h.
#define IWL_TEMP_CONVERT 260 |
Definition at line 2520 of file commands.h.
#define IWL_TID_NON_QOS IWL_MAX_TID_COUNT |
Definition at line 796 of file commands.h.
#define IWL_TX_FIFO_AUX 5 |
Definition at line 219 of file commands.h.
#define IWL_TX_FIFO_BE 1 |
Definition at line 211 of file commands.h.
#define IWL_TX_FIFO_BE_IPAN 4 |
Definition at line 215 of file commands.h.
#define IWL_TX_FIFO_BK 0 /* shared */ |
Definition at line 210 of file commands.h.
#define IWL_TX_FIFO_BK_IPAN IWL_TX_FIFO_BK |
Definition at line 214 of file commands.h.
#define IWL_TX_FIFO_UNUSED 255 |
Definition at line 220 of file commands.h.
#define IWL_TX_FIFO_VI 2 /* shared */ |
Definition at line 212 of file commands.h.
#define IWL_TX_FIFO_VI_IPAN IWL_TX_FIFO_VI |
Definition at line 216 of file commands.h.
#define IWL_TX_FIFO_VO 3 |
Definition at line 213 of file commands.h.
#define IWL_TX_FIFO_VO_IPAN 5 |
Definition at line 217 of file commands.h.
#define IWL_WIPAN_PARAMS_FLG_FILTER_BEACON_NOTIF BIT(4) |
Definition at line 3926 of file commands.h.
#define IWL_WIPAN_PARAMS_FLG_FULL_SLOTTED_MODE BIT(5) |
Definition at line 3927 of file commands.h.
Definition at line 3923 of file commands.h.
Definition at line 3924 of file commands.h.
Definition at line 3925 of file commands.h.
#define IWLAGN_BROADCAST_ID 15 |
Definition at line 793 of file commands.h.
#define IWLAGN_BT3_PRIO_SAMPLE_DEFAULT 2 |
Definition at line 1926 of file commands.h.
#define IWLAGN_BT3_T2_DEFAULT 0xc |
Definition at line 1928 of file commands.h.
#define IWLAGN_BT3_T7_DEFAULT 1 |
Definition at line 1913 of file commands.h.
#define IWLAGN_BT_ALL_VALID_MSK |
Definition at line 1939 of file commands.h.
#define IWLAGN_BT_DECISION_LUT_SIZE 12 |
Definition at line 1950 of file commands.h.
#define IWLAGN_BT_FLAG_CHANNEL_INHIBITION BIT(0) |
Definition at line 1890 of file commands.h.
#define IWLAGN_BT_FLAG_COEX_MODE_3W 2 |
Definition at line 1896 of file commands.h.
#define IWLAGN_BT_FLAG_COEX_MODE_4W 3 |
Definition at line 1897 of file commands.h.
#define IWLAGN_BT_FLAG_COEX_MODE_DISABLED 0 |
Definition at line 1894 of file commands.h.
#define IWLAGN_BT_FLAG_COEX_MODE_LEGACY_2W 1 |
Definition at line 1895 of file commands.h.
Definition at line 1892 of file commands.h.
#define IWLAGN_BT_FLAG_COEX_MODE_SHIFT 3 |
Definition at line 1893 of file commands.h.
#define IWLAGN_BT_FLAG_SYNC_2_BT_DISABLE BIT(7) |
Definition at line 1901 of file commands.h.
#define IWLAGN_BT_FLAG_UCODE_DEFAULT BIT(6) |
Definition at line 1899 of file commands.h.
#define IWLAGN_BT_KILL_ACK_CTS_MASK_REDUCE cpu_to_le32(0) |
Definition at line 1924 of file commands.h.
#define IWLAGN_BT_KILL_ACK_CTS_MASK_SCO cpu_to_le32(0xffffffff) |
Definition at line 1923 of file commands.h.
#define IWLAGN_BT_KILL_ACK_MASK_DEFAULT cpu_to_le32(0xffff0000) |
Definition at line 1921 of file commands.h.
#define IWLAGN_BT_KILL_CTS_MASK_DEFAULT cpu_to_le32(0xffff0000) |
Definition at line 1922 of file commands.h.
#define IWLAGN_BT_MAX_KILL_DEFAULT 5 |
Definition at line 1911 of file commands.h.
#define IWLAGN_BT_PRIO_BOOST_DEFAULT 0xF0 |
Definition at line 1908 of file commands.h.
#define IWLAGN_BT_PRIO_BOOST_DEFAULT32 0xF0F0F0F0 |
Definition at line 1909 of file commands.h.
#define IWLAGN_BT_PRIO_BOOST_MAX 0xFF |
Definition at line 1906 of file commands.h.
#define IWLAGN_BT_PRIO_BOOST_MIN 0x00 |
Definition at line 1907 of file commands.h.
#define IWLAGN_BT_PSP_MAX_RSSI_THRESHOLD -65 /* dBm */ |
Definition at line 1904 of file commands.h.
#define IWLAGN_BT_PSP_MIN_RSSI_THRESHOLD -75 /* dBm */ |
Definition at line 1903 of file commands.h.
#define IWLAGN_BT_REDUCED_TX_PWR BIT(0) |
Definition at line 1948 of file commands.h.
#define IWLAGN_BT_SCO_ACTIVE cpu_to_le32(BIT(0)) |
Definition at line 1995 of file commands.h.
#define IWLAGN_BT_VALID_3W_LUT cpu_to_le16(BIT(7)) |
Definition at line 1937 of file commands.h.
#define IWLAGN_BT_VALID_3W_TIMERS cpu_to_le16(BIT(3)) |
Definition at line 1933 of file commands.h.
#define IWLAGN_BT_VALID_BOOST cpu_to_le16(BIT(1)) |
Definition at line 1931 of file commands.h.
#define IWLAGN_BT_VALID_ENABLE_FLAGS cpu_to_le16(BIT(0)) |
Definition at line 1930 of file commands.h.
#define IWLAGN_BT_VALID_KILL_ACK_MASK cpu_to_le16(BIT(4)) |
Definition at line 1934 of file commands.h.
#define IWLAGN_BT_VALID_KILL_CTS_MASK cpu_to_le16(BIT(5)) |
Definition at line 1935 of file commands.h.
#define IWLAGN_BT_VALID_MAX_KILL cpu_to_le16(BIT(2)) |
Definition at line 1932 of file commands.h.
#define IWLAGN_BT_VALID_REDUCED_TX_PWR cpu_to_le16(BIT(6)) |
Definition at line 1936 of file commands.h.
#define IWLAGN_CMD_FIFO_NUM 7 |
Definition at line 222 of file commands.h.
#define IWLAGN_HW_KEY_DEFAULT 0xfe |
Definition at line 831 of file commands.h.
#define IWLAGN_KCK_MAX_SIZE 32 |
Definition at line 3890 of file commands.h.
#define IWLAGN_KEK_MAX_SIZE 32 |
Definition at line 3891 of file commands.h.
#define IWLAGN_MIC_KEY_SIZE 8 |
Definition at line 3865 of file commands.h.
#define IWLAGN_NUM_RSC 16 |
Definition at line 3829 of file commands.h.
#define IWLAGN_NUM_RX_P1K_CACHE 2 |
Definition at line 3877 of file commands.h.
#define IWLAGN_OFDM_AGC_BIT_POS 9 |
Definition at line 1089 of file commands.h.
#define IWLAGN_OFDM_AGC_MSK 0xfe00 |
Definition at line 1088 of file commands.h.
#define IWLAGN_OFDM_RSSI_A_BIT_POS 0 |
Definition at line 1092 of file commands.h.
#define IWLAGN_OFDM_RSSI_ALLBAND_A_BITMSK 0xff00 |
Definition at line 1091 of file commands.h.
#define IWLAGN_OFDM_RSSI_ALLBAND_B_BITMSK 0xff000000 |
Definition at line 1094 of file commands.h.
#define IWLAGN_OFDM_RSSI_ALLBAND_C_BITMSK 0xff00 |
Definition at line 1097 of file commands.h.
#define IWLAGN_OFDM_RSSI_B_BIT_POS 16 |
Definition at line 1095 of file commands.h.
#define IWLAGN_OFDM_RSSI_C_BIT_POS 0 |
Definition at line 1098 of file commands.h.
#define IWLAGN_OFDM_RSSI_INBAND_A_BITMSK 0x00ff |
Definition at line 1090 of file commands.h.
#define IWLAGN_OFDM_RSSI_INBAND_B_BITMSK 0xff0000 |
Definition at line 1093 of file commands.h.
#define IWLAGN_OFDM_RSSI_INBAND_C_BITMSK 0x00ff |
Definition at line 1096 of file commands.h.
#define IWLAGN_P1K_SIZE 5 |
Definition at line 3866 of file commands.h.
#define IWLAGN_PAN_BCAST_ID 14 |
Definition at line 792 of file commands.h.
#define IWLAGN_RX_RES_AGC_IDX 1 |
Definition at line 1085 of file commands.h.
#define IWLAGN_RX_RES_PHY_CNT 8 |
Definition at line 1084 of file commands.h.
#define IWLAGN_RX_RES_RSSI_AB_IDX 2 |
Definition at line 1086 of file commands.h.
#define IWLAGN_RX_RES_RSSI_C_IDX 3 |
Definition at line 1087 of file commands.h.
#define IWLAGN_STATION_COUNT 16 |
Definition at line 794 of file commands.h.
#define IWLAGN_TX_POWER_AUTO 0x7f |
Command REPLY_TX_POWER_DBM_CMD = 0x98 struct iwlagn_tx_power_dbm_cmd
Definition at line 351 of file commands.h.
#define IWLAGN_TX_POWER_NO_CLOSED (0x1 << 6) |
Definition at line 352 of file commands.h.
#define IWLAGN_TX_RES_RA_MSK 0xf0 |
Definition at line 1467 of file commands.h.
#define IWLAGN_TX_RES_RA_POS 4 |
Definition at line 1466 of file commands.h.
#define IWLAGN_TX_RES_TID_MSK 0x0f |
Definition at line 1465 of file commands.h.
#define IWLAGN_TX_RES_TID_POS 0 |
Definition at line 1464 of file commands.h.
#define IWLAGN_WOWLAN_MAX_PATTERN_LEN 128 |
Definition at line 3787 of file commands.h.
#define IWLAGN_WOWLAN_MAX_PATTERNS 20 |
Definition at line 3797 of file commands.h.
#define IWLAGN_WOWLAN_MIN_PATTERN_LEN 16 |
Definition at line 3786 of file commands.h.
#define LINK_QUAL_AC_NUM AC_NUM |
Definition at line 1540 of file commands.h.
#define LINK_QUAL_AGG_DISABLE_START_DEF (3) |
Definition at line 1586 of file commands.h.
#define LINK_QUAL_AGG_DISABLE_START_MAX (255) |
Definition at line 1587 of file commands.h.
#define LINK_QUAL_AGG_DISABLE_START_MIN (0) |
Definition at line 1588 of file commands.h.
#define LINK_QUAL_AGG_FRAME_LIMIT_DEF (63) |
Definition at line 1590 of file commands.h.
#define LINK_QUAL_AGG_FRAME_LIMIT_MAX (63) |
Definition at line 1591 of file commands.h.
#define LINK_QUAL_AGG_FRAME_LIMIT_MIN (0) |
Definition at line 1592 of file commands.h.
#define LINK_QUAL_AGG_TIME_LIMIT_DEF (4000) /* 4 milliseconds */ |
Definition at line 1582 of file commands.h.
#define LINK_QUAL_AGG_TIME_LIMIT_MAX (8000) |
Definition at line 1583 of file commands.h.
#define LINK_QUAL_AGG_TIME_LIMIT_MIN (100) |
Definition at line 1584 of file commands.h.
#define LINK_QUAL_ANT_A_MSK (1 << 0) |
Definition at line 1546 of file commands.h.
#define LINK_QUAL_ANT_B_MSK (1 << 1) |
Definition at line 1547 of file commands.h.
#define LINK_QUAL_ANT_MSK (LINK_QUAL_ANT_A_MSK|LINK_QUAL_ANT_B_MSK) |
Definition at line 1548 of file commands.h.
#define LINK_QUAL_FLAGS_SET_STA_TLC_RTS_MSK (1 << 0) |
Definition at line 1537 of file commands.h.
#define LINK_QUAL_MAX_RETRY_NUM 16 |
Definition at line 1543 of file commands.h.
#define MEASURE_OWNER_STATUS 0x2 |
Definition at line 2445 of file commands.h.
#define MEASUREMENT_FILTER_FLAG |
Definition at line 2010 of file commands.h.
#define NUM_ELEMENTS_IN_HISTOGRAM 8 |
Definition at line 2072 of file commands.h.
Definition at line 2453 of file commands.h.
#define POWER_TABLE_CCK_ENTRY 32 |
Definition at line 331 of file commands.h.
#define POWER_TABLE_NUM_ENTRIES 33 |
Definition at line 329 of file commands.h.
#define POWER_TABLE_NUM_HT_OFDM_ENTRIES 32 |
Definition at line 330 of file commands.h.
#define PROBE_OPTION_MAX 20 |
Definition at line 2311 of file commands.h.
#define QOS_PARAM_FLG_TGN_MSK cpu_to_le32(0x02) |
Definition at line 762 of file commands.h.
#define QOS_PARAM_FLG_TXOP_TYPE_MSK cpu_to_le32(0x10) |
Definition at line 763 of file commands.h.
#define QOS_PARAM_FLG_UPDATE_EDCA_MSK cpu_to_le32(0x01) |
Definition at line 761 of file commands.h.
#define RATE_ANT_NUM 3 |
Definition at line 327 of file commands.h.
#define RATE_MCS_ANT_A_MSK 0x04000 |
Definition at line 322 of file commands.h.
#define RATE_MCS_ANT_AB_MSK (RATE_MCS_ANT_A_MSK | RATE_MCS_ANT_B_MSK) |
Definition at line 325 of file commands.h.
#define RATE_MCS_ANT_ABC_MSK (RATE_MCS_ANT_AB_MSK | RATE_MCS_ANT_C_MSK) |
Definition at line 326 of file commands.h.
#define RATE_MCS_ANT_B_MSK 0x08000 |
Definition at line 323 of file commands.h.
#define RATE_MCS_ANT_C_MSK 0x10000 |
Definition at line 324 of file commands.h.
#define RATE_MCS_ANT_POS 14 |
rate_n_flags Tx antenna masks 4965 has 2 transmitters 5100 has 1 transmitter B 5150 has 1 transmitter A 5300 has 3 transmitters 5350 has 3 transmitters bit14:16
Definition at line 321 of file commands.h.
#define RATE_MCS_CCK_MSK 0x200 |
Definition at line 294 of file commands.h.
#define RATE_MCS_CCK_POS 9 |
Definition at line 293 of file commands.h.
#define RATE_MCS_CODE_MSK 0x7 |
iwlagn rate_n_flags bit fields
rate_n_flags format is used in following iwlagn commands: REPLY_RX (response only) REPLY_RX_MPDU (response only) REPLY_TX (both command and response) REPLY_TX_LINK_QUALITY_CMD
High-throughput (HT) rate format for bits 7:0 (bit 8 must be "1"): 2-0: 0) 6 Mbps 1) 12 Mbps 2) 18 Mbps 3) 24 Mbps 4) 36 Mbps 5) 48 Mbps 6) 54 Mbps 7) 60 Mbps
4-3: 0) Single stream (SISO) 1) Dual stream (MIMO) 2) Triple stream (MIMO)
5: Value of 0x20 in bits 7:0 indicates 6 Mbps HT40 duplicate data
Legacy OFDM rate format for bits 7:0 (bit 8 must be "0", bit 9 "0"): 3-0: 0xD) 6 Mbps 0xF) 9 Mbps 0x5) 12 Mbps 0x7) 18 Mbps 0x9) 24 Mbps 0xB) 36 Mbps 0x1) 48 Mbps 0x3) 54 Mbps
Legacy CCK rate format for bits 7:0 (bit 8 must be "0", bit 9 "1"): 6-0: 10) 1 Mbps 20) 2 Mbps 55) 5.5 Mbps 110) 11 Mbps
Definition at line 279 of file commands.h.
#define RATE_MCS_DUP_MSK 0x1000 |
Definition at line 306 of file commands.h.
#define RATE_MCS_DUP_POS 12 |
Definition at line 305 of file commands.h.
#define RATE_MCS_FLAGS_POS 8 |
Definition at line 288 of file commands.h.
#define RATE_MCS_GF_MSK 0x400 |
Definition at line 298 of file commands.h.
#define RATE_MCS_GF_POS 10 |
Definition at line 297 of file commands.h.
#define RATE_MCS_HT40_MSK 0x800 |
Definition at line 302 of file commands.h.
#define RATE_MCS_HT40_POS 11 |
Definition at line 301 of file commands.h.
#define RATE_MCS_HT_DUP_MSK 0x20 |
Definition at line 283 of file commands.h.
#define RATE_MCS_HT_DUP_POS 5 |
Definition at line 282 of file commands.h.
#define RATE_MCS_HT_MSK 0x100 |
Definition at line 290 of file commands.h.
#define RATE_MCS_HT_POS 8 |
Definition at line 289 of file commands.h.
#define RATE_MCS_RATE_MSK 0xff |
Definition at line 285 of file commands.h.
#define RATE_MCS_SGI_MSK 0x2000 |
Definition at line 310 of file commands.h.
#define RATE_MCS_SGI_POS 13 |
Definition at line 309 of file commands.h.
#define RATE_MCS_SPATIAL_MSK 0x18 |
Definition at line 281 of file commands.h.
#define RATE_MCS_SPATIAL_POS 3 |
Definition at line 280 of file commands.h.
#define REM_STA_SUCCESS_MSK 0x1 |
Definition at line 953 of file commands.h.
#define RX_MPDU_RES_STATUS_DEC_DONE_MSK (0x800) |
Definition at line 1081 of file commands.h.
#define RX_MPDU_RES_STATUS_ICV_OK (0x20) |
Definition at line 1078 of file commands.h.
#define RX_MPDU_RES_STATUS_MIC_OK (0x40) |
Definition at line 1079 of file commands.h.
#define RX_MPDU_RES_STATUS_TTAK_OK (1 << 7) |
Definition at line 1080 of file commands.h.
#define RX_RES_PHY_FLAGS_AGG_MSK cpu_to_le16(1 << 7) |
Definition at line 1060 of file commands.h.
#define RX_RES_PHY_FLAGS_ANTENNA_MSK 0x70 |
Definition at line 1058 of file commands.h.
#define RX_RES_PHY_FLAGS_ANTENNA_POS 4 |
Definition at line 1059 of file commands.h.
#define RX_RES_PHY_FLAGS_BAND_24_MSK cpu_to_le16(1 << 0) |
Definition at line 1054 of file commands.h.
#define RX_RES_PHY_FLAGS_MOD_CCK_MSK cpu_to_le16(1 << 1) |
Definition at line 1055 of file commands.h.
#define RX_RES_PHY_FLAGS_NARROW_BAND_MSK cpu_to_le16(1 << 3) |
Definition at line 1057 of file commands.h.
#define RX_RES_PHY_FLAGS_SHORT_PREAMBLE_MSK cpu_to_le16(1 << 2) |
Definition at line 1056 of file commands.h.
#define RX_RES_STATUS_BAD_ICV_MIC (0x1 << 11) |
Definition at line 1075 of file commands.h.
#define RX_RES_STATUS_BAD_KEY_TTAK (0x2 << 11) |
Definition at line 1076 of file commands.h.
#define RX_RES_STATUS_DECRYPT_OK (0x3 << 11) |
Definition at line 1074 of file commands.h.
#define RX_RES_STATUS_DECRYPT_TYPE_MSK (0x3 << 11) |
Definition at line 1072 of file commands.h.
#define RX_RES_STATUS_NO_CRC32_ERROR cpu_to_le32(1 << 0) |
Definition at line 1051 of file commands.h.
#define RX_RES_STATUS_NO_RXE_OVERFLOW cpu_to_le32(1 << 1) |
Definition at line 1052 of file commands.h.
#define RX_RES_STATUS_NO_STATION_INFO_MISMATCH (1<<7) |
Definition at line 1070 of file commands.h.
#define RX_RES_STATUS_NOT_DECRYPT (0x0 << 11) |
Definition at line 1073 of file commands.h.
#define RX_RES_STATUS_SEC_TYPE_CCMP (0x2 << 8) |
Definition at line 1065 of file commands.h.
#define RX_RES_STATUS_SEC_TYPE_ERR (0x7 << 8) |
Definition at line 1067 of file commands.h.
#define RX_RES_STATUS_SEC_TYPE_MSK (0x7 << 8) |
Definition at line 1062 of file commands.h.
#define RX_RES_STATUS_SEC_TYPE_NONE (0x0 << 8) |
Definition at line 1063 of file commands.h.
#define RX_RES_STATUS_SEC_TYPE_TKIP (0x3 << 8) |
Definition at line 1066 of file commands.h.
#define RX_RES_STATUS_SEC_TYPE_WEP (0x1 << 8) |
Definition at line 1064 of file commands.h.
#define RX_RES_STATUS_STATION_FOUND (1<<6) |
Definition at line 1069 of file commands.h.
#define RXON_CARD_DISABLED 0x10 |
Definition at line 2234 of file commands.h.
#define RXON_FILTER_ACCEPT_GRP_MSK cpu_to_le32(1 << 2) |
Definition at line 590 of file commands.h.
#define RXON_FILTER_ASSOC_MSK cpu_to_le32(1 << 5) |
Definition at line 596 of file commands.h.
#define RXON_FILTER_BCON_AWARE_MSK cpu_to_le32(1 << 6) |
Definition at line 598 of file commands.h.
#define RXON_FILTER_CTL2HOST_MSK cpu_to_le32(1 << 1) |
Definition at line 588 of file commands.h.
#define RXON_FILTER_DIS_DECRYPT_MSK cpu_to_le32(1 << 3) |
Definition at line 592 of file commands.h.
#define RXON_FILTER_DIS_GRP_DECRYPT_MSK cpu_to_le32(1 << 4) |
Definition at line 594 of file commands.h.
#define RXON_FILTER_PROMISC_MSK cpu_to_le32(1 << 0) |
Definition at line 586 of file commands.h.
#define RXON_FLG_ANT_A_MSK cpu_to_le32(1 << 8) |
Definition at line 548 of file commands.h.
#define RXON_FLG_ANT_B_MSK cpu_to_le32(1 << 9) |
Definition at line 549 of file commands.h.
#define RXON_FLG_ANT_SEL_MSK cpu_to_le32(0x0f00) |
Definition at line 547 of file commands.h.
#define RXON_FLG_AUTO_DETECT_MSK cpu_to_le32(1 << 2) |
Definition at line 539 of file commands.h.
#define RXON_FLG_BAND_24G_MSK cpu_to_le32(1 << 0) |
Definition at line 536 of file commands.h.
#define RXON_FLG_CCK_MSK cpu_to_le32(1 << 1) |
Definition at line 537 of file commands.h.
#define RXON_FLG_CHANNEL_MODE_LEGACY cpu_to_le32(CHANNEL_MODE_LEGACY << RXON_FLG_CHANNEL_MODE_POS) |
Definition at line 577 of file commands.h.
#define RXON_FLG_CHANNEL_MODE_MIXED cpu_to_le32(CHANNEL_MODE_MIXED << RXON_FLG_CHANNEL_MODE_POS) |
Definition at line 579 of file commands.h.
#define RXON_FLG_CHANNEL_MODE_MSK cpu_to_le32(0x3 << 25) |
Definition at line 568 of file commands.h.
#define RXON_FLG_CHANNEL_MODE_POS (25) |
Definition at line 567 of file commands.h.
#define RXON_FLG_CHANNEL_MODE_PURE_40 cpu_to_le32(CHANNEL_MODE_PURE_40 << RXON_FLG_CHANNEL_MODE_POS) |
Definition at line 578 of file commands.h.
#define RXON_FLG_CTRL_CHANNEL_LOC_HI_MSK cpu_to_le32(0x1 << 22) |
Definition at line 560 of file commands.h.
#define RXON_FLG_CTRL_CHANNEL_LOC_POS (22) |
Definition at line 559 of file commands.h.
#define RXON_FLG_DIS_DIV_MSK cpu_to_le32(1 << 7) |
Definition at line 546 of file commands.h.
#define RXON_FLG_HT40_PROT_MSK cpu_to_le32(0x2 << 23) |
Definition at line 565 of file commands.h.
#define RXON_FLG_HT_OPERATING_MODE_POS (23) |
Definition at line 562 of file commands.h.
#define RXON_FLG_HT_PROT_MSK cpu_to_le32(0x1 << 23) |
Definition at line 564 of file commands.h.
#define RXON_FLG_RADAR_DETECT_MSK cpu_to_le32(1 << 12) |
Definition at line 551 of file commands.h.
#define RXON_FLG_SELF_CTS_EN cpu_to_le32(0x1<<30) |
Definition at line 582 of file commands.h.
#define RXON_FLG_SHORT_PREAMBLE_MSK cpu_to_le32(1 << 5) |
Definition at line 544 of file commands.h.
#define RXON_FLG_SHORT_SLOT_MSK cpu_to_le32(1 << 4) |
Definition at line 543 of file commands.h.
#define RXON_FLG_TGG_PROTECT_MSK cpu_to_le32(1 << 3) |
Definition at line 541 of file commands.h.
#define RXON_FLG_TGJ_NARROW_BAND_MSK cpu_to_le32(1 << 13) |
Definition at line 552 of file commands.h.
#define RXON_FLG_TSF2HOST_MSK cpu_to_le32(1 << 15) |
Definition at line 555 of file commands.h.
#define RXON_RX_CHAIN_CNT_MSK cpu_to_le16(0x3 << 10) |
Definition at line 527 of file commands.h.
#define RXON_RX_CHAIN_CNT_POS (10) |
Definition at line 528 of file commands.h.
#define RXON_RX_CHAIN_DRIVER_FORCE_MSK cpu_to_le16(0x1 << 0) |
Definition at line 519 of file commands.h.
#define RXON_RX_CHAIN_DRIVER_FORCE_POS (0) |
Definition at line 520 of file commands.h.
#define RXON_RX_CHAIN_FORCE_MIMO_SEL_MSK cpu_to_le16(0x7 << 7) |
Definition at line 525 of file commands.h.
#define RXON_RX_CHAIN_FORCE_MIMO_SEL_POS (7) |
Definition at line 526 of file commands.h.
#define RXON_RX_CHAIN_FORCE_SEL_MSK cpu_to_le16(0x7 << 4) |
Definition at line 523 of file commands.h.
#define RXON_RX_CHAIN_FORCE_SEL_POS (4) |
Definition at line 524 of file commands.h.
#define RXON_RX_CHAIN_MIMO_CNT_MSK cpu_to_le16(0x3 << 12) |
Definition at line 529 of file commands.h.
#define RXON_RX_CHAIN_MIMO_CNT_POS (12) |
Definition at line 530 of file commands.h.
#define RXON_RX_CHAIN_MIMO_FORCE_MSK cpu_to_le16(0x1 << 14) |
Definition at line 531 of file commands.h.
#define RXON_RX_CHAIN_MIMO_FORCE_POS (14) |
Definition at line 532 of file commands.h.
#define RXON_RX_CHAIN_VALID_MSK cpu_to_le16(0x7 << 1) |
Definition at line 521 of file commands.h.
#define RXON_RX_CHAIN_VALID_POS (1) |
Definition at line 522 of file commands.h.
#define SCAN_CHANNEL_TYPE_ACTIVE cpu_to_le32(1) |
Definition at line 2256 of file commands.h.
#define SCAN_CHANNEL_TYPE_PASSIVE cpu_to_le32(0) |
Definition at line 2255 of file commands.h.
#define SCAN_OWNER_STATUS 0x1 |
Definition at line 2444 of file commands.h.
#define SENSITIVITY_CMD_CONTROL_DEFAULT_TABLE cpu_to_le16(0) |
Definition at line 3069 of file commands.h.
#define SENSITIVITY_CMD_CONTROL_WORK_TABLE cpu_to_le16(1) |
Definition at line 3070 of file commands.h.
#define STA_CONTROL_MODIFY_MSK 0x01 |
Definition at line 811 of file commands.h.
#define STA_FLG_AGG_MPDU_8US_MSK cpu_to_le32(1 << 18) |
Definition at line 802 of file commands.h.
#define STA_FLG_AGG_MPDU_DENSITY_MSK cpu_to_le32(7 << 23) |
Definition at line 808 of file commands.h.
#define STA_FLG_AGG_MPDU_DENSITY_POS (23) |
Definition at line 807 of file commands.h.
#define STA_FLG_HT40_EN_MSK cpu_to_le32(1 << 21) |
Definition at line 805 of file commands.h.
#define STA_FLG_MAX_AGG_SIZE_MSK cpu_to_le32(3 << 19) |
Definition at line 804 of file commands.h.
#define STA_FLG_MAX_AGG_SIZE_POS (19) |
Definition at line 803 of file commands.h.
#define STA_FLG_MIMO_DIS_MSK cpu_to_le32(1 << 22) |
Definition at line 806 of file commands.h.
#define STA_FLG_PAN_STATION cpu_to_le32(1 << 13) |
Definition at line 800 of file commands.h.
#define STA_FLG_PWR_SAVE_MSK cpu_to_le32(1 << 8) |
Definition at line 799 of file commands.h.
#define STA_FLG_RTS_MIMO_PROT_MSK cpu_to_le32(1 << 17) |
Definition at line 801 of file commands.h.
#define STA_FLG_TX_RATE_MSK cpu_to_le32(1 << 2) |
Definition at line 798 of file commands.h.
#define STA_KEY_FLG_CCMP cpu_to_le16(0x0002) |
Definition at line 817 of file commands.h.
#define STA_KEY_FLG_ENCRYPT_MSK cpu_to_le16(0x0007) |
Definition at line 814 of file commands.h.
#define STA_KEY_FLG_INVALID cpu_to_le16(0x0800) |
Definition at line 821 of file commands.h.
#define STA_KEY_FLG_KEY_SIZE_MSK cpu_to_le16(0x1000) |
Definition at line 826 of file commands.h.
#define STA_KEY_FLG_KEYID_POS 8 |
Definition at line 820 of file commands.h.
#define STA_KEY_FLG_MAP_KEY_MSK cpu_to_le16(0x0008) |
Definition at line 823 of file commands.h.
#define STA_KEY_FLG_NO_ENC cpu_to_le16(0x0000) |
Definition at line 815 of file commands.h.
#define STA_KEY_FLG_TKIP cpu_to_le16(0x0003) |
Definition at line 818 of file commands.h.
#define STA_KEY_FLG_WEP cpu_to_le16(0x0001) |
Definition at line 816 of file commands.h.
#define STA_KEY_MAX_NUM 8 |
Definition at line 828 of file commands.h.
#define STA_KEY_MAX_NUM_PAN 16 |
Definition at line 829 of file commands.h.
#define STA_KEY_MULTICAST_MSK cpu_to_le16(0x4000) |
Definition at line 827 of file commands.h.
#define STA_MODIFY_ADDBA_TID_MSK 0x08 |
Definition at line 837 of file commands.h.
#define STA_MODIFY_DELBA_TID_MSK 0x10 |
Definition at line 838 of file commands.h.
#define STA_MODIFY_KEY_MASK 0x01 |
Definition at line 834 of file commands.h.
#define STA_MODIFY_SLEEP_TX_COUNT_MSK 0x20 |
Definition at line 839 of file commands.h.
#define STA_MODIFY_TID_DISABLE_TX 0x02 |
Definition at line 835 of file commands.h.
#define STA_MODIFY_TX_RATE_MSK 0x04 |
Definition at line 836 of file commands.h.
#define STATISTICS_REPLY_FLG_BAND_24G_MSK cpu_to_le32(0x2) |
Definition at line 2787 of file commands.h.
#define STATISTICS_REPLY_FLG_HT40_MODE_MSK cpu_to_le32(0x8) |
Definition at line 2788 of file commands.h.
#define SUP_RATE_11A_MAX_NUM_CHANNELS 8 |
Definition at line 2522 of file commands.h.
#define SUP_RATE_11B_MAX_NUM_CHANNELS 4 |
Definition at line 2523 of file commands.h.
#define SUP_RATE_11G_MAX_NUM_CHANNELS 12 |
Definition at line 2524 of file commands.h.
#define SW_CARD_DISABLED 0x02 |
Definition at line 2232 of file commands.h.
#define TKIP_ICV_LEN 4 |
Definition at line 1234 of file commands.h.
#define TX_CMD_FLG_ACK_MSK cpu_to_le32(1 << 3) |
Definition at line 1166 of file commands.h.
#define TX_CMD_FLG_AGG_CCMP_MSK cpu_to_le32(1 << 22) |
Definition at line 1212 of file commands.h.
#define TX_CMD_FLG_ANT_SEL_MSK cpu_to_le32(0xf00) |
Definition at line 1181 of file commands.h.
#define TX_CMD_FLG_DUR_MSK cpu_to_le32(1 << 25) |
Definition at line 1215 of file commands.h.
#define TX_CMD_FLG_IGNORE_BT cpu_to_le32(1 << 12) |
Definition at line 1185 of file commands.h.
#define TX_CMD_FLG_IMM_BA_RSP_MASK cpu_to_le32(1 << 6) |
Definition at line 1178 of file commands.h.
#define TX_CMD_FLG_MH_PAD_MSK cpu_to_le32(1 << 20) |
Definition at line 1208 of file commands.h.
#define TX_CMD_FLG_MORE_FRAG_MSK cpu_to_le32(1 << 14) |
Definition at line 1195 of file commands.h.
#define TX_CMD_FLG_PROT_REQUIRE_MSK cpu_to_le32(1 << 0) |
Definition at line 1161 of file commands.h.
#define TX_CMD_FLG_SEQ_CTL_MSK cpu_to_le32(1 << 13) |
Definition at line 1191 of file commands.h.
#define TX_CMD_FLG_STA_RATE_MSK cpu_to_le32(1 << 4) |
Definition at line 1174 of file commands.h.
#define TX_CMD_FLG_TSF_MSK cpu_to_le32(1 << 16) |
Definition at line 1200 of file commands.h.
#define TX_CMD_LIFE_TIME_INFINITE cpu_to_le32(0xFFFFFFFF) |
Definition at line 2312 of file commands.h.
#define TX_CMD_SEC_CCM 0x02 |
Definition at line 1222 of file commands.h.
#define TX_CMD_SEC_KEY128 0x08 |
Definition at line 1226 of file commands.h.
#define TX_CMD_SEC_MSK 0x03 |
Definition at line 1224 of file commands.h.
#define TX_CMD_SEC_SHIFT 6 |
Definition at line 1225 of file commands.h.
#define TX_CMD_SEC_TKIP 0x03 |
Definition at line 1223 of file commands.h.
#define TX_CMD_SEC_WEP 0x01 |
Definition at line 1221 of file commands.h.
#define TX_PACKET_MODE_BURST_FIRST 0x0200 |
Definition at line 1368 of file commands.h.
#define TX_PACKET_MODE_BURST_SEQ 0x0100 |
Definition at line 1367 of file commands.h.
#define TX_PACKET_MODE_REGULAR 0x0000 |
Definition at line 1366 of file commands.h.
#define UCODE_STATISTICS_CLEAR_MSK (0x1 << 0) |
Definition at line 2747 of file commands.h.
#define UCODE_STATISTICS_FREQUENCY_MSK (0x1 << 1) |
Definition at line 2748 of file commands.h.
#define UCODE_STATISTICS_NARROW_BAND_MSK (0x1 << 2) |
Definition at line 2749 of file commands.h.
#define UCODE_VALID_OK cpu_to_le32(0x1) |
Definition at line 377 of file commands.h.
#define WEP_ICV_LEN 4 |
Definition at line 1232 of file commands.h.
#define WEP_INVALID_OFFSET 0xff |
Definition at line 1041 of file commands.h.
#define WEP_IV_LEN 4 |
Definition at line 1231 of file commands.h.
#define WEP_KEY_LEN_128 13 |
Definition at line 1043 of file commands.h.
#define WEP_KEY_LEN_64 5 |
Definition at line 1042 of file commands.h.
#define WEP_KEY_WEP_TYPE 1 |
Definition at line 1039 of file commands.h.
#define WEP_KEYS_MAX 4 |
Definition at line 1040 of file commands.h.
anonymous enum |
Definition at line 76 of file commands.h.
anonymous enum |
RXON_DEV_TYPE_AP | |
RXON_DEV_TYPE_ESS | |
RXON_DEV_TYPE_IBSS | |
RXON_DEV_TYPE_SNIFFER | |
RXON_DEV_TYPE_CP | |
RXON_DEV_TYPE_2STA | |
RXON_DEV_TYPE_P2P |
Definition at line 508 of file commands.h.
anonymous enum |
Definition at line 571 of file commands.h.
anonymous enum |
Definition at line 1337 of file commands.h.
anonymous enum |
Definition at line 1370 of file commands.h.
anonymous enum |
TX_STATUS_MSK | |
TX_STATUS_DELAY_MSK | |
TX_STATUS_ABORT_MSK | |
TX_PACKET_MODE_MSK | |
TX_FIFO_NUMBER_MSK | |
TX_RESERVED | |
TX_POWER_PA_DETECT_MSK | |
TX_ABORT_REQUIRED_MSK |
Definition at line 1374 of file commands.h.
anonymous enum |
Definition at line 1389 of file commands.h.
anonymous enum |
Definition at line 2200 of file commands.h.
anonymous enum |
REPLY_PHY_CALIBRATION_CMD = 0xb0 (command, has simple generic response)
This command sets the relative gains of agn device's 3 radio receiver chains.
After the first association, driver should accumulate signal and noise statistics from the STATISTICS_NOTIFICATIONs that follow the first 20 beacons from the associated network (don't collect statistics that come in from scanning, or any other non-network source).
DISCONNECTED ANTENNA:
Driver should determine which antennas are actually connected, by comparing average beacon signal levels for the 3 Rx chains. Accumulate (add) the following values over 20 beacons, one accumulator for each of the chains a/b/c, from struct statistics_rx_non_phy:
beacon_rssi_[abc] & 0x0FF (unsigned, units in dB)
Find the strongest signal from among a/b/c. Compare the other two to the strongest. If any signal is more than 15 dB (times 20, unless you divide the accumulated values by 20) below the strongest, the driver considers that antenna to be disconnected, and should not try to use that antenna/chain for Rx or Tx. If both A and B seem to be disconnected, driver should declare the stronger one as connected, and attempt to use it (A and B are the only 2 Tx chains!).
RX BALANCE:
Driver should balance the 3 receivers (but just the ones that are connected to antennas, see above) for gain, by comparing the average signal levels detected during the silence after each beacon (background noise). Accumulate (add) the following values over 20 beacons, one accumulator for each of the chains a/b/c, from struct statistics_rx_non_phy:
beacon_silence_rssi_[abc] & 0x0FF (unsigned, units in dB)
Find the weakest background noise level from among a/b/c. This Rx chain will be the reference, with 0 gain adjustment. Attenuate other channels by finding noise difference:
(accum_noise[i] - accum_noise[reference]) / 30
The "30" adjusts the dB in the 20 accumulated samples to units of 1.5 dB. For use in diff_gain_[abc] fields of struct iwl_calibration_cmd, the driver should limit the difference results to a range of 0-3 (0-4.5 dB), and set bit 2 to indicate "reduce gain". The value for the reference (weakest) chain should be "0".
diff_gain_[abc] bit fields: 2: (1) reduce gain, (0) increase gain 1-0: amount of gain, units of 1.5 dB
Definition at line 3149 of file commands.h.
anonymous enum |
Definition at line 3383 of file commands.h.
Definition at line 3721 of file commands.h.
Definition at line 3742 of file commands.h.
IWL_BT_COEX_TRAFFIC_LOAD_NONE | |
IWL_BT_COEX_TRAFFIC_LOAD_LOW | |
IWL_BT_COEX_TRAFFIC_LOAD_HIGH | |
IWL_BT_COEX_TRAFFIC_LOAD_CONTINUOUS |
Definition at line 3497 of file commands.h.
enum iwl_bt_kill_idx |
Definition at line 1915 of file commands.h.
enum iwl_ibss_manager |
Definition at line 2486 of file commands.h.
enum iwl_measure_type |
IWL_MEASURE_BASIC | |
IWL_MEASURE_CHANNEL_LOAD | |
IWL_MEASURE_HISTOGRAM_RPI | |
IWL_MEASURE_HISTOGRAM_NOISE | |
IWL_MEASURE_FRAME | |
IWL_MEASURE_IDLE |
Definition at line 2085 of file commands.h.
Definition at line 2056 of file commands.h.
IWL_MEASUREMENT_OK | |
IWL_MEASUREMENT_CONCURRENT | |
IWL_MEASUREMENT_CSA_CONFLICT | |
IWL_MEASUREMENT_TGH_CONFLICT | |
IWL_MEASUREMENT_STOPPED | |
IWL_MEASUREMENT_TIMEOUT | |
IWL_MEASUREMENT_PERIODIC_FAILED |
Definition at line 2061 of file commands.h.
enum iwl_scan_flags |
Definition at line 2371 of file commands.h.
enum iwl_ucode_calib_cfg |
Definition at line 3162 of file commands.h.
Definition at line 3773 of file commands.h.
Definition at line 3807 of file commands.h.
|
read |
Definition at line 171 of file esd_usb2.c.
Definition at line 3769 of file commands.h.
u8 bt_ci_compliance |
Definition at line 3711 of file commands.h.
u8 bt_status |
Definition at line 3709 of file commands.h.
u8 bt_traffic_load |
Definition at line 3710 of file commands.h.
u8 frame1 |
Definition at line 3701 of file commands.h.
u8 frame2 |
Definition at line 3702 of file commands.h.
u8 frame3 |
Definition at line 3703 of file commands.h.
u8 frame4 |
Definition at line 3704 of file commands.h.
u8 frame5 |
Definition at line 3705 of file commands.h.
u8 frame6 |
Definition at line 3706 of file commands.h.
u8 frame7 |
Definition at line 3707 of file commands.h.
Definition at line 3700 of file commands.h.
struct iwl_bt_uart_msg last_bt_uart_msg |
Definition at line 3708 of file commands.h.
u8 prio_tbl[BT_COEX_PRIO_TBL_EVT_MAX] |
Definition at line 3757 of file commands.h.
u8 reserved[2] |
Definition at line 3712 of file commands.h.
Definition at line 3770 of file commands.h.