Searched defs:rlpt (Results 1 - 2 of 2) sorted by relevance

/drivers/net/wireless/brcm80211/brcmsmac/
H A Drate.h202 static inline u8 ofdm_phy2mac_rate(u8 rlpt) argument
204 return wlc_phy_get_ofdm_rate_lookup()[rlpt & 0x7];
H A Dd11.h671 u8 rlpt[3]; /* rate, length, parity, tail */ member in struct:ofdm_phy_hdr
676 #define D11A_PHY_HDR_GRATE(phdr) ((phdr)->rlpt[0] & 0x0f)
677 #define D11A_PHY_HDR_GRES(phdr) (((phdr)->rlpt[0] >> 4) & 0x01)
678 #define D11A_PHY_HDR_GLENGTH(phdr) (((u32 *)((phdr)->rlpt) >> 5) & 0x0fff)
679 #define D11A_PHY_HDR_GPARITY(phdr) (((phdr)->rlpt[3] >> 1) & 0x01)
680 #define D11A_PHY_HDR_GTAIL(phdr) (((phdr)->rlpt[3] >> 2) & 0x3f)
684 ((phdr)->rlpt[0] = ((phdr)->rlpt[0] & 0xf0) | ((rate) & 0xf))
686 #define D11A_PHY_HDR_SRES(phdr) ((phdr)->rlpt[0] &= 0xef)
689 (*(u32 *)((phdr)->rlpt)
[all...]

Completed in 69 milliseconds