Lines Matching defs:head
575 struct ieee80211_mgmt *head = NULL;
593 head = os_zalloc(BEACON_HEAD_BUF_SIZE);
606 if (head == NULL || tail == NULL) {
608 os_free(head);
613 head->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT,
615 head->duration = host_to_le16(0);
616 os_memset(head->da, 0xff, ETH_ALEN);
618 os_memcpy(head->sa, hapd->own_addr, ETH_ALEN);
619 os_memcpy(head->bssid, hapd->own_addr, ETH_ALEN);
620 head->u.beacon.beacon_int =
625 head->u.beacon.capab_info = host_to_le16(capab_info);
626 pos = &head->u.beacon.variable[0];
650 head_len = pos - (u8 *) head;
727 params.head = (u8 *) head;
794 os_free(head);