iwlwifi: update bt co-exit configuration parameter
Adding parameter ranges for bt co-exist configuration command. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Родитель
1ed2a3d29a
Коммит
456d0f7672
|
@ -2218,6 +2218,19 @@ struct iwl_link_quality_cmd {
|
||||||
__le32 reserved2;
|
__le32 reserved2;
|
||||||
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
||||||
|
|
||||||
|
#define BT_COEX_DISABLE (0x0)
|
||||||
|
#define BT_COEX_MODE_2W (0x1)
|
||||||
|
#define BT_COEX_MODE_3W (0x2)
|
||||||
|
#define BT_COEX_MODE_4W (0x3)
|
||||||
|
|
||||||
|
#define BT_LEAD_TIME_MIN (0x0)
|
||||||
|
#define BT_LEAD_TIME_DEF (0x1E)
|
||||||
|
#define BT_LEAD_TIME_MAX (0xFF)
|
||||||
|
|
||||||
|
#define BT_MAX_KILL_MIN (0x1)
|
||||||
|
#define BT_MAX_KILL_DEF (0x5)
|
||||||
|
#define BT_MAX_KILL_MAX (0xFF)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* REPLY_BT_CONFIG = 0x9b (command, has simple generic response)
|
* REPLY_BT_CONFIG = 0x9b (command, has simple generic response)
|
||||||
*
|
*
|
||||||
|
|
|
@ -2003,9 +2003,9 @@ EXPORT_SYMBOL(iwl_isr_legacy);
|
||||||
int iwl_send_bt_config(struct iwl_priv *priv)
|
int iwl_send_bt_config(struct iwl_priv *priv)
|
||||||
{
|
{
|
||||||
struct iwl_bt_cmd bt_cmd = {
|
struct iwl_bt_cmd bt_cmd = {
|
||||||
.flags = 3,
|
.flags = BT_COEX_MODE_4W,
|
||||||
.lead_time = 0xAA,
|
.lead_time = BT_LEAD_TIME_DEF,
|
||||||
.max_kill = 1,
|
.max_kill = BT_MAX_KILL_DEF,
|
||||||
.kill_ack_mask = 0,
|
.kill_ack_mask = 0,
|
||||||
.kill_cts_mask = 0,
|
.kill_cts_mask = 0,
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче