Lines Matching refs:_hdr
69 #define SET_80211_HDR_FRAME_CONTROL(_hdr, _val) \ argument
70 WRITEEF2BYTE(_hdr, _val)
71 #define SET_80211_HDR_TYPE_AND_SUBTYPE(_hdr, _val) \ argument
72 WRITEEF1BYTE(_hdr, _val)
73 #define SET_80211_HDR_PWR_MGNT(_hdr, _val) \ argument
74 SET_BITS_TO_LE_2BYTE(_hdr, 12, 1, _val)
75 #define SET_80211_HDR_TO_DS(_hdr, _val) \ argument
76 SET_BITS_TO_LE_2BYTE(_hdr, 8, 1, _val)
78 #define SET_80211_PS_POLL_AID(_hdr, _val) \ argument
79 (*(u16 *)((u8 *)(_hdr) + 2) = _val)
80 #define SET_80211_PS_POLL_BSSID(_hdr, _val) \ argument
81 memcpy(((u8 *)(_hdr)) + 4, (u8 *)(_val), ETH_ALEN)
82 #define SET_80211_PS_POLL_TA(_hdr, _val) \ argument
83 memcpy(((u8 *)(_hdr)) + 10, (u8 *)(_val), ETH_ALEN)
85 #define SET_80211_HDR_DURATION(_hdr, _val) \ argument
86 (*(u16 *)((u8 *)(_hdr) + FRAME_OFFSET_DURATION) = le16_to_cpu(_val))
87 #define SET_80211_HDR_ADDRESS1(_hdr, _val) \ argument
88 CP_MACADDR((u8 *)(_hdr)+FRAME_OFFSET_ADDRESS1, (u8 *)(_val))
89 #define SET_80211_HDR_ADDRESS2(_hdr, _val) \ argument
90 CP_MACADDR((u8 *)(_hdr)+FRAME_OFFSET_ADDRESS2, (u8 *)(_val))
91 #define SET_80211_HDR_ADDRESS3(_hdr, _val) \ argument
92 CP_MACADDR((u8 *)(_hdr)+FRAME_OFFSET_ADDRESS3, (u8 *)(_val))
93 #define SET_80211_HDR_FRAGMENT_SEQUENCE(_hdr, _val) \ argument
94 WRITEEF2BYTE((u8 *)(_hdr)+FRAME_OFFSET_SEQUENCE, _val)