Lines Matching refs:plcp
54 static int b43_plcp_get_bitrate_idx_cck(struct b43_plcp_hdr6 *plcp) in b43_plcp_get_bitrate_idx_cck() argument
56 switch (plcp->raw[0]) { in b43_plcp_get_bitrate_idx_cck()
70 static int b43_plcp_get_bitrate_idx_ofdm(struct b43_plcp_hdr6 *plcp, bool ghz5) in b43_plcp_get_bitrate_idx_ofdm() argument
75 switch (plcp->raw[0] & 0xF) { in b43_plcp_get_bitrate_idx_ofdm()
136 void b43_generate_plcp_hdr(struct b43_plcp_hdr4 *plcp, in b43_generate_plcp_hdr() argument
139 __u8 *raw = plcp->raw; in b43_generate_plcp_hdr()
147 plcp->data = cpu_to_le32(d); in b43_generate_plcp_hdr()
161 plcp->data |= cpu_to_le32(plen << 16); in b43_generate_plcp_hdr()
342 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_598.plcp), in b43_generate_txhdr()
346 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_351.plcp), in b43_generate_txhdr()
350 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_410.plcp), in b43_generate_txhdr()
428 struct b43_plcp_hdr6 *plcp; in b43_generate_txhdr() local
488 plcp = &txhdr->format_598.rts_plcp; in b43_generate_txhdr()
491 plcp = &txhdr->format_351.rts_plcp; in b43_generate_txhdr()
494 plcp = &txhdr->format_410.rts_plcp; in b43_generate_txhdr()
497 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)plcp, in b43_generate_txhdr()
499 plcp = &txhdr->rts_plcp_fb; in b43_generate_txhdr()
500 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)plcp, in b43_generate_txhdr()
635 struct b43_plcp_hdr6 *plcp; in b43_rx() local
685 plcp = (struct b43_plcp_hdr6 *)(skb->data + padding); in b43_rx()
744 rate_idx = b43_plcp_get_bitrate_idx_ofdm(plcp, in b43_rx()
747 rate_idx = b43_plcp_get_bitrate_idx_cck(plcp); in b43_rx()