- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
We are using CYW43012 chipset and recently moved from:
Firmware version:
1.21 RC0.0
wl0: Sep 1 2021 22:33:32 version 13.10.271.273 (9278a67 CY) FWID 01-e6c8687a
Driver Version:
Backported Linux Version v4.14.77-kong-RTM-rc8-0-ged6fa18
to
Firmware version:
1.21 RC0.0
wl0: Feb 21 2022 07:19:28 version 13.10.271.283 (211da63 CY) FWID 01-18f4ac2
Driver Version:
Backported Linux Version v5.10.9-2022_0321-0-ga0971bc0b123
We are seeing increase in power consumption by 20mA approximately after we upgrade the release.
We have observed that only by changing the driver the power consumption increases but not with the firmware upgrade.
We couldn't figure out what exactly caused increase in the power cosumption.
Can someone help us figure out the reason for the same as our product is an battery powered embedded device which makes it very critical for us.
Please let me know if you need any information.
Regards,
Rupesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Found that Cypress team identified the bug as well and provided a patch 0117-brcmfmac-remove-default-2s-power-save-max-timeout.patch in cypress-fmac-v5.10.9-2022_0331 release.
Regards,
Rupesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi @rupesh_theatro ,
After loading the old driver can you check the "wl PM" and "wl mpc" values?
And then compare them after loading the new drivers. Is it different?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
wl PM ==> 2 and wl mpc ==> 1
The values are same for both the release..
After analyzing the sniffer capture, we observed that the device wakes up for 2 seconds after every Tx packet before it goes back to sleep where as with the old release it was 200msec.
Looking at the code, identified that brcmf_cfg80211_set_power_mgmt is setting the "pm2_sleep_ret" to min(timeout, BRCMF_PS_MAX_TIMEOUT_MS) and as timeout is being received as -1 , it is setting to BRCMF_PS_MAX_TIMEOUT_MS i.e. 2000ms . Manually configuring pm2_sleep_ret to 200msec as in old release is fixing the issue.
Any idea why that value is not initialized by any proper value? As per code, that value should have been configured through IOCTL or may be driver should fill that value neither of which is happening.
Regards,
Rupesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Found that Cypress team identified the bug as well and provided a patch 0117-brcmfmac-remove-default-2s-power-save-max-timeout.patch in cypress-fmac-v5.10.9-2022_0331 release.
Regards,
Rupesh