Lines Matching refs:tf

425 	struct ieee80211_tdls_data *tf;  in mwifiex_prep_tdls_encap_data()  local
433 tf = (void *)skb_put(skb, offsetof(struct ieee80211_tdls_data, u)); in mwifiex_prep_tdls_encap_data()
434 memcpy(tf->da, peer, ETH_ALEN); in mwifiex_prep_tdls_encap_data()
435 memcpy(tf->sa, priv->curr_addr, ETH_ALEN); in mwifiex_prep_tdls_encap_data()
436 tf->ether_type = cpu_to_be16(ETH_P_TDLS); in mwifiex_prep_tdls_encap_data()
437 tf->payload_type = WLAN_TDLS_SNAP_RFTYPE; in mwifiex_prep_tdls_encap_data()
441 tf->category = WLAN_CATEGORY_TDLS; in mwifiex_prep_tdls_encap_data()
442 tf->action_code = WLAN_TDLS_SETUP_REQUEST; in mwifiex_prep_tdls_encap_data()
443 skb_put(skb, sizeof(tf->u.setup_req)); in mwifiex_prep_tdls_encap_data()
444 tf->u.setup_req.dialog_token = dialog_token; in mwifiex_prep_tdls_encap_data()
445 tf->u.setup_req.capability = cpu_to_le16(capab); in mwifiex_prep_tdls_encap_data()
478 tf->category = WLAN_CATEGORY_TDLS; in mwifiex_prep_tdls_encap_data()
479 tf->action_code = WLAN_TDLS_SETUP_RESPONSE; in mwifiex_prep_tdls_encap_data()
480 skb_put(skb, sizeof(tf->u.setup_resp)); in mwifiex_prep_tdls_encap_data()
481 tf->u.setup_resp.status_code = cpu_to_le16(status_code); in mwifiex_prep_tdls_encap_data()
482 tf->u.setup_resp.dialog_token = dialog_token; in mwifiex_prep_tdls_encap_data()
483 tf->u.setup_resp.capability = cpu_to_le16(capab); in mwifiex_prep_tdls_encap_data()
516 tf->category = WLAN_CATEGORY_TDLS; in mwifiex_prep_tdls_encap_data()
517 tf->action_code = WLAN_TDLS_SETUP_CONFIRM; in mwifiex_prep_tdls_encap_data()
518 skb_put(skb, sizeof(tf->u.setup_cfm)); in mwifiex_prep_tdls_encap_data()
519 tf->u.setup_cfm.status_code = cpu_to_le16(status_code); in mwifiex_prep_tdls_encap_data()
520 tf->u.setup_cfm.dialog_token = dialog_token; in mwifiex_prep_tdls_encap_data()
544 tf->category = WLAN_CATEGORY_TDLS; in mwifiex_prep_tdls_encap_data()
545 tf->action_code = WLAN_TDLS_TEARDOWN; in mwifiex_prep_tdls_encap_data()
546 skb_put(skb, sizeof(tf->u.teardown)); in mwifiex_prep_tdls_encap_data()
547 tf->u.teardown.reason_code = cpu_to_le16(status_code); in mwifiex_prep_tdls_encap_data()
551 tf->category = WLAN_CATEGORY_TDLS; in mwifiex_prep_tdls_encap_data()
552 tf->action_code = WLAN_TDLS_DISCOVERY_REQUEST; in mwifiex_prep_tdls_encap_data()
553 skb_put(skb, sizeof(tf->u.discover_req)); in mwifiex_prep_tdls_encap_data()
554 tf->u.discover_req.dialog_token = dialog_token; in mwifiex_prep_tdls_encap_data()