improve powerd/set_wifi_transmit_power logic (e.g., for ath10k) |
||||||
Issue descriptionIn investigating bug 781838 , we noticed a few problems about assumptions: (a) we assume we're using either mwifiex or iwlwifi (b) we assume devices are named either "mlan0" or "wlan0" Both of those are liable to break, but (a) is definitely wrong for ath10k. As a side note...do we have a dynamic TX power interface for ath10k yet? Or did we ever try to push upstream to make a generic API? Custom netlink commands, rebased on each Chrome OS release, is not exactly a scalable, maintainable solution...
,
Nov 8 2017
That may change though. ath10k is getting used on more devices, and I'm currently not familiar which ones (if any) might have dynamic TX power considerations.
,
Nov 9 2017
Wei-Ning, can you fix these issues in set_wifi_transmit_power?
,
Nov 9 2017
,
Mar 24 2018
,
Aug 7
Making a note regarding Brian's initial comment about QCA not being covered - seems like a clean way would be to do a "vendor" lookup based on querying the vid:pid in pci.
,
Aug 8
Not everything is PCI(e). We have a lot of SDIO (not any convertibles yet, but we may if we continue to have PCIe-less ARM devices), and there are varieties of custom/integrated Wifi.
,
Nov 10
I'm pretty sure we need to get this in shape for ath10k soon, so I'll claim this. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by diand...@chromium.org
, Nov 8 2017