Home | History | Annotate | Download | only in dhdutil

Lines Matching refs:mw

1806 /* Quarter dBm units to mW
1807 * Table starts at QDBM_OFFSET, so the first entry is mW for qdBm=153
1808 * Table is offset so the last entry is largest mW value that fits in
1815 /* Smallest mW value that will round up to the first table entry, QDBM_OFFSET.
1816 * Value is ( mW(QDBM_OFFSET - 1) + mW(QDBM_OFFSET) ) / 2
1820 /* Largest mW value that will round down to the last table entry,
1822 * Value is ( mW(QDBM_OFFSET + QDBM_TABLE_LEN - 1) + mW(QDBM_OFFSET + QDBM_TABLE_LEN) ) / 2.
1842 /* clamp to max uint16 mW value */
1847 * where an offset of 40 qdBm equals a factor of 10 mW.
1854 /* return the mW value scaled down to the correct factor of 10,
1861 bcm_mw_to_qdbm(uint16 mw)
1865 uint mw_uint = mw;
1874 /* move mw into the range of the table */