On 11/25/2010 10:05 AM, Johannes Berg wrote:
On Thu, 2010-11-25 at 09:00 -0800, Ben Greear wrote:
What are the units for DURATION? It seems the code is treating
that as jiffies, but surely user-space should specify in msecs
or similar and have the kernel do the conversion?
This code isn't even using them at all, and the nl80211 API specifies
milliseconds. Where do you see it look like jiffies?
Sorry, the code looks right, I was mis-reading this part from the
next patch:
static enum work_action __must_check
+ieee80211_offchannel_tx(struct ieee80211_work *wk)
+{
+ if (!wk->started) {
+ wk->timeout = jiffies + msecs_to_jiffies(wk->offchan_tx.wait);
johannes
--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html