From: Jouni Malinen <j@w1.fi>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
linux-wireless@vger.kernel.org
Subject: [PATCH 3/4] mac80211_hwsim: Debug info for TX queue parameters
Date: Wed, 29 Oct 2008 19:49:37 +0200 [thread overview]
Message-ID: <20081029175254.540859084@localhost> (raw)
In-Reply-To: 20081029174934.817700763@localhost
Provide detailed information on TX queue parameter changes to make it
easier to debug mac80211 functionality.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Index: wireless-testing/drivers/net/wireless/mac80211_hwsim.c
===================================================================
--- wireless-testing.orig/drivers/net/wireless/mac80211_hwsim.c 2008-10-29 13:27:50.000000000 +0200
+++ wireless-testing/drivers/net/wireless/mac80211_hwsim.c 2008-10-29 13:36:20.000000000 +0200
@@ -468,6 +468,17 @@
return 0;
}
+static int mac80211_hwsim_conf_tx(
+ struct ieee80211_hw *hw, u16 queue,
+ const struct ieee80211_tx_queue_params *params)
+{
+ printk(KERN_DEBUG "%s:%s (queue=%d txop=%d cw_min=%d cw_max=%d "
+ "aifs=%d)\n",
+ wiphy_name(hw->wiphy), __func__, queue,
+ params->txop, params->cw_min, params->cw_max, params->aifs);
+ return 0;
+}
+
static const struct ieee80211_ops mac80211_hwsim_ops =
{
.tx = mac80211_hwsim_tx,
@@ -481,6 +492,7 @@
.bss_info_changed = mac80211_hwsim_bss_info_changed,
.sta_notify = mac80211_hwsim_sta_notify,
.set_tim = mac80211_hwsim_set_tim,
+ .conf_tx = mac80211_hwsim_conf_tx,
};
--
--
Jouni Malinen PGP id EFC895FA
next prev parent reply other threads:[~2008-10-29 17:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 17:49 [PATCH 0/4] mac80211/cfg80211/hwsim: Basic rate and TXQ params Jouni Malinen
2008-10-29 17:49 ` [PATCH 1/4] mac80211_hwsim: Debug info for BSS config changes Jouni Malinen
2008-10-30 10:42 ` Johannes Berg
2008-10-29 17:49 ` [PATCH 2/4] nl80211: Add basic rate configuration for AP mode Jouni Malinen
2008-10-30 10:44 ` Johannes Berg
2008-10-29 17:49 ` Jouni Malinen [this message]
2008-10-30 10:44 ` [PATCH 3/4] mac80211_hwsim: Debug info for TX queue parameters Johannes Berg
2008-10-29 17:49 ` [PATCH 4/4] nl80211: Add TX queue parameter configuration Jouni Malinen
2008-10-30 10:49 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081029175254.540859084@localhost \
--to=j@w1.fi \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).