Move HOSTAPD_MTU definition into driver_hostap.c
This moves the MTU definition into driver_hostap.c since it was really meant to be specific to this driver. Since this was the last remaining definition in hostapd_defs.h, remove that header file as unnecessary.
This commit is contained in:
parent
0715247aa8
commit
fd7a5dd15f
3 changed files with 5 additions and 25 deletions
|
@ -18,7 +18,6 @@
|
|||
#define HOSTAPD_H
|
||||
|
||||
#include "common.h"
|
||||
#include "hostapd_defs.h"
|
||||
|
||||
#define MAX_VLAN_ID 4094
|
||||
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
/*
|
||||
* hostapd / Initialization and configuration
|
||||
* Host AP kernel driver
|
||||
* Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* Alternatively, this software may be distributed under the terms of BSD
|
||||
* license.
|
||||
*
|
||||
* See README and COPYING for more details.
|
||||
*/
|
||||
|
||||
#ifndef HOSTAPD_DEFS_H
|
||||
#define HOSTAPD_DEFS_H
|
||||
|
||||
/* MTU to be set for the wlan#ap device; this is mainly needed for IEEE 802.1X
|
||||
* frames that might be longer than normal default MTU and they are not
|
||||
* fragmented */
|
||||
#define HOSTAPD_MTU 2290
|
||||
|
||||
#endif /* HOSTAPD_DEFS_H */
|
|
@ -35,6 +35,11 @@
|
|||
#include "../../hostapd/sta_flags.h"
|
||||
|
||||
|
||||
/* MTU to be set for the wlan#ap device; this is mainly needed for IEEE 802.1X
|
||||
* frames that might be longer than normal default MTU and they are not
|
||||
* fragmented */
|
||||
#define HOSTAPD_MTU 2290
|
||||
|
||||
static const u8 rfc1042_header[6] = { 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 };
|
||||
|
||||
struct hostap_driver_data {
|
||||
|
|
Loading…
Reference in a new issue