commit | 773111d997b42df0a76bf6d2972d0afd63b218fa | [log] [tgz] |
---|---|---|
author | Quang Luong <qal@google.com> | Wed Jun 23 14:21:01 2021 -0700 |
committer | Quang Luong <qal@google.com> | Tue Jun 29 11:46:28 2021 -0700 |
tree | c98a376d6a3c5d3cb27eeb451fce611ea42fdc6d | |
parent | 1d782d403c9941791aaf962234c21ab01b432aa0 [diff] |
Fix CoexUtils.getOffsetChannel not counting by channel step size CoexUtils.getOffsetChannel should return channels counting by the given channel step size. This fixes an issue where a channel step size of 4 (for 5GHz wifi 20MHz channels) would be ignored and channels in-between the step size would be returned, resulting in invalid 5GHz channel numbers. Bug: 191267443 Test: atest CoexUtilsTest Change-Id: I6f98354d2613fbd65e8fa1a056429522b9e108ca