diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2015-03-09 17:16:30 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-03-09 17:16:30 -0700 |
| commit | bcfac084bbb696b0f19e48d280e9519ce9d9efbd (patch) | |
| tree | f885aaf6f3b9bdfbe20285901c72718554fdcab6 | |
| parent | 2d1c9eef52c46383acb81d6e78d99142e28e3185 (diff) | |
| parent | 8bed929f890805fb271cc6bc0eb439afca871b56 (diff) | |
Merge "Release 4.0.10.50 QCACLD WLAN Driver"
| -rw-r--r-- | CORE/HDD/inc/wlan_hdd_cfg80211.h | 1 | ||||
| -rw-r--r-- | CORE/HDD/inc/wlan_hdd_main.h | 13 | ||||
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 3 | ||||
| -rwxr-xr-x | CORE/HDD/src/wlan_hdd_main.c | 28 | ||||
| -rw-r--r-- | CORE/MAC/inc/qwlan_version.h | 4 | ||||
| -rw-r--r-- | CORE/VOSS/src/vos_list.c | 3 | ||||
| -rw-r--r-- | CORE/VOSS/src/vos_timer.c | 4 |
7 files changed, 24 insertions, 32 deletions
diff --git a/CORE/HDD/inc/wlan_hdd_cfg80211.h b/CORE/HDD/inc/wlan_hdd_cfg80211.h index d1284070e104..36ec82d96272 100644 --- a/CORE/HDD/inc/wlan_hdd_cfg80211.h +++ b/CORE/HDD/inc/wlan_hdd_cfg80211.h @@ -979,6 +979,7 @@ enum qca_wlan_vendor_features { #define WIFI_FEATURE_EPR 0x4000 /* Enhanced power reporting */ #define WIFI_FEATURE_AP_STA 0x8000 /* Support for AP STA Concurrency */ +#define WIFI_FEATURE_LINK_LAYER_STATS 0x10000 /* Link layer stats */ /* Add more features here */ diff --git a/CORE/HDD/inc/wlan_hdd_main.h b/CORE/HDD/inc/wlan_hdd_main.h index b95984db82d7..3d3bf1c801b4 100644 --- a/CORE/HDD/inc/wlan_hdd_main.h +++ b/CORE/HDD/inc/wlan_hdd_main.h @@ -1776,4 +1776,17 @@ int hdd_wlan_set_mcc_p2p_quota(hdd_adapter_t *hostapd_adapter, int hdd_set_mas(hdd_adapter_t *hostapd_adapter, uint8_t filter_type); uint8_t hdd_is_mcc_in_24G(hdd_context_t *hdd_ctx); +#ifdef WLAN_FEATURE_LINK_LAYER_STATS +static inline bool hdd_link_layer_stats_supported(void) +{ + return true; +} +#else +static inline bool hdd_link_layer_stats_supported(void) +{ + return false; +} +#endif /* WLAN_FEATURE_LINK_LAYER_STATS */ + + #endif // end #if !defined( WLAN_HDD_MAIN_H ) diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index 0cdda413b49f..d01d79b6214f 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -1311,6 +1311,9 @@ wlan_hdd_cfg80211_get_supported_features(struct wiphy *wiphy, fset |= WIFI_FEATURE_AP_STA; #endif + if (hdd_link_layer_stats_supported()) + fset |= WIFI_FEATURE_LINK_LAYER_STATS; + skb = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, sizeof(fset) + NLMSG_HDRLEN); diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c index 214462f2e9eb..75978ddcbc4c 100755 --- a/CORE/HDD/src/wlan_hdd_main.c +++ b/CORE/HDD/src/wlan_hdd_main.c @@ -14676,20 +14676,6 @@ void wlan_hdd_send_status_pkg(hdd_adapter_t *pAdapter, { int ret = 0; struct wlan_status_data data; -#ifdef CONFIG_CNSS - struct cnss_platform_cap cap; - - ret = cnss_get_platform_cap(&cap); - if (ret) { - VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - "%s: platform capability info from CNSS not available", - __func__); - return; - } - - if (!(cap.cap_flag & CNSS_HAS_UART_ACCESS)) - return; -#endif if (VOS_FTM_MODE == hdd_get_conparam()) return; @@ -14709,20 +14695,6 @@ void wlan_hdd_send_version_pkg(v_U32_t fw_version, { int ret = 0; struct wlan_version_data data; -#ifdef CONFIG_CNSS - struct cnss_platform_cap cap; - - ret = cnss_get_platform_cap(&cap); - if (ret) { - VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - "%s: platform capability info from CNSS not available", - __func__); - return; - } - - if (!(cap.cap_flag & CNSS_HAS_UART_ACCESS)) - return; -#endif if (VOS_FTM_MODE == hdd_get_conparam()) return; diff --git a/CORE/MAC/inc/qwlan_version.h b/CORE/MAC/inc/qwlan_version.h index 308d8278d40e..7e36601631f5 100644 --- a/CORE/MAC/inc/qwlan_version.h +++ b/CORE/MAC/inc/qwlan_version.h @@ -42,9 +42,9 @@ BRIEF DESCRIPTION: #define QWLAN_VERSION_MINOR 0 #define QWLAN_VERSION_PATCH 10 #define QWLAN_VERSION_EXTRA "" -#define QWLAN_VERSION_BUILD 49 +#define QWLAN_VERSION_BUILD 50 -#define QWLAN_VERSIONSTR "4.0.10.49" +#define QWLAN_VERSIONSTR "4.0.10.50" #define AR6320_REV1_VERSION 0x5000000 diff --git a/CORE/VOSS/src/vos_list.c b/CORE/VOSS/src/vos_list.c index fd945f03e151..6032e74bf40c 100644 --- a/CORE/VOSS/src/vos_list.c +++ b/CORE/VOSS/src/vos_list.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2015 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -96,6 +96,7 @@ VOS_STATUS vos_list_destroy( vos_list_t *pList ) { VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR, "%s: list not initialized", __func__); + VOS_ASSERT(0); return VOS_STATUS_E_INVAL; } diff --git a/CORE/VOSS/src/vos_timer.c b/CORE/VOSS/src/vos_timer.c index badb44c4899d..afaf4a42e213 100644 --- a/CORE/VOSS/src/vos_timer.c +++ b/CORE/VOSS/src/vos_timer.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2013, 2015 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -538,6 +538,7 @@ VOS_STATUS vos_timer_destroy ( vos_timer_t *timer ) { VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR, "%s: Cannot destroy uninitialized timer",__func__); + VOS_ASSERT(0); return VOS_STATUS_E_INVAL; } @@ -613,6 +614,7 @@ VOS_STATUS vos_timer_destroy ( vos_timer_t *timer ) { VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR, "%s: Cannot destroy uninitialized timer",__func__); + VOS_ASSERT(0); return VOS_STATUS_E_INVAL; } spin_lock_irqsave( &timer->platformInfo.spinlock,flags ); |
