Handle HE channel width for channel analysis status page and correctly
draw local interface band width.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit
307e385ba19fff36e335d048c45fc8f667129bd8)
if (chan_analysis.offset_tbl[local_wifi.channel] != null && local_wifi.center_chan1) {
var center_channels = [local_wifi.center_chan1],
- chan_width_text = local_wifi.htmode.replace(/(V)*HT/,''),
+ chan_width_text = local_wifi.htmode.replace(/(V)*H[TE]/,''), /* Handle HT VHT HE */
chan_width = parseInt(chan_width_text)/10;
if (local_wifi.center_chan2) {