| .. | .. |
|---|
| 112 | 112 | #define ATH_TXFIFO_DEPTH 8 |
|---|
| 113 | 113 | #define ATH_TX_ERROR 0x01 |
|---|
| 114 | 114 | |
|---|
| 115 | | -#define ATH_AIRTIME_QUANTUM 300 /* usec */ |
|---|
| 116 | | - |
|---|
| 117 | 115 | /* Stop tx traffic 1ms before the GO goes away */ |
|---|
| 118 | 116 | #define ATH_P2P_PS_STOP_TIME 1000 |
|---|
| 119 | 117 | |
|---|
| .. | .. |
|---|
| 247 | 245 | s8 bar_index; |
|---|
| 248 | 246 | bool active; |
|---|
| 249 | 247 | bool clear_ps_filter; |
|---|
| 250 | | - bool has_queued; |
|---|
| 251 | 248 | }; |
|---|
| 252 | 249 | |
|---|
| 253 | | -void __ath_tx_queue_tid(struct ath_softc *sc, struct ath_atx_tid *tid); |
|---|
| 254 | 250 | void ath_tx_queue_tid(struct ath_softc *sc, struct ath_atx_tid *tid); |
|---|
| 255 | 251 | |
|---|
| 256 | 252 | struct ath_node { |
|---|
| .. | .. |
|---|
| 264 | 260 | |
|---|
| 265 | 261 | bool sleeping; |
|---|
| 266 | 262 | bool no_ps_filter; |
|---|
| 267 | | - s64 airtime_deficit[IEEE80211_NUM_ACS]; |
|---|
| 268 | | - u32 airtime_rx_start; |
|---|
| 269 | 263 | |
|---|
| 270 | 264 | #ifdef CONFIG_ATH9K_STATION_STATISTICS |
|---|
| 271 | 265 | struct ath_rx_rate_stats rx_rate_stats; |
|---|
| 272 | | - struct ath_airtime_stats airtime_stats; |
|---|
| 273 | 266 | #endif |
|---|
| 274 | 267 | u8 key_idx[4]; |
|---|
| 275 | 268 | |
|---|
| .. | .. |
|---|
| 721 | 714 | bool tx_last; |
|---|
| 722 | 715 | }; |
|---|
| 723 | 716 | |
|---|
| 724 | | -void ath9k_beacon_tasklet(unsigned long data); |
|---|
| 717 | +void ath9k_beacon_tasklet(struct tasklet_struct *t); |
|---|
| 725 | 718 | void ath9k_beacon_config(struct ath_softc *sc, struct ieee80211_vif *main_vif, |
|---|
| 726 | 719 | bool beacons); |
|---|
| 727 | 720 | void ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif); |
|---|
| .. | .. |
|---|
| 987 | 980 | |
|---|
| 988 | 981 | #define ATH9K_NUM_CHANCTX 2 /* supports 2 operating channels */ |
|---|
| 989 | 982 | |
|---|
| 990 | | -#define AIRTIME_USE_TX BIT(0) |
|---|
| 991 | | -#define AIRTIME_USE_RX BIT(1) |
|---|
| 992 | | -#define AIRTIME_USE_NEW_QUEUES BIT(2) |
|---|
| 993 | | -#define AIRTIME_ACTIVE(flags) (!!(flags & (AIRTIME_USE_TX|AIRTIME_USE_RX))) |
|---|
| 994 | | - |
|---|
| 995 | 983 | struct ath_softc { |
|---|
| 996 | 984 | struct ieee80211_hw *hw; |
|---|
| 997 | 985 | struct device *dev; |
|---|
| .. | .. |
|---|
| 1034 | 1022 | bool ps_idle; |
|---|
| 1035 | 1023 | short nbcnvifs; |
|---|
| 1036 | 1024 | unsigned long ps_usecount; |
|---|
| 1037 | | - |
|---|
| 1038 | | - u16 airtime_flags; /* AIRTIME_* */ |
|---|
| 1039 | 1025 | |
|---|
| 1040 | 1026 | struct ath_rx rx; |
|---|
| 1041 | 1027 | struct ath_tx tx; |
|---|
| .. | .. |
|---|
| 1132 | 1118 | common->bus_ops->read_cachesize(common, csz); |
|---|
| 1133 | 1119 | } |
|---|
| 1134 | 1120 | |
|---|
| 1135 | | -void ath9k_tasklet(unsigned long data); |
|---|
| 1121 | +void ath9k_tasklet(struct tasklet_struct *t); |
|---|
| 1136 | 1122 | int ath_cabq_update(struct ath_softc *); |
|---|
| 1137 | 1123 | u8 ath9k_parse_mpdudensity(u8 mpdudensity); |
|---|
| 1138 | 1124 | irqreturn_t ath_isr(int irq, void *dev); |
|---|