net: convert to using newly introduced integer sized types
Convert code to use u{8,16,32,64}_t and s{8,16,32,64}_t instead of C99
integer types.
Jira: ZEP-2051
Change-Id: I4ec03eb2183d59ef86ea2c20d956e5d272656837
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
diff --git a/include/net/ieee802154_radio.h b/include/net/ieee802154_radio.h
index 6d29ccd..c2344da 100644
--- a/include/net/ieee802154_radio.h
+++ b/include/net/ieee802154_radio.h
@@ -28,19 +28,19 @@
int (*cca)(struct device *dev);
/** Set current channel */
- int (*set_channel)(struct device *dev, uint16_t channel);
+ int (*set_channel)(struct device *dev, u16_t channel);
/** Set current PAN id */
- int (*set_pan_id)(struct device *dev, uint16_t pan_id);
+ int (*set_pan_id)(struct device *dev, u16_t pan_id);
/** Set current device's short address */
- int (*set_short_addr)(struct device *dev, uint16_t short_addr);
+ int (*set_short_addr)(struct device *dev, u16_t short_addr);
/** Set current devices's full length address */
- int (*set_ieee_addr)(struct device *dev, const uint8_t *ieee_addr);
+ int (*set_ieee_addr)(struct device *dev, const u8_t *ieee_addr);
/** Set TX power level in dbm */
- int (*set_txpower)(struct device *dev, int16_t dbm);
+ int (*set_txpower)(struct device *dev, s16_t dbm);
/** Transmit a packet fragment */
int (*tx)(struct device *dev,
@@ -54,7 +54,7 @@
int (*stop)(struct device *dev);
/** Get latest Link Quality Information */
- uint8_t (*get_lqi)(struct device *dev);
+ u8_t (*get_lqi)(struct device *dev);
} __packed;
/**