update version to v5.8.9_35085.20190919
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
||||
*
|
||||
* Copyright(c) 2007 - 2017 Realtek Corporation.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of version 2 of the GNU General Public License as
|
||||
* published by the Free Software Foundation.
|
||||
@@ -11,39 +11,35 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
|
||||
*
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef __RTW_ANDROID_H__
|
||||
#define __RTW_ANDROID_H__
|
||||
|
||||
enum ANDROID_WIFI_CMD {
|
||||
ANDROID_WIFI_CMD_START,
|
||||
ANDROID_WIFI_CMD_STOP,
|
||||
ANDROID_WIFI_CMD_START,
|
||||
ANDROID_WIFI_CMD_STOP,
|
||||
ANDROID_WIFI_CMD_SCAN_ACTIVE,
|
||||
ANDROID_WIFI_CMD_SCAN_PASSIVE,
|
||||
ANDROID_WIFI_CMD_RSSI,
|
||||
ANDROID_WIFI_CMD_SCAN_PASSIVE,
|
||||
ANDROID_WIFI_CMD_RSSI,
|
||||
ANDROID_WIFI_CMD_LINKSPEED,
|
||||
ANDROID_WIFI_CMD_RXFILTER_START,
|
||||
ANDROID_WIFI_CMD_RXFILTER_STOP,
|
||||
ANDROID_WIFI_CMD_RXFILTER_ADD,
|
||||
ANDROID_WIFI_CMD_RXFILTER_STOP,
|
||||
ANDROID_WIFI_CMD_RXFILTER_ADD,
|
||||
ANDROID_WIFI_CMD_RXFILTER_REMOVE,
|
||||
ANDROID_WIFI_CMD_BTCOEXSCAN_START,
|
||||
ANDROID_WIFI_CMD_BTCOEXSCAN_STOP,
|
||||
ANDROID_WIFI_CMD_BTCOEXMODE,
|
||||
ANDROID_WIFI_CMD_SETSUSPENDMODE,
|
||||
ANDROID_WIFI_CMD_SETSUSPENDOPT,
|
||||
ANDROID_WIFI_CMD_P2P_DEV_ADDR,
|
||||
ANDROID_WIFI_CMD_SETFWPATH,
|
||||
ANDROID_WIFI_CMD_SETBAND,
|
||||
ANDROID_WIFI_CMD_GETBAND,
|
||||
ANDROID_WIFI_CMD_COUNTRY,
|
||||
ANDROID_WIFI_CMD_P2P_DEV_ADDR,
|
||||
ANDROID_WIFI_CMD_SETFWPATH,
|
||||
ANDROID_WIFI_CMD_SETBAND,
|
||||
ANDROID_WIFI_CMD_GETBAND,
|
||||
ANDROID_WIFI_CMD_COUNTRY,
|
||||
ANDROID_WIFI_CMD_P2P_SET_NOA,
|
||||
ANDROID_WIFI_CMD_P2P_GET_NOA,
|
||||
ANDROID_WIFI_CMD_P2P_SET_PS,
|
||||
ANDROID_WIFI_CMD_P2P_GET_NOA,
|
||||
ANDROID_WIFI_CMD_P2P_SET_PS,
|
||||
ANDROID_WIFI_CMD_SET_AP_WPS_P2P_IE,
|
||||
|
||||
ANDROID_WIFI_CMD_MIRACAST,
|
||||
@@ -62,7 +58,7 @@ enum ANDROID_WIFI_CMD {
|
||||
|
||||
ANDROID_WIFI_CMD_WFD_ENABLE,
|
||||
ANDROID_WIFI_CMD_WFD_DISABLE,
|
||||
|
||||
|
||||
ANDROID_WIFI_CMD_WFD_SET_TCPPORT,
|
||||
ANDROID_WIFI_CMD_WFD_SET_MAX_TPUT,
|
||||
ANDROID_WIFI_CMD_WFD_SET_DEVTYPE,
|
||||
@@ -70,43 +66,52 @@ enum ANDROID_WIFI_CMD {
|
||||
ANDROID_WIFI_CMD_HOSTAPD_SET_MACADDR_ACL,
|
||||
ANDROID_WIFI_CMD_HOSTAPD_ACL_ADD_STA,
|
||||
ANDROID_WIFI_CMD_HOSTAPD_ACL_REMOVE_STA,
|
||||
#if defined(CONFIG_GTK_OL) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 1, 0))
|
||||
#if defined(CONFIG_GTK_OL) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 1, 0))
|
||||
ANDROID_WIFI_CMD_GTK_REKEY_OFFLOAD,
|
||||
#endif //CONFIG_GTK_OL
|
||||
#endif /* CONFIG_GTK_OL */
|
||||
ANDROID_WIFI_CMD_P2P_DISABLE,
|
||||
ANDROID_WIFI_CMD_SET_AEK,
|
||||
ANDROID_WIFI_CMD_EXT_AUTH_STATUS,
|
||||
ANDROID_WIFI_CMD_DRIVERVERSION,
|
||||
ANDROID_WIFI_CMD_MAX
|
||||
};
|
||||
|
||||
int rtw_android_cmdstr_to_num(char *cmdstr);
|
||||
int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd);
|
||||
|
||||
#if defined(CONFIG_PNO_SUPPORT) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0))
|
||||
#if defined(CONFIG_PNO_SUPPORT) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 0))
|
||||
int rtw_android_pno_enable(struct net_device *net, int pno_enable);
|
||||
int rtw_android_cfg80211_pno_setup(struct net_device *net,
|
||||
struct cfg80211_ssid *ssid, int n_ssids, int interval);
|
||||
struct cfg80211_ssid *ssid, int n_ssids, int interval);
|
||||
#endif
|
||||
|
||||
#if defined(RTW_ENABLE_WIFI_CONTROL_FUNC)
|
||||
int rtw_android_wifictrl_func_add(void);
|
||||
void rtw_android_wifictrl_func_del(void);
|
||||
void* wl_android_prealloc(int section, unsigned long size);
|
||||
void *wl_android_prealloc(int section, unsigned long size);
|
||||
|
||||
int wifi_get_irq_number(unsigned long *irq_flags_ptr);
|
||||
int wifi_set_power(int on, unsigned long msec);
|
||||
int wifi_get_mac_addr(unsigned char *buf);
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0))
|
||||
void *wifi_get_country_code(char *ccode, u32 flags);
|
||||
#else /* Linux kernel < 3.18 */
|
||||
void *wifi_get_country_code(char *ccode);
|
||||
#endif /* Linux kernel < 3.18 */
|
||||
#else
|
||||
inline static int rtw_android_wifictrl_func_add(void) { return 0; }
|
||||
inline static void rtw_android_wifictrl_func_del(void) {}
|
||||
static inline int rtw_android_wifictrl_func_add(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
static inline void rtw_android_wifictrl_func_del(void) {}
|
||||
#endif /* defined(RTW_ENABLE_WIFI_CONTROL_FUNC) */
|
||||
|
||||
#ifdef CONFIG_GPIO_WAKEUP
|
||||
#ifdef CONFIG_PLATFORM_INTEL_BYT
|
||||
int wifi_configure_gpio(void);
|
||||
#endif //CONFIG_PLATFORM_INTEL_BYT
|
||||
#endif /* CONFIG_PLATFORM_INTEL_BYT */
|
||||
void wifi_free_gpio(unsigned int gpio);
|
||||
#endif //CONFIG_GPIO_WAKEUP
|
||||
#endif /* CONFIG_GPIO_WAKEUP */
|
||||
|
||||
|
||||
#endif //__RTW_ANDROID_H__
|
||||
|
||||
#endif /* __RTW_ANDROID_H__ */
|
||||
|
Reference in New Issue
Block a user