aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 6671592fd81f..2b07d4b865ae 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -476,6 +476,17 @@ static int mac80211_hwsim_set_tim(struct ieee80211_hw *hw,
476 return 0; 476 return 0;
477} 477}
478 478
479static int mac80211_hwsim_conf_tx(
480 struct ieee80211_hw *hw, u16 queue,
481 const struct ieee80211_tx_queue_params *params)
482{
483 printk(KERN_DEBUG "%s:%s (queue=%d txop=%d cw_min=%d cw_max=%d "
484 "aifs=%d)\n",
485 wiphy_name(hw->wiphy), __func__, queue,
486 params->txop, params->cw_min, params->cw_max, params->aifs);
487 return 0;
488}
489
479static const struct ieee80211_ops mac80211_hwsim_ops = 490static const struct ieee80211_ops mac80211_hwsim_ops =
480{ 491{
481 .tx = mac80211_hwsim_tx, 492 .tx = mac80211_hwsim_tx,
@@ -489,6 +500,7 @@ static const struct ieee80211_ops mac80211_hwsim_ops =
489 .bss_info_changed = mac80211_hwsim_bss_info_changed, 500 .bss_info_changed = mac80211_hwsim_bss_info_changed,
490 .sta_notify = mac80211_hwsim_sta_notify, 501 .sta_notify = mac80211_hwsim_sta_notify,
491 .set_tim = mac80211_hwsim_set_tim, 502 .set_tim = mac80211_hwsim_set_tim,
503 .conf_tx = mac80211_hwsim_conf_tx,
492}; 504};
493 505
494 506