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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 219 |
220 struct ath_buf_state { | 220 struct ath_buf_state { |
221 int bfs_nframes; | 221 int bfs_nframes; |
222 u16 bfs_al; | 222 u16 bfs_al; |
223 u16 bfs_frmlen; | 223 u16 bfs_frmlen; |
224 int bfs_seqno; | 224 int bfs_seqno; |
225 int bfs_tidno; | 225 int bfs_tidno; |
226 int bfs_retries; | 226 int bfs_retries; |
227 u8 bf_type; | 227 u8 bf_type; |
228 u8 bfs_paprd; | 228 u8 bfs_paprd; |
229 unsigned long bfs_paprd_timestamp; | |
230 u32 bfs_keyix; | 229 u32 bfs_keyix; |
231 enum ath9k_key_type bfs_keytype; | 230 enum ath9k_key_type bfs_keytype; |
232 }; | 231 }; |
233 | 232 |
234 struct ath_buf { | 233 struct ath_buf { |
235 struct list_head list; | 234 struct list_head list; |
236 struct ath_buf *bf_lastbf; /* last buf of this unit (a frame or | 235 struct ath_buf *bf_lastbf; /* last buf of this unit (a frame or |
237 an aggregate) */ | 236 an aggregate) */ |
238 struct ath_buf *bf_next; /* next subframe in the aggregate */ | 237 struct ath_buf *bf_next; /* next subframe in the aggregate */ |
239 struct sk_buff *bf_mpdu; /* enclosing frame structure */ | 238 struct sk_buff *bf_mpdu; /* enclosing frame structure */ |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 struct ath_hw *sc_ah; | 553 struct ath_hw *sc_ah; |
555 void __iomem *mem; | 554 void __iomem *mem; |
556 int irq; | 555 int irq; |
557 spinlock_t sc_serial_rw; | 556 spinlock_t sc_serial_rw; |
558 spinlock_t sc_pm_lock; | 557 spinlock_t sc_pm_lock; |
559 spinlock_t sc_pcu_lock; | 558 spinlock_t sc_pcu_lock; |
560 struct mutex mutex; | 559 struct mutex mutex; |
561 struct work_struct paprd_work; | 560 struct work_struct paprd_work; |
562 struct work_struct hw_check_work; | 561 struct work_struct hw_check_work; |
563 struct completion paprd_complete; | 562 struct completion paprd_complete; |
| 563 bool paprd_pending; |
564 | 564 |
565 u32 intrstatus; | 565 u32 intrstatus; |
566 u32 sc_flags; /* SC_OP_* */ | 566 u32 sc_flags; /* SC_OP_* */ |
567 u16 ps_flags; /* PS_* */ | 567 u16 ps_flags; /* PS_* */ |
568 u16 curtxpow; | 568 u16 curtxpow; |
569 u8 nbcnvifs; | 569 u8 nbcnvifs; |
570 u16 nvifs; | 570 u16 nvifs; |
571 bool ps_enabled; | 571 bool ps_enabled; |
572 bool ps_idle; | 572 bool ps_idle; |
573 unsigned long ps_usecount; | 573 unsigned long ps_usecount; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 bool ath9k_all_wiphys_idle(struct ath_softc *sc); | 682 bool ath9k_all_wiphys_idle(struct ath_softc *sc); |
683 void ath9k_set_wiphy_idle(struct ath_wiphy *aphy, bool idle); | 683 void ath9k_set_wiphy_idle(struct ath_wiphy *aphy, bool idle); |
684 | 684 |
685 void ath_mac80211_stop_queue(struct ath_softc *sc, u16 skb_queue); | 685 void ath_mac80211_stop_queue(struct ath_softc *sc, u16 skb_queue); |
686 bool ath_mac80211_start_queue(struct ath_softc *sc, u16 skb_queue); | 686 bool ath_mac80211_start_queue(struct ath_softc *sc, u16 skb_queue); |
687 | 687 |
688 void ath_start_rfkill_poll(struct ath_softc *sc); | 688 void ath_start_rfkill_poll(struct ath_softc *sc); |
689 extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); | 689 extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); |
690 | 690 |
691 #endif /* ATH9K_H */ | 691 #endif /* ATH9K_H */ |
OLD | NEW |