Fix handling of ht/vht Operation

Current implementation calculation of channel bandwidth and center
frequency from ht/vht operation information element is inaccurate
in some cases.
This commit fixes the reading those information elements and calculation
of channel width and channel center frequencies.

Bug: 142839494
Test: atest com.android.wifi.server
Test: Manual: Make sure that HT/VHT Operation IEs are parsed properly
Change-Id: I7c0e75dd8ed896097d39ab74a7d8f18bfec7e5ea
3 files changed
tree: 29f1b9d23fe69c4ab5ef3da07e5b24ae0b0fef68
  1. service/
  2. PREUPLOAD.cfg