From: greearb@candelatech.com
To: ath10k@lists.infradead.org
Cc: linux-wireless@vger.kernel.org, Ben Greear <greearb@candelatech.com>
Subject: [PATCH] ath10k: Fix CCK rate definitions.
Date: Tue, 15 Sep 2015 17:08:18 -0700 [thread overview]
Message-ID: <1442362098-24859-1-git-send-email-greearb@candelatech.com> (raw)
From: Ben Greear <greearb@candelatech.com>
The old values did NOT match what is found in 10.1.467
firmware. I figure it is likely it is wrong for the others
as well.
Signed-off-by: Ben Greear <greearb@candelatech.com>
---
drivers/net/wireless/ath/ath10k/hw.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/hw.h b/drivers/net/wireless/ath/ath10k/hw.h
index 4c5eee4..710ca32 100644
--- a/drivers/net/wireless/ath/ath10k/hw.h
+++ b/drivers/net/wireless/ath/ath10k/hw.h
@@ -202,13 +202,13 @@ enum ath10k_hw_rate_ofdm {
};
enum ath10k_hw_rate_cck {
- ATH10K_HW_RATE_CCK_LP_11M = 0,
- ATH10K_HW_RATE_CCK_LP_5_5M,
- ATH10K_HW_RATE_CCK_LP_2M,
- ATH10K_HW_RATE_CCK_LP_1M,
- ATH10K_HW_RATE_CCK_SP_11M,
- ATH10K_HW_RATE_CCK_SP_5_5M,
- ATH10K_HW_RATE_CCK_SP_2M,
+ ATH10K_HW_RATE_CCK_LP_11M = 0x40,
+ ATH10K_HW_RATE_CCK_LP_5_5M = 0x41,
+ ATH10K_HW_RATE_CCK_LP_2M = 0x42,
+ ATH10K_HW_RATE_CCK_LP_1M = 0x43,
+ ATH10K_HW_RATE_CCK_SP_11M = ATH10K_HW_RATE_CCK_LP_11M | 0x4,
+ ATH10K_HW_RATE_CCK_SP_5_5M = ATH10K_HW_RATE_CCK_LP_5_5M | 0x4,
+ ATH10K_HW_RATE_CCK_SP_2M = ATH10K_HW_RATE_CCK_LP_2M | 0x4,
};
/* Target specific defines for MAIN firmware */
--
2.4.3
next reply other threads:[~2015-09-16 0:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 0:08 greearb [this message]
2015-09-21 7:33 ` [PATCH] ath10k: Fix CCK rate definitions Michal Kazior
2015-09-21 15:51 ` Ben Greear
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1442362098-24859-1-git-send-email-greearb@candelatech.com \
--to=greearb@candelatech.com \
--cc=ath10k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).