diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-02-18 20:23:51 -0500 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-02-26 13:28:41 -0500 |
commit | d6f626553d13e66b36a1ea2dbf23a5c21277a004 (patch) | |
tree | dd7f26eeae7fa8a7de1c619aaa08d376dc1ebeb7 | |
parent | 5596026081198f8012b52e0f589530f2bb6f9b40 (diff) |
iwlagn: add bt config structure support for 2000 series
2000 series has different bt config command structure, add support for it
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index 58919f883f02..b32b143458be 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -2499,6 +2499,29 @@ struct iwl6000_bt_cmd { | |||
2499 | __le16 rx_prio_boost; /* SW boost of WiFi rx priority */ | 2499 | __le16 rx_prio_boost; /* SW boost of WiFi rx priority */ |
2500 | }; | 2500 | }; |
2501 | 2501 | ||
2502 | struct iwl2000_bt_cmd { | ||
2503 | u8 flags; | ||
2504 | u8 ledtime; /* unused */ | ||
2505 | u8 max_kill; | ||
2506 | u8 bt3_timer_t7_value; | ||
2507 | __le32 kill_ack_mask; | ||
2508 | __le32 kill_cts_mask; | ||
2509 | u8 bt3_prio_sample_time; | ||
2510 | u8 bt3_timer_t2_value; | ||
2511 | __le16 bt4_reaction_time; /* unused */ | ||
2512 | __le32 bt3_lookup_table[12]; | ||
2513 | __le16 bt4_decision_time; /* unused */ | ||
2514 | __le16 valid; | ||
2515 | __le32 prio_boost; | ||
2516 | /* | ||
2517 | * set IWLAGN_BT_VALID_BOOST to "1" in "valid" bitmask | ||
2518 | * if configure the following patterns | ||
2519 | */ | ||
2520 | u8 reserved; | ||
2521 | u8 tx_prio_boost; /* SW boost of WiFi tx priority */ | ||
2522 | __le16 rx_prio_boost; /* SW boost of WiFi rx priority */ | ||
2523 | }; | ||
2524 | |||
2502 | #define IWLAGN_BT_SCO_ACTIVE cpu_to_le32(BIT(0)) | 2525 | #define IWLAGN_BT_SCO_ACTIVE cpu_to_le32(BIT(0)) |
2503 | 2526 | ||
2504 | struct iwlagn_bt_sco_cmd { | 2527 | struct iwlagn_bt_sco_cmd { |