wapi: add 5g channel map in wapi
Signed-off-by: liuyang34 <liuyang34@xiaomi.com>
This commit is contained in:
parent
7cbe2db2c9
commit
ab3cca4ae1
@ -365,6 +365,10 @@ static int wapi_scan_event(FAR struct iw_event *event,
|
||||
{
|
||||
info->freq = 2484;
|
||||
}
|
||||
else if (event->u.freq.m >= 36 && event->u.freq.m <= 165)
|
||||
{
|
||||
info->freq = 5000 + 5 * event->u.freq.m;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user