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

« back to all changes in this revision

Viewing changes to drivers/net/wireless/ath/ath9k/ani.c

  • 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-2010 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
899
899
         * check here default level should not modify INI setting.
900
900
         */
901
901
        if (use_new_ani(ah)) {
902
 
                const struct ani_ofdm_level_entry *entry_ofdm;
903
 
                const struct ani_cck_level_entry *entry_cck;
904
 
 
905
 
                entry_ofdm = &ofdm_level_table[ATH9K_ANI_OFDM_DEF_LEVEL];
906
 
                entry_cck = &cck_level_table[ATH9K_ANI_CCK_DEF_LEVEL];
907
 
 
908
902
                ah->aniperiod = ATH9K_ANI_PERIOD_NEW;
909
903
                ah->config.ani_poll_interval = ATH9K_ANI_POLLINTERVAL_NEW;
910
904
        } else {