diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index 424801abc80e..f893d4a6aa87 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -2022,6 +2022,9 @@ struct iwl_compressed_ba_resp { | |||
2022 | __le64 bitmap; | 2022 | __le64 bitmap; |
2023 | __le16 scd_flow; | 2023 | __le16 scd_flow; |
2024 | __le16 scd_ssn; | 2024 | __le16 scd_ssn; |
2025 | /* following only for 5000 series and up */ | ||
2026 | u8 txed; /* number of frames sent */ | ||
2027 | u8 txed_2_done; /* number of frames acked */ | ||
2025 | } __packed; | 2028 | } __packed; |
2026 | 2029 | ||
2027 | /* | 2030 | /* |
@@ -2407,9 +2410,9 @@ struct iwl_link_quality_cmd { | |||
2407 | #define BT_FRAG_THRESHOLD_MAX 0 | 2410 | #define BT_FRAG_THRESHOLD_MAX 0 |
2408 | #define BT_FRAG_THRESHOLD_MIN 0 | 2411 | #define BT_FRAG_THRESHOLD_MIN 0 |
2409 | 2412 | ||
2410 | #define BT_AGG_THRESHOLD_DEF 0 | 2413 | #define BT_AGG_THRESHOLD_DEF 1200 |
2411 | #define BT_AGG_THRESHOLD_MAX 0 | 2414 | #define BT_AGG_THRESHOLD_MAX 8000 |
2412 | #define BT_AGG_THRESHOLD_MIN 0 | 2415 | #define BT_AGG_THRESHOLD_MIN 400 |
2413 | 2416 | ||
2414 | /* | 2417 | /* |
2415 | * REPLY_BT_CONFIG = 0x9b (command, has simple generic response) | 2418 | * REPLY_BT_CONFIG = 0x9b (command, has simple generic response) |
@@ -2436,8 +2439,9 @@ struct iwl_bt_cmd { | |||
2436 | #define IWLAGN_BT_FLAG_COEX_MODE_3W 2 | 2439 | #define IWLAGN_BT_FLAG_COEX_MODE_3W 2 |
2437 | #define IWLAGN_BT_FLAG_COEX_MODE_4W 3 | 2440 | #define IWLAGN_BT_FLAG_COEX_MODE_4W 3 |
2438 | 2441 | ||
2439 | #define IWLAGN_BT_FLAG_UCODE_DEFAULT BIT(6) | 2442 | #define IWLAGN_BT_FLAG_UCODE_DEFAULT BIT(6) |
2440 | #define IWLAGN_BT_FLAG_NOCOEX_NOTIF BIT(7) | 2443 | /* Disable Sync PSPoll on SCO/eSCO */ |
2444 | #define IWLAGN_BT_FLAG_SYNC_2_BT_DISABLE BIT(7) | ||
2441 | 2445 | ||
2442 | #define IWLAGN_BT_PRIO_BOOST_MAX 0xFF | 2446 | #define IWLAGN_BT_PRIO_BOOST_MAX 0xFF |
2443 | #define IWLAGN_BT_PRIO_BOOST_MIN 0x00 | 2447 | #define IWLAGN_BT_PRIO_BOOST_MIN 0x00 |
@@ -2447,8 +2451,9 @@ struct iwl_bt_cmd { | |||
2447 | 2451 | ||
2448 | #define IWLAGN_BT3_T7_DEFAULT 1 | 2452 | #define IWLAGN_BT3_T7_DEFAULT 1 |
2449 | 2453 | ||
2450 | #define IWLAGN_BT_KILL_ACK_MASK_DEFAULT cpu_to_le32(0xffffffff) | 2454 | #define IWLAGN_BT_KILL_ACK_MASK_DEFAULT cpu_to_le32(0xffff0000) |
2451 | #define IWLAGN_BT_KILL_CTS_MASK_DEFAULT cpu_to_le32(0xffffffff) | 2455 | #define IWLAGN_BT_KILL_CTS_MASK_DEFAULT cpu_to_le32(0xffff0000) |
2456 | #define IWLAGN_BT_KILL_ACK_CTS_MASK_SCO cpu_to_le32(0xffffffff) | ||
2452 | 2457 | ||
2453 | #define IWLAGN_BT3_PRIO_SAMPLE_DEFAULT 2 | 2458 | #define IWLAGN_BT3_PRIO_SAMPLE_DEFAULT 2 |
2454 | 2459 | ||
@@ -2664,9 +2669,16 @@ struct iwl_spectrum_notification { | |||
2664 | #define IWL_POWER_VEC_SIZE 5 | 2669 | #define IWL_POWER_VEC_SIZE 5 |
2665 | 2670 | ||
2666 | #define IWL_POWER_DRIVER_ALLOW_SLEEP_MSK cpu_to_le16(BIT(0)) | 2671 | #define IWL_POWER_DRIVER_ALLOW_SLEEP_MSK cpu_to_le16(BIT(0)) |
2672 | #define IWL_POWER_POWER_SAVE_ENA_MSK cpu_to_le16(BIT(0)) | ||
2673 | #define IWL_POWER_POWER_MANAGEMENT_ENA_MSK cpu_to_le16(BIT(1)) | ||
2667 | #define IWL_POWER_SLEEP_OVER_DTIM_MSK cpu_to_le16(BIT(2)) | 2674 | #define IWL_POWER_SLEEP_OVER_DTIM_MSK cpu_to_le16(BIT(2)) |
2668 | #define IWL_POWER_PCI_PM_MSK cpu_to_le16(BIT(3)) | 2675 | #define IWL_POWER_PCI_PM_MSK cpu_to_le16(BIT(3)) |
2669 | #define IWL_POWER_FAST_PD cpu_to_le16(BIT(4)) | 2676 | #define IWL_POWER_FAST_PD cpu_to_le16(BIT(4)) |
2677 | #define IWL_POWER_BEACON_FILTERING cpu_to_le16(BIT(5)) | ||
2678 | #define IWL_POWER_SHADOW_REG_ENA cpu_to_le16(BIT(6)) | ||
2679 | #define IWL_POWER_CT_KILL_SET cpu_to_le16(BIT(7)) | ||
2680 | #define IWL_POWER_BT_SCO_ENA cpu_to_le16(BIT(8)) | ||
2681 | #define IWL_POWER_ADVANCE_PM_ENA_MSK cpu_to_le16(BIT(9)) | ||
2670 | 2682 | ||
2671 | struct iwl3945_powertable_cmd { | 2683 | struct iwl3945_powertable_cmd { |
2672 | __le16 flags; | 2684 | __le16 flags; |