commit | 7b4b40a60febc4f5474b8f3620438e3565a96a37 | [log] [tgz] |
---|---|---|
author | Ahmed ElArabawy <arabawy@google.com> | Thu Jan 02 08:55:38 2020 -0800 |
committer | Ahmed ElArabawy <arabawy@google.com> | Thu Jan 09 21:39:26 2020 +0000 |
tree | 8ee7cae3e28aaf13da497494fcbc4959473156c0 | |
parent | a390f2952b330b42f89030ae17ba10648b21f827 [diff] |
Write the op_class in hostapd.conf file With the addition of 6GHz band, channel number is no longer sufficient to identify a channel since 6GHz band channels use same numbers as 2.4/5GHz bands. Hence, for SoftAp with no ACS, the channel number in hostapd.conf needs to be coupled with an op_class attribute. This commit calculates the op_class for the channel number, and pass it in the hostapd.conf. Bug: 146186687 Test: Manual Change-Id: I69ee3cc89c19d825eb5076b0a14f770a1385a859