Lines Matching refs:plcp

5860 	/* add plcp header along with txh descriptor */
5862 "Raw TxDesc + plcp header:\n");
6417 uint length, u8 *plcp)
6452 plcp[0] = rate_500 * 5; /* r (500kbps) * 5 == r (100kbps) */
6454 plcp[1] = (u8) (le | D11B_PLCP_SIGNAL_LOCKED);
6456 plcp[2] = usec & 0xff;
6457 plcp[3] = (usec >> 8) & 0xff;
6459 plcp[4] = 0;
6460 plcp[5] = 0;
6464 static void brcms_c_compute_mimo_plcp(u32 rspec, uint length, u8 *plcp)
6467 plcp[0] = mcs;
6469 plcp[0] |= MIMO_PLCP_40MHZ;
6470 BRCMS_SET_MIMO_PLCP_LEN(plcp, length);
6471 plcp[3] = rspec_mimoplcp3(rspec); /* rspec already holds this byte */
6472 plcp[3] |= 0x7; /* set smoothing, not sounding ppdu & reserved */
6473 plcp[4] = 0; /* number of extension spatial streams bit 0 & 1 */
6474 plcp[5] = 0;
6479 brcms_c_compute_ofdm_plcp(u32 rspec, u32 length, u8 *plcp)
6490 memset(plcp, 0, D11_PHY_HDR_LEN);
6491 D11A_PHY_HDR_SRATE((struct ofdm_phy_hdr *) plcp, rate_signal);
6494 plcp[2] |= (tmp >> 16) & 0xff;
6495 plcp[1] |= (tmp >> 8) & 0xff;
6496 plcp[0] |= tmp & 0xff;
6501 uint length, u8 *plcp)
6505 brcms_c_cck_plcp_set(wlc, rate, length, plcp);
6510 uint length, u8 *plcp)
6513 brcms_c_compute_mimo_plcp(rspec, length, plcp);
6515 brcms_c_compute_ofdm_plcp(rspec, length, plcp);
6517 brcms_c_compute_cck_plcp(wlc, rspec, length, plcp);
6632 u8 *plcp, plcp_fallback[D11_PHY_HDR_LEN];
6674 plcp = skb_push(p, D11_PHY_HDR_LEN);
6905 brcms_c_compute_plcp(wlc, rspec[0], phylen, plcp);
6918 D11A_PHY_HDR_GRATE((struct ofdm_phy_hdr *) plcp) :
6919 plcp[0];
7113 * MainRates (both the rts and frag plcp rates have
7499 unsigned char *plcp;
7524 plcp = p->data;
7526 rspec = brcms_c_compute_rspec(rxh, plcp);
7595 if (plcp3_issgi(plcp[3]))
7621 /* mac header+body length, exclude CRC and plcp header */
7695 u8 plcp[D11_PHY_HDR_LEN];
7716 brcms_c_compute_plcp(wlc, rate, frame_len, plcp);
7728 (u16) (plcp[0] + (plcp[1] << 8)));
7730 (u16) (plcp[2] + (plcp[3] << 8)));
7753 struct cck_phy_hdr *plcp;
7767 plcp = (struct cck_phy_hdr *) buf;
7777 (u8 *) plcp);
7783 h = (struct ieee80211_mgmt *)&plcp[1];