aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/rc.c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2009-07-14 20:14:11 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-24 15:05:17 -0400
commitddf4a2db72c1073b31d0ad28911d137b1745cfca (patch)
tree5ec608c84e3fbf938c7433c3e3aad6befa02f868 /drivers/net/wireless/ath/ath9k/rc.c
parent39a4cafe1638bb21f335b210d037cd2cd8ce6c08 (diff)
ath9k: Remove unused members from rate control structure
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/rc.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/rc.c216
1 files changed, 108 insertions, 108 deletions
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c
index a39b1a7d3775..731967c74a15 100644
--- a/drivers/net/wireless/ath/ath9k/rc.c
+++ b/drivers/net/wireless/ath/ath9k/rc.c
@@ -22,130 +22,130 @@ static const struct ath_rate_table ar5416_11na_ratetable = {
22 { 22 {
23 { VALID, VALID, WLAN_RC_PHY_OFDM, 6000, /* 6 Mb */ 23 { VALID, VALID, WLAN_RC_PHY_OFDM, 6000, /* 6 Mb */
24 5400, 0x0b, 0x00, 12, 24 5400, 0x0b, 0x00, 12,
25 0, 2, 1, 0, 0, 0, 0, 0 }, 25 0, 0, 0, 0, 0, 0 },
26 { VALID, VALID, WLAN_RC_PHY_OFDM, 9000, /* 9 Mb */ 26 { VALID, VALID, WLAN_RC_PHY_OFDM, 9000, /* 9 Mb */
27 7800, 0x0f, 0x00, 18, 27 7800, 0x0f, 0x00, 18,
28 0, 3, 1, 1, 1, 1, 1, 0 }, 28 0, 1, 1, 1, 1, 0 },
29 { VALID, VALID, WLAN_RC_PHY_OFDM, 12000, /* 12 Mb */ 29 { VALID, VALID, WLAN_RC_PHY_OFDM, 12000, /* 12 Mb */
30 10000, 0x0a, 0x00, 24, 30 10000, 0x0a, 0x00, 24,
31 2, 4, 2, 2, 2, 2, 2, 0 }, 31 2, 2, 2, 2, 2, 0 },
32 { VALID, VALID, WLAN_RC_PHY_OFDM, 18000, /* 18 Mb */ 32 { VALID, VALID, WLAN_RC_PHY_OFDM, 18000, /* 18 Mb */
33 13900, 0x0e, 0x00, 36, 33 13900, 0x0e, 0x00, 36,
34 2, 6, 2, 3, 3, 3, 3, 0 }, 34 2, 3, 3, 3, 3, 0 },
35 { VALID, VALID, WLAN_RC_PHY_OFDM, 24000, /* 24 Mb */ 35 { VALID, VALID, WLAN_RC_PHY_OFDM, 24000, /* 24 Mb */
36 17300, 0x09, 0x00, 48, 36 17300, 0x09, 0x00, 48,
37 4, 10, 3, 4, 4, 4, 4, 0 }, 37 4, 4, 4, 4, 4, 0 },
38 { VALID, VALID, WLAN_RC_PHY_OFDM, 36000, /* 36 Mb */ 38 { VALID, VALID, WLAN_RC_PHY_OFDM, 36000, /* 36 Mb */
39 23000, 0x0d, 0x00, 72, 39 23000, 0x0d, 0x00, 72,
40 4, 14, 3, 5, 5, 5, 5, 0 }, 40 4, 5, 5, 5, 5, 0 },
41 { VALID, VALID, WLAN_RC_PHY_OFDM, 48000, /* 48 Mb */ 41 { VALID, VALID, WLAN_RC_PHY_OFDM, 48000, /* 48 Mb */
42 27400, 0x08, 0x00, 96, 42 27400, 0x08, 0x00, 96,
43 4, 20, 3, 6, 6, 6, 6, 0 }, 43 4, 6, 6, 6, 6, 0 },
44 { VALID, VALID, WLAN_RC_PHY_OFDM, 54000, /* 54 Mb */ 44 { VALID, VALID, WLAN_RC_PHY_OFDM, 54000, /* 54 Mb */
45 29300, 0x0c, 0x00, 108, 45 29300, 0x0c, 0x00, 108,
46 4, 23, 3, 7, 7, 7, 7, 0 }, 46 4, 7, 7, 7, 7, 0 },
47 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 6500, /* 6.5 Mb */ 47 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 6500, /* 6.5 Mb */
48 6400, 0x80, 0x00, 0, 48 6400, 0x80, 0x00, 0,
49 0, 2, 3, 8, 24, 8, 24, 3216 }, 49 0, 8, 24, 8, 24, 3216 },
50 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 13000, /* 13 Mb */ 50 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 13000, /* 13 Mb */
51 12700, 0x81, 0x00, 1, 51 12700, 0x81, 0x00, 1,
52 2, 4, 3, 9, 25, 9, 25, 6434 }, 52 2, 9, 25, 9, 25, 6434 },
53 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 19500, /* 19.5 Mb */ 53 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 19500, /* 19.5 Mb */
54 18800, 0x82, 0x00, 2, 54 18800, 0x82, 0x00, 2,
55 2, 6, 3, 10, 26, 10, 26, 9650 }, 55 2, 10, 26, 10, 26, 9650 },
56 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 26000, /* 26 Mb */ 56 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 26000, /* 26 Mb */
57 25000, 0x83, 0x00, 3, 57 25000, 0x83, 0x00, 3,
58 4, 10, 3, 11, 27, 11, 27, 12868 }, 58 4, 11, 27, 11, 27, 12868 },
59 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 39000, /* 39 Mb */ 59 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 39000, /* 39 Mb */
60 36700, 0x84, 0x00, 4, 60 36700, 0x84, 0x00, 4,
61 4, 14, 3, 12, 28, 12, 28, 19304 }, 61 4, 12, 28, 12, 28, 19304 },
62 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 52000, /* 52 Mb */ 62 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 52000, /* 52 Mb */
63 48100, 0x85, 0x00, 5, 63 48100, 0x85, 0x00, 5,
64 4, 20, 3, 13, 29, 13, 29, 25740 }, 64 4, 13, 29, 13, 29, 25740 },
65 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 58500, /* 58.5 Mb */ 65 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 58500, /* 58.5 Mb */
66 53500, 0x86, 0x00, 6, 66 53500, 0x86, 0x00, 6,
67 4, 23, 3, 14, 30, 14, 30, 28956 }, 67 4, 14, 30, 14, 30, 28956 },
68 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 65000, /* 65 Mb */ 68 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 65000, /* 65 Mb */
69 59000, 0x87, 0x00, 7, 69 59000, 0x87, 0x00, 7,
70 4, 25, 3, 15, 31, 15, 32, 32180 }, 70 4, 15, 31, 15, 32, 32180 },
71 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 13000, /* 13 Mb */ 71 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 13000, /* 13 Mb */
72 12700, 0x88, 0x00, 72 12700, 0x88, 0x00,
73 8, 0, 2, 3, 16, 33, 16, 33, 6430 }, 73 8, 3, 16, 33, 16, 33, 6430 },
74 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 26000, /* 26 Mb */ 74 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 26000, /* 26 Mb */
75 24800, 0x89, 0x00, 9, 75 24800, 0x89, 0x00, 9,
76 2, 4, 3, 17, 34, 17, 34, 12860 }, 76 2, 17, 34, 17, 34, 12860 },
77 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 39000, /* 39 Mb */ 77 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 39000, /* 39 Mb */
78 36600, 0x8a, 0x00, 10, 78 36600, 0x8a, 0x00, 10,
79 2, 6, 3, 18, 35, 18, 35, 19300 }, 79 2, 18, 35, 18, 35, 19300 },
80 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 52000, /* 52 Mb */ 80 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 52000, /* 52 Mb */
81 48100, 0x8b, 0x00, 11, 81 48100, 0x8b, 0x00, 11,
82 4, 10, 3, 19, 36, 19, 36, 25736 }, 82 4, 19, 36, 19, 36, 25736 },
83 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 78000, /* 78 Mb */ 83 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 78000, /* 78 Mb */
84 69500, 0x8c, 0x00, 12, 84 69500, 0x8c, 0x00, 12,
85 4, 14, 3, 20, 37, 20, 37, 38600 }, 85 4, 20, 37, 20, 37, 38600 },
86 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 104000, /* 104 Mb */ 86 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 104000, /* 104 Mb */
87 89500, 0x8d, 0x00, 13, 87 89500, 0x8d, 0x00, 13,
88 4, 20, 3, 21, 38, 21, 38, 51472 }, 88 4, 21, 38, 21, 38, 51472 },
89 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 117000, /* 117 Mb */ 89 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 117000, /* 117 Mb */
90 98900, 0x8e, 0x00, 14, 90 98900, 0x8e, 0x00, 14,
91 4, 23, 3, 22, 39, 22, 39, 57890 }, 91 4, 22, 39, 22, 39, 57890 },
92 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 130000, /* 130 Mb */ 92 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 130000, /* 130 Mb */
93 108300, 0x8f, 0x00, 15, 93 108300, 0x8f, 0x00, 15,
94 4, 25, 3, 23, 40, 23, 41, 64320 }, 94 4, 23, 40, 23, 41, 64320 },
95 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 13500, /* 13.5 Mb */ 95 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 13500, /* 13.5 Mb */
96 13200, 0x80, 0x00, 0, 96 13200, 0x80, 0x00, 0,
97 0, 2, 3, 8, 24, 24, 24, 6684 }, 97 0, 8, 24, 24, 24, 6684 },
98 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 27500, /* 27.0 Mb */ 98 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 27500, /* 27.0 Mb */
99 25900, 0x81, 0x00, 1, 99 25900, 0x81, 0x00, 1,
100 2, 4, 3, 9, 25, 25, 25, 13368 }, 100 2, 9, 25, 25, 25, 13368 },
101 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 40500, /* 40.5 Mb */ 101 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 40500, /* 40.5 Mb */
102 38600, 0x82, 0x00, 2, 102 38600, 0x82, 0x00, 2,
103 2, 6, 3, 10, 26, 26, 26, 20052 }, 103 2, 10, 26, 26, 26, 20052 },
104 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 54000, /* 54 Mb */ 104 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 54000, /* 54 Mb */
105 49800, 0x83, 0x00, 3, 105 49800, 0x83, 0x00, 3,
106 4, 10, 3, 11, 27, 27, 27, 26738 }, 106 4, 11, 27, 27, 27, 26738 },
107 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 81500, /* 81 Mb */ 107 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 81500, /* 81 Mb */
108 72200, 0x84, 0x00, 4, 108 72200, 0x84, 0x00, 4,
109 4, 14, 3, 12, 28, 28, 28, 40104 }, 109 4, 12, 28, 28, 28, 40104 },
110 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 108000, /* 108 Mb */ 110 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 108000, /* 108 Mb */
111 92900, 0x85, 0x00, 5, 111 92900, 0x85, 0x00, 5,
112 4, 20, 3, 13, 29, 29, 29, 53476 }, 112 4, 13, 29, 29, 29, 53476 },
113 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 121500, /* 121.5 Mb */ 113 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 121500, /* 121.5 Mb */
114 102700, 0x86, 0x00, 6, 114 102700, 0x86, 0x00, 6,
115 4, 23, 3, 14, 30, 30, 30, 60156 }, 115 4, 14, 30, 30, 30, 60156 },
116 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 135000, /* 135 Mb */ 116 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 135000, /* 135 Mb */
117 112000, 0x87, 0x00, 7, 117 112000, 0x87, 0x00, 7,
118 4, 25, 3, 15, 31, 32, 32, 66840 }, 118 4, 15, 31, 32, 32, 66840 },
119 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS_HGI, 150000, /* 150 Mb */ 119 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS_HGI, 150000, /* 150 Mb */
120 122000, 0x87, 0x00, 7, 120 122000, 0x87, 0x00, 7,
121 4, 25, 3, 15, 31, 32, 32, 74200 }, 121 4, 15, 31, 32, 32, 74200 },
122 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 27000, /* 27 Mb */ 122 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 27000, /* 27 Mb */
123 25800, 0x88, 0x00, 8, 123 25800, 0x88, 0x00, 8,
124 0, 2, 3, 16, 33, 33, 33, 13360 }, 124 0, 16, 33, 33, 33, 13360 },
125 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 54000, /* 54 Mb */ 125 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 54000, /* 54 Mb */
126 49800, 0x89, 0x00, 9, 126 49800, 0x89, 0x00, 9,
127 2, 4, 3, 17, 34, 34, 34, 26720 }, 127 2, 17, 34, 34, 34, 26720 },
128 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 81000, /* 81 Mb */ 128 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 81000, /* 81 Mb */
129 71900, 0x8a, 0x00, 10, 129 71900, 0x8a, 0x00, 10,
130 2, 6, 3, 18, 35, 35, 35, 40080 }, 130 2, 18, 35, 35, 35, 40080 },
131 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 108000, /* 108 Mb */ 131 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 108000, /* 108 Mb */
132 92500, 0x8b, 0x00, 11, 132 92500, 0x8b, 0x00, 11,
133 4, 10, 3, 19, 36, 36, 36, 53440 }, 133 4, 19, 36, 36, 36, 53440 },
134 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 162000, /* 162 Mb */ 134 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 162000, /* 162 Mb */
135 130300, 0x8c, 0x00, 12, 135 130300, 0x8c, 0x00, 12,
136 4, 14, 3, 20, 37, 37, 37, 80160 }, 136 4, 20, 37, 37, 37, 80160 },
137 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 216000, /* 216 Mb */ 137 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 216000, /* 216 Mb */
138 162800, 0x8d, 0x00, 13, 138 162800, 0x8d, 0x00, 13,
139 4, 20, 3, 21, 38, 38, 38, 106880 }, 139 4, 21, 38, 38, 38, 106880 },
140 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 243000, /* 243 Mb */ 140 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 243000, /* 243 Mb */
141 178200, 0x8e, 0x00, 14, 141 178200, 0x8e, 0x00, 14,
142 4, 23, 3, 22, 39, 39, 39, 120240 }, 142 4, 22, 39, 39, 39, 120240 },
143 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 270000, /* 270 Mb */ 143 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 270000, /* 270 Mb */
144 192100, 0x8f, 0x00, 15, 144 192100, 0x8f, 0x00, 15,
145 4, 25, 3, 23, 40, 41, 41, 133600 }, 145 4, 23, 40, 41, 41, 133600 },
146 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS_HGI, 300000, /* 300 Mb */ 146 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS_HGI, 300000, /* 300 Mb */
147 207000, 0x8f, 0x00, 15, 147 207000, 0x8f, 0x00, 15,
148 4, 25, 3, 23, 40, 41, 41, 148400 }, 148 4, 23, 40, 41, 41, 148400 },
149 }, 149 },
150 50, /* probe interval */ 150 50, /* probe interval */
151 50, /* rssi reduce interval */ 151 50, /* rssi reduce interval */
@@ -160,142 +160,142 @@ static const struct ath_rate_table ar5416_11ng_ratetable = {
160 { 160 {
161 { VALID_ALL, VALID_ALL, WLAN_RC_PHY_CCK, 1000, /* 1 Mb */ 161 { VALID_ALL, VALID_ALL, WLAN_RC_PHY_CCK, 1000, /* 1 Mb */
162 900, 0x1b, 0x00, 2, 162 900, 0x1b, 0x00, 2,
163 0, 0, 1, 0, 0, 0, 0, 0 }, 163 0, 0, 0, 0, 0, 0 },
164 { VALID_ALL, VALID_ALL, WLAN_RC_PHY_CCK, 2000, /* 2 Mb */ 164 { VALID_ALL, VALID_ALL, WLAN_RC_PHY_CCK, 2000, /* 2 Mb */
165 1900, 0x1a, 0x04, 4, 165 1900, 0x1a, 0x04, 4,
166 1, 1, 1, 1, 1, 1, 1, 0 }, 166 1, 1, 1, 1, 1, 0 },
167 { VALID_ALL, VALID_ALL, WLAN_RC_PHY_CCK, 5500, /* 5.5 Mb */ 167 { VALID_ALL, VALID_ALL, WLAN_RC_PHY_CCK, 5500, /* 5.5 Mb */
168 4900, 0x19, 0x04, 11, 168 4900, 0x19, 0x04, 11,
169 2, 2, 2, 2, 2, 2, 2, 0 }, 169 2, 2, 2, 2, 2, 0 },
170 { VALID_ALL, VALID_ALL, WLAN_RC_PHY_CCK, 11000, /* 11 Mb */ 170 { VALID_ALL, VALID_ALL, WLAN_RC_PHY_CCK, 11000, /* 11 Mb */
171 8100, 0x18, 0x04, 22, 171 8100, 0x18, 0x04, 22,
172 3, 3, 2, 3, 3, 3, 3, 0 }, 172 3, 3, 3, 3, 3, 0 },
173 { INVALID, INVALID, WLAN_RC_PHY_OFDM, 6000, /* 6 Mb */ 173 { INVALID, INVALID, WLAN_RC_PHY_OFDM, 6000, /* 6 Mb */
174 5400, 0x0b, 0x00, 12, 174 5400, 0x0b, 0x00, 12,
175 4, 2, 1, 4, 4, 4, 4, 0 }, 175 4, 4, 4, 4, 4, 0 },
176 { INVALID, INVALID, WLAN_RC_PHY_OFDM, 9000, /* 9 Mb */ 176 { INVALID, INVALID, WLAN_RC_PHY_OFDM, 9000, /* 9 Mb */
177 7800, 0x0f, 0x00, 18, 177 7800, 0x0f, 0x00, 18,
178 4, 3, 1, 5, 5, 5, 5, 0 }, 178 4, 5, 5, 5, 5, 0 },
179 { VALID, VALID, WLAN_RC_PHY_OFDM, 12000, /* 12 Mb */ 179 { VALID, VALID, WLAN_RC_PHY_OFDM, 12000, /* 12 Mb */
180 10100, 0x0a, 0x00, 24, 180 10100, 0x0a, 0x00, 24,
181 6, 4, 1, 6, 6, 6, 6, 0 }, 181 6, 6, 6, 6, 6, 0 },
182 { VALID, VALID, WLAN_RC_PHY_OFDM, 18000, /* 18 Mb */ 182 { VALID, VALID, WLAN_RC_PHY_OFDM, 18000, /* 18 Mb */
183 14100, 0x0e, 0x00, 36, 183 14100, 0x0e, 0x00, 36,
184 6, 6, 2, 7, 7, 7, 7, 0 }, 184 6, 7, 7, 7, 7, 0 },
185 { VALID, VALID, WLAN_RC_PHY_OFDM, 24000, /* 24 Mb */ 185 { VALID, VALID, WLAN_RC_PHY_OFDM, 24000, /* 24 Mb */
186 17700, 0x09, 0x00, 48, 186 17700, 0x09, 0x00, 48,
187 8, 10, 3, 8, 8, 8, 8, 0 }, 187 8, 8, 8, 8, 8, 0 },
188 { VALID, VALID, WLAN_RC_PHY_OFDM, 36000, /* 36 Mb */ 188 { VALID, VALID, WLAN_RC_PHY_OFDM, 36000, /* 36 Mb */
189 23700, 0x0d, 0x00, 72, 189 23700, 0x0d, 0x00, 72,
190 8, 14, 3, 9, 9, 9, 9, 0 }, 190 8, 9, 9, 9, 9, 0 },
191 { VALID, VALID, WLAN_RC_PHY_OFDM, 48000, /* 48 Mb */ 191 { VALID, VALID, WLAN_RC_PHY_OFDM, 48000, /* 48 Mb */
192 27400, 0x08, 0x00, 96, 192 27400, 0x08, 0x00, 96,
193 8, 20, 3, 10, 10, 10, 10, 0 }, 193 8, 10, 10, 10, 10, 0 },
194 { VALID, VALID, WLAN_RC_PHY_OFDM, 54000, /* 54 Mb */ 194 { VALID, VALID, WLAN_RC_PHY_OFDM, 54000, /* 54 Mb */
195 30900, 0x0c, 0x00, 108, 195 30900, 0x0c, 0x00, 108,
196 8, 23, 3, 11, 11, 11, 11, 0 }, 196 8, 11, 11, 11, 11, 0 },
197 { INVALID, INVALID, WLAN_RC_PHY_HT_20_SS, 6500, /* 6.5 Mb */ 197 { INVALID, INVALID, WLAN_RC_PHY_HT_20_SS, 6500, /* 6.5 Mb */
198 6400, 0x80, 0x00, 0, 198 6400, 0x80, 0x00, 0,
199 4, 2, 3, 12, 28, 12, 28, 3216 }, 199 4, 12, 28, 12, 28, 3216 },
200 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 13000, /* 13 Mb */ 200 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 13000, /* 13 Mb */
201 12700, 0x81, 0x00, 1, 201 12700, 0x81, 0x00, 1,
202 6, 4, 3, 13, 29, 13, 29, 6434 }, 202 6, 13, 29, 13, 29, 6434 },
203 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 19500, /* 19.5 Mb */ 203 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 19500, /* 19.5 Mb */
204 18800, 0x82, 0x00, 2, 204 18800, 0x82, 0x00, 2,
205 6, 6, 3, 14, 30, 14, 30, 9650 }, 205 6, 14, 30, 14, 30, 9650 },
206 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 26000, /* 26 Mb */ 206 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 26000, /* 26 Mb */
207 25000, 0x83, 0x00, 3, 207 25000, 0x83, 0x00, 3,
208 8, 10, 3, 15, 31, 15, 31, 12868 }, 208 8, 15, 31, 15, 31, 12868 },
209 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 39000, /* 39 Mb */ 209 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 39000, /* 39 Mb */
210 36700, 0x84, 0x00, 4, 210 36700, 0x84, 0x00, 4,
211 8, 14, 3, 16, 32, 16, 32, 19304 }, 211 8, 16, 32, 16, 32, 19304 },
212 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 52000, /* 52 Mb */ 212 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 52000, /* 52 Mb */
213 48100, 0x85, 0x00, 5, 213 48100, 0x85, 0x00, 5,
214 8, 20, 3, 17, 33, 17, 33, 25740 }, 214 8, 17, 33, 17, 33, 25740 },
215 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 58500, /* 58.5 Mb */ 215 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 58500, /* 58.5 Mb */
216 53500, 0x86, 0x00, 6, 216 53500, 0x86, 0x00, 6,
217 8, 23, 3, 18, 34, 18, 34, 28956 }, 217 8, 18, 34, 18, 34, 28956 },
218 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 65000, /* 65 Mb */ 218 { INVALID, VALID_20, WLAN_RC_PHY_HT_20_SS, 65000, /* 65 Mb */
219 59000, 0x87, 0x00, 7, 219 59000, 0x87, 0x00, 7,
220 8, 25, 3, 19, 35, 19, 36, 32180 }, 220 8, 19, 35, 19, 36, 32180 },
221 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 13000, /* 13 Mb */ 221 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 13000, /* 13 Mb */
222 12700, 0x88, 0x00, 8, 222 12700, 0x88, 0x00, 8,
223 4, 2, 3, 20, 37, 20, 37, 6430 }, 223 4, 20, 37, 20, 37, 6430 },
224 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 26000, /* 26 Mb */ 224 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 26000, /* 26 Mb */
225 24800, 0x89, 0x00, 9, 225 24800, 0x89, 0x00, 9,
226 6, 4, 3, 21, 38, 21, 38, 12860 }, 226 6, 21, 38, 21, 38, 12860 },
227 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 39000, /* 39 Mb */ 227 { INVALID, INVALID, WLAN_RC_PHY_HT_20_DS, 39000, /* 39 Mb */
228 36600, 0x8a, 0x00, 10, 228 36600, 0x8a, 0x00, 10,
229 6, 6, 3, 22, 39, 22, 39, 19300 }, 229 6, 22, 39, 22, 39, 19300 },
230 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 52000, /* 52 Mb */ 230 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 52000, /* 52 Mb */
231 48100, 0x8b, 0x00, 11, 231 48100, 0x8b, 0x00, 11,
232 8, 10, 3, 23, 40, 23, 40, 25736 }, 232 8, 23, 40, 23, 40, 25736 },
233 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 78000, /* 78 Mb */ 233 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 78000, /* 78 Mb */
234 69500, 0x8c, 0x00, 12, 234 69500, 0x8c, 0x00, 12,
235 8, 14, 3, 24, 41, 24, 41, 38600 }, 235 8, 24, 41, 24, 41, 38600 },
236 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 104000, /* 104 Mb */ 236 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 104000, /* 104 Mb */
237 89500, 0x8d, 0x00, 13, 237 89500, 0x8d, 0x00, 13,
238 8, 20, 3, 25, 42, 25, 42, 51472 }, 238 8, 25, 42, 25, 42, 51472 },
239 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 117000, /* 117 Mb */ 239 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 117000, /* 117 Mb */
240 98900, 0x8e, 0x00, 14, 240 98900, 0x8e, 0x00, 14,
241 8, 23, 3, 26, 43, 26, 44, 57890 }, 241 8, 26, 43, 26, 44, 57890 },
242 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 130000, /* 130 Mb */ 242 { VALID_20, INVALID, WLAN_RC_PHY_HT_20_DS, 130000, /* 130 Mb */
243 108300, 0x8f, 0x00, 15, 243 108300, 0x8f, 0x00, 15,
244 8, 25, 3, 27, 44, 27, 45, 64320 }, 244 8, 27, 44, 27, 45, 64320 },
245 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 13500, /* 13.5 Mb */ 245 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 13500, /* 13.5 Mb */
246 13200, 0x80, 0x00, 0, 246 13200, 0x80, 0x00, 0,
247 8, 2, 3, 12, 28, 28, 28, 6684 }, 247 8, 12, 28, 28, 28, 6684 },
248 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 27500, /* 27.0 Mb */ 248 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 27500, /* 27.0 Mb */
249 25900, 0x81, 0x00, 1, 249 25900, 0x81, 0x00, 1,
250 8, 4, 3, 13, 29, 29, 29, 13368 }, 250 8, 13, 29, 29, 29, 13368 },
251 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 40500, /* 40.5 Mb */ 251 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 40500, /* 40.5 Mb */
252 38600, 0x82, 0x00, 2, 252 38600, 0x82, 0x00, 2,
253 8, 6, 3, 14, 30, 30, 30, 20052 }, 253 8, 14, 30, 30, 30, 20052 },
254 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 54000, /* 54 Mb */ 254 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 54000, /* 54 Mb */
255 49800, 0x83, 0x00, 3, 255 49800, 0x83, 0x00, 3,
256 8, 10, 3, 15, 31, 31, 31, 26738 }, 256 8, 15, 31, 31, 31, 26738 },
257 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 81500, /* 81 Mb */ 257 { VALID_40, VALID_40, WLAN_RC_PHY_HT_40_SS, 81500, /* 81 Mb */
258 72200, 0x84, 0x00, 4, 258 72200, 0x84, 0x00, 4,
259 8, 14, 3, 16, 32, 32, 32, 40104 }, 259 8, 16, 32, 32, 32, 40104 },
260 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 108000, /* 108 Mb */ 260 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 108000, /* 108 Mb */
261 92900, 0x85, 0x00, 5, 261 92900, 0x85, 0x00, 5,
262 8, 20, 3, 17, 33, 33, 33, 53476 }, 262 8, 17, 33, 33, 33, 53476 },
263 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 121500, /* 121.5 Mb */ 263 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 121500, /* 121.5 Mb */
264 102700, 0x86, 0x00, 6, 264 102700, 0x86, 0x00, 6,
265 8, 23, 3, 18, 34, 34, 34, 60156 }, 265 8, 18, 34, 34, 34, 60156 },
266 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 135000, /* 135 Mb */ 266 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS, 135000, /* 135 Mb */
267 112000, 0x87, 0x00, 7, 267 112000, 0x87, 0x00, 7,
268 8, 23, 3, 19, 35, 36, 36, 66840 }, 268 8, 19, 35, 36, 36, 66840 },
269 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS_HGI, 150000, /* 150 Mb */ 269 { INVALID, VALID_40, WLAN_RC_PHY_HT_40_SS_HGI, 150000, /* 150 Mb */
270 122000, 0x87, 0x00, 7, 270 122000, 0x87, 0x00, 7,
271 8, 25, 3, 19, 35, 36, 36, 74200 }, 271 8, 19, 35, 36, 36, 74200 },
272 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 27000, /* 27 Mb */ 272 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 27000, /* 27 Mb */
273 25800, 0x88, 0x00, 8, 273 25800, 0x88, 0x00, 8,
274 8, 2, 3, 20, 37, 37, 37, 13360 }, 274 8, 20, 37, 37, 37, 13360 },
275 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 54000, /* 54 Mb */ 275 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 54000, /* 54 Mb */
276 49800, 0x89, 0x00, 9, 276 49800, 0x89, 0x00, 9,
277 8, 4, 3, 21, 38, 38, 38, 26720 }, 277 8, 21, 38, 38, 38, 26720 },
278 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 81000, /* 81 Mb */ 278 { INVALID, INVALID, WLAN_RC_PHY_HT_40_DS, 81000, /* 81 Mb */
279 71900, 0x8a, 0x00, 10, 279 71900, 0x8a, 0x00, 10,
280 8, 6, 3, 22, 39, 39, 39, 40080 }, 280 8, 22, 39, 39, 39, 40080 },
281 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 108000, /* 108 Mb */ 281 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 108000, /* 108 Mb */
282 92500, 0x8b, 0x00, 11, 282 92500, 0x8b, 0x00, 11,
283 8, 10, 3, 23, 40, 40, 40, 53440 }, 283 8, 23, 40, 40, 40, 53440 },
284 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 162000, /* 162 Mb */ 284 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 162000, /* 162 Mb */
285 130300, 0x8c, 0x00, 12, 285 130300, 0x8c, 0x00, 12,
286 8, 14, 3, 24, 41, 41, 41, 80160 }, 286 8, 24, 41, 41, 41, 80160 },
287 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 216000, /* 216 Mb */ 287 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 216000, /* 216 Mb */
288 162800, 0x8d, 0x00, 13, 288 162800, 0x8d, 0x00, 13,
289 8, 20, 3, 25, 42, 42, 42, 106880 }, 289 8, 25, 42, 42, 42, 106880 },
290 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 243000, /* 243 Mb */ 290 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 243000, /* 243 Mb */
291 178200, 0x8e, 0x00, 14, 291 178200, 0x8e, 0x00, 14,
292 8, 23, 3, 26, 43, 43, 43, 120240 }, 292 8, 26, 43, 43, 43, 120240 },
293 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 270000, /* 270 Mb */ 293 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS, 270000, /* 270 Mb */
294 192100, 0x8f, 0x00, 15, 294 192100, 0x8f, 0x00, 15,
295 8, 23, 3, 27, 44, 45, 45, 133600 }, 295 8, 27, 44, 45, 45, 133600 },
296 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS_HGI, 300000, /* 300 Mb */ 296 { VALID_40, INVALID, WLAN_RC_PHY_HT_40_DS_HGI, 300000, /* 300 Mb */
297 207000, 0x8f, 0x00, 15, 297 207000, 0x8f, 0x00, 15,
298 8, 25, 3, 27, 44, 45, 45, 148400 }, 298 8, 27, 44, 45, 45, 148400 },
299 }, 299 },
300 50, /* probe interval */ 300 50, /* probe interval */
301 50, /* rssi reduce interval */ 301 50, /* rssi reduce interval */
@@ -307,28 +307,28 @@ static const struct ath_rate_table ar5416_11a_ratetable = {
307 { 307 {
308 { VALID, VALID, WLAN_RC_PHY_OFDM, 6000, /* 6 Mb */ 308 { VALID, VALID, WLAN_RC_PHY_OFDM, 6000, /* 6 Mb */
309 5400, 0x0b, 0x00, (0x80|12), 309 5400, 0x0b, 0x00, (0x80|12),
310 0, 2, 1, 0, 0 }, 310 0, 0, 0 },
311 { VALID, VALID, WLAN_RC_PHY_OFDM, 9000, /* 9 Mb */ 311 { VALID, VALID, WLAN_RC_PHY_OFDM, 9000, /* 9 Mb */
312 7800, 0x0f, 0x00, 18, 312 7800, 0x0f, 0x00, 18,
313 0, 3, 1, 1, 0 }, 313 0, 1, 0 },
314 { VALID, VALID, WLAN_RC_PHY_OFDM, 12000, /* 12 Mb */ 314 { VALID, VALID, WLAN_RC_PHY_OFDM, 12000, /* 12 Mb */
315 10000, 0x0a, 0x00, (0x80|24), 315 10000, 0x0a, 0x00, (0x80|24),
316 2, 4, 2, 2, 0 }, 316 2, 2, 0 },
317 { VALID, VALID, WLAN_RC_PHY_OFDM, 18000, /* 18 Mb */ 317 { VALID, VALID, WLAN_RC_PHY_OFDM, 18000, /* 18 Mb */
318 13900, 0x0e, 0x00, 36, 318 13900, 0x0e, 0x00, 36,
319 2, 6, 2, 3, 0 }, 319 2, 3, 0 },
320 { VALID, VALID, WLAN_RC_PHY_OFDM, 24000, /* 24 Mb */ 320 { VALID, VALID, WLAN_RC_PHY_OFDM, 24000, /* 24 Mb */
321 17300, 0x09, 0x00, (0x80|48), 321 17300, 0x09, 0x00, (0x80|48),
322 4, 10, 3, 4, 0 }, 322 4, 4, 0 },
323 { VALID, VALID, WLAN_RC_PHY_OFDM, 36000, /* 36 Mb */ 323 { VALID, VALID, WLAN_RC_PHY_OFDM, 36000, /* 36 Mb */
324 23000, 0x0d, 0x00, 72, 324 23000, 0x0d, 0x00, 72,
325 4, 14, 3, 5, 0 }, 325 4, 5, 0 },
326 { VALID, VALID, WLAN_RC_PHY_OFDM, 48000, /* 48 Mb */ 326 { VALID, VALID, WLAN_RC_PHY_OFDM, 48000, /* 48 Mb */
327 27400, 0x08, 0x00, 96, 327 27400, 0x08, 0x00, 96,
328 4, 19, 3, 6, 0 }, 328 4, 6, 0 },
329 { VALID, VALID, WLAN_RC_PHY_OFDM, 54000, /* 54 Mb */ 329 { VALID, VALID, WLAN_RC_PHY_OFDM, 54000, /* 54 Mb */
330 29300, 0x0c, 0x00, 108, 330 29300, 0x0c, 0x00, 108,
331 4, 23, 3, 7, 0 }, 331 4, 7, 0 },
332 }, 332 },
333 50, /* probe interval */ 333 50, /* probe interval */
334 50, /* rssi reduce interval */ 334 50, /* rssi reduce interval */
@@ -340,40 +340,40 @@ static const struct ath_rate_table ar5416_11g_ratetable = {
340 { 340 {
341 { VALID, VALID, WLAN_RC_PHY_CCK, 1000, /* 1 Mb */ 341 { VALID, VALID, WLAN_RC_PHY_CCK, 1000, /* 1 Mb */
342 900, 0x1b, 0x00, 2, 342 900, 0x1b, 0x00, 2,
343 0, 0, 1, 0, 0 }, 343 0, 0, 0 },
344 { VALID, VALID, WLAN_RC_PHY_CCK, 2000, /* 2 Mb */ 344 { VALID, VALID, WLAN_RC_PHY_CCK, 2000, /* 2 Mb */
345 1900, 0x1a, 0x04, 4, 345 1900, 0x1a, 0x04, 4,
346 1, 1, 1, 1, 0 }, 346 1, 1, 0 },
347 { VALID, VALID, WLAN_RC_PHY_CCK, 5500, /* 5.5 Mb */ 347 { VALID, VALID, WLAN_RC_PHY_CCK, 5500, /* 5.5 Mb */
348 4900, 0x19, 0x04, 11, 348 4900, 0x19, 0x04, 11,
349 2, 2, 2, 2, 0 }, 349 2, 2, 0 },
350 { VALID, VALID, WLAN_RC_PHY_CCK, 11000, /* 11 Mb */ 350 { VALID, VALID, WLAN_RC_PHY_CCK, 11000, /* 11 Mb */
351 8100, 0x18, 0x04, 22, 351 8100, 0x18, 0x04, 22,
352 3, 3, 2, 3, 0 }, 352 3, 3, 0 },
353 { INVALID, INVALID, WLAN_RC_PHY_OFDM, 6000, /* 6 Mb */ 353 { INVALID, INVALID, WLAN_RC_PHY_OFDM, 6000, /* 6 Mb */
354 5400, 0x0b, 0x00, 12, 354 5400, 0x0b, 0x00, 12,
355 4, 2, 1, 4, 0 }, 355 4, 4, 0 },
356 { INVALID, INVALID, WLAN_RC_PHY_OFDM, 9000, /* 9 Mb */ 356 { INVALID, INVALID, WLAN_RC_PHY_OFDM, 9000, /* 9 Mb */
357 7800, 0x0f, 0x00, 18, 357 7800, 0x0f, 0x00, 18,
358 4, 3, 1, 5, 0 }, 358 4, 5, 0 },
359 { VALID, VALID, WLAN_RC_PHY_OFDM, 12000, /* 12 Mb */ 359 { VALID, VALID, WLAN_RC_PHY_OFDM, 12000, /* 12 Mb */
360 10000, 0x0a, 0x00, 24, 360 10000, 0x0a, 0x00, 24,
361 6, 4, 1, 6, 0 }, 361 6, 6, 0 },
362 { VALID, VALID, WLAN_RC_PHY_OFDM, 18000, /* 18 Mb */ 362 { VALID, VALID, WLAN_RC_PHY_OFDM, 18000, /* 18 Mb */
363 13900, 0x0e, 0x00, 36, 363 13900, 0x0e, 0x00, 36,
364 6, 6, 2, 7, 0 }, 364 6, 7, 0 },
365 { VALID, VALID, WLAN_RC_PHY_OFDM, 24000, /* 24 Mb */ 365 { VALID, VALID, WLAN_RC_PHY_OFDM, 24000, /* 24 Mb */
366 17300, 0x09, 0x00, 48, 366 17300, 0x09, 0x00, 48,
367 8, 10, 3, 8, 0 }, 367 8, 8, 0 },
368 { VALID, VALID, WLAN_RC_PHY_OFDM, 36000, /* 36 Mb */ 368 { VALID, VALID, WLAN_RC_PHY_OFDM, 36000, /* 36 Mb */
369 23000, 0x0d, 0x00, 72, 369 23000, 0x0d, 0x00, 72,
370 8, 14, 3, 9, 0 }, 370 8, 9, 0 },
371 { VALID, VALID, WLAN_RC_PHY_OFDM, 48000, /* 48 Mb */ 371 { VALID, VALID, WLAN_RC_PHY_OFDM, 48000, /* 48 Mb */
372 27400, 0x08, 0x00, 96, 372 27400, 0x08, 0x00, 96,
373 8, 19, 3, 10, 0 }, 373 8, 10, 0 },
374 { VALID, VALID, WLAN_RC_PHY_OFDM, 54000, /* 54 Mb */ 374 { VALID, VALID, WLAN_RC_PHY_OFDM, 54000, /* 54 Mb */
375 29300, 0x0c, 0x00, 108, 375 29300, 0x0c, 0x00, 108,
376 8, 23, 3, 11, 0 }, 376 8, 11, 0 },
377 }, 377 },
378 50, /* probe interval */ 378 50, /* probe interval */
379 50, /* rssi reduce interval */ 379 50, /* rssi reduce interval */