Home | History | Annotate | Download | only in fst

Lines Matching refs:req

363 	const struct fst_setup_req *req;
369 if (frame_len < IEEE80211_HDRLEN + 1 + sizeof(*req)) {
373 IEEE80211_HDRLEN + 1 + sizeof(*req));
377 req = (const struct fst_setup_req *)
379 if (req->stie.element_id != WLAN_EID_SESSION_TRANSITION ||
380 req->stie.length < 11) {
386 if (req->stie.new_band_id == req->stie.old_band_id) {
394 if (plen > sizeof(*req)) {
395 fst_iface_update_mb_ie(iface, mgmt->sa, (const u8 *) (req + 1),
396 plen - sizeof(*req));
403 req->stie.new_band_id,
466 if (le_to_host32(req->stie.fsts_id) != s->data.fsts_id)
488 fst_session_set_llt(s, FST_LLT_VAL_TO_MS(le_to_host32(req->llt)));
489 s->data.pending_setup_req_dlgt = req->dialog_token;
490 s->data.fsts_id = le_to_host32(req->stie.fsts_id);
644 const struct fst_ack_req *req;
669 if (plen < sizeof(*req)) {
674 req = (const struct fst_ack_req *)
677 if (le_to_host32(req->fsts_id) != s->data.fsts_id) {
680 le_to_host32(req->fsts_id));
687 res.dialog_token = req->dialog_token;
688 res.fsts_id = req->fsts_id;
815 struct fst_setup_req req;
885 os_memset(&req, 0, sizeof(req));
891 req.action = FST_ACTION_SETUP_REQUEST;
892 req.dialog_token = dialog_token;
893 req.llt = host_to_le32(FST_LLT_MS_TO_VAL(s->data.llt_ms));
895 req.stie.element_id = WLAN_EID_SESSION_TRANSITION;
896 req.stie.length = sizeof(req.stie) - 2;
897 req.stie.fsts_id = host_to_le32(fsts_id);
898 req.stie.session_control = SESSION_CONTROL(SESSION_TYPE_BSS, 0);
900 req.stie.new_band_id = fst_iface_get_band_id(s->data.new_iface);
901 req.stie.new_band_op = 1;
902 req.stie.new_band_setup = 0;
904 req.stie.old_band_id = fst_iface_get_band_id(s->data.old_iface);
905 req.stie.old_band_op = 1;
906 req.stie.old_band_setup = 0;
908 res = fst_session_send_action(s, TRUE, &req, sizeof(req),
1030 struct fst_ack_req req;
1050 os_memset(&req, 0, sizeof(req));
1052 req.action = FST_ACTION_ACK_REQUEST;
1053 req.dialog_token = dialog_token;
1054 req.fsts_id = host_to_le32(s->data.fsts_id);
1056 res = fst_session_send_action(s, FALSE, &req, sizeof(req), NULL);
1355 struct fst_setup_req req;
1372 req.action = FST_ACTION_SETUP_REQUEST;
1373 req.dialog_token = g->dialog_token;
1374 req.llt = host_to_le32(FST_LLT_MS_DEFAULT);
1376 req.stie.element_id = WLAN_EID_SESSION_TRANSITION;
1377 req.stie.length = sizeof(req.stie) - 2;
1378 req.stie.fsts_id = host_to_le32(fsts_id);
1379 req.stie.session_control = SESSION_CONTROL(SESSION_TYPE_BSS, 0);
1382 req.stie.new_band_id = fst_hw_mode_to_band(hw_mode);
1383 req.stie.new_band_op = 1;
1384 req.stie.new_band_setup = 0;
1387 req.stie.old_band_id = fst_hw_mode_to_band(hw_mode);
1388 req.stie.old_band_op = 1;
1389 req.stie.old_band_setup = 0;
1394 req.stie.new_band_id = req.stie.old_band_id;
1397 return fst_session_send_action(&s, TRUE, &req, sizeof(req),
1482 struct fst_ack_req req;
1496 os_memset(&req, 0, sizeof(req));
1497 req.action = FST_ACTION_ACK_REQUEST;
1498 req.dialog_token = g->dialog_token;
1499 req.fsts_id = host_to_le32(fsts_id);
1501 return fst_session_send_action(&s, FALSE, &req, sizeof(req), NULL);