projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
P2P: Add VHT support
[mech_eap.git]
/
src
/
p2p
/
p2p_utils.c
diff --git
a/src/p2p/p2p_utils.c
b/src/p2p/p2p_utils.c
index
94b5d0b
..
a3dcdeb
100644
(file)
--- a/
src/p2p/p2p_utils.c
+++ b/
src/p2p/p2p_utils.c
@@
-94,6
+94,10
@@
int p2p_channel_to_freq(int op_class, int channel)
if (channel < 149 || channel > 161)
return -1;
return 5000 + 5 * channel;
+ case 128: /* center freqs 42, 58, 106, 122, 138, 155; 80 MHz */
+ if (channel < 36 || channel > 161)
+ return -1;
+ return 5000 + 5 * channel;
}
return -1;
}