From owner-freebsd-net@FreeBSD.ORG Sun Mar 7 00:16:28 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B72CD106564A for ; Sun, 7 Mar 2010 00:16:28 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 97EFE8FC0A for ; Sun, 7 Mar 2010 00:16:26 +0000 (UTC) Received: from ice.local ([10.0.0.115]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id o270GN3a018633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 6 Mar 2010 16:16:23 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <4B92F057.9080508@errno.com> Date: Sat, 06 Mar 2010 16:16:23 -0800 From: Sam Leffler User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Alexander Egorenkov References: <2d3b7e441003042348h2150de3eub5a7af5248b5e947@mail.gmail.com> In-Reply-To: <2d3b7e441003042348h2150de3eub5a7af5248b5e947@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: freebsd-net@freebsd.org Subject: Re: Setting HT capabilities in net80211 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2010 00:16:28 -0000 Alexander Egorenkov wrote: > Currently there is no possibility to set some HT capabilities in e.g. an > association request frame. > The function ieee80211_add_htcap_body in ieee80211_ht.c simply sets some HT > capabilities to zero. > For example, there is no way to set HT extended capabilities which i need > for my 802.11n device driver. > I could of course patch the function on my system and recompile the kernel > but it would be really nice > to have official support of extended HT capabilities (and all other HT caps) > in net80211. The header file > ieee80211.h defines the necessary HT capability constants but they are not > used in net80211 to > set extended HT capabilities in association request frames. Can you be more specific? The current code dynamically sets those capabilities that can be changed and the others are fixed according to the capabilities of the hw/driver. Of course patches are always welcome; what's there reflects what was needed for the projects I worked on. Sam