~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/net/wireless/ath/ath9k/eeprom.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2008-2009 Atheros Communications Inc.
 
2
 * Copyright (c) 2008-2011 Atheros Communications Inc.
3
3
 *
4
4
 * Permission to use, copy, modify, and/or distribute this software for any
5
5
 * purpose with or without fee is hereby granted, provided that the above
436
436
        u8 db2_2:4, db2_3:4;
437
437
        u8 db2_4:4, reserved:4;
438
438
#endif
439
 
        u8 futureModal[4];
 
439
        u8 tx_diversity;
 
440
        u8 flc_pwr_thresh;
 
441
        u8 bb_scale_smrt_antenna;
 
442
#define EEP_4K_BB_DESIRED_SCALE_MASK    0x1f
 
443
        u8 futureModal[1];
440
444
        struct spur_chan spurChans[AR_EEPROM_MODAL_SPURS];
441
445
} __packed;
442
446
 
665
669
bool ath9k_hw_get_lower_upper_index(u8 target, u8 *pList, u16 listSize,
666
670
                                    u16 *indexL, u16 *indexR);
667
671
bool ath9k_hw_nvram_read(struct ath_common *common, u32 off, u16 *data);
 
672
void ath9k_hw_usb_gen_fill_eeprom(struct ath_hw *ah, u16 *eep_data,
 
673
                                  int eep_start_loc, int size);
668
674
void ath9k_hw_fill_vpd_table(u8 pwrMin, u8 pwrMax, u8 *pPwrList,
669
675
                             u8 *pVpdList, u16 numIntercepts,
670
676
                             u8 *pRetVpdList);