Commit af8ee055 authored by Wey-Yi Guy's avatar Wey-Yi Guy

iwlagn: add .cfg flag to idenfity the need for bt statistics

Only WiFi/BT combo devices need to use bluetooth version of statistics
notification; adding the flag in .cfg file to indicate the need for
using different data structure.
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent 325322ee
...@@ -500,6 +500,7 @@ struct iwl_cfg iwl6000g2b_2agn_cfg = { ...@@ -500,6 +500,7 @@ struct iwl_cfg iwl6000g2b_2agn_cfg = {
.sensitivity_calib_by_driver = true, .sensitivity_calib_by_driver = true,
.chain_noise_calib_by_driver = true, .chain_noise_calib_by_driver = true,
.need_dc_calib = true, .need_dc_calib = true,
.bt_statistics = true,
}; };
struct iwl_cfg iwl6000g2b_2abg_cfg = { struct iwl_cfg iwl6000g2b_2abg_cfg = {
...@@ -535,6 +536,7 @@ struct iwl_cfg iwl6000g2b_2abg_cfg = { ...@@ -535,6 +536,7 @@ struct iwl_cfg iwl6000g2b_2abg_cfg = {
.sensitivity_calib_by_driver = true, .sensitivity_calib_by_driver = true,
.chain_noise_calib_by_driver = true, .chain_noise_calib_by_driver = true,
.need_dc_calib = true, .need_dc_calib = true,
.bt_statistics = true,
}; };
struct iwl_cfg iwl6000g2b_2bgn_cfg = { struct iwl_cfg iwl6000g2b_2bgn_cfg = {
...@@ -572,6 +574,7 @@ struct iwl_cfg iwl6000g2b_2bgn_cfg = { ...@@ -572,6 +574,7 @@ struct iwl_cfg iwl6000g2b_2bgn_cfg = {
.sensitivity_calib_by_driver = true, .sensitivity_calib_by_driver = true,
.chain_noise_calib_by_driver = true, .chain_noise_calib_by_driver = true,
.need_dc_calib = true, .need_dc_calib = true,
.bt_statistics = true,
}; };
struct iwl_cfg iwl6000g2b_2bg_cfg = { struct iwl_cfg iwl6000g2b_2bg_cfg = {
...@@ -607,6 +610,7 @@ struct iwl_cfg iwl6000g2b_2bg_cfg = { ...@@ -607,6 +610,7 @@ struct iwl_cfg iwl6000g2b_2bg_cfg = {
.sensitivity_calib_by_driver = true, .sensitivity_calib_by_driver = true,
.chain_noise_calib_by_driver = true, .chain_noise_calib_by_driver = true,
.need_dc_calib = true, .need_dc_calib = true,
.bt_statistics = true,
}; };
struct iwl_cfg iwl6000g2b_bgn_cfg = { struct iwl_cfg iwl6000g2b_bgn_cfg = {
...@@ -644,6 +648,7 @@ struct iwl_cfg iwl6000g2b_bgn_cfg = { ...@@ -644,6 +648,7 @@ struct iwl_cfg iwl6000g2b_bgn_cfg = {
.sensitivity_calib_by_driver = true, .sensitivity_calib_by_driver = true,
.chain_noise_calib_by_driver = true, .chain_noise_calib_by_driver = true,
.need_dc_calib = true, .need_dc_calib = true,
.bt_statistics = true,
}; };
struct iwl_cfg iwl6000g2b_bg_cfg = { struct iwl_cfg iwl6000g2b_bg_cfg = {
...@@ -679,6 +684,7 @@ struct iwl_cfg iwl6000g2b_bg_cfg = { ...@@ -679,6 +684,7 @@ struct iwl_cfg iwl6000g2b_bg_cfg = {
.sensitivity_calib_by_driver = true, .sensitivity_calib_by_driver = true,
.chain_noise_calib_by_driver = true, .chain_noise_calib_by_driver = true,
.need_dc_calib = true, .need_dc_calib = true,
.bt_statistics = true,
}; };
/* /*
......
...@@ -335,6 +335,7 @@ struct iwl_cfg { ...@@ -335,6 +335,7 @@ struct iwl_cfg {
u8 scan_rx_antennas[IEEE80211_NUM_BANDS]; u8 scan_rx_antennas[IEEE80211_NUM_BANDS];
u8 scan_tx_antennas[IEEE80211_NUM_BANDS]; u8 scan_tx_antennas[IEEE80211_NUM_BANDS];
const bool need_dc_calib; const bool need_dc_calib;
const bool bt_statistics;
}; };
/*************************** /***************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment