From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mga09.intel.com ([134.134.136.24]:44145 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750982AbYJUGXj (ORCPT ); Tue, 21 Oct 2008 02:23:39 -0400 Subject: Re: [PATCH v3] mac80211/drivers: rewrite the rate control API From: Zhu Yi To: Johannes Berg Cc: John Linville , linux-wireless , Vasanthakumar Thiagarajan , Felix Fietkau In-Reply-To: <1224562072.24677.277.camel@debian.sh.intel.com> References: <1223996147.10113.33.camel@johannes.berg> (sfid-20081014_165703_092655_BE6BA58D) <1224052607.3027.20.camel@johannes.berg> <1224484940.24677.169.camel@debian.sh.intel.com> <1224485319.18024.9.camel@johannes.berg> <1224486368.24677.184.camel@debian.sh.intel.com> <1224486587.18024.25.camel@johannes.berg> <1224562072.24677.277.camel@debian.sh.intel.com> Content-Type: text/plain Date: Tue, 21 Oct 2008 14:23:14 +0800 Message-Id: <1224570194.24677.301.camel@debian.sh.intel.com> (sfid-20081021_082343_555359_47533D28) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 2008-10-20 at 22:07 -0600, Zhu Yi wrote: > The max retry rates number for iwl4965 is 16. See iwl-commands.h for > more details: > > a) Use the initial rate for only one entry. > b) For each following entry, reduce the rate to next lower available > rate, until reaching the lowest available rate. > c) When reducing rate, also switch antenna selection. > d) Once lowest available rate is reached, repeat this rate until > rate table is filled (16 entries), switching antenna each entry. Now I even wonder if abstract the common MRR info is possible. Yes, the algorithm itself is hardware independent. But the one we use best utilizes the hardware capability and it communicates with the hardware frequently. I don't know about other hardware. But I highly doubt the interface is so easy to be defined within IEEE80211_SKB_CB. Thanks, -yi