xref: /linux/drivers/net/wireless/intel/iwlwifi/mld/power.h (revision 1a9239bb4253f9076b5b4b2a1a4e8d7defd77a95)
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /*
3  * Copyright (C) 2024 Intel Corporation
4  */
5 #ifndef __iwl_mld_power_h__
6 #define __iwl_mld_power_h__
7 
8 #include <net/mac80211.h>
9 
10 #include "mld.h"
11 
12 int iwl_mld_update_device_power(struct iwl_mld *mld, bool d3);
13 
14 int iwl_mld_enable_beacon_filter(struct iwl_mld *mld,
15 				 const struct ieee80211_bss_conf *link_conf,
16 				 bool d3);
17 
18 int iwl_mld_disable_beacon_filter(struct iwl_mld *mld,
19 				  struct ieee80211_vif *vif);
20 
21 int iwl_mld_update_mac_power(struct iwl_mld *mld, struct ieee80211_vif *vif,
22 			     bool d3);
23 
24 void
25 iwl_mld_send_ap_tx_power_constraint_cmd(struct iwl_mld *mld,
26 					struct ieee80211_vif *vif,
27 					struct ieee80211_bss_conf *link);
28 
29 int iwl_mld_set_tx_power(struct iwl_mld *mld,
30 			 struct ieee80211_bss_conf *link_conf,
31 			 s16 tx_power);
32 
33 #endif /* __iwl_mld_power_h__ */
34