}
static int
-ieee802154_set_channel(struct wpan_phy *wpan_phy, const u8 page,
- const u8 channel)
+ieee802154_set_channel(struct wpan_phy *wpan_phy, u8 page, u8 channel)
{
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
int ret;
return ret;
}
-static int ieee802154_set_pan_id(struct wpan_phy *wpan_phy,
- struct wpan_dev *wpan_dev, const u16 pan_id)
+static int
+ieee802154_set_pan_id(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
+ u16 pan_id)
{
ASSERT_RTNL();
static int
ieee802154_set_backoff_exponent(struct wpan_phy *wpan_phy,
struct wpan_dev *wpan_dev,
- const u8 min_be, const u8 max_be)
+ u8 min_be, u8 max_be)
{
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
static int
ieee802154_set_short_addr(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
- const u16 short_addr)
+ u16 short_addr)
{
ASSERT_RTNL();
return 0;
}
-static int ieee802154_set_max_csma_backoffs(struct wpan_phy *wpan_phy,
- struct wpan_dev *wpan_dev,
- const u8 max_csma_backoffs)
+static int
+ieee802154_set_max_csma_backoffs(struct wpan_phy *wpan_phy,
+ struct wpan_dev *wpan_dev,
+ u8 max_csma_backoffs)
{
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
return 0;
}
-static int ieee802154_set_max_frame_retries(struct wpan_phy *wpan_phy,
- struct wpan_dev *wpan_dev,
- const s8 max_frame_retries)
+static int
+ieee802154_set_max_frame_retries(struct wpan_phy *wpan_phy,
+ struct wpan_dev *wpan_dev,
+ s8 max_frame_retries)
{
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
return 0;
}
-static int ieee802154_set_lbt_mode(struct wpan_phy *wpan_phy,
- struct wpan_dev *wpan_dev,
- const bool mode)
+static int
+ieee802154_set_lbt_mode(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
+ bool mode)
{
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);