From owner-freebsd-net@FreeBSD.ORG Thu Feb 18 18:58:17 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 1376B106566B for ; Thu, 18 Feb 2010 18:58:17 +0000 (UTC) (envelope-from egorenar@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id A16598FC08 for ; Thu, 18 Feb 2010 18:58:16 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so1385081eyd.9 for ; Thu, 18 Feb 2010 10:58:15 -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=p2s64Tf+FxfYFHxGyRRTt5chtOiAwX2/EFeMfBCUsXg=; b=GsXqvD6gLAaBMFBVqBYLuygIrXxXB5QtGCN6D9YAIl4/KxKVyIu/ld2sj/8G9wQS6S yQPRHyW68q3QgP5fetsxqWs9S0+GqjdQJyo3kF5wBdkKOmqfNFxCDzekdAd5m6wSEmt5 gD7eAjgP+CYewMtXFRB/h2O3B87Mw5ytqerUE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iKuqTZWOPCsbI5U4GIYbmZPibo5mbJ49UJUSw41AxlTqe/Roe/7GWQ3vEUluGc+pwB u2DqZa14YcuKXdIHIJD0xVi/DI5axlZCHCjnzYX0DjIxUteGAfqfvEIFWNntxsrdl5Dq 32eGFwsxDDcXAQ+9kvIcqnoKH0McSFiumadRQ= MIME-Version: 1.0 Received: by 10.213.0.212 with SMTP id 20mr7153446ebc.41.1266519495475; Thu, 18 Feb 2010 10:58:15 -0800 (PST) Date: Thu, 18 Feb 2010 19:58:15 +0100 Message-ID: <2d3b7e441002181058u5006595an5c636843945bcca7@mail.gmail.com> From: Alexander Egorenkov To: freebsd-net@freebsd.org X-Mailman-Approved-At: Thu, 18 Feb 2010 19:09:21 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Missing WME information element causes problems with 802.11n 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: Thu, 18 Feb 2010 18:58:17 -0000 I have encountered a problem with a 802.11n router Belkin F5D8631au. The beacon and association response frames sent by this router do not contain WME information element although 802.11n mode is enabled. These frames contain HT capability IE and HT info. Because WME IE is missing in association responses, the net80211 stack does not set IEEE80211_NODE_QOS flag (See ieee80211_sta.c:sta_recv_mgmt:IEEE80211_FC0_SUBTYPE_ASSOC_RESP). But the flag IEEE80211_NODE_HT is set because the frame contains HT capability and HT info. So, because IEEE80211_NODE_QOS is not set, all outgoing DATA frames sent to the Belkin AP do not contain QoS field in the 802.11 frame header. And it causes problems with the Belkin AP. Is the QoS not mandatory for 802.11n mode ? Why is QoS enabled only if an WME IE is found in association response ? Would it be not right to enable QoS also if HT mode is enabled but no WME IE was found ? Thanks.