Lines Matching refs:features
436 hdev->features[1][0] |= LMP_HOST_SSP;
438 hdev->features[1][0] &= ~LMP_HOST_SSP;
491 memcpy(hdev->features, rp->features, 8);
493 /* Adjust default settings according to features
496 if (hdev->features[0][0] & LMP_3SLOT)
499 if (hdev->features[0][0] & LMP_5SLOT)
502 if (hdev->features[0][1] & LMP_HV2) {
507 if (hdev->features[0][1] & LMP_HV3) {
515 if (hdev->features[0][4] & LMP_EV4)
518 if (hdev->features[0][4] & LMP_EV5)
521 if (hdev->features[0][5] & LMP_EDR_ESCO_2M)
524 if (hdev->features[0][5] & LMP_EDR_ESCO_3M)
527 if (hdev->features[0][5] & LMP_EDR_3S_ESCO)
530 BT_DBG("%s features 0x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x", hdev->name,
531 hdev->features[0][0], hdev->features[0][1],
532 hdev->features[0][2], hdev->features[0][3],
533 hdev->features[0][4], hdev->features[0][5],
534 hdev->features[0][6], hdev->features[0][7]);
550 memcpy(hdev->features[rp->page], rp->features, 8);
821 memcpy(hdev->le_features, rp->features, 8);
1045 hdev->features[1][0] |= LMP_HOST_LE;
1047 hdev->features[1][0] &= ~LMP_HOST_LE;
1050 hdev->features[1][0] |= LMP_HOST_LE_BREDR;
1052 hdev->features[1][0] &= ~LMP_HOST_LE_BREDR;
1713 /* Get remote features */
2086 memcpy(conn->features[0], ev->features, 8);
2899 memcpy(conn->features[ev->page], ev->features, 8);
2906 ie->data.ssp_mode = (ev->features[0] & LMP_HOST_SSP);
2908 if (ev->features[0] & LMP_HOST_SSP) {
2918 * features do not indicate SSP support */
3368 memcpy(conn->features[1], ev->features, 8);
3372 ie->data.ssp_mode = (ev->features[0] & LMP_HOST_SSP);