Skip to content

Channel width display, wide channel rule, and mobile UI fixes#380

Merged
tvancott42 merged 11 commits intodevfrom
bugfix/channel-map-margin
Feb 28, 2026
Merged

Channel width display, wide channel rule, and mobile UI fixes#380
tvancott42 merged 11 commits intodevfrom
bugfix/channel-map-margin

Conversation

@tvancott42
Copy link
Collaborator

@tvancott42 tvancott42 commented Feb 28, 2026

Summary

  • Client channel width - Shows the client's negotiated Wi-Fi channel width (20/40/80/160/320 MHz) in the Client Dashboard identity bar, Wi-Fi Optimizer Client Timeline, and Signal History table. Uses the per-client channel_width from stat/sta, not the AP's radio config.
  • Wide channel width rule - New Wi-Fi Optimizer rule that flags 6 GHz 320 MHz (unconditional info - narrowing to 160 MHz improves performance and co-channel separation) and 5/6 GHz 160 MHz with weak-signal clients (warning - suggest narrowing to 80 MHz).
  • Mobile layout - Hides Ping and Type columns in the speed test table on mobile.
  • Speed test time format - Uses time-only format for today's entries, date+time for older.
  • Channel Map CSS - Removes extra margin from channel-aps and channel-metrics boxes.

Test plan

  • Verify channel width shows correctly in Client Dashboard identity bar (e.g., "Ch 108 - 80 MHz")
  • Verify channel width in Wi-Fi Optimizer Client Timeline
  • Verify signal history table shows channel width for locally-logged entries only (not historic UniFi entries)
  • Run Wi-Fi Optimizer and check wide channel width rule fires for 160+ MHz radios
  • Check mobile layout hides Ping/Type columns in speed test table
  • Verify Channel Map boxes have no extra margin

New Wi-Fi Optimizer rule flags 6 GHz 320 MHz (unconditional) and
5/6 GHz 160 MHz with weak signal clients. Escalates from Info to
Warning when clients have poor signal.
Store client channel width in signal logs (with migration) and display
it alongside channel number in the Signal Log table.
The stat/report API's channel_info_most_common returns the AP's
radio width, not the client's negotiated width. Only locally-logged
entries from stat/sta have the real client channel width.
"can improve performance on some devices" rather than "often improves"
6 GHz 160 MHz is fine - less co-channel interference than 5 GHz.
Only flag 5 GHz >= 160 MHz (covers 160 and 240) when clients have
weak signal. 6 GHz 320 MHz remains unconditional (info or warning).
-75 dBm weak signal, 35% weak client ratio, min 3 clients.
Correct UniFi navigation: Settings > WiFi > Default WiFi Speeds >
Channel Width, Save and Apply to All APs.
@tvancott42 tvancott42 merged commit df4fa92 into dev Feb 28, 2026
@tvancott42 tvancott42 deleted the bugfix/channel-map-margin branch February 28, 2026 23:08
@tvancott42 tvancott42 mentioned this pull request Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant