aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index c57652325286..6671592fd81f 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -413,6 +413,43 @@ static void mac80211_hwsim_bss_info_changed(struct ieee80211_hw *hw,
413 u32 changed) 413 u32 changed)
414{ 414{
415 hwsim_check_magic(vif); 415 hwsim_check_magic(vif);
416
417 printk(KERN_DEBUG "%s:%s(changed=0x%x)\n",
418 wiphy_name(hw->wiphy), __func__, changed);
419
420 if (changed & BSS_CHANGED_ASSOC) {
421 printk(KERN_DEBUG " %s: ASSOC: assoc=%d aid=%d\n",
422 wiphy_name(hw->wiphy), info->assoc, info->aid);
423 }
424
425 if (changed & BSS_CHANGED_ERP_CTS_PROT) {
426 printk(KERN_DEBUG " %s: ERP_CTS_PROT: %d\n",
427 wiphy_name(hw->wiphy), info->use_cts_prot);
428 }
429
430 if (changed & BSS_CHANGED_ERP_PREAMBLE) {
431 printk(KERN_DEBUG " %s: ERP_PREAMBLE: %d\n",
432 wiphy_name(hw->wiphy), info->use_short_preamble);
433 }
434
435 if (changed & BSS_CHANGED_ERP_SLOT) {
436 printk(KERN_DEBUG " %s: ERP_SLOT: %d\n",
437 wiphy_name(hw->wiphy), info->use_short_slot);
438 }
439
440 if (changed & BSS_CHANGED_HT) {
441 printk(KERN_DEBUG " %s: HT: sec_ch_offs=%d width_40_ok=%d "
442 "op_mode=%d\n",
443 wiphy_name(hw->wiphy),
444 info->ht.secondary_channel_offset,
445 info->ht.width_40_ok, info->ht.operation_mode);
446 }
447
448 if (changed & BSS_CHANGED_BASIC_RATES) {
449 printk(KERN_DEBUG " %s: BASIC_RATES: 0x%llx\n",
450 wiphy_name(hw->wiphy),
451 (unsigned long long) info->basic_rates);
452 }
416} 453}
417 454
418static void mac80211_hwsim_sta_notify(struct ieee80211_hw *hw, 455static void mac80211_hwsim_sta_notify(struct ieee80211_hw *hw,