Home
last modified time | relevance | path

Searched refs:wnmsleep_ie (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dwnm_ap.c56 struct wnm_sleep_element wnmsleep_ie; in ieee802_11_send_wnmsleep_resp() local
72 os_memset(&wnmsleep_ie, 0, sizeof(struct wnm_sleep_element)); in ieee802_11_send_wnmsleep_resp()
74 wnmsleep_ie.eid = WLAN_EID_WNMSLEEP; in ieee802_11_send_wnmsleep_resp()
75 wnmsleep_ie.len = wnmsleep_ie_len - 2; in ieee802_11_send_wnmsleep_resp()
76 wnmsleep_ie.action_type = action_type; in ieee802_11_send_wnmsleep_resp()
77 wnmsleep_ie.status = WNM_STATUS_SLEEP_ACCEPT; in ieee802_11_send_wnmsleep_resp()
78 wnmsleep_ie.intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_resp()
133 os_memcpy(pos, &wnmsleep_ie, wnmsleep_ie_len); in ieee802_11_send_wnmsleep_resp()
156 if (wnmsleep_ie.status == WNM_STATUS_SLEEP_ACCEPT && in ieee802_11_send_wnmsleep_resp()
157 wnmsleep_ie.action_type == WNM_SLEEP_MODE_ENTER) { in ieee802_11_send_wnmsleep_resp()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwnm_sta.c59 struct wnm_sleep_element *wnmsleep_ie; in ieee802_11_send_wnmsleep_req() local
73 wnmsleep_ie = os_zalloc(sizeof(struct wnm_sleep_element)); in ieee802_11_send_wnmsleep_req()
74 if (wnmsleep_ie == NULL) in ieee802_11_send_wnmsleep_req()
76 wnmsleep_ie->eid = WLAN_EID_WNMSLEEP; in ieee802_11_send_wnmsleep_req()
77 wnmsleep_ie->len = wnmsleep_ie_len - 2; in ieee802_11_send_wnmsleep_req()
78 wnmsleep_ie->action_type = action; in ieee802_11_send_wnmsleep_req()
79 wnmsleep_ie->status = WNM_STATUS_SLEEP_ACCEPT; in ieee802_11_send_wnmsleep_req()
80 wnmsleep_ie->intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_req()
82 (u8 *) wnmsleep_ie, wnmsleep_ie_len); in ieee802_11_send_wnmsleep_req()
89 os_free(wnmsleep_ie); in ieee802_11_send_wnmsleep_req()
[all …]