Lines Matching +full:abs +full:- +full:range
1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
32 #define IL3945_FW_PRE "iwlwifi-3945-"
41 * Use default noise value of -127 ... this is below the range of measurable
43 * Also, -127 works better than 0 when averaging frames with/without
46 * averages within an s8's (used in some apps) range of negative values. */
47 #define IL_NOISE_MEAS_NOT_AVAILABLE (-127)
49 /* Module parameters accessible from iwl-*.c */
146 #define IL_INVALID_VALUE -1
160 container_of(&x->u.rx_frame.stats, \
162 hdr)->payload + \
163 x->u.rx_frame.stats.phy_count))
165 IL_RX_HDR(x)->payload + \
166 le16_to_cpu(IL_RX_HDR(x)->len)))
167 #define IL_RX_STATS(x) (&x->u.rx_frame.stats)
168 #define IL_RX_DATA(x) (IL_RX_HDR(x)->payload)
172 * Functions implemented in iwl3945-base.c which are forward declared here
173 * for use by iwl-*.c
187 * Functions implemented in iwl-[34]*.c which are forward declared here
188 * for use by iwl3945-base.c
191 * which is why they are in the hardware specific files (vs. iwl-base.c)
193 * Naming convention --
194 * il3945_ <-- Its part of iwlwifi (should be changed to il3945_)
195 * il3945_hw_ <-- Hardware specific (implemented in iwl-XXXX.c by all HW)
196 * iwlXXXX_ <-- Hardware specific (implemented in iwl-XXXX.c for XXXX)
197 * il3945_bg_ <-- Called from work queue context
198 * il3945_mac_ <-- mac80211 callback
233 * il3945_hw_find_station - Find station id for a given BSSID
268 * v_det is measured at the factory, using the 3945's built-in power amplifier
282 * Mappings of Tx power levels -> nominal radio/DSP gain table idxes.
291 s32 a, b, c, d, e; /* coefficients for voltage->power
303 * Temperature-based Tx-power compensation data, not band-specific.
321 u16 device_id; /* abs.ofs: 16 */
323 u16 pmc; /* abs.ofs: 20 */
325 u8 mac_address[6]; /* abs.ofs: 42 */
327 u16 board_revision; /* abs.ofs: 106 */
329 u8 board_pba_number[9]; /* abs.ofs: 119 */
331 u16 version; /* abs.ofs: 136 */
332 u8 sku_cap; /* abs.ofs: 138 */
333 u8 leds_mode; /* abs.ofs: 139 */
335 u16 wowlan_mode; /* abs.ofs: 142 */
336 u16 leds_time_interval; /* abs.ofs: 144 */
337 u8 leds_off_time; /* abs.ofs: 146 */
338 u8 leds_on_time; /* abs.ofs: 147 */
339 u8 almgor_m_version; /* abs.ofs: 148 */
340 u8 antenna_switch_type; /* abs.ofs: 149 */
342 u8 sku_id[4]; /* abs.ofs: 192 */
345 * Per-channel regulatory data.
355 u16 band_1_count; /* abs.ofs: 196 */
356 struct il_eeprom_channel band_1_channels[14]; /* abs.ofs: 198 */
361 * (4915-5080MHz) (none of these is ever supported)
363 u16 band_2_count; /* abs.ofs: 226 */
364 struct il_eeprom_channel band_2_channels[13]; /* abs.ofs: 228 */
368 * (5170-5320MHz)
370 u16 band_3_count; /* abs.ofs: 254 */
371 struct il_eeprom_channel band_3_channels[12]; /* abs.ofs: 256 */
375 * (5500-5700MHz)
377 u16 band_4_count; /* abs.ofs: 280 */
378 struct il_eeprom_channel band_4_channels[11]; /* abs.ofs: 282 */
382 * (5725-5825MHz)
384 u16 band_5_count; /* abs.ofs: 304 */
385 struct il_eeprom_channel band_5_channels[6]; /* abs.ofs: 306 */
394 /* abs.ofs: 512 */
395 struct il3945_eeprom_temperature_corr corrections; /* abs.ofs: 832 */
430 #define IL39_RTC_INST_SIZE (IL39_RTC_INST_UPPER_BOUND - \
432 #define IL39_RTC_DATA_SIZE (IL39_RTC_DATA_UPPER_BOUND - \