Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277617
b: refs/heads/master
c: 1433c59
h: refs/heads/master
i:
  277615: 512f684
v: v3
  • Loading branch information
Arend van Spriel authored and John W. Linville committed Nov 8, 2011
1 parent 2b74783 commit 9edea48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 094b199bf707a41bc6748f0c2f0a23ecf5d2ccd6
refs/heads/master: 1433c59bcc404cd4bd54333d23ce06242d8e32b7
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static const struct chan_info_basic chan_info_all[] = {
{216, 50800}
};

const u8 ofdm_rate_lookup[] = {
static const u8 ofdm_rate_lookup[] = {

BRCM_RATE_48M,
BRCM_RATE_24M,
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/brcm80211/brcmsmac/rate.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include "types.h"
#include "d11.h"
#include "phy_hal.h"

extern const u8 rate_info[];
extern const struct brcms_c_rateset cck_ofdm_mimo_rates;
Expand Down Expand Up @@ -198,11 +199,9 @@ static inline u8 cck_rspec(u8 cck)

/* Convert encoded rate value in plcp header to numerical rates in 500 KHz
* increments */
extern const u8 ofdm_rate_lookup[];

static inline u8 ofdm_phy2mac_rate(u8 rlpt)
{
return ofdm_rate_lookup[rlpt & 0x7];
return wlc_phy_get_ofdm_rate_lookup()[rlpt & 0x7];
}

static inline u8 cck_phy2mac_rate(u8 signal)
Expand Down

0 comments on commit 9edea48

Please sign in to comment.