From owner-freebsd-net@FreeBSD.ORG Fri Mar 5 07:48:09 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 CD4201065673 for ; Fri, 5 Mar 2010 07:48:09 +0000 (UTC) (envelope-from egorenar@googlemail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 652EE8FC13 for ; Fri, 5 Mar 2010 07:48:09 +0000 (UTC) Received: by ewy26 with SMTP id 26so2271101ewy.3 for ; Thu, 04 Mar 2010 23:48:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=tRDzI2a+qHIvTWqxjqFbjDWvqDZOMYQvaGJC7w5tQaA=; b=LBmF+3ZQ7MevzTFi1GPipa8KnyqMamgA4soZ0+c1gvVzJPgvIPMjJiI9x8pS9F6e+9 YcVtbkxARNYGwtNEF0W+e1a9Jh+rJeW9vdtW4yrs94zkvAWY/pJdsPcV7f1m6E55YLdB JxjQa2wK+ZpICNbWAvw/iukLkkKPBY6le6bBI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CMT8NcMz0ncumI54qNYVRHatGZOsx7Rcb7VYkwdsl4PevlVNOlaWddPDABArkBvYXR e92ObPfuEdlN7oxupg2dkGQtBN5hXstflzVDGrp135BT/S8MxyPOOk+YY74/r3Zh2Gxb xGfrYLMMBnbVyx2tFs7qj0mXI7tAHjJ3rK4MM= MIME-Version: 1.0 Received: by 10.213.66.11 with SMTP id l11mr384604ebi.7.1267775284416; Thu, 04 Mar 2010 23:48:04 -0800 (PST) Date: Fri, 5 Mar 2010 08:48:04 +0100 Message-ID: <2d3b7e441003042348h2150de3eub5a7af5248b5e947@mail.gmail.com> From: Alexander Egorenkov To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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: Fri, 05 Mar 2010 07:48:09 -0000 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.