summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-phy-db.h
diff options
context:
space:
mode:
authorDavid Spinadel <david.spinadel@intel.com>2012-03-15 10:22:31 +0100
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-04-16 23:36:54 +0200
commitcfd8544e9e350848cf580380418cbebcd09015be (patch)
tree95dd0b1d560dd06b8c4abbfc0d53e2b0589d3ad1 /drivers/net/wireless/iwlwifi/iwl-phy-db.h
parentiwlwifi: Disabling calibrations variable (diff)
downloadlinux-cfd8544e9e350848cf580380418cbebcd09015be.tar.xz
linux-cfd8544e9e350848cf580380418cbebcd09015be.zip
iwlwifi: phy db channel to tx power channel group
Implement mapping of channel to TX power channel group, for sending channel specific data before add context. Signed-off-by: David Spinadel <david.spinadel@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-phy-db.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-phy-db.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-phy-db.h b/drivers/net/wireless/iwlwifi/iwl-phy-db.h
index ba91a8b28398..5e86305de66a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-phy-db.h
+++ b/drivers/net/wireless/iwlwifi/iwl-phy-db.h
@@ -108,6 +108,12 @@ enum iwl_phy_db_section_type {
IWL_PHY_DB_MAX
};
+/* for parsing of tx power channel group data that comes from the firmware*/
+struct iwl_phy_db_chg_txp {
+ __le32 space;
+ __le16 max_channel_idx;
+} __packed;
+
struct iwl_phy_db *iwl_phy_db_init(struct iwl_shared *shrd);
void iwl_phy_db_free(struct iwl_phy_db *phy_db);