Home
last modified time | relevance | path

Searched refs:tim (Results 1 – 6 of 6) sorted by relevance

/net/mac80211/
Dsta_info.c715 static inline void __bss_tim_set(u8 *tim, u16 id) in __bss_tim_set() argument
721 tim[id / 8] |= (1 << (id % 8)); in __bss_tim_set()
724 static inline void __bss_tim_clear(u8 *tim, u16 id) in __bss_tim_clear() argument
730 tim[id / 8] &= ~(1 << (id % 8)); in __bss_tim_clear()
733 static inline bool __bss_tim_get(u8 *tim, u16 id) in __bss_tim_get() argument
739 return tim[id / 8] & (1 << (id % 8)); in __bss_tim_get()
824 if (indicate_tim == __bss_tim_get(ps->tim, id)) in __sta_info_recalc_tim()
828 __bss_tim_set(ps->tim, id); in __sta_info_recalc_tim()
830 __bss_tim_clear(ps->tim, id); in __sta_info_recalc_tim()
Dmesh_ps.c578 has_buffered = ieee80211_check_tim(elems->tim, elems->tim_len, in ieee80211_mps_frame_release()
Dtx.c4189 u8 *pos, *tim; in __ieee80211_beacon_add_tim() local
4198 have_bits = !bitmap_empty((unsigned long *)ps->tim, in __ieee80211_beacon_add_tim()
4207 tim = pos = skb_put(skb, 6); in __ieee80211_beacon_add_tim()
4224 if (ps->tim[i]) { in __ieee80211_beacon_add_tim()
4231 if (ps->tim[i]) { in __ieee80211_beacon_add_tim()
4241 memcpy(pos, ps->tim + n1, n2 - n1 + 1); in __ieee80211_beacon_add_tim()
4243 tim[1] = n2 - n1 + 4; in __ieee80211_beacon_add_tim()
Dieee80211_i.h277 u8 tim[sizeof(unsigned long) * BITS_TO_LONGS(IEEE80211_MAX_AID + 1)]
1469 const struct ieee80211_tim_ie *tim; member
Dmlme.c3911 ieee80211_check_tim(elems.tim, elems.tim_len, ifmgd->aid)) { in ieee80211_rx_mgmt_beacon()
4881 const struct ieee80211_tim_ie *tim = NULL; in ieee80211_get_dtim() local
4886 tim = (void *)(tim_ie + 2); in ieee80211_get_dtim()
4889 *dtim_count = valid ? tim->dtim_count : 0; in ieee80211_get_dtim()
4892 *dtim_period = valid ? tim->dtim_period : 0; in ieee80211_get_dtim()
Dutil.c1004 elems->tim = (void *)pos; in _ieee802_11_parse_elems_crc()
1371 if (elems->tim && !elems->parse_error) { in ieee802_11_parse_elems_crc()
1372 const struct ieee80211_tim_ie *tim_ie = elems->tim; in ieee802_11_parse_elems_crc()