net: wireless: bcmdhd: add flag to enable MCC
Om Prakash Singh [Wed, 20 Nov 2013 15:58:50 +0000 (20:58 +0530)]
With Android-KK upgrade MCC(Multi Channel Concurrency) is
by default enabled from supplicant, which impact on Miracast
performance so we are disabling it from driver

Bug 1410893

Change-Id: I8746cacdcd2e7e12205f90b0ec47cfb87aaf79aa
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/333471
(cherry picked from commit 56b14ebe7ec24b972b32ea038417b8643d0dc6f4)
Reviewed-on: http://git-master/r/335465
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

drivers/net/wireless/bcmdhd/wl_cfg80211.c

index d670d67..dac5c5d 100755 (executable)
@@ -200,7 +200,11 @@ softap_iface_combinations[] = {
 static const struct ieee80211_iface_combination
 sta_p2p_iface_combinations[] = {
        {
+#ifdef DHD_ENABLE_MCC
        .num_different_channels = 2,
+#else
+       .num_different_channels = 1,
+#endif
        .max_interfaces = 3,
        .limits = sta_p2p_limits,
        .n_limits = ARRAY_SIZE(sta_p2p_limits),