mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-05 22:25:16 +00:00
mac80211_hwsim: print per interface TX power
Just for debugging, print the interface TX power whenever it changes. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
1ea6f9c0d4
commit
cbc668a705
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue