mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Convert CONFIG_FIND_BEST_CHANNEL to CONFIG_AP_MODE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
9decc528d8
commit
7b6e9a069d
5 changed files with 6 additions and 9 deletions
|
@ -31,9 +31,6 @@
|
|||
#define CONFIG_EMBEDDED_FWIMG
|
||||
|
||||
#define CONFIG_AP_MODE
|
||||
#ifdef CONFIG_AP_MODE
|
||||
#define CONFIG_FIND_BEST_CHANNEL
|
||||
#endif
|
||||
|
||||
#define CONFIG_P2P
|
||||
#ifdef CONFIG_P2P
|
||||
|
|
|
@ -373,7 +373,7 @@ extern u32 GlobalDebugLevel;
|
|||
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FIND_BEST_CHANNEL
|
||||
#ifdef CONFIG_AP_MODE
|
||||
int proc_get_best_channel(char *page, char **start,
|
||||
off_t offset, int count,
|
||||
int *eof, void *data);
|
||||
|
|
|
@ -439,7 +439,7 @@ typedef struct _RT_CHANNEL_INFO
|
|||
//u16 ScanPeriod; // Listen time in millisecond in this channel.
|
||||
//s32 MaxTxPwrDbm; // Max allowed tx power.
|
||||
//u32 ExInfo; // Extended Information for this channel.
|
||||
#ifdef CONFIG_FIND_BEST_CHANNEL
|
||||
#ifdef CONFIG_AP_MODE
|
||||
u32 rx_count;
|
||||
#endif
|
||||
}RT_CHANNEL_INFO, *PRT_CHANNEL_INFO;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue