56 lines
2.4 KiB
C
56 lines
2.4 KiB
C
//------------------------------------------------------------------------------
|
|
// ISC License (ISC)
|
|
//
|
|
// Copyright (c) 2004-2013, The Linux Foundation
|
|
// All rights reserved.
|
|
// Software was previously licensed under ISC license by Qualcomm Atheros, Inc.
|
|
//
|
|
//
|
|
// Permission to use, copy, modify, and/or distribute this software for any
|
|
// purpose with or without fee is hereby granted, provided that the above
|
|
// copyright notice and this permission notice appear in all copies.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
//
|
|
//
|
|
//------------------------------------------------------------------------------
|
|
//==============================================================================
|
|
// Author(s): ="Atheros"
|
|
//==============================================================================
|
|
|
|
#define __VER_MAJOR_ 3
|
|
#define __VER_MINOR_ 1
|
|
#define __VER_PATCH_ 1
|
|
|
|
/* The makear6ksdk script (used for release builds) modifies the following line. */
|
|
#define __BUILD_NUMBER_ 855
|
|
|
|
|
|
/* Format of the version number. */
|
|
#define VER_MAJOR_BIT_OFFSET 28
|
|
#define VER_MINOR_BIT_OFFSET 24
|
|
#define VER_PATCH_BIT_OFFSET 16
|
|
#define VER_BUILD_NUM_BIT_OFFSET 0
|
|
|
|
|
|
/*
|
|
* The version has the following format:
|
|
* Bits 28-31: Major version
|
|
* Bits 24-27: Minor version
|
|
* Bits 16-23: Patch version
|
|
* Bits 0-15: Build number (automatically generated during build process )
|
|
* E.g. Build 1.1.3.7 would be represented as 0x11030007.
|
|
*
|
|
* DO NOT split the following macro into multiple lines as this may confuse the build scripts.
|
|
*/
|
|
#define AR6K_SW_VERSION ( ( __VER_MAJOR_ << VER_MAJOR_BIT_OFFSET ) + ( __VER_MINOR_ << VER_MINOR_BIT_OFFSET ) + ( __VER_PATCH_ << VER_PATCH_BIT_OFFSET ) + ( __BUILD_NUMBER_ << VER_BUILD_NUM_BIT_OFFSET ) )
|
|
|
|
/* ABI Version. Reflects the version of binary interface exposed by AR6K target firmware. Needs to be incremented by 1 for any change in the firmware that requires upgrade of the driver on the host side for the change to work correctly */
|
|
#define AR6K_ABI_VERSION 1
|