Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:42105 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751286Ab1A3Jgw (ORCPT ); Sun, 30 Jan 2011 04:36:52 -0500 Subject: Re: Why is wmm_param required for HT40- in mlme.c From: Johannes Berg To: Ben Greear Cc: "linux-wireless@vger.kernel.org" In-Reply-To: <4D44F94F.8040707@candelatech.com> References: <4D44F94F.8040707@candelatech.com> Content-Type: text/plain; charset="UTF-8" Date: Sun, 30 Jan 2011 10:36:48 +0100 Message-ID: <1296380208.3616.0.camel@jlt3.sipsolutions.net> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sat, 2011-01-29 at 21:38 -0800, Ben Greear wrote: > I tried to set up hostapd to do HT40-, but for whatever reason, > it's not sending any wmm_param options, so the stations will not > associate with HT40- enabled due to the check below. > > Is it really *reqired* that wmm_param exist to enable HT mode? > > From mlme.c: > if (elems.ht_info_elem && elems.wmm_param && > (sdata->local->hw.queues >= 4) && > !(ifmgd->flags & IEEE80211_STA_DISABLE_11N)) > changed |= ieee80211_enable_ht(sdata, elems.ht_info_elem, > cbss->bssid, ap_ht_cap_flags); 802.11n-2009 says it is required. johannes