mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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 <[email protected]> Signed-off-by: Aaradhana Sahu <[email protected]> Signed-off-by: Rameshkumar Sundaram <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
243e572d89
commit
e41c778558
+1
-1
@@ -1704,7 +1704,7 @@ s8 mt76_get_power_bound(struct mt76_phy *phy, s8 txpower)
|
||||
EXPORT_SYMBOL_GPL(mt76_get_power_bound);
|
||||
|
||||
int mt76_get_txpower(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
||||
int *dbm)
|
||||
unsigned int link_id, int *dbm)
|
||||
{
|
||||
struct mt76_phy *phy = mt76_vif_phy(hw, vif);
|
||||
int n_chains, delta;
|
||||
|
||||
Reference in New Issue
Block a user