Wlan: Enable cfg80211 layer to control power save
The "remainInPowerActiveTillDHCP" flag allows cfg80211 layer to
control BMPS and it should not be modified by SME/CSR.
SME/CSR use remainInPowerActiveTillDHCP to block BMPS till set key
is not completed. Due to this cfg80211 layer is not in full
control of BMPS.
To fix this add a new variable to block BMPS until set key is
done and let remainInPowerActiveTillDHCP be be controlled by
cfg80211 layer based on whether DHCP in progress or not.
Change-Id: I48315893a881d8da4db79a8b9366525617e8c898
CRs-Fixed: 1072635
4 files changed