OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2008-2009 Atheros Communications Inc. | 2 * Copyright (c) 2008-2009 Atheros Communications Inc. |
3 * | 3 * |
4 * Permission to use, copy, modify, and/or distribute this software for any | 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 | 5 * purpose with or without fee is hereby granted, provided that the above |
6 * copyright notice and this permission notice appear in all copies. | 6 * copyright notice and this permission notice appear in all copies. |
7 * | 7 * |
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 int ath_init_btcoex_timer(struct ath_softc *sc); | 434 int ath_init_btcoex_timer(struct ath_softc *sc); |
435 void ath9k_btcoex_timer_resume(struct ath_softc *sc); | 435 void ath9k_btcoex_timer_resume(struct ath_softc *sc); |
436 void ath9k_btcoex_timer_pause(struct ath_softc *sc); | 436 void ath9k_btcoex_timer_pause(struct ath_softc *sc); |
437 | 437 |
438 /********************/ | 438 /********************/ |
439 /* LED Control */ | 439 /* LED Control */ |
440 /********************/ | 440 /********************/ |
441 | 441 |
442 #define ATH_LED_PIN_DEF 1 | 442 #define ATH_LED_PIN_DEF 1 |
443 #define ATH_LED_PIN_9287 8 | 443 #define ATH_LED_PIN_9287 8 |
| 444 #define ATH_LED_PIN_9300 10 |
444 #define ATH_LED_ON_DURATION_IDLE 350 /* in msecs */ | 445 #define ATH_LED_ON_DURATION_IDLE 350 /* in msecs */ |
445 #define ATH_LED_OFF_DURATION_IDLE 250 /* in msecs */ | 446 #define ATH_LED_OFF_DURATION_IDLE 250 /* in msecs */ |
446 | 447 |
447 enum ath_led_type { | 448 enum ath_led_type { |
448 ATH_LED_RADIO, | 449 ATH_LED_RADIO, |
449 ATH_LED_ASSOC, | 450 ATH_LED_ASSOC, |
450 ATH_LED_TX, | 451 ATH_LED_TX, |
451 ATH_LED_RX | 452 ATH_LED_RX |
452 }; | 453 }; |
453 | 454 |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 bool ath9k_all_wiphys_idle(struct ath_softc *sc); | 719 bool ath9k_all_wiphys_idle(struct ath_softc *sc); |
719 void ath9k_set_wiphy_idle(struct ath_wiphy *aphy, bool idle); | 720 void ath9k_set_wiphy_idle(struct ath_wiphy *aphy, bool idle); |
720 | 721 |
721 void ath_mac80211_stop_queue(struct ath_softc *sc, u16 skb_queue); | 722 void ath_mac80211_stop_queue(struct ath_softc *sc, u16 skb_queue); |
722 bool ath_mac80211_start_queue(struct ath_softc *sc, u16 skb_queue); | 723 bool ath_mac80211_start_queue(struct ath_softc *sc, u16 skb_queue); |
723 | 724 |
724 void ath_start_rfkill_poll(struct ath_softc *sc); | 725 void ath_start_rfkill_poll(struct ath_softc *sc); |
725 extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); | 726 extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); |
726 | 727 |
727 #endif /* ATH9K_H */ | 728 #endif /* ATH9K_H */ |
OLD | NEW |