Skip to content
Commit 0d4961b8 authored by Pisit Sawangvonganan's avatar Pisit Sawangvonganan Committed by Alberto Escolar
Browse files

net: wifi_utils: reduce `valid_5g_chans_20mhz` memory footprint



This change reduces the memory footprint by changing the data type of
`valid_5g_chans_20mhz` from `uint16_t` to `uint8_t`.

Additionally, since the maximum channel number for 5GHz Wi-Fi is 177,
it can fit within the `uint8_t` range.

Signed-off-by: default avatarPisit Sawangvonganan <pisit@ndrsolution.com>
parent 398d2975
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment