Lines Matching refs:dir_adv
978 bool dir_adv = (param->peer != NULL), scannable = false; in bt_le_adv_start_legacy() local
1011 err = bt_id_set_adv_own_addr(adv, param->options, dir_adv, in bt_le_adv_start_legacy()
1017 if (dir_adv) { in bt_le_adv_start_legacy()
1026 if (dir_adv) { in bt_le_adv_start_legacy()
1058 if (!dir_adv) { in bt_le_adv_start_legacy()
1070 if (err == -ENOMEM && !dir_adv && in bt_le_adv_start_legacy()
1100 atomic_set_bit_to(adv->flags, BT_ADV_PERSIST, !dir_adv && in bt_le_adv_start_legacy()
1125 bool dir_adv = param->peer != NULL, scannable; in le_ext_adv_param_set() local
1141 err = bt_id_set_adv_own_addr(adv, param->options, dir_adv, in le_ext_adv_param_set()
1148 if (dir_adv) { in le_ext_adv_param_set()
1194 if (!dir_adv && !(param->options & BT_LE_ADV_OPT_EXT_ADV)) { in le_ext_adv_param_set()
1211 if (dir_adv) { in le_ext_adv_param_set()
1279 bool dir_adv = (param->peer != NULL); in bt_le_adv_start_ext() local
1301 if (!dir_adv) { in bt_le_adv_start_ext()
1320 if (err == -ENOMEM && !dir_adv && in bt_le_adv_start_ext()
1351 atomic_set_bit_to(adv->flags, BT_ADV_PERSIST, !dir_adv && in bt_le_adv_start_ext()
1515 bool dir_adv = adv_is_directed(adv); in bt_le_adv_resume() local
1519 err = bt_id_set_adv_own_addr(adv, options, dir_adv, &own_addr_type); in bt_le_adv_resume()