* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/kernel.h> #include "zd_rf.h" #include "zd_usb.h" #include "zd_chip.h" static const u32 rf2959_table[][2] = { RF_CHANNEL( 1) = { 0x181979, 0x1e6666 }, RF_CHANNEL( 2) = { 0x181989, 0x1e6666 }, RF_CHANNEL( 3) = { 0x181999, 0x1e6666 }, RF_CHANNEL( 4) = { 0x1819a9, 0x1e6666 }, RF_CHANNEL( 5) = { 0x1819b9, 0x1e6666 }, RF_CHANNEL( 6) = { 0x1819c9, 0x1e6666 }, RF_CHANNEL( 7) = { 0x1819d9, 0x1e6666 }, RF_CHANNEL( 8) = { 0x1819e9, 0x1e6666 }, RF_CHANNEL( 9) = { 0x1819f9, 0x1e6666 }, RF_CHANNEL(10) = { 0x181a09, 0x1e6666 }, RF_CHANNEL(11) = { 0x181a19, 0x1e6666 }, RF_CHANNEL(12) = { 0x181a29, 0x1e6666 }, RF_CHANNEL(13) = { 0x181a39, 0x1e6666 }, RF_CHANNEL(14) = { 0x181a60, 0x1c0000 }, };
* * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/kernel.h> #include "zd_rf.h" #include "zd_usb.h" #include "zd_chip.h" #define IS_AL2230S(chip) ((chip)->al2230s_bit || (chip)->rf.type == AL2230S_RF) static const u32 zd1211_al2230_table[][3] = { RF_CHANNEL( 1) = { 0x03f790, 0x033331, 0x00000d, }, RF_CHANNEL( 2) = { 0x03f790, 0x0b3331, 0x00000d, }, RF_CHANNEL( 3) = { 0x03e790, 0x033331, 0x00000d, }, RF_CHANNEL( 4) = { 0x03e790, 0x0b3331, 0x00000d, }, RF_CHANNEL( 5) = { 0x03f7a0, 0x033331, 0x00000d, }, RF_CHANNEL( 6) = { 0x03f7a0, 0x0b3331, 0x00000d, }, RF_CHANNEL( 7) = { 0x03e7a0, 0x033331, 0x00000d, }, RF_CHANNEL( 8) = { 0x03e7a0, 0x0b3331, 0x00000d, }, RF_CHANNEL( 9) = { 0x03f7b0, 0x033331, 0x00000d, }, RF_CHANNEL(10) = { 0x03f7b0, 0x0b3331, 0x00000d, }, RF_CHANNEL(11) = { 0x03e7b0, 0x033331, 0x00000d, }, RF_CHANNEL(12) = { 0x03e7b0, 0x0b3331, 0x00000d, }, RF_CHANNEL(13) = { 0x03f7c0, 0x033331, 0x00000d, }, RF_CHANNEL(14) = { 0x03e7c0, 0x066661, 0x00000d, }, };
#include <linux/kernel.h> #include "zd_rf.h" #include "zd_usb.h" #include "zd_chip.h" static const u32 chan_rv[][2] = { RF_CHANNEL( 1) = { 0x09ec00, 0x8cccc8 }, RF_CHANNEL( 2) = { 0x09ec00, 0x8cccd8 }, RF_CHANNEL( 3) = { 0x09ec00, 0x8cccc0 }, RF_CHANNEL( 4) = { 0x09ec00, 0x8cccd0 }, RF_CHANNEL( 5) = { 0x05ec00, 0x8cccc8 }, RF_CHANNEL( 6) = { 0x05ec00, 0x8cccd8 }, RF_CHANNEL( 7) = { 0x05ec00, 0x8cccc0 }, RF_CHANNEL( 8) = { 0x05ec00, 0x8cccd0 }, RF_CHANNEL( 9) = { 0x0dec00, 0x8cccc8 }, RF_CHANNEL(10) = { 0x0dec00, 0x8cccd8 }, RF_CHANNEL(11) = { 0x0dec00, 0x8cccc0 }, RF_CHANNEL(12) = { 0x0dec00, 0x8cccd0 }, RF_CHANNEL(13) = { 0x03ec00, 0x8cccc8 }, RF_CHANNEL(14) = { 0x03ec00, 0x866660 }, }; static const u32 std_rv[] = { 0x4ff821, 0xc5fbfc, 0x21ebfe, 0xafd401, /* freq shift 0xaad401 */ 0x6cf56a,
#include <linux/kernel.h> #include <linux/slab.h> #include "zd_rf.h" #include "zd_usb.h" #include "zd_chip.h" #define UW2453_REGWRITE(reg, val) ((((reg) & 0xf) << 20) | ((val) & 0xfffff)) static const u8 uw2453_std_synth[] = { RF_CHANNEL( 1) = 0x47, RF_CHANNEL( 2) = 0x47, RF_CHANNEL( 3) = 0x67, RF_CHANNEL( 4) = 0x67, RF_CHANNEL( 5) = 0x67, RF_CHANNEL( 6) = 0x67, RF_CHANNEL( 7) = 0x57, RF_CHANNEL( 8) = 0x57, RF_CHANNEL( 9) = 0x57, RF_CHANNEL(10) = 0x57, RF_CHANNEL(11) = 0x77, RF_CHANNEL(12) = 0x77, RF_CHANNEL(13) = 0x77, RF_CHANNEL(14) = 0x4f, }; static const u16 uw2453_synth_divide[] = {
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/kernel.h> #include "zd_rf.h" #include "zd_usb.h" #include "zd_chip.h" static const u32 al2230_table[][3] = { RF_CHANNEL( 1) = { 0x03f790, 0x033331, 0x00000d, }, RF_CHANNEL( 2) = { 0x03f790, 0x0b3331, 0x00000d, }, RF_CHANNEL( 3) = { 0x03e790, 0x033331, 0x00000d, }, RF_CHANNEL( 4) = { 0x03e790, 0x0b3331, 0x00000d, }, RF_CHANNEL( 5) = { 0x03f7a0, 0x033331, 0x00000d, }, RF_CHANNEL( 6) = { 0x03f7a0, 0x0b3331, 0x00000d, }, RF_CHANNEL( 7) = { 0x03e7a0, 0x033331, 0x00000d, }, RF_CHANNEL( 8) = { 0x03e7a0, 0x0b3331, 0x00000d, }, RF_CHANNEL( 9) = { 0x03f7b0, 0x033331, 0x00000d, }, RF_CHANNEL(10) = { 0x03f7b0, 0x0b3331, 0x00000d, }, RF_CHANNEL(11) = { 0x03e7b0, 0x033331, 0x00000d, }, RF_CHANNEL(12) = { 0x03e7b0, 0x0b3331, 0x00000d, }, RF_CHANNEL(13) = { 0x03f7c0, 0x033331, 0x00000d, }, RF_CHANNEL(14) = { 0x03e7c0, 0x066661, 0x00000d, }, };