Lines Matching refs:build

469 	struct ieee80211_mesh_fast_tx build = {};  in mesh_fast_tx_cache()  local
481 build.fast_tx.hdr_len = ieee80211_hdrlen(hdr->frame_control); in mesh_fast_tx_cache()
482 meshhdr = (struct ieee80211s_hdr *)(skb->data + build.fast_tx.hdr_len); in mesh_fast_tx_cache()
483 build.hdrlen = ieee80211_get_mesh_hdrlen(meshhdr); in mesh_fast_tx_cache()
493 build.key.type = MESH_FAST_TX_TYPE_LOCAL; in mesh_fast_tx_cache()
499 build.mppath = mppath; in mesh_fast_tx_cache()
501 build.key.type = MESH_FAST_TX_TYPE_PROXIED; in mesh_fast_tx_cache()
509 build.key.type = MESH_FAST_TX_TYPE_FORWARDED; in mesh_fast_tx_cache()
525 build.fast_tx.key = key; in mesh_fast_tx_cache()
541 build.fast_tx.pn_offs = build.fast_tx.hdr_len; in mesh_fast_tx_cache()
543 build.fast_tx.hdr_len += IEEE80211_CCMP_HDR_LEN; in mesh_fast_tx_cache()
548 build.fast_tx.pn_offs = build.fast_tx.hdr_len; in mesh_fast_tx_cache()
550 build.fast_tx.hdr_len += IEEE80211_GCMP_HDR_LEN; in mesh_fast_tx_cache()
557 memcpy(build.key.addr, mppath->dst, ETH_ALEN); in mesh_fast_tx_cache()
558 build.timestamp = jiffies; in mesh_fast_tx_cache()
559 build.fast_tx.band = info->band; in mesh_fast_tx_cache()
560 build.fast_tx.da_offs = offsetof(struct ieee80211_hdr, addr3); in mesh_fast_tx_cache()
561 build.fast_tx.sa_offs = offsetof(struct ieee80211_hdr, addr4); in mesh_fast_tx_cache()
562 build.mpath = mpath; in mesh_fast_tx_cache()
563 memcpy(build.hdr, meshhdr, build.hdrlen); in mesh_fast_tx_cache()
564 memcpy(build.hdr + build.hdrlen, rfc1042_header, sizeof(rfc1042_header)); in mesh_fast_tx_cache()
565 build.hdrlen += sizeof(rfc1042_header); in mesh_fast_tx_cache()
566 memcpy(build.fast_tx.hdr, hdr, build.fast_tx.hdr_len); in mesh_fast_tx_cache()
568 hdr = (struct ieee80211_hdr *)build.fast_tx.hdr; in mesh_fast_tx_cache()
569 if (build.fast_tx.key) in mesh_fast_tx_cache()
575 entry = kmemdup(&build, sizeof(build), GFP_ATOMIC); in mesh_fast_tx_cache()