Lines Matching +full:14 +full:- +full:channel
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>,
14 driver Copyright(c) 2003 - 2004 Intel Corporation.
31 /* Lightweight function to convert a frequency (in Mhz) to a channel number. */
35 u8 channel; in b43legacy_freq_to_channel_bg() local
38 channel = 14; in b43legacy_freq_to_channel_bg()
40 channel = (freq - 2407) / 5; in b43legacy_freq_to_channel_bg()
42 return channel; in b43legacy_freq_to_channel_bg()
51 /* Lightweight function to convert a channel number to a frequency (in Mhz). */
53 int b43legacy_channel_to_freq_bg(u8 channel) in b43legacy_channel_to_freq_bg() argument
57 if (channel == 14) in b43legacy_channel_to_freq_bg()
60 freq = 2407 + (5 * channel); in b43legacy_channel_to_freq_bg()
67 u8 channel) in b43legacy_channel_to_freq() argument
69 return b43legacy_channel_to_freq_bg(channel); in b43legacy_channel_to_freq()