commit | a0cfc1491fa463366620e2a02eb10bbe943bc83e | [log] [tgz] |
---|---|---|
author | Kai Shi <kaishi@google.com> | Wed Sep 16 20:05:13 2020 -0700 |
committer | Kai Shi <kaishi@google.com> | Thu Sep 17 09:21:06 2020 -0700 |
tree | d5afa90e911f37f74a6e03bffa68b7f6a7472e2b | |
parent | 8863d83b4bc238211d442c013cc776d1b0344c94 [diff] |
Bug fix of 6GHz band channelization Add the special case of 6G band channel 2. Bug: 167426957 Test: manual test with 6GHz capable STA and AP Change-Id: I0a74591d9102f76b2c3ab13b181825314eb82b92
diff --git a/hostapd/hidl/1.3/hostapd.cpp b/hostapd/hidl/1.3/hostapd.cpp index 908473d..aa16e8c 100644 --- a/hostapd/hidl/1.3/hostapd.cpp +++ b/hostapd/hidl/1.3/hostapd.cpp
@@ -196,6 +196,10 @@ // 160MHz channel return 134; } + if (channel == 2) { + // 20MHz channel + return 136; + } // Error return 0; }