Home
last modified time | relevance | path

Searched refs:rlpt (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dd11.h672 u8 rlpt[3]; /* rate, length, parity, tail */ member
677 #define D11A_PHY_HDR_GRATE(phdr) ((phdr)->rlpt[0] & 0x0f)
678 #define D11A_PHY_HDR_GRES(phdr) (((phdr)->rlpt[0] >> 4) & 0x01)
679 #define D11A_PHY_HDR_GLENGTH(phdr) (((u32 *)((phdr)->rlpt) >> 5) & 0x0fff)
680 #define D11A_PHY_HDR_GPARITY(phdr) (((phdr)->rlpt[3] >> 1) & 0x01)
681 #define D11A_PHY_HDR_GTAIL(phdr) (((phdr)->rlpt[3] >> 2) & 0x3f)
685 ((phdr)->rlpt[0] = ((phdr)->rlpt[0] & 0xf0) | ((rate) & 0xf))
687 #define D11A_PHY_HDR_SRES(phdr) ((phdr)->rlpt[0] &= 0xef)
690 (*(u32 *)((phdr)->rlpt) = *(u32 *)((phdr)->rlpt) | \
693 #define D11A_PHY_HDR_STAIL(phdr) ((phdr)->rlpt[3] &= 0x03)
H A Drate.h202 static inline u8 ofdm_phy2mac_rate(u8 rlpt) in ofdm_phy2mac_rate() argument
204 return wlc_phy_get_ofdm_rate_lookup()[rlpt & 0x7]; in ofdm_phy2mac_rate()
H A Drate.c362 ((struct ofdm_phy_hdr *) plcp)->rlpt[0]); in brcms_c_compute_rspec()
383 ((struct ofdm_phy_hdr *) plcp)->rlpt[0]); in brcms_c_compute_rspec()