Return-path: Received: from mail.atheros.com ([12.19.149.2]:43454 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752280Ab0LPMIa (ORCPT ); Thu, 16 Dec 2010 07:08:30 -0500 Received: from mail.atheros.com ([10.10.20.108]) by sidewinder.atheros.com for ; Thu, 16 Dec 2010 04:08:15 -0800 Message-ID: <4D0A012E.3090408@atheros.com> Date: Thu, 16 Dec 2010 17:38:14 +0530 From: Mohammed Shafi MIME-Version: 1.0 To: Sujith CC: "linux-wireless@vger.kernel.org" , "linville@tuxdriver.com" Subject: Re: [RFC] ath9k_htc : Update txrate status to mac80211 References: <1292499588-11636-1-git-send-email-mshajakhan@atheros.com> <19721.65246.410283.55163@gargle.gargle.HOWL> In-Reply-To: <19721.65246.410283.55163@gargle.gargle.HOWL> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thursday 16 December 2010 05:28 PM, Sujith wrote: > Mohammed Shafi Shajakhan wrote: > >> From: Mohammed Shafi Shajakhan >> >> In ath9k htc txrate status is not updated to mac80211 as rate control is >> handled in firmware.This workaround will obtain the txrate which was >> supposed to be for debug statistics and updates it to mac80211 using >> a rate control look up table. >> > Well, we can't match the TXRATE event with any transmitted frame, > so we would end up sending bogus and most likely, stale, information to mac80211. > Hi Sujith, Thanks for your reply.Yes we cannot cleanly send the actual status to mac80211. This patch just takes care for displaying the txrate and appropriately sets mac80211 rate control flags,but completely ignores long retries.I had tested it , except retries the MCS index , txrate in userspace matches with the txrate reported in debug statistics. Is there chance of any possible fix for this ? > Sujith > . > >