ieee802154: change transmit power to mbm
This patch change the handling of transmit power level from dbm to mbm. This prepares to handle floating point transmit power levels values. The old netlink 802.15.4 will convert the dbm value to mbm for handling backward compatibility. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:

committed by
Marcel Holtmann

parent
1a19cb680b
commit
e2eb173aaa
@@ -85,6 +85,7 @@ struct wpan_phy {
|
||||
u8 current_channel;
|
||||
u8 current_page;
|
||||
u32 channels_supported[IEEE802154_MAX_PAGE + 1];
|
||||
/* current transmit_power in mBm */
|
||||
s32 transmit_power;
|
||||
struct wpan_phy_cca cca;
|
||||
|
||||
|
Reference in New Issue
Block a user