hw.c (566c1d0a49da09dfdf23e836398e2607f44c7c5e) | hw.c (74e13060f11dbf4028b810e34c359f64929415f3) |
---|---|
1/* 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 2490 unchanged lines hidden (view full) --- 2499 else 2500 pCap->num_gpio_pins = AR_NUM_GPIO; 2501 2502 if (AR_SREV_9160_10_OR_LATER(ah) || AR_SREV_9100(ah)) 2503 pCap->rts_aggr_limit = ATH_AMPDU_LIMIT_MAX; 2504 else 2505 pCap->rts_aggr_limit = (8 * 1024); 2506 | 1/* 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 2490 unchanged lines hidden (view full) --- 2499 else 2500 pCap->num_gpio_pins = AR_NUM_GPIO; 2501 2502 if (AR_SREV_9160_10_OR_LATER(ah) || AR_SREV_9100(ah)) 2503 pCap->rts_aggr_limit = ATH_AMPDU_LIMIT_MAX; 2504 else 2505 pCap->rts_aggr_limit = (8 * 1024); 2506 |
2507#if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE) | 2507#ifdef CONFIG_ATH9K_RFKILL |
2508 ah->rfsilent = ah->eep_ops->get_eeprom(ah, EEP_RF_SILENT); 2509 if (ah->rfsilent & EEP_RFSILENT_ENABLED) { 2510 ah->rfkill_gpio = 2511 MS(ah->rfsilent, EEP_RFSILENT_GPIO_SEL); 2512 ah->rfkill_polarity = 2513 MS(ah->rfsilent, EEP_RFSILENT_POLARITY); 2514 2515 pCap->hw_caps |= ATH9K_HW_CAP_RFSILENT; --- 740 unchanged lines hidden --- | 2508 ah->rfsilent = ah->eep_ops->get_eeprom(ah, EEP_RF_SILENT); 2509 if (ah->rfsilent & EEP_RFSILENT_ENABLED) { 2510 ah->rfkill_gpio = 2511 MS(ah->rfsilent, EEP_RFSILENT_GPIO_SEL); 2512 ah->rfkill_polarity = 2513 MS(ah->rfsilent, EEP_RFSILENT_POLARITY); 2514 2515 pCap->hw_caps |= ATH9K_HW_CAP_RFSILENT; --- 740 unchanged lines hidden --- |