summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-04-27 14:33:33 -0700
committerReinette Chatre <reinette.chatre@intel.com>2010-05-10 15:08:48 -0700
commit4e7033ef491a8447247e77b20626cbc197a2eb83 (patch)
tree5541e38a77d2b396e61142daa0159a64916d3314 /drivers/net/wireless/iwlwifi/iwl-core.h
parent92445c953eb5698d1abab16b9a43238effdc0a6d (diff)
downloadblackbird-op-linux-4e7033ef491a8447247e77b20626cbc197a2eb83.tar.gz
blackbird-op-linux-4e7033ef491a8447247e77b20626cbc197a2eb83.zip
iwlwifi: remove device type checking for tx power in debugfs
Instead of checking device type for enable/disable tx power control, move it to .cfg for better control and more flexibilities. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h
index 7deed865b14f..60d26e4e6edc 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.h
+++ b/drivers/net/wireless/iwlwifi/iwl-core.h
@@ -319,6 +319,7 @@ struct iwl_cfg {
u32 monitor_recover_period;
bool temperature_kelvin;
u32 max_event_log_size;
+ const bool tx_power_by_driver;
u8 scan_antennas[IEEE80211_NUM_BANDS];
};
OpenPOWER on IntegriCloud