Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository

Switch branch/tag
  • xcap-capability-linux
  • drivers
  • net
  • wireless
  • ath
  • ath9k
  • eeprom_4k.c
Find file BlameHistoryPermalink
  • Marek Lindner's avatar
    ath9k: remove eeprom txgain override for minor version < 19 · f3d4505d
    Marek Lindner authored Aug 03, 2011
    
    
    ath9k_hw_4k_get_eeprom() overrides the eeprom value for txgain if the
    minor version is not 19 or above with a value of 0.
    ar9002_hw_init_mode_gain_regs() relies on this information to
    determine whether this is a high power wifi card or not. The override
    caused the driver to always use the 'normal' power tables even for
    high power devices if their minor version was not high enough. Thus
    leading to reduced power output.
    
    This isn't needed for the AR9285; the check originated with the
    AR9280 setup code which requires the EEPROM version check.
    Signed-off-by: default avatarMarek Lindner <lindner_marek@yahoo.de>
    Acked-by: default avatarFelix Fietkau <nbd@openwrt.org>
    Acked-by: default avatarAdrian Chadd <adrian@freebsd.org>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    f3d4505d

Replace eeprom_4k.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.