| Index: chromeos/drivers/ath6kl/os/linux/include/ar6xapi_linux.h
|
| diff --git a/chromeos/drivers/ath6kl/os/linux/include/ar6xapi_linux.h b/chromeos/drivers/ath6kl/os/linux/include/ar6xapi_linux.h
|
| index 2e5c7af7bdf92a40b6be3585be0add4499076b02..ea2d181dcfe24f66190459da3e7a8f5bb86e83e9 100644
|
| --- a/chromeos/drivers/ath6kl/os/linux/include/ar6xapi_linux.h
|
| +++ b/chromeos/drivers/ath6kl/os/linux/include/ar6xapi_linux.h
|
| @@ -1,24 +1,28 @@
|
| -#ifndef _AR6XAPI_LINUX_H
|
| -#define _AR6XAPI_LINUX_H
|
| -/*
|
| - *
|
| - * Copyright (c) 2004-2007 Atheros Communications Inc.
|
| - * 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;
|
| +//------------------------------------------------------------------------------
|
| +// Copyright (c) 2004-2010 Atheros Communications Inc.
|
| +// All rights reserved.
|
| +//
|
| +//
|
| //
|
| -// 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.
|
| //
|
| - *
|
| - */
|
| +//
|
| +//
|
| +// Author(s): ="Atheros"
|
| +//------------------------------------------------------------------------------
|
|
|
| +#ifndef _AR6XAPI_LINUX_H
|
| +#define _AR6XAPI_LINUX_H
|
| #ifdef __cplusplus
|
| extern "C" {
|
| #endif
|
| @@ -167,7 +171,25 @@ void ap_wapi_rekey_event(struct ar6_softc *ar, A_UINT8 type, A_UINT8 *mac);
|
| #endif
|
|
|
| A_STATUS ar6000_connect_to_ap(struct ar6_softc *ar);
|
| +A_STATUS ar6000_update_wlan_pwr_state(struct ar6_softc *ar, AR6000_WLAN_STATE state, A_BOOL suspending);
|
| A_STATUS ar6000_set_wlan_state(struct ar6_softc *ar, AR6000_WLAN_STATE state);
|
| +A_STATUS ar6000_set_bt_hw_state(struct ar6_softc *ar, A_UINT32 state);
|
| +
|
| +#ifdef CONFIG_PM
|
| +A_STATUS ar6000_suspend_ev(void *context);
|
| +A_STATUS ar6000_resume_ev(void *context);
|
| +A_STATUS ar6000_power_change_ev(void *context, A_UINT32 config);
|
| +void ar6000_check_wow_status(struct ar6_softc *ar, struct sk_buff *skb, A_BOOL isEvent);
|
| +#endif
|
| +
|
| +void ar6000_pm_init(void);
|
| +void ar6000_pm_exit(void);
|
| +
|
| +#ifdef CONFIG_AP_VIRTUAL_ADAPTER_SUPPORT
|
| +A_STATUS ar6000_add_ap_interface(struct ar6_softc *ar, char *ifname);
|
| +A_STATUS ar6000_remove_ap_interface(struct ar6_softc *ar);
|
| +#endif /* CONFIG_AP_VIRTUAL_ADAPTER_SUPPORT */
|
| +
|
| #ifdef __cplusplus
|
| }
|
| #endif
|
|
|