All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: yi.zhu@intel.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 6/6] d80211: add sysfs interface for QoS functions
Date: Wed, 13 Dec 2006 20:43:28 -0800	[thread overview]
Message-ID: <20061213204328.765b8672@localhost.localdomain> (raw)
In-Reply-To: <20061214040302.GA10689@mail.intel.com>

O
> +static ssize_t store_tspec(struct class_device *dev, const char *buf,
> +			   size_t len)
> +{
> +	if (sscanf(buf, "%hu %hu %u %u %u %u %u %u %u %u %u %u %u %hu %hu",
> +		   &_tspec.nominal_msdu_size,
> +		   &_tspec.max_msdu_size,
> +		   &_tspec.min_service_interval,
> +		   &_tspec.max_service_interval,
> +		   &_tspec.inactivity_interval,
> +		   &_tspec.suspension_interval,
> +		   &_tspec.service_start_time,
> +		   &_tspec.min_data_rate,
> +		   &_tspec.mean_data_rate,
> +		   &_tspec.peak_data_rate,
> +		   &_tspec.burst_size,
> +		   &_tspec.delay_bound,
> +		   &_tspec.min_phy_rate,
> +		   &_tspec.surplus_band_allow,
> +		   &_tspec.medium_time) != 15) {
> +		printk(KERN_ERR "%s: sscanf error\n", __FUNCTION__);
> +

One value per file please!

  reply	other threads:[~2006-12-14  4:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14  4:03 [PATCH 6/6] d80211: add sysfs interface for QoS functions Zhu Yi
2006-12-14  4:43 ` Stephen Hemminger [this message]
2006-12-14 11:23 ` Jiri Benc
2006-12-14 15:04   ` Johannes Berg
2006-12-15  3:27   ` Zhu Yi
2006-12-15  5:35 ` Simon Barber
2006-12-18  9:18   ` Zhu Yi

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=20061213204328.765b8672@localhost.localdomain \
    --to=shemminger@osdl.org \
    --cc=netdev@vger.kernel.org \
    --cc=yi.zhu@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.