Home
last modified time | relevance | path

Searched refs:bdaddr (Results 1 – 22 of 22) sorted by relevance

/linux-2.6.39/include/net/bluetooth/
Dmgmt.h52 bdaddr_t bdaddr; member
95 bdaddr_t bdaddr; member
110 bdaddr_t bdaddr; member
116 bdaddr_t bdaddr; member
119 bdaddr_t bdaddr; member
130 bdaddr_t bdaddr; member
135 bdaddr_t bdaddr; member
141 bdaddr_t bdaddr; member
151 bdaddr_t bdaddr; member
155 bdaddr_t bdaddr; member
[all …]
Dhci.h265 bdaddr_t bdaddr; member
287 bdaddr_t bdaddr; member
292 bdaddr_t bdaddr; member
298 bdaddr_t bdaddr; member
304 bdaddr_t bdaddr; member
310 bdaddr_t bdaddr; member
315 bdaddr_t bdaddr; member
321 bdaddr_t bdaddr; member
326 bdaddr_t bdaddr; member
330 bdaddr_t bdaddr; member
[all …]
Dhci_core.h36 bdaddr_t bdaddr; member
68 bdaddr_t bdaddr; member
79 bdaddr_t bdaddr; member
96 bdaddr_t bdaddr; member
296 struct inquiry_entry *hci_inquiry_cache_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr);
497 struct bdaddr_list *hci_blacklist_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr);
503 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr);
504 int hci_add_link_key(struct hci_dev *hdev, int new_key, bdaddr_t *bdaddr,
506 int hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr);
542 int (*connect_ind) (struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 type);
[all …]
Dsmp.h53 bdaddr_t bdaddr; member
/linux-2.6.39/drivers/staging/ath6kl/miscdrv/ar3kps/
Dar3kpsconfig.c70 extern char *bdaddr;
73 int write_bdaddr(struct ar3k_config_info *pConfig,u8 *bdaddr,int type);
290 if(bdaddr && bdaddr[0] !='\0') { in PSSendOps()
291 write_bdaddr(hdev,bdaddr,BDADDR_TYPE_STRING); in PSSendOps()
330 if(hdev->bdaddr[0] !=0x00 || in PSSendOps()
331 hdev->bdaddr[1] !=0x00 || in PSSendOps()
332 hdev->bdaddr[2] !=0x00 || in PSSendOps()
333 hdev->bdaddr[3] !=0x00 || in PSSendOps()
334 hdev->bdaddr[4] !=0x00 || in PSSendOps()
335 hdev->bdaddr[5] !=0x00) in PSSendOps()
[all …]
/linux-2.6.39/net/bluetooth/
Dmgmt.c200 bacpy(&rp.bdaddr, &hdev->bdaddr); in read_controller_info()
789 hci_add_link_key(hdev, 0, &key->bdaddr, key->val, key->type, in load_keys()
817 err = hci_remove_link_key(hdev, &cp->bdaddr); in remove_key()
828 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); in remove_key()
876 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); in disconnect()
986 bacpy(&reply.bdaddr, &cp->bdaddr); in pin_code_reply()
1037 err = hci_send_cmd(hdev, HCI_OP_PIN_CODE_NEG_REPLY, sizeof(cp->bdaddr), in pin_code_neg_reply()
1038 &cp->bdaddr); in pin_code_neg_reply()
1109 bacpy(&rp.bdaddr, &conn->dst); in pairing_complete()
1169 conn = hci_connect(hdev, ACL_LINK, &cp->bdaddr, sec_level, auth_type); in pair_device()
[all …]
Dhci_event.c686 bacpy(&hdev->bdaddr, &rp->bdaddr); in hci_cc_read_bd_addr()
757 mgmt_pin_code_reply_complete(hdev->id, &rp->bdaddr, rp->status); in hci_cc_pin_code_reply()
766 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); in hci_cc_pin_code_reply()
778 mgmt_pin_code_neg_reply_complete(hdev->id, &rp->bdaddr, in hci_cc_pin_code_neg_reply()
808 mgmt_user_confirm_reply_complete(hdev->id, &rp->bdaddr, in hci_cc_user_confirm_reply()
820 mgmt_user_confirm_neg_reply_complete(hdev->id, &rp->bdaddr, in hci_cc_user_confirm_neg_reply()
849 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); in hci_cs_create_conn()
851 BT_DBG("%s bdaddr %s conn %p", hdev->name, batostr(&cp->bdaddr), conn); in hci_cs_create_conn()
864 conn = hci_conn_add(hdev, ACL_LINK, &cp->bdaddr); in hci_cs_create_conn()
1001 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); in hci_cs_remote_name_req()
[all …]
Dhci_sock.c183 struct bdaddr_list *hci_blacklist_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_blacklist_lookup() argument
192 if (bacmp(bdaddr, &b->bdaddr) == 0) in hci_blacklist_lookup()
201 bdaddr_t bdaddr; in hci_blacklist_add() local
204 if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) in hci_blacklist_add()
207 if (bacmp(&bdaddr, BDADDR_ANY) == 0) in hci_blacklist_add()
210 if (hci_blacklist_lookup(hdev, &bdaddr)) in hci_blacklist_add()
217 bacpy(&entry->bdaddr, &bdaddr); in hci_blacklist_add()
242 bdaddr_t bdaddr; in hci_blacklist_del() local
245 if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) in hci_blacklist_del()
248 if (bacmp(&bdaddr, BDADDR_ANY) == 0) in hci_blacklist_del()
[all …]
Dhci_core.c265 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_init_req()
357 struct inquiry_entry *hci_inquiry_cache_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_inquiry_cache_lookup() argument
362 BT_DBG("cache %p, %s", cache, batostr(bdaddr)); in hci_inquiry_cache_lookup()
365 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup()
375 BT_DBG("cache %p, %s", cache, batostr(&data->bdaddr)); in hci_inquiry_cache_update()
377 ie = hci_inquiry_cache_lookup(hdev, &data->bdaddr); in hci_inquiry_cache_update()
402 bacpy(&info->bdaddr, &data->bdaddr); in inquiry_cache_dump()
864 di.bdaddr = hdev->bdaddr; in hci_get_dev_info()
1008 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key() argument
1017 if (bacmp(bdaddr, &k->bdaddr) == 0) in hci_find_link_key()
[all …]
Dhci_conn.c93 bacpy(&cp.bdaddr, &conn->dst); in hci_acl_connect()
127 bacpy(&cp.bdaddr, &conn->dst); in hci_acl_connect_cancel()
403 if (!bacmp(&d->bdaddr, src)) { in hci_get_route()
407 if (bacmp(&d->bdaddr, dst)) { in hci_get_route()
594 bacpy(&cp.bdaddr, &conn->dst); in hci_conn_switch_role()
748 bacpy(&(ci + n)->bdaddr, &c->dst); in hci_get_conn_list()
782 conn = hci_conn_hash_lookup_ba(hdev, req.type, &req.bdaddr); in hci_get_conn_info()
784 bacpy(&ci.bdaddr, &conn->dst); in hci_get_conn_info()
808 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &req.bdaddr); in hci_get_auth_info()
Dhci_sysfs.c239 return sprintf(buf, "%s\n", batostr(&hdev->bdaddr)); in show_address()
408 batostr(&data->bdaddr), in inquiry_cache_show()
445 seq_printf(f, "%s\n", batostr(&b->bdaddr)); in blacklist_show()
Dsco.c115 conn->src = &hdev->bdaddr; in sco_conn_add()
882 static int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 type) in sco_connect_ind() argument
891 BT_DBG("hdev %s, bdaddr %s", hdev->name, batostr(bdaddr)); in sco_connect_ind()
899 if (!bacmp(&bt_sk(sk)->src, &hdev->bdaddr) || in sco_connect_ind()
Dl2cap_core.c752 conn->src = &hcon->hdev->bdaddr; in l2cap_conn_add()
3688 static int l2cap_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type) in l2cap_connect_ind() argument
3697 BT_DBG("hdev %s, bdaddr %s", hdev->name, batostr(bdaddr)); in l2cap_connect_ind()
3705 if (!bacmp(&bt_sk(sk)->src, &hdev->bdaddr)) { in l2cap_connect_ind()
/linux-2.6.39/net/bluetooth/cmtp/
Dcmtp.h45 bdaddr_t bdaddr; member
50 bdaddr_t bdaddr; member
75 bdaddr_t bdaddr; member
Dcore.c52 static struct cmtp_session *__cmtp_get_session(bdaddr_t *bdaddr) in __cmtp_get_session() argument
61 if (!bacmp(bdaddr, &session->bdaddr)) in __cmtp_get_session()
82 bacpy(&ci->bdaddr, &session->bdaddr); in __cmtp_copy_session()
344 bacpy(&session->bdaddr, &bt_sk(sock->sk)->dst); in cmtp_add_connection()
404 session = __cmtp_get_session(&req->bdaddr); in cmtp_del_connection()
459 session = __cmtp_get_session(&ci->bdaddr); in cmtp_get_conninfo()
/linux-2.6.39/net/bluetooth/hidp/
Dhidp.h103 bdaddr_t bdaddr; member
108 bdaddr_t bdaddr; member
136 bdaddr_t bdaddr; member
Dcore.c78 static struct hidp_session *__hidp_get_session(bdaddr_t *bdaddr) in __hidp_get_session() argument
87 if (!bacmp(bdaddr, &session->bdaddr)) in __hidp_get_session()
112 bacpy(&ci->bdaddr, &session->bdaddr); in __hidp_copy_session()
990 bacpy(&session->bdaddr, &bt_sk(ctrl_sock->sk)->dst); in hidp_add_connection()
1098 session = __hidp_get_session(&req->bdaddr); in hidp_del_connection()
1163 session = __hidp_get_session(&ci->bdaddr); in hidp_get_conninfo()
/linux-2.6.39/drivers/staging/ath6kl/include/
Dar3kconfig.h54 u8 bdaddr[6]; /* Bluetooth device address */ member
/linux-2.6.39/drivers/staging/ath6kl/os/linux/
Dhci_bridge.c305 memcpy(ar3kconfig.bdaddr,pHcidevInfo->ar->bdaddr,6); in ar6000_hci_transport_ready()
Dar6000_drv.c1172 … if (BMIReadMemory(ar->arHifDevice, address + BDATA_BDADDR_OFFSET, (u8 *)ar->bdaddr, 6) != 0) in ar6000_update_bdaddr()
1177 AR_DEBUG_PRINTF(ATH_DEBUG_ERR,("BDADDR 0x%x:0x%x:0x%x:0x%x:0x%x:0x%x\n", ar->bdaddr[0], in ar6000_update_bdaddr()
1178 ar->bdaddr[1], ar->bdaddr[2], ar->bdaddr[3], in ar6000_update_bdaddr()
1179 ar->bdaddr[4], ar->bdaddr[5])); in ar6000_update_bdaddr()
/linux-2.6.39/drivers/staging/ath6kl/os/linux/include/
Dar6000_drv.h620 u8 bdaddr[6]; member
/linux-2.6.39/net/bluetooth/rfcomm/
Dcore.c2065 s = rfcomm_session_get(&conn->hdev->bdaddr, &conn->dst); in rfcomm_security_cfm()