Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbc668a7 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211_hwsim: print per interface TX power



Just for debugging, print the interface TX
power whenever it changes.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 1ea6f9c0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1083,6 +1083,9 @@ static void mac80211_hwsim_bss_info_changed(struct ieee80211_hw *hw,
		wiphy_debug(hw->wiphy, "  BASIC_RATES: 0x%llx\n",
			    (unsigned long long) info->basic_rates);
	}

	if (changed & BSS_CHANGED_TXPOWER)
		wiphy_debug(hw->wiphy, "  TX Power: %d dBm\n", info->txpower);
}

static int mac80211_hwsim_sta_add(struct ieee80211_hw *hw,