mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-06 12:14:04 -05:00
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
@ -18,7 +18,6 @@
|
|||||||
#define HOSTAPD_H
|
#define HOSTAPD_H
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "hostapd_defs.h"
|
|
||||||
|
|
||||||
#define MAX_VLAN_ID 4094
|
#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"
|
#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 };
|
static const u8 rfc1042_header[6] = { 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 };
|
||||||
|
|
||||||
struct hostap_driver_data {
|
struct hostap_driver_data {
|
||||||
|
Loading…
Reference in New Issue
Block a user