net: wireless: bcmdhd: Add command to restrict p2p AGO bw
authorSrinivas Ramachandran <srinivasra@nvidia.com>
Tue, 3 May 2016 22:27:27 +0000 (15:27 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 20 May 2016 03:27:13 +0000 (20:27 -0700)
commit972a3c478c5fbc379b8f4a30d0bc8979a3dd4032
tree301ddfd5cc107327758b1f3e7bd3037f1c6d9e9f
parent5bed0600eae5ec695a56493d6a9d00c35ad53cc5
net: wireless: bcmdhd: Add command to restrict p2p AGO bw

When device is operating with 50Hz HDMI refresh rate
1. If AP is not associated, restrict the bw of p2p AGO to 20Mhz
2. If AP is associated, follow the AP bw

This is a WAR to prevent controller connectivity issues
in 1080p50Hz mode due to Wi-Fi desense.

Bug 200176240
Bug 200193305

Change-Id: I759aefe2ad175f195dc26239e77839bf0abb12f5
Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-on: http://git-master/r/1146622
(cherry picked from commit 1aff341bd28a5824e16dea4b1c7b63262b0589e6)
Reviewed-on: http://git-master/r/1148786
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/net/wireless/bcmdhd/dhd_linux.c
drivers/net/wireless/bcmdhd/wl_android.c
drivers/net/wireless/bcmdhd/wl_cfg80211.c