Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25a757b7 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: move macro after the #include file in wilc_wfi_netdevice



Cleanup patch to organize macro in a file together after #include
statements.

Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 880e404e
Loading
Loading
Loading
Loading
+9 −9
Original line number Original line Diff line number Diff line
@@ -2,11 +2,6 @@
#ifndef WILC_WFI_NETDEVICE
#ifndef WILC_WFI_NETDEVICE
#define WILC_WFI_NETDEVICE
#define WILC_WFI_NETDEVICE


#define WILC_MAX_NUM_PMKIDS  16
#define PMKID_LEN  16
#define PMKID_FOUND 1
 #define NUM_STA_ASSOCIATED 8

#include <linux/tcp.h>
#include <linux/tcp.h>
#include <linux/ieee80211.h>
#include <linux/ieee80211.h>
#include <net/cfg80211.h>
#include <net/cfg80211.h>
@@ -19,6 +14,13 @@
#define FLOW_CONTROL_LOWER_THRESHOLD		128
#define FLOW_CONTROL_LOWER_THRESHOLD		128
#define FLOW_CONTROL_UPPER_THRESHOLD		256
#define FLOW_CONTROL_UPPER_THRESHOLD		256


#define WILC_MAX_NUM_PMKIDS			16
#define PMKID_LEN				16
#define PMKID_FOUND				1
#define NUM_STA_ASSOCIATED			8

#define NUM_REG_FRAME				2

struct wilc_wfi_stats {
struct wilc_wfi_stats {
	unsigned long rx_packets;
	unsigned long rx_packets;
	unsigned long tx_packets;
	unsigned long tx_packets;
@@ -34,8 +36,6 @@ struct wilc_wfi_stats {
 * packets in and out, so there is place for a packet
 * packets in and out, so there is place for a packet
 */
 */


#define NUM_REG_FRAME 2

struct wilc_wfi_key {
struct wilc_wfi_key {
	u8 *key;
	u8 *key;
	u8 *seq;
	u8 *seq;