Index: chromeos/drivers/ath6kl/include/htc_api.h |
diff --git a/chromeos/drivers/ath6kl/include/htc_api.h b/chromeos/drivers/ath6kl/include/htc_api.h |
index 12f81f53ee900e7038f507710c31393ee81ba216..b007051e0551f9fc5b8f59a4584ac7851dfd437a 100644 |
--- a/chromeos/drivers/ath6kl/include/htc_api.h |
+++ b/chromeos/drivers/ath6kl/include/htc_api.h |
@@ -1,15 +1,19 @@ |
//------------------------------------------------------------------------------ |
// <copyright file="htc_api.h" company="Atheros"> |
-// Copyright (c) 2007-2008 Atheros Corporation. All rights reserved. |
+// Copyright (c) 2007-2010 Atheros Corporation. All rights reserved. |
// |
-// 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; |
// |
-// Software distributed under the License is distributed on an "AS |
-// IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
-// implied. See the License for the specific language governing |
-// rights and limitations under the License. |
+// 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. |
// |
// |
//------------------------------------------------------------------------------ |
@@ -19,9 +23,9 @@ |
#ifndef _HTC_API_H_ |
#define _HTC_API_H_ |
+#include "htc_packet.h" |
#include <htc.h> |
#include <htc_services.h> |
-#include "htc_packet.h" |
#ifdef __cplusplus |
extern "C" { |
@@ -560,6 +564,9 @@ int HTCGetNumRecvBuffers(HTC_HANDLE HTCHandle, |
/* internally used functions for testing... */ |
void HTCEnableRecv(HTC_HANDLE HTCHandle); |
void HTCDisableRecv(HTC_HANDLE HTCHandle); |
+A_STATUS HTCWaitForPendingRecv(HTC_HANDLE HTCHandle, |
+ A_UINT32 TimeoutInMs, |
+ A_BOOL *pbIsRecvPending); |
#ifdef __cplusplus |
} |