Subject: [PATCH] ath9k: Fix bug in rate table

The following commit added an entry in 11na and 11ng rate
table but missed to update its rate count field.

Author: Vasanthakumar Thiagarajan <[email protected]>
Date: Thu May 13 18:42:38 2010 -0700

ath9k: Enable Short GI in 20 Mhz for ar9287 and later chips

This patch enables short GI rx at all rates and tx at mcs15
for 20 Mhz channel width also.

Signed-off-by: Vasanthakumar Thiagarajan <[email protected]>
---
drivers/net/wireless/ath/ath9k/rc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c
index f5180d3..02b6052 100644
--- a/drivers/net/wireless/ath/ath9k/rc.c
+++ b/drivers/net/wireless/ath/ath9k/rc.c
@@ -20,7 +20,7 @@
#include "ath9k.h"

static const struct ath_rate_table ar5416_11na_ratetable = {
- 42,
+ 43,
8, /* MCS start */
{
{ VALID, VALID, WLAN_RC_PHY_OFDM, 6000, /* 6 Mb */
@@ -118,7 +118,7 @@ static const struct ath_rate_table ar5416_11na_ratetable = {
* for HT are the 64K max aggregate limit */

static const struct ath_rate_table ar5416_11ng_ratetable = {
- 46,
+ 47,
12, /* MCS start */
{
{ VALID_ALL, VALID_ALL, WLAN_RC_PHY_CCK, 1000, /* 1 Mb */
--
1.7.0.4



2010-06-02 23:41:07

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: [PATCH] ath9k: Fix bug in rate table

On Wed, Jun 2, 2010 at 3:50 PM, Vasanthakumar Thiagarajan
<[email protected]> wrote:
> The following commit added an entry in 11na and 11ng rate
> table but missed to update its rate count field.
>
>        Author: Vasanthakumar Thiagarajan <[email protected]>
>        Date:   Thu May 13 18:42:38 2010 -0700
>
>        ath9k: Enable Short GI in 20 Mhz for ar9287 and later chips
>
>        This patch enables short GI rx at all rates and tx at mcs15
>        for 20 Mhz channel width also.
>

What impact did this bug have though?

Luis