Home | History | Annotate | Download | only in dhdutil

Lines Matching refs:mw

1696 /* Quarter dBm units to mW
1697 * Table starts at QDBM_OFFSET, so the first entry is mW for qdBm=153
1698 * Table is offset so the last entry is largest mW value that fits in
1705 /* Smallest mW value that will round up to the first table entry, QDBM_OFFSET.
1706 * Value is ( mW(QDBM_OFFSET - 1) + mW(QDBM_OFFSET) ) / 2
1710 /* Largest mW value that will round down to the last table entry,
1712 * Value is ( mW(QDBM_OFFSET + QDBM_TABLE_LEN - 1) + mW(QDBM_OFFSET + QDBM_TABLE_LEN) ) / 2.
1732 /* clamp to max uint16 mW value */
1737 * where an offset of 40 qdBm equals a factor of 10 mW.
1744 /* return the mW value scaled down to the correct factor of 10,
1751 bcm_mw_to_qdbm(uint16 mw)
1755 uint mw_uint = mw;
1764 /* move mw into the range of the table */