Lines Matching refs:beacon
88 u8 *beacon, u32 frame_size) in iwl_set_beacon_tim() argument
91 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon; in iwl_set_beacon_tim()
97 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_set_beacon_tim()
101 (beacon[tim_idx] != WLAN_EID_TIM)) in iwl_set_beacon_tim()
102 tim_idx += beacon[tim_idx+1] + 2; in iwl_set_beacon_tim()
105 if ((tim_idx < (frame_size - 1)) && (beacon[tim_idx] == WLAN_EID_TIM)) { in iwl_set_beacon_tim()
107 tx_beacon_cmd->tim_size = beacon[tim_idx+1]; in iwl_set_beacon_tim()
200 struct sk_buff *beacon; in iwl_bg_beacon_update() local
219 beacon = ieee80211_beacon_get(priv->hw, priv->beacon_ctx->vif); in iwl_bg_beacon_update()
220 if (!beacon) { in iwl_bg_beacon_update()
228 priv->beacon_skb = beacon; in iwl_bg_beacon_update()