Lines Matching full:features
66 struct bt_gmap_feat features) in gmap_discover_cb() argument
76 conn, role, features.ugg_feat, features.ugt_feat, features.bgs_feat, in gmap_discover_cb()
77 features.bgr_feat); in gmap_discover_cb()
84 static void set_gmap_features(struct bt_gmap_feat *features) in set_gmap_features() argument
86 memset(features, 0, sizeof(*features)); in set_gmap_features()
90 features->ugg_feat |= (BT_GMAP_UGG_FEAT_MULTIPLEX | BT_GMAP_UGG_FEAT_96KBPS_SOURCE); in set_gmap_features()
93 features->ugg_feat |= BT_GMAP_UGG_FEAT_MULTISINK; in set_gmap_features()
100 features->ugt_feat |= (BT_GMAP_UGT_FEAT_SOURCE | BT_GMAP_UGT_FEAT_80KBPS_SOURCE); in set_gmap_features()
102 features->ugt_feat |= BT_GMAP_UGT_FEAT_MULTISOURCE; in set_gmap_features()
106 features->ugt_feat |= (BT_GMAP_UGT_FEAT_SINK | BT_GMAP_UGT_FEAT_64KBPS_SINK); in set_gmap_features()
108 features->ugt_feat |= BT_GMAP_UGT_FEAT_MULTISINK; in set_gmap_features()
114 features->bgs_feat |= BT_GMAP_BGS_FEAT_96KBPS; in set_gmap_features()
118 features->bgr_feat |= BT_GMAP_BGR_FEAT_MULTISINK; in set_gmap_features()
120 features->bgr_feat |= BT_GMAP_BGR_FEAT_MULTIPLEX; in set_gmap_features()
127 struct bt_gmap_feat features; in cmd_gmap_init() local
135 set_gmap_features(&features); in cmd_gmap_init()
137 err = bt_gmap_register(gmap_role, features); in cmd_gmap_init()
157 struct bt_gmap_feat features; in cmd_gmap_set_role() local
179 set_gmap_features(&features); in cmd_gmap_set_role()
181 err = bt_gmap_set_role(role, features); in cmd_gmap_set_role()