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 …]
276 in_out_vrr->btr.frame_counter = 0; in apply_below_the_range()290 in_out_vrr->btr.frame_counter = 0; in apply_below_the_range()405 in_out_vrr->btr.frame_counter = frames_to_insert; in apply_below_the_range()425 in_out_vrr->fixed.frame_counter++; in apply_fixed_refresh()427 if (in_out_vrr->fixed.frame_counter > in apply_fixed_refresh()429 in_out_vrr->fixed.frame_counter = 0; in apply_fixed_refresh()435 in_out_vrr->fixed.frame_counter = 0; in apply_fixed_refresh()439 in_out_vrr->fixed.frame_counter++; in apply_fixed_refresh()441 if (in_out_vrr->fixed.frame_counter > in apply_fixed_refresh()443 in_out_vrr->fixed.frame_counter = 0; in apply_fixed_refresh()[all …]
96 uint32_t frame_counter; member105 uint32_t frame_counter; member
278 __be32 frame_counter; member311 u32 frame_counter; member322 u32 frame_counter; member
54 __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()