hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phytbl_lcn.c
....@@ -1,17 +1,6 @@
1
+// SPDX-License-Identifier: ISC
12 /*
23 * Copyright (c) 2010 Broadcom Corporation
3
- *
4
- * Permission to use, copy, modify, and/or distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
7
- *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11
- * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
13
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
14
- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
154 */
165
176 #include <types.h>
....@@ -92,105 +81,6 @@
9281 0x00015153,
9382 0x00019153,
9483 0x0001d153,
95
- 0x00000000,
96
- 0x00000000,
97
- 0x00000000,
98
- 0x00000000,
99
- 0x00000000,
100
- 0x00000000,
101
- 0x00000000,
102
- 0x00000000,
103
- 0x00000000,
104
- 0x00000000,
105
- 0x00000000,
106
- 0x00000000,
107
- 0x00000000,
108
- 0x00000000,
109
- 0x00000000,
110
- 0x00000000,
111
- 0x00000000,
112
- 0x00000000,
113
- 0x00000000,
114
- 0x00000000,
115
- 0x00000000,
116
- 0x00000000,
117
-};
118
-
119
-static const u32 dot11lcn_gain_tbl_rev1[] = {
120
- 0x00000000,
121
- 0x00000000,
122
- 0x00000000,
123
- 0x00000000,
124
- 0x00000000,
125
- 0x00000000,
126
- 0x00000000,
127
- 0x00000000,
128
- 0x00000008,
129
- 0x00000004,
130
- 0x00000008,
131
- 0x00000001,
132
- 0x00000005,
133
- 0x00000009,
134
- 0x0000000D,
135
- 0x00000011,
136
- 0x00000051,
137
- 0x00000091,
138
- 0x00000011,
139
- 0x00000051,
140
- 0x00000091,
141
- 0x000000d1,
142
- 0x00000053,
143
- 0x00000093,
144
- 0x000000d3,
145
- 0x000000d7,
146
- 0x00000117,
147
- 0x00000517,
148
- 0x00000917,
149
- 0x00000957,
150
- 0x00000d57,
151
- 0x00001157,
152
- 0x00001197,
153
- 0x00005197,
154
- 0x00009197,
155
- 0x0000d197,
156
- 0x00011197,
157
- 0x00000000,
158
- 0x00000000,
159
- 0x00000000,
160
- 0x00000000,
161
- 0x00000000,
162
- 0x00000000,
163
- 0x00000008,
164
- 0x00000004,
165
- 0x00000008,
166
- 0x00000001,
167
- 0x00000005,
168
- 0x00000009,
169
- 0x0000000D,
170
- 0x00000011,
171
- 0x00000051,
172
- 0x00000091,
173
- 0x00000011,
174
- 0x00000051,
175
- 0x00000091,
176
- 0x000000d1,
177
- 0x00000053,
178
- 0x00000093,
179
- 0x000000d3,
180
- 0x000000d7,
181
- 0x00000117,
182
- 0x00000517,
183
- 0x00000917,
184
- 0x00000957,
185
- 0x00000d57,
186
- 0x00001157,
187
- 0x00005157,
188
- 0x00009157,
189
- 0x0000d157,
190
- 0x00011157,
191
- 0x00015157,
192
- 0x00019157,
193
- 0x0001d157,
19484 0x00000000,
19585 0x00000000,
19686 0x00000000,
....@@ -1508,19 +1398,6 @@
15081398 const struct phytbl_info dot11lcnphytbl_rx_gain_info_rev0[] = {
15091399 {&dot11lcn_gain_tbl_rev0,
15101400 ARRAY_SIZE(dot11lcn_gain_tbl_rev0), 18,
1511
- 0, 32}
1512
- ,
1513
- {&dot11lcn_aux_gain_idx_tbl_rev0,
1514
- ARRAY_SIZE(dot11lcn_aux_gain_idx_tbl_rev0), 14, 0, 16}
1515
- ,
1516
- {&dot11lcn_gain_idx_tbl_rev0,
1517
- ARRAY_SIZE(dot11lcn_gain_idx_tbl_rev0), 13, 0, 32}
1518
- ,
1519
-};
1520
-
1521
-static const struct phytbl_info dot11lcnphytbl_rx_gain_info_rev1[] = {
1522
- {&dot11lcn_gain_tbl_rev1,
1523
- ARRAY_SIZE(dot11lcn_gain_tbl_rev1), 18,
15241401 0, 32}
15251402 ,
15261403 {&dot11lcn_aux_gain_idx_tbl_rev0,