summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRameshkumar Sundaram <quic_ramess@quicinc.com>2024-11-25 11:32:17 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-12-04 18:17:40 +0300
commit24dab555ad5951824e3fb6b665aaca84ac69dd12 (patch)
tree1f06590f85a191e309b0691075ef74bcb700a4e6 /include
parent7a53af85d3bbdbe06cd47b81a6d99a04dc0a3963 (diff)
downloadlinux-24dab555ad5951824e3fb6b665aaca84ac69dd12.tar.xz
wifi: mac80211: get tx power per link
ML interfaces can have multiple affiliated links to it and hence there is a need to report tx power of specified link rather deflink. Add changes to report tx power of requested link from mac80211, also pass link id as an argument in get_tx_power op so that supported drivers can use it to report link's tx power. Co-developed-by: Aaradhana Sahu <quic_aarasahu@quicinc.com> Signed-off-by: Aaradhana Sahu <quic_aarasahu@quicinc.com> Signed-off-by: Rameshkumar Sundaram <quic_ramess@quicinc.com> Link: https://patch.msgid.link/20241125083217.216095-3-quic_ramess@quicinc.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index a97c9f85ae9a..5ce4dfa3fba5 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -4759,7 +4759,7 @@ struct ieee80211_ops {
u32 (*get_expected_throughput)(struct ieee80211_hw *hw,
struct ieee80211_sta *sta);
int (*get_txpower)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
- int *dbm);
+ unsigned int link_id, int *dbm);
int (*tdls_channel_switch)(struct ieee80211_hw *hw,
struct ieee80211_vif *vif,