aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2011-06-27 15:06:33 -0400
committerLuciano Coelho <coelho@ti.com>2011-07-05 14:51:05 -0400
commit6cfa5cffde202cabbf0d64c9225ce89f7f7a0d0f (patch)
tree0787427eae226fee50b2dcf4d3843e41cdc22710
parent73ecce31fe04a2d6c87192cc752b5bd733a8c94a (diff)
wl12xx: initialize max_power levels for 11a channels
Set the maximum FW supported power levels for 11a channels. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
-rw-r--r--drivers/net/wireless/wl12xx/main.c68
1 files changed, 34 insertions, 34 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 26a92a5a2258..b381e6979b51 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -3912,40 +3912,40 @@ static struct ieee80211_rate wl1271_rates_5ghz[] = {
3912 3912
3913/* 5 GHz band channels for WL1273 */ 3913/* 5 GHz band channels for WL1273 */
3914static struct ieee80211_channel wl1271_channels_5ghz[] = { 3914static struct ieee80211_channel wl1271_channels_5ghz[] = {
3915 { .hw_value = 7, .center_freq = 5035}, 3915 { .hw_value = 7, .center_freq = 5035, .max_power = 25 },
3916 { .hw_value = 8, .center_freq = 5040}, 3916 { .hw_value = 8, .center_freq = 5040, .max_power = 25 },
3917 { .hw_value = 9, .center_freq = 5045}, 3917 { .hw_value = 9, .center_freq = 5045, .max_power = 25 },
3918 { .hw_value = 11, .center_freq = 5055}, 3918 { .hw_value = 11, .center_freq = 5055, .max_power = 25 },
3919 { .hw_value = 12, .center_freq = 5060}, 3919 { .hw_value = 12, .center_freq = 5060, .max_power = 25 },
3920 { .hw_value = 16, .center_freq = 5080}, 3920 { .hw_value = 16, .center_freq = 5080, .max_power = 25 },
3921 { .hw_value = 34, .center_freq = 5170}, 3921 { .hw_value = 34, .center_freq = 5170, .max_power = 25 },
3922 { .hw_value = 36, .center_freq = 5180}, 3922 { .hw_value = 36, .center_freq = 5180, .max_power = 25 },
3923 { .hw_value = 38, .center_freq = 5190}, 3923 { .hw_value = 38, .center_freq = 5190, .max_power = 25 },
3924 { .hw_value = 40, .center_freq = 5200}, 3924 { .hw_value = 40, .center_freq = 5200, .max_power = 25 },
3925 { .hw_value = 42, .center_freq = 5210}, 3925 { .hw_value = 42, .center_freq = 5210, .max_power = 25 },
3926 { .hw_value = 44, .center_freq = 5220}, 3926 { .hw_value = 44, .center_freq = 5220, .max_power = 25 },
3927 { .hw_value = 46, .center_freq = 5230}, 3927 { .hw_value = 46, .center_freq = 5230, .max_power = 25 },
3928 { .hw_value = 48, .center_freq = 5240}, 3928 { .hw_value = 48, .center_freq = 5240, .max_power = 25 },
3929 { .hw_value = 52, .center_freq = 5260}, 3929 { .hw_value = 52, .center_freq = 5260, .max_power = 25 },
3930 { .hw_value = 56, .center_freq = 5280}, 3930 { .hw_value = 56, .center_freq = 5280, .max_power = 25 },
3931 { .hw_value = 60, .center_freq = 5300}, 3931 { .hw_value = 60, .center_freq = 5300, .max_power = 25 },
3932 { .hw_value = 64, .center_freq = 5320}, 3932 { .hw_value = 64, .center_freq = 5320, .max_power = 25 },
3933 { .hw_value = 100, .center_freq = 5500}, 3933 { .hw_value = 100, .center_freq = 5500, .max_power = 25 },
3934 { .hw_value = 104, .center_freq = 5520}, 3934 { .hw_value = 104, .center_freq = 5520, .max_power = 25 },
3935 { .hw_value = 108, .center_freq = 5540}, 3935 { .hw_value = 108, .center_freq = 5540, .max_power = 25 },
3936 { .hw_value = 112, .center_freq = 5560}, 3936 { .hw_value = 112, .center_freq = 5560, .max_power = 25 },
3937 { .hw_value = 116, .center_freq = 5580}, 3937 { .hw_value = 116, .center_freq = 5580, .max_power = 25 },
3938 { .hw_value = 120, .center_freq = 5600}, 3938 { .hw_value = 120, .center_freq = 5600, .max_power = 25 },
3939 { .hw_value = 124, .center_freq = 5620}, 3939 { .hw_value = 124, .center_freq = 5620, .max_power = 25 },
3940 { .hw_value = 128, .center_freq = 5640}, 3940 { .hw_value = 128, .center_freq = 5640, .max_power = 25 },
3941 { .hw_value = 132, .center_freq = 5660}, 3941 { .hw_value = 132, .center_freq = 5660, .max_power = 25 },
3942 { .hw_value = 136, .center_freq = 5680}, 3942 { .hw_value = 136, .center_freq = 5680, .max_power = 25 },
3943 { .hw_value = 140, .center_freq = 5700}, 3943 { .hw_value = 140, .center_freq = 5700, .max_power = 25 },
3944 { .hw_value = 149, .center_freq = 5745}, 3944 { .hw_value = 149, .center_freq = 5745, .max_power = 25 },
3945 { .hw_value = 153, .center_freq = 5765}, 3945 { .hw_value = 153, .center_freq = 5765, .max_power = 25 },
3946 { .hw_value = 157, .center_freq = 5785}, 3946 { .hw_value = 157, .center_freq = 5785, .max_power = 25 },
3947 { .hw_value = 161, .center_freq = 5805}, 3947 { .hw_value = 161, .center_freq = 5805, .max_power = 25 },
3948 { .hw_value = 165, .center_freq = 5825}, 3948 { .hw_value = 165, .center_freq = 5825, .max_power = 25 },
3949}; 3949};
3950 3950
3951/* mapping to indexes for wl1271_rates_5ghz */ 3951/* mapping to indexes for wl1271_rates_5ghz */