• Home
  • Raw
  • Download

Lines Matching refs:params

31 	struct ieee802154_llsec_params params;  in mac802154_mlme_start_req()  local
42 params.pan_id = addr->pan_id; in mac802154_mlme_start_req()
45 params.hwaddr = ieee802154_devaddr_from_raw(dev->dev_addr); in mac802154_mlme_start_req()
48 params.coord_hwaddr = params.hwaddr; in mac802154_mlme_start_req()
51 params.coord_shortaddr = addr->short_addr; in mac802154_mlme_start_req()
54 return mac802154_set_params(dev, &params, changed); in mac802154_mlme_start_req()
58 const struct ieee802154_mac_params *params) in mac802154_set_mac_params() argument
68 wpan_dev->wpan_phy->transmit_power = params->transmit_power; in mac802154_set_mac_params()
69 wpan_dev->wpan_phy->cca = params->cca; in mac802154_set_mac_params()
70 wpan_dev->wpan_phy->cca_ed_level = params->cca_ed_level; in mac802154_set_mac_params()
73 wpan_dev->min_be = params->min_be; in mac802154_set_mac_params()
74 wpan_dev->max_be = params->max_be; in mac802154_set_mac_params()
75 wpan_dev->csma_retries = params->csma_retries; in mac802154_set_mac_params()
76 wpan_dev->frame_retries = params->frame_retries; in mac802154_set_mac_params()
77 wpan_dev->lbt = params->lbt; in mac802154_set_mac_params()
80 ret = drv_set_tx_power(local, params->transmit_power); in mac802154_set_mac_params()
86 ret = drv_set_cca_mode(local, &params->cca); in mac802154_set_mac_params()
92 ret = drv_set_cca_ed_level(local, params->cca_ed_level); in mac802154_set_mac_params()
101 struct ieee802154_mac_params *params) in mac802154_get_mac_params() argument
109 params->transmit_power = wpan_dev->wpan_phy->transmit_power; in mac802154_get_mac_params()
110 params->cca = wpan_dev->wpan_phy->cca; in mac802154_get_mac_params()
111 params->cca_ed_level = wpan_dev->wpan_phy->cca_ed_level; in mac802154_get_mac_params()
114 params->min_be = wpan_dev->min_be; in mac802154_get_mac_params()
115 params->max_be = wpan_dev->max_be; in mac802154_get_mac_params()
116 params->csma_retries = wpan_dev->csma_retries; in mac802154_get_mac_params()
117 params->frame_retries = wpan_dev->frame_retries; in mac802154_get_mac_params()
118 params->lbt = wpan_dev->lbt; in mac802154_get_mac_params()