Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
net
/
wireless
/
rt2x00
/
rt2x00.h
diff --git
a/kernel/drivers/net/wireless/rt2x00/rt2x00.h
b/kernel/drivers/net/wireless/rt2x00/rt2x00.h
index
9bb398b
..
3282ddb
100644
(file)
--- a/
kernel/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/
kernel/drivers/net/wireless/rt2x00/rt2x00.h
@@
-254,6
+254,8
@@
struct link_qual {
int tx_failed;
};
int tx_failed;
};
+DECLARE_EWMA(rssi, 1024, 8)
+
/*
* Antenna settings about the currently active link.
*/
/*
* Antenna settings about the currently active link.
*/
@@
-285,7
+287,7
@@
struct link_ant {
* Similar to the avg_rssi in the link_qual structure
* this value is updated by using the walking average.
*/
* Similar to the avg_rssi in the link_qual structure
* this value is updated by using the walking average.
*/
- struct ewma rssi_ant;
+ struct ewma
_rssi
rssi_ant;
};
/*
};
/*
@@
-314,7
+316,7
@@
struct link {
/*
* Currently active average RSSI value
*/
/*
* Currently active average RSSI value
*/
- struct ewma avg_rssi;
+ struct ewma
_rssi
avg_rssi;
/*
* Work structure for scheduling periodic link tuning.
/*
* Work structure for scheduling periodic link tuning.