From owner-freebsd-questions@FreeBSD.ORG Mon Jan 14 15:20:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9173C16A419 for ; Mon, 14 Jan 2008 15:20:03 +0000 (UTC) (envelope-from closure@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id 5B31413C44B for ; Mon, 14 Jan 2008 15:20:02 +0000 (UTC) (envelope-from closure@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2185184rvb.43 for ; Mon, 14 Jan 2008 07:20:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=oQ/uHoMYnHGRqRiT4PPjmVNBgys3treW5OlBFbbuI5M=; b=RnbhY7+bIPbn4lLgLTtvydbf0F0QMjKXU1AhJc7WyytZ/xPdv24k/eHl0xGKczMj7hsrM8hANJchNPYycHuLGPaLntTbjKZurBxe3nne9LuuMyDxw29nGUNhBUjC+Km66FBPZdOOrbEut5dUaz+fZqZPJTrAWSHv0eshM90+6zo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=lySm0YBF/P4hOJcRmi3l7g3X9EVXG6B7ZduKFQPDXdedBXaXkdTeqHl6nqwf0eY3sbuo+ZnpEwD3+ah0ljC7nxB9324t54B1uvUVONhrE44FKeikt3GADDR0JBUoj8xgVl1PKeRNosN3YKnzsD16ZFnbbZSE9l8nXhniOgpjnLE= Received: by 10.140.161.11 with SMTP id j11mr3838879rve.134.1200322491008; Mon, 14 Jan 2008 06:54:51 -0800 (PST) Received: by 10.141.28.3 with HTTP; Mon, 14 Jan 2008 06:54:50 -0800 (PST) Message-ID: Date: Mon, 14 Jan 2008 14:54:50 +0000 From: jdta To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: pfctl on wireless interfaces X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 15:20:03 -0000 I'm running tests on a few congestion control schemes which use pfctl to activate the respective queue controller. This works fine on interfaces with a fixed capacity as altq sets up the respective queue taking the bandwidth into consideration. On wireless interfaces however this capacity varies over time. an so altq's use of the declared capacity is overly optimistic (in my case, 54Mbps). This results in pfctl not queueing packets until this capacity has been met: the packets are queued at the interface as pfctl has no indication of the varying signal level. Is there anyway of either extracting the queue level directly from the interface card or, alternatively, forcing altq to take into consideration the signal level at any given time? The first seems more plausible, but I'm not really sure if the second would have other uses (priority queueing etc). Thanks in advance.