Lines Matching +full:cs +full:- +full:interval

5  * SPDX-License-Identifier: Apache-2.0
69 #define PDU_AC_EXT_AD_DATA_LEN_MAX (PDU_AC_PAYLOAD_SIZE_MAX - \
228 #define PDU_ADV_AUX_PTR_OFFSET_GET(aux_ptr) ((aux_ptr)->offs_phy_packed[0] | \
229 (((aux_ptr)->offs_phy_packed[1] & 0x1F) << 8))
230 #define PDU_ADV_AUX_PTR_PHY_GET(aux_ptr) (((aux_ptr)->offs_phy_packed[1] >> 5) & 0x07)
233 #define PDU_ADV_SYNC_INFO_OFFSET_GET(si) ((si)->offs_packed[0] | \
234 (((si)->offs_packed[1] & 0x1F) << 8))
235 #define PDU_ADV_SYNC_INFO_OFFS_UNITS_GET(si) (((si)->offs_packed[1] >> 5) & 0x01)
236 #define PDU_ADV_SYNC_INFO_OFFS_ADJUST_GET(si) (((si)->offs_packed[1] >> 6) & 0x01)
239 (si)->offs_packed[0] = (offs) & 0xFF; \
240 (si)->offs_packed[1] = (((offs) >> 8) & 0x1F) + \
289 #define PDU_ADV_ADI_DID_GET(adi) ((adi)->did_sid_packed[0] | \
290 (((adi)->did_sid_packed[1] & 0x0F) << 8))
291 #define PDU_ADV_ADI_SID_GET(adi) (((adi)->did_sid_packed[1] >> 4) & 0x0F)
292 #define PDU_ADV_ADI_SID_SET(adi, sid) (adi)->did_sid_packed[1] = (((sid) << 4) + \
293 ((adi)->did_sid_packed[1] & 0x0F))
296 (adi)->did_sid_packed[0] = (did) & 0xFF; \
297 (adi)->did_sid_packed[1] = (((did) >> 8) & 0x0F) + ((sid) << 4); \
312 /* cs = 0, S2 coding scheme, use PHY_FLAGS_S2
313 * cs = 1, S8 coding scheme, use PHY_FLAGS_S8
318 #define FEC_BLOCK2_US(octets, mic, cs) (((((PDU_HEADER_SIZE) + \ argument
323 (1 + (((cs) & 0x01) << 1)))
325 #define PDU_US(octets, mic, phy, cs) (((phy) & PHY_CODED) ? \ argument
329 (cs))) : \
342 #define PDU_US(octets, mic, phy, cs) (((PDU_PREAMBLE_SIZE(phy) + \ argument
355 #define PDU_DC_US(octets, mic, phy, cs) PDU_US((octets), (mic), (phy), (cs)) argument
359 #define PDU_AC_US(octets, phy, cs) PDU_US((octets), 0, (phy), (cs)) argument
404 uint16_t interval; member
516 uint16_t interval; member
632 uint16_t interval; member
1160 /* offs:14 [0].0 - [1].5
1162 * iso_interval:12 [1].7 - [3].2
1163 * num_bis:5 [3].3 - [3].7
1167 /* nse:5 [0].0 - [0].4
1168 * bn:3 [0].5 - [0].7
1169 * sub_interval:20 [1].0 - [3].3
1170 * pto:4 [3].4 - [3].7
1174 /* spacing:20 [0].0 - [2].3
1175 * irc:4 [2].4 - [2].7
1185 /* sdu_interval:20 [0].0 - [2].3
1186 * max_sdu:12; [2].4 - [3].7
1204 util_get_bits(&(bi)->bi_packed_0_3[0], 0, 14)
1206 util_get_bits(&(bi)->bi_packed_0_3[1], 6, 1)
1208 util_get_bits(&(bi)->bi_packed_0_3[1], 7, 12)
1210 util_get_bits(&(bi)->bi_packed_0_3[3], 3, 5)
1212 util_get_bits(&(bi)->bi_packed_4_7[0], 0, 5)
1214 util_get_bits(&(bi)->bi_packed_4_7[0], 5, 3)
1216 util_get_bits(&(bi)->bi_packed_4_7[1], 0, 20)
1218 util_get_bits(&(bi)->bi_packed_4_7[3], 4, 4)
1220 util_get_bits(&(bi)->bi_packed_8_11[0], 0, 20)
1222 util_get_bits(&(bi)->bi_packed_8_11[2], 4, 4)
1224 util_get_bits(&(bi)->sdu_packed[0], 0, 20)
1226 util_get_bits(&(bi)->sdu_packed[2], 4, 12)
1229 util_set_bits(&(bi)->bi_packed_0_3[0], 0, 14, val)
1231 util_set_bits(&(bi)->bi_packed_0_3[1], 6, 1, val)
1233 util_set_bits(&(bi)->bi_packed_0_3[1], 7, 12, val)
1235 util_set_bits(&(bi)->bi_packed_0_3[3], 3, 5, val)
1237 util_set_bits(&(bi)->bi_packed_4_7[0], 0, 5, val)
1239 util_set_bits(&(bi)->bi_packed_4_7[0], 5, 3, val)
1241 util_set_bits(&(bi)->bi_packed_4_7[1], 0, 20, val)
1243 util_set_bits(&(bi)->bi_packed_4_7[3], 4, 4, val)
1245 util_set_bits(&(bi)->bi_packed_8_11[0], 0, 20, val)
1247 util_set_bits(&(bi)->bi_packed_8_11[2], 4, 4, val)
1249 util_set_bits(&(bi)->sdu_packed[0], 0, 20, val)
1251 util_set_bits(&(bi)->sdu_packed[2], 4, 12, val)