diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/fw-api-power.h')
| -rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/fw-api-power.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api-power.h b/drivers/net/wireless/iwlwifi/mvm/fw-api-power.h index 4fc0938b3fb6..b1baa33cc19b 100644 --- a/drivers/net/wireless/iwlwifi/mvm/fw-api-power.h +++ b/drivers/net/wireless/iwlwifi/mvm/fw-api-power.h | |||
| @@ -298,6 +298,40 @@ struct iwl_uapsd_misbehaving_ap_notif { | |||
| 298 | } __packed; | 298 | } __packed; |
| 299 | 299 | ||
| 300 | /** | 300 | /** |
| 301 | * struct iwl_reduce_tx_power_cmd - TX power reduction command | ||
| 302 | * REDUCE_TX_POWER_CMD = 0x9f | ||
| 303 | * @flags: (reserved for future implementation) | ||
| 304 | * @mac_context_id: id of the mac ctx for which we are reducing TX power. | ||
| 305 | * @pwr_restriction: TX power restriction in dBms. | ||
| 306 | */ | ||
| 307 | struct iwl_reduce_tx_power_cmd { | ||
| 308 | u8 flags; | ||
| 309 | u8 mac_context_id; | ||
| 310 | __le16 pwr_restriction; | ||
| 311 | } __packed; /* TX_REDUCED_POWER_API_S_VER_1 */ | ||
| 312 | |||
| 313 | /** | ||
| 314 | * struct iwl_dev_tx_power_cmd - TX power reduction command | ||
| 315 | * REDUCE_TX_POWER_CMD = 0x9f | ||
| 316 | * @set_mode: 0 - MAC tx power, 1 - device tx power | ||
| 317 | * @mac_context_id: id of the mac ctx for which we are reducing TX power. | ||
| 318 | * @pwr_restriction: TX power restriction in 1/8 dBms. | ||
| 319 | * @dev_24: device TX power restriction in 1/8 dBms | ||
| 320 | * @dev_52_low: device TX power restriction upper band - low | ||
| 321 | * @dev_52_high: device TX power restriction upper band - high | ||
| 322 | */ | ||
| 323 | struct iwl_dev_tx_power_cmd { | ||
| 324 | __le32 set_mode; | ||
| 325 | __le32 mac_context_id; | ||
| 326 | __le16 pwr_restriction; | ||
| 327 | __le16 dev_24; | ||
| 328 | __le16 dev_52_low; | ||
| 329 | __le16 dev_52_high; | ||
| 330 | } __packed; /* TX_REDUCED_POWER_API_S_VER_2 */ | ||
| 331 | |||
| 332 | #define IWL_DEV_MAX_TX_POWER 0x7FFF | ||
| 333 | |||
| 334 | /** | ||
| 301 | * struct iwl_beacon_filter_cmd | 335 | * struct iwl_beacon_filter_cmd |
| 302 | * REPLY_BEACON_FILTERING_CMD = 0xd2 (command) | 336 | * REPLY_BEACON_FILTERING_CMD = 0xd2 (command) |
| 303 | * @id_and_color: MAC contex identifier | 337 | * @id_and_color: MAC contex identifier |
