Home
last modified time | relevance | path

Searched refs:sec_level (Results 1 – 25 of 44) sorted by relevance

12

/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/src/
Dcentral.c67 static int l2cap_server_register(bt_security_t sec_level) in l2cap_server_register() argument
72 test_l2cap_server.sec_level = sec_level; in l2cap_server_register()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/dut/src/
Ddut.c97 static int l2cap_server_register(bt_security_t sec_level) in l2cap_server_register() argument
102 test_l2cap_server.sec_level = sec_level; in l2cap_server_register()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/dut/src/
Dmain.c111 static int l2cap_server_register(bt_security_t sec_level) in l2cap_server_register() argument
114 test_l2cap_server.sec_level = sec_level; in l2cap_server_register()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsco_internal.h89 bt_security_t sec_level; member
Dsco.c51 if (server->sec_level > BT_SECURITY_L3) { in bt_sco_server_register()
136 if (conn->sec_level >= sco_server->sec_level) { in sco_server_check_security()
Dbr.c140 if (conn->sec_level == BT_SECURITY_L4) { in br_sufficient_key_size()
150 conn->sec_level = BT_SECURITY_L1; in bt_br_update_sec_level()
157 conn->sec_level = BT_SECURITY_L4; in bt_br_update_sec_level()
159 conn->sec_level = BT_SECURITY_L3; in bt_br_update_sec_level()
162 conn->sec_level = BT_SECURITY_L2; in bt_br_update_sec_level()
166 conn->sec_level = BT_SECURITY_L2; in bt_br_update_sec_level()
175 if (conn->required_sec_level > conn->sec_level) { in bt_br_update_sec_level()
Davctp.c230 .sec_level = BT_SECURITY_L2, in bt_avctp_init()
Dl2cap_br.c817 chan->conn->sec_level >= br_chan->required_sec_level) { in l2cap_br_conn_security()
1015 if (server->sec_level != BT_SECURITY_L0 && in l2cap_br_conn_req()
1048 br_chan->required_sec_level = server->sec_level; in l2cap_br_conn_req()
1165 if (server->sec_level > BT_SECURITY_L4) { in bt_l2cap_br_server_register()
1167 } else if (server->sec_level == BT_SECURITY_L0 && in bt_l2cap_br_server_register()
1169 server->sec_level = BT_SECURITY_L1; in bt_l2cap_br_server_register()
/Zephyr-latest/include/zephyr/drivers/sensor/
Dgrow_r502a.h54 uint16_t sec_level; member
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits/src/
Dmain.c156 static int l2cap_server_register(bt_security_t sec_level) in l2cap_server_register() argument
159 test_l2cap_server.sec_level = sec_level; in l2cap_server_register()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/src/
Dmain.c165 static int l2cap_server_register(bt_security_t sec_level) in l2cap_server_register() argument
170 test_l2cap_server.sec_level = sec_level; in l2cap_server_register()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/many_conns/src/
Dmain.c183 static int l2cap_server_register(bt_security_t sec_level) in l2cap_server_register() argument
186 test_l2cap_server.sec_level = sec_level; in l2cap_server_register()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/stress/src/
Dmain.c238 static int l2cap_server_register(bt_security_t sec_level) in l2cap_server_register() argument
241 test_l2cap_server.sec_level = sec_level; in l2cap_server_register()
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/
Dcis_peripheral.c106 .sec_level = BT_SECURITY_L2, in init()
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/
Dl2cap.rst14 L2CAP psm 41 sec_level 1 registered
/Zephyr-latest/samples/bluetooth/iso_peripheral/src/
Dmain.c153 .sec_level = BT_SECURITY_L1,
/Zephyr-latest/doc/connectivity/bluetooth/api/
Dl2cap.rst30 listen to, the required security level ``sec_level``, and the callback
/Zephyr-latest/include/zephyr/bluetooth/
Dl2cap.h507 bt_security_t sec_level; member
Diso.h765 bt_security_t sec_level; member
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/
Dmain_l2cap_send_on_connect.c89 .sec_level = BT_SECURITY_L1,
/Zephyr-latest/subsys/bluetooth/host/
Dl2cap.c1182 if (server->sec_level > BT_SECURITY_L4) { in bt_l2cap_server_register()
1184 } else if (server->sec_level < BT_SECURITY_L1) { in bt_l2cap_server_register()
1186 server->sec_level = BT_SECURITY_L1; in bt_l2cap_server_register()
1386 le_chan->required_sec_level = server->sec_level; in l2cap_chan_accept()
1418 if (conn->sec_level >= server->sec_level) { in l2cap_check_security()
1422 if (conn->sec_level > BT_SECURITY_L1) { in l2cap_check_security()
1861 if (conn->sec_level >= BT_SECURITY_L2) { in l2cap_change_security()
1868 if (conn->sec_level < BT_SECURITY_L2) { in l2cap_change_security()
1870 } else if (conn->sec_level < BT_SECURITY_L3) { in l2cap_change_security()
1872 } else if (conn->sec_level < BT_SECURITY_L4) { in l2cap_change_security()
[all …]
/Zephyr-latest/subsys/bluetooth/host/shell/
Dl2cap.c254 server.sec_level = strtoul(argv[2], NULL, 10); in cmd_register()
275 server.psm, server.sec_level); in cmd_register()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/userdata/src/
Dmain_l2cap_userdata.c84 .sec_level = BT_SECURITY_L1,
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_l2cap.c548 server->sec_level = BT_SECURITY_L3; in listen()
551 server->sec_level = BT_SECURITY_L2; in listen()
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_gap.h392 uint8_t sec_level; member

12