|
@@ -21,7 +21,6 @@
|
|
|
#include <linux/device.h>
|
|
#include <linux/device.h>
|
|
|
#include <linux/leds.h>
|
|
#include <linux/leds.h>
|
|
|
#include <linux/completion.h>
|
|
#include <linux/completion.h>
|
|
|
-#include <linux/pm_qos_params.h>
|
|
|
|
|
|
|
|
|
|
#include "debug.h"
|
|
#include "debug.h"
|
|
|
#include "common.h"
|
|
#include "common.h"
|
|
@@ -57,8 +56,6 @@ struct ath_node;
|
|
|
|
|
|
|
|
#define A_MAX(a, b) ((a) > (b) ? (a) : (b))
|
|
#define A_MAX(a, b) ((a) > (b) ? (a) : (b))
|
|
|
|
|
|
|
|
-#define ATH9K_PM_QOS_DEFAULT_VALUE 55
|
|
|
|
|
-
|
|
|
|
|
#define TSF_TO_TU(_h,_l) \
|
|
#define TSF_TO_TU(_h,_l) \
|
|
|
((((u32)(_h)) << 22) | (((u32)(_l)) >> 10))
|
|
((((u32)(_h)) << 22) | (((u32)(_l)) >> 10))
|
|
|
|
|
|
|
@@ -218,6 +215,7 @@ struct ath_frame_info {
|
|
|
struct ath_buf_state {
|
|
struct ath_buf_state {
|
|
|
u8 bf_type;
|
|
u8 bf_type;
|
|
|
u8 bfs_paprd;
|
|
u8 bfs_paprd;
|
|
|
|
|
+ unsigned long bfs_paprd_timestamp;
|
|
|
enum ath9k_internal_frame_type bfs_ftype;
|
|
enum ath9k_internal_frame_type bfs_ftype;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -602,7 +600,6 @@ struct ath_softc {
|
|
|
struct work_struct paprd_work;
|
|
struct work_struct paprd_work;
|
|
|
struct work_struct hw_check_work;
|
|
struct work_struct hw_check_work;
|
|
|
struct completion paprd_complete;
|
|
struct completion paprd_complete;
|
|
|
- bool paprd_pending;
|
|
|
|
|
|
|
|
|
|
unsigned int hw_busy_count;
|
|
unsigned int hw_busy_count;
|
|
|
|
|
|
|
@@ -649,8 +646,6 @@ struct ath_softc {
|
|
|
struct ath_descdma txsdma;
|
|
struct ath_descdma txsdma;
|
|
|
|
|
|
|
|
struct ath_ant_comb ant_comb;
|
|
struct ath_ant_comb ant_comb;
|
|
|
-
|
|
|
|
|
- struct pm_qos_request_list pm_qos_req;
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
void ath9k_tasklet(unsigned long data);
|
|
void ath9k_tasklet(unsigned long data);
|
|
@@ -665,7 +660,6 @@ static inline void ath_read_cachesize(struct ath_common *common, int *csz)
|
|
|
extern struct ieee80211_ops ath9k_ops;
|
|
extern struct ieee80211_ops ath9k_ops;
|
|
|
extern int ath9k_modparam_nohwcrypt;
|
|
extern int ath9k_modparam_nohwcrypt;
|
|
|
extern int led_blink;
|
|
extern int led_blink;
|
|
|
-extern int ath9k_pm_qos_value;
|
|
|
|
|
extern bool is_ath9k_unloaded;
|
|
extern bool is_ath9k_unloaded;
|
|
|
|
|
|
|
|
irqreturn_t ath_isr(int irq, void *dev);
|
|
irqreturn_t ath_isr(int irq, void *dev);
|