Lines Matching refs:tim
103 u8 *tim; in p54_beacon_format_ie_tim() local
108 tim = p54_find_ie(skb, WLAN_EID_TIM); in p54_beacon_format_ie_tim()
109 if (!tim) in p54_beacon_format_ie_tim()
112 dtim_len = tim[1]; in p54_beacon_format_ie_tim()
113 dtim_period = tim[3]; in p54_beacon_format_ie_tim()
114 next = tim + 2 + dtim_len; in p54_beacon_format_ie_tim()
119 memmove(tim, next, skb_tail_pointer(skb) - next); in p54_beacon_format_ie_tim()
120 tim = skb_tail_pointer(skb) - (dtim_len + 2); in p54_beacon_format_ie_tim()
123 tim[0] = WLAN_EID_TIM; in p54_beacon_format_ie_tim()
124 tim[1] = 3; in p54_beacon_format_ie_tim()
125 tim[2] = 0; in p54_beacon_format_ie_tim()
126 tim[3] = dtim_period; in p54_beacon_format_ie_tim()
127 tim[4] = 0; in p54_beacon_format_ie_tim()