mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
ieee802154: change transmit power to s32
This patch change the transmit power from s8 to s32. This prepares to store a mbm value instead dbm inside the transmit power variable. The old interface keep the a s8 dbm value, which should be backward compatibility when assign s8 to s32. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
673692faf3
commit
1a19cb680b
5 changed files with 7 additions and 7 deletions
|
@ -85,7 +85,7 @@ struct wpan_phy {
|
|||
u8 current_channel;
|
||||
u8 current_page;
|
||||
u32 channels_supported[IEEE802154_MAX_PAGE + 1];
|
||||
s8 transmit_power;
|
||||
s32 transmit_power;
|
||||
struct wpan_phy_cca cca;
|
||||
|
||||
__le64 perm_extended_addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue