From: Rakesh Kumar Date: Tue, 20 Oct 2009 12:20:15 -0500 Subject: [ath9k-devel] ath9k rate control - rc.c In-Reply-To: <20091020064650.GC4602@vasanth-laptop> References: <20091014222856.GB19352@tux> <20091020055121.GB4602@vasanth-laptop> <20091020064650.GC4602@vasanth-laptop> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org > > > >I am having trouble identifying what information is available to the > driver programmer? Is there a comprehensive document or something which > explains it, if so is it available in public domain? > > As far as rate control parameters are concerned, h/w expects the > rate code and maximum number of tries at that rate. ath9k supports > retries at four different rates, say r0..r3 where r0 is the > highest ideal rate, r1 is the next highest and so on. I don't think > there is any doc on ath9k rc. > So are the ratecodes present in the current ratetables in rc.c exhaustive? Is that all the rates hardware offers? Because 802.11n standard specifies more rate configurations which are not all present in the ratetable. > > I am just curious what these variables rssi_ctl0,ctl1,ctl2,ext0,ext1,ext2 > contain? > > These are just rssi values on contol channel and ext channel of chain 0 > and chain 1. > > ... and chain 2? There are total 3 chains on the card I am using (AR5008) and one of them is -128 for both ctl1 and ext1 Could you elaborate what control and ext channels are? I tried to dump these values out and typically this is what they look like: ts_rssi = 49 ts_rssi_ctl0 = 48 ts_rssi_ctl1 = -128 ts_rssi_ctl2 = 40 ts_rssi_ext0 = 47 ts_rssi_ext1 = -128 ts_rssi_ext2 = 41 -- Rakesh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20091020/448a8dd9/attachment.htm