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
186 * Functions implemented in iwl-[34]*.c which are forward declared here
187 * for use by iwl3945-base.c
190 * which is why they are in the hardware specific files (vs. iwl-base.c)
192 * Naming convention --
193 * il3945_ <-- Its part of iwlwifi (should be changed to il3945_)
194 * il3945_hw_ <-- Hardware specific (implemented in iwl-XXXX.c by all HW)
195 * iwlXXXX_ <-- Hardware specific (implemented in iwl-XXXX.c for XXXX)
196 * il3945_bg_ <-- Called from work queue context
197 * il3945_mac_ <-- mac80211 callback
232 * il3945_hw_find_station - Find station id for a given BSSID
267 * v_det is measured at the factory, using the 3945's built-in power amplifier
281 * Mappings of Tx power levels -> nominal radio/DSP gain table idxes.
290 s32 a, b, c, d, e; /* coefficients for voltage->power
302 * Temperature-based Tx-power compensation data, not band-specific.
320 u16 device_id; /* abs.ofs: 16 */
322 u16 pmc; /* abs.ofs: 20 */
324 u8 mac_address[6]; /* abs.ofs: 42 */
326 u16 board_revision; /* abs.ofs: 106 */
328 u8 board_pba_number[9]; /* abs.ofs: 119 */
330 u16 version; /* abs.ofs: 136 */
331 u8 sku_cap; /* abs.ofs: 138 */
332 u8 leds_mode; /* abs.ofs: 139 */
334 u16 wowlan_mode; /* abs.ofs: 142 */
335 u16 leds_time_interval; /* abs.ofs: 144 */
336 u8 leds_off_time; /* abs.ofs: 146 */
337 u8 leds_on_time; /* abs.ofs: 147 */
338 u8 almgor_m_version; /* abs.ofs: 148 */
339 u8 antenna_switch_type; /* abs.ofs: 149 */
341 u8 sku_id[4]; /* abs.ofs: 192 */
344 * Per-channel regulatory data.
354 u16 band_1_count; /* abs.ofs: 196 */
355 struct il_eeprom_channel band_1_channels[14]; /* abs.ofs: 198 */
360 * (4915-5080MHz) (none of these is ever supported)
362 u16 band_2_count; /* abs.ofs: 226 */
363 struct il_eeprom_channel band_2_channels[13]; /* abs.ofs: 228 */
367 * (5170-5320MHz)
369 u16 band_3_count; /* abs.ofs: 254 */
370 struct il_eeprom_channel band_3_channels[12]; /* abs.ofs: 256 */
374 * (5500-5700MHz)
376 u16 band_4_count; /* abs.ofs: 280 */
377 struct il_eeprom_channel band_4_channels[11]; /* abs.ofs: 282 */
381 * (5725-5825MHz)
383 u16 band_5_count; /* abs.ofs: 304 */
384 struct il_eeprom_channel band_5_channels[6]; /* abs.ofs: 306 */
393 /* abs.ofs: 512 */
394 struct il3945_eeprom_temperature_corr corrections; /* abs.ofs: 832 */
429 #define IL39_RTC_INST_SIZE (IL39_RTC_INST_UPPER_BOUND - \
431 #define IL39_RTC_DATA_SIZE (IL39_RTC_DATA_UPPER_BOUND - \