Thread (6 messages) 6 messages, 3 authors, 2014-05-27

Re: [regdb] Add support to parse 2000mW tx power

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2014-05-26 09:38:23
Also in: wireless-regdb

On Mon, 2014-05-26 at 13:09 +0530, chaitanya.mgit@gmail.com wrote:
quoted hunk ↗ jump to hunk
@@ -74,7 +74,7 @@ function parse_reg_rule()
 			power = 23
 		} else if (power == 500) {
 			power = 27
-		} else if (power == 1000) {
+		} else if ((power == 1000) || (power == 2000)) {
 			power = 30
This seems like a pretty sick thing to do to start with, and certainly
power=30 isn't right for 2000mW...

Can't awk calculate the logarithm?

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help