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 x->u.rx_frame.stats.payload + \
161 x->u.rx_frame.stats.phy_count))
163 IL_RX_HDR(x)->payload + \
164 le16_to_cpu(IL_RX_HDR(x)->len)))
165 #define IL_RX_STATS(x) (&x->u.rx_frame.stats)
166 #define IL_RX_DATA(x) (IL_RX_HDR(x)->payload)
170 * Functions implemented in iwl3945-base.c which are forward declared here
171 * for use by iwl-*.c
185 * Functions implemented in iwl-[34]*.c which are forward declared here
186 * for use by iwl3945-base.c
189 * which is why they are in the hardware specific files (vs. iwl-base.c)
191 * Naming convention --
192 * il3945_ <-- Its part of iwlwifi (should be changed to il3945_)
193 * il3945_hw_ <-- Hardware specific (implemented in iwl-XXXX.c by all HW)
194 * iwlXXXX_ <-- Hardware specific (implemented in iwl-XXXX.c for XXXX)
195 * il3945_bg_ <-- Called from work queue context
196 * il3945_mac_ <-- mac80211 callback
231 * il3945_hw_find_station - Find station id for a given BSSID
266 * v_det is measured at the factory, using the 3945's built-in power amplifier
280 * Mappings of Tx power levels -> nominal radio/DSP gain table idxes.
289 s32 a, b, c, d, e; /* coefficients for voltage->power
301 * Temperature-based Tx-power compensation data, not band-specific.
319 u16 device_id; /* abs.ofs: 16 */
321 u16 pmc; /* abs.ofs: 20 */
323 u8 mac_address[6]; /* abs.ofs: 42 */
325 u16 board_revision; /* abs.ofs: 106 */
327 u8 board_pba_number[9]; /* abs.ofs: 119 */
329 u16 version; /* abs.ofs: 136 */
330 u8 sku_cap; /* abs.ofs: 138 */
331 u8 leds_mode; /* abs.ofs: 139 */
333 u16 wowlan_mode; /* abs.ofs: 142 */
334 u16 leds_time_interval; /* abs.ofs: 144 */
335 u8 leds_off_time; /* abs.ofs: 146 */
336 u8 leds_on_time; /* abs.ofs: 147 */
337 u8 almgor_m_version; /* abs.ofs: 148 */
338 u8 antenna_switch_type; /* abs.ofs: 149 */
340 u8 sku_id[4]; /* abs.ofs: 192 */
343 * Per-channel regulatory data.
353 u16 band_1_count; /* abs.ofs: 196 */
354 struct il_eeprom_channel band_1_channels[14]; /* abs.ofs: 198 */
359 * (4915-5080MHz) (none of these is ever supported)
361 u16 band_2_count; /* abs.ofs: 226 */
362 struct il_eeprom_channel band_2_channels[13]; /* abs.ofs: 228 */
366 * (5170-5320MHz)
368 u16 band_3_count; /* abs.ofs: 254 */
369 struct il_eeprom_channel band_3_channels[12]; /* abs.ofs: 256 */
373 * (5500-5700MHz)
375 u16 band_4_count; /* abs.ofs: 280 */
376 struct il_eeprom_channel band_4_channels[11]; /* abs.ofs: 282 */
380 * (5725-5825MHz)
382 u16 band_5_count; /* abs.ofs: 304 */
383 struct il_eeprom_channel band_5_channels[6]; /* abs.ofs: 306 */
392 /* abs.ofs: 512 */
393 struct il3945_eeprom_temperature_corr corrections; /* abs.ofs: 832 */
428 #define IL39_RTC_INST_SIZE (IL39_RTC_INST_UPPER_BOUND - \
430 #define IL39_RTC_DATA_SIZE (IL39_RTC_DATA_UPPER_BOUND - \