Searched refs:frame_counter (Results 1 – 8 of 8) sorted by relevance
92 sec->params.frame_counter = params->frame_counter; in mac802154_llsec_set_params()600 __be32 frame_counter = (__force __be32) swab32((__force u32) sec->frame_counter); in llsec_geniv() local604 memcpy(iv + 9, &frame_counter, sizeof(frame_counter)); in llsec_geniv()743 frame_ctr = be32_to_cpu(sec->params.frame_counter); in mac802154_llsec_encrypt()744 hdr.sec.frame_counter = cpu_to_le32(frame_ctr); in mac802154_llsec_encrypt()752 sec->params.frame_counter = cpu_to_be32(frame_ctr + 1); in mac802154_llsec_encrypt()940 u32 frame_counter) in llsec_update_devkey_info() argument959 if ((!devkey && frame_counter < dev->dev.frame_counter) || in llsec_update_devkey_info()960 (devkey && frame_counter < devkey->devkey.frame_counter)) { in llsec_update_devkey_info()966 devkey->devkey.frame_counter = frame_counter + 1; in llsec_update_devkey_info()[all …]
265 in_out_vrr->btr.frame_counter = 0; in apply_below_the_range()279 in_out_vrr->btr.frame_counter = 0; in apply_below_the_range()394 in_out_vrr->btr.frame_counter = frames_to_insert; in apply_below_the_range()414 in_out_vrr->fixed.frame_counter++; in apply_fixed_refresh()416 if (in_out_vrr->fixed.frame_counter > in apply_fixed_refresh()418 in_out_vrr->fixed.frame_counter = 0; in apply_fixed_refresh()424 in_out_vrr->fixed.frame_counter = 0; in apply_fixed_refresh()428 in_out_vrr->fixed.frame_counter++; in apply_fixed_refresh()430 if (in_out_vrr->fixed.frame_counter > in apply_fixed_refresh()432 in_out_vrr->fixed.frame_counter = 0; in apply_fixed_refresh()[all …]
96 uint32_t frame_counter; member105 uint32_t frame_counter; member
268 __be32 frame_counter; member301 u32 frame_counter; member312 u32 frame_counter; member
38 __le32 frame_counter; member
52 memcpy(buf + 1, &hdr->frame_counter, 4); in ieee802154_hdr_push_sechdr()166 memcpy(&hdr->frame_counter, buf + 1, 4); in ieee802154_hdr_get_sechdr()
682 be32_to_cpu(params.frame_counter)) || in ieee802154_llsec_getparams()747 params.frame_counter = cpu_to_be32(fc); in ieee802154_llsec_setparams()999 dev->frame_counter = nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER]); in llsec_parse_dev()1067 desc->frame_counter) || in ieee802154_nl_fill_dev()1120 key.frame_counter = nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER]); in llsec_add_devkey()1172 devkey->frame_counter) || in ieee802154_nl_fill_devkey()
752 params.frame_counter)) in nl802154_get_llsec_params()1425 params.frame_counter = nla_get_be32(info->attrs[NL802154_ATTR_SEC_FRAME_COUNTER]); in nl802154_set_llsec_params()1647 dev_desc->frame_counter) || in nl802154_send_device()1750 dev->frame_counter = nla_get_u32(attrs[NL802154_DEV_ATTR_FRAME_COUNTER]); in ieee802154_llsec_parse_device()1827 devkey->frame_counter)) in nl802154_send_devkey()1941 key.frame_counter = nla_get_u32(attrs[NL802154_DEVKEY_ATTR_FRAME_COUNTER]); in nl802154_add_llsec_devkey()