Home
last modified time | relevance | path

Searched refs:rej (Results 1 – 3 of 3) sorted by relevance

/net/bluetooth/
Da2mp.c106 struct a2mp_cmd_rej *rej = (void *) skb->data; in a2mp_command_rej() local
108 if (le16_to_cpu(hdr->len) < sizeof(*rej)) in a2mp_command_rej()
111 BT_DBG("ident %d reason %d", hdr->ident, le16_to_cpu(rej->reason)); in a2mp_command_rej()
113 skb_pull(skb, sizeof(*rej)); in a2mp_command_rej()
650 struct a2mp_cmd_rej rej; in a2mp_chan_recv_cb() local
652 rej.reason = cpu_to_le16(0); in a2mp_chan_recv_cb()
657 a2mp_send(mgr, A2MP_COMMAND_REJ, hdr->ident, sizeof(rej), in a2mp_chan_recv_cb()
658 &rej); in a2mp_chan_recv_cb()
Dl2cap_core.c3716 struct l2cap_cmd_rej_unk *rej = (struct l2cap_cmd_rej_unk *) data; in l2cap_command_rej() local
3718 if (cmd_len < sizeof(*rej)) in l2cap_command_rej()
3721 if (rej->reason != L2CAP_REJ_NOT_UNDERSTOOD) in l2cap_command_rej()
3996 struct l2cap_cmd_rej_cid rej; in cmd_reject_invalid_cid() local
3998 rej.reason = cpu_to_le16(L2CAP_REJ_INVALID_CID); in cmd_reject_invalid_cid()
3999 rej.scid = __cpu_to_le16(scid); in cmd_reject_invalid_cid()
4000 rej.dcid = __cpu_to_le16(dcid); in cmd_reject_invalid_cid()
4002 l2cap_send_cmd(conn, ident, L2CAP_COMMAND_REJ, sizeof(rej), &rej); in cmd_reject_invalid_cid()
5531 struct l2cap_cmd_rej_unk *rej = (struct l2cap_cmd_rej_unk *) data; in l2cap_le_command_rej() local
5534 if (cmd_len < sizeof(*rej)) in l2cap_le_command_rej()
[all …]
Dmgmt.c1325 struct hci_cp_reject_conn_req rej; in clean_up_hci_state() local
1343 bacpy(&rej.bdaddr, &conn->dst); in clean_up_hci_state()
1344 rej.reason = 0x15; /* Terminated due to Power Off */ in clean_up_hci_state()
1347 sizeof(rej), &rej); in clean_up_hci_state()
1350 sizeof(rej), &rej); in clean_up_hci_state()