|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2014 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2014, 2017 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
|
|
*
|
|
@@ -27,33 +27,32 @@
|
|
|
|
|
|
#ifndef _WLAN_HDD_ETHER_H
|
|
|
#define _WLAN_HDD_ETHER_H
|
|
|
-/*============================================================================
|
|
|
- @file wlan_hdd_ether.h
|
|
|
-
|
|
|
- This module describes Ethernet packet formats for processing by HDD.
|
|
|
- ============================================================================*/
|
|
|
-/* $Header$ */
|
|
|
+/**
|
|
|
+ * DOC: wlan_hdd_ether.h
|
|
|
+ *
|
|
|
+ * This module describes Ethernet packet formats for processing by HDD.
|
|
|
+ */
|
|
|
|
|
|
-/*----------------------------------------------------------------------------
|
|
|
+/*
|
|
|
* Include Files
|
|
|
- * -------------------------------------------------------------------------*/
|
|
|
+ */
|
|
|
#include <linux/version.h>
|
|
|
#include <linux/byteorder/generic.h>
|
|
|
#include <linux/if_ether.h>
|
|
|
#include <linux/if_vlan.h>
|
|
|
|
|
|
-/*----------------------------------------------------------------------------
|
|
|
+/*
|
|
|
* Preprocessor Definitions and Constants
|
|
|
- * -------------------------------------------------------------------------*/
|
|
|
+ */
|
|
|
#define WLAN_SNAP_OUI_LEN 3
|
|
|
#define WLAN_SNAP_DSAP 0xAAU
|
|
|
#define WLAN_SNAP_SSAP 0xAAU
|
|
|
#define WLAN_SNAP_CTRL 0x03
|
|
|
#define WLAN_MIN_PROTO 0x0600
|
|
|
|
|
|
-/*----------------------------------------------------------------------------
|
|
|
+/*
|
|
|
* Type Declarations
|
|
|
- * -------------------------------------------------------------------------*/
|
|
|
+ */
|
|
|
struct wlan_snap_hdr {
|
|
|
unsigned char dsap;
|
|
|
unsigned char ssap;
|