minstrel_ht: move minstrel_mcs_groups declaration to header file
Signed-off-by: John W. Linville <linville@tuxdriver.com> Acked-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
670b7f11ff
commit
de66bfd85c
|
@ -29,6 +29,8 @@ struct mcs_group {
|
||||||
unsigned int duration[MCS_GROUP_RATES];
|
unsigned int duration[MCS_GROUP_RATES];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern const struct mcs_group minstrel_mcs_groups[];
|
||||||
|
|
||||||
struct minstrel_rate_stats {
|
struct minstrel_rate_stats {
|
||||||
/* current / last sampling period attempts/success counters */
|
/* current / last sampling period attempts/success counters */
|
||||||
unsigned int attempts, last_attempts;
|
unsigned int attempts, last_attempts;
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
#include "rc80211_minstrel.h"
|
#include "rc80211_minstrel.h"
|
||||||
#include "rc80211_minstrel_ht.h"
|
#include "rc80211_minstrel_ht.h"
|
||||||
|
|
||||||
extern const struct mcs_group minstrel_mcs_groups[];
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
minstrel_ht_stats_open(struct inode *inode, struct file *file)
|
minstrel_ht_stats_open(struct inode *inode, struct file *file)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue