brcmfmac: introduce module parameter to configure default PM mode
Add module parameter max_pm to allow using PM_MAX as default power management mode. Default PM mode is set to PM_MAX when max_pm=1, and is set to PM_FAST when max_pm=0 or max_pm is not set.
Signed-off-by: Chi-Hsien Lin chi-hsien.lin@cypress.com
Scavenged from Cypress' downstream patches. PM_MAX appears to significantly increase latency, but it may still be worth testing and thinking about how to integrate it in a way that doesn't degrade user experience.