From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Fietkau Date: Thu, 09 May 2013 17:16:04 +0200 Subject: [ath9k-devel] minstrel_ht: problems with HT40 In-Reply-To: <518BBC3F.2030007@rempel-privat.de> References: <518BA7A8.7030204@rempel-privat.de> <518BB57D.80204@openwrt.org> <518BBC3F.2030007@rempel-privat.de> Message-ID: <518BBDB4.7060706@openwrt.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 2013-05-09 5:09 PM, Oleksij Rempel wrote: > Am 09.05.2013 16:41, schrieb Felix Fietkau: >> On 2013-05-09 3:42 PM, Oleksij Rempel wrote: >>> Hallo Felix, >>> >>> i found your patches for moving ath9k to minstrel_ht and decided to do >>> some testing. >>> For some reason, minstrel_ht exclude all HT40 rates in my network. With >>> native ath9k rate controller I'm able to use HT40. >>> Do you have any idea where to start digging? >> Do the rates not even show up in the debugfs rate control stats? > > correct > >> If so, >> check the value of sta->bandwidth at the time minstrel_ht_update_caps() >> is called. > > hmm... for some reasons sta->bandwidth is always 0. OK, maybe it's a mac80211 issue then. Maybe ath9k rate control checks this field even between HT capability updates. Check when/where this is updated in mac80211. - Felix