Searched refs:wnmsleep_ie (Results 1 – 2 of 2) sorted by relevance
62 struct wnm_sleep_element *wnmsleep_ie; in ieee802_11_send_wnmsleep_req() local76 wnmsleep_ie = os_zalloc(sizeof(struct wnm_sleep_element)); in ieee802_11_send_wnmsleep_req()77 if (wnmsleep_ie == NULL) in ieee802_11_send_wnmsleep_req()79 wnmsleep_ie->eid = WLAN_EID_WNMSLEEP; in ieee802_11_send_wnmsleep_req()80 wnmsleep_ie->len = wnmsleep_ie_len - 2; in ieee802_11_send_wnmsleep_req()81 wnmsleep_ie->action_type = action; in ieee802_11_send_wnmsleep_req()82 wnmsleep_ie->status = WNM_STATUS_SLEEP_ACCEPT; in ieee802_11_send_wnmsleep_req()83 wnmsleep_ie->intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_req()85 (u8 *) wnmsleep_ie, wnmsleep_ie_len); in ieee802_11_send_wnmsleep_req()92 os_free(wnmsleep_ie); in ieee802_11_send_wnmsleep_req()[all …]
72 struct wnm_sleep_element wnmsleep_ie; in ieee802_11_send_wnmsleep_resp() local89 os_memset(&wnmsleep_ie, 0, sizeof(struct wnm_sleep_element)); in ieee802_11_send_wnmsleep_resp()91 wnmsleep_ie.eid = WLAN_EID_WNMSLEEP; in ieee802_11_send_wnmsleep_resp()92 wnmsleep_ie.len = wnmsleep_ie_len - 2; in ieee802_11_send_wnmsleep_resp()93 wnmsleep_ie.action_type = action_type; in ieee802_11_send_wnmsleep_resp()94 wnmsleep_ie.status = WNM_STATUS_SLEEP_ACCEPT; in ieee802_11_send_wnmsleep_resp()95 wnmsleep_ie.intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_resp()206 os_memcpy(pos, &wnmsleep_ie, wnmsleep_ie_len); in ieee802_11_send_wnmsleep_resp()237 if (wnmsleep_ie.status == WNM_STATUS_SLEEP_ACCEPT && in ieee802_11_send_wnmsleep_resp()238 wnmsleep_ie.action_type == WNM_SLEEP_MODE_ENTER) { in ieee802_11_send_wnmsleep_resp()[all …]