Lines Matching refs:tf

695 	struct ieee80211_tdls_data *tf;
701 tf = (void *)skb->data;
702 tf->u.chan_switch_req.target_channel =
704 tf->u.chan_switch_req.oper_class = oper_class;
797 struct ieee80211_tdls_data *tf;
799 tf = skb_put(skb, offsetof(struct ieee80211_tdls_data, u));
801 memcpy(tf->da, peer, ETH_ALEN);
802 memcpy(tf->sa, sdata->vif.addr, ETH_ALEN);
803 tf->ether_type = cpu_to_be16(ETH_P_TDLS);
804 tf->payload_type = WLAN_TDLS_SNAP_RFTYPE;
811 tf->category = WLAN_CATEGORY_TDLS;
812 tf->action_code = WLAN_TDLS_SETUP_REQUEST;
814 skb_put(skb, sizeof(tf->u.setup_req));
815 tf->u.setup_req.dialog_token = dialog_token;
816 tf->u.setup_req.capability =
821 tf->category = WLAN_CATEGORY_TDLS;
822 tf->action_code = WLAN_TDLS_SETUP_RESPONSE;
824 skb_put(skb, sizeof(tf->u.setup_resp));
825 tf->u.setup_resp.status_code = cpu_to_le16(status_code);
826 tf->u.setup_resp.dialog_token = dialog_token;
827 tf->u.setup_resp.capability =
832 tf->category = WLAN_CATEGORY_TDLS;
833 tf->action_code = WLAN_TDLS_SETUP_CONFIRM;
835 skb_put(skb, sizeof(tf->u.setup_cfm));
836 tf->u.setup_cfm.status_code = cpu_to_le16(status_code);
837 tf->u.setup_cfm.dialog_token = dialog_token;
840 tf->category = WLAN_CATEGORY_TDLS;
841 tf->action_code = WLAN_TDLS_TEARDOWN;
843 skb_put(skb, sizeof(tf->u.teardown));
844 tf->u.teardown.reason_code = cpu_to_le16(status_code);
847 tf->category = WLAN_CATEGORY_TDLS;
848 tf->action_code = WLAN_TDLS_DISCOVERY_REQUEST;
850 skb_put(skb, sizeof(tf->u.discover_req));
851 tf->u.discover_req.dialog_token = dialog_token;
854 tf->category = WLAN_CATEGORY_TDLS;
855 tf->action_code = WLAN_TDLS_CHANNEL_SWITCH_REQUEST;
857 skb_put(skb, sizeof(tf->u.chan_switch_req));
860 tf->category = WLAN_CATEGORY_TDLS;
861 tf->action_code = WLAN_TDLS_CHANNEL_SWITCH_RESPONSE;
863 skb_put(skb, sizeof(tf->u.chan_switch_resp));
864 tf->u.chan_switch_resp.status_code = cpu_to_le16(status_code);
1533 struct ieee80211_tdls_data *tf;
1541 tf = container_of(skb->data + skb_network_offset(skb),
1543 ie_start = tf->u.chan_switch_req.variable;
1751 struct ieee80211_tdls_data *tf = (void *)skb->data;
1754 int baselen = offsetof(typeof(*tf), u.chan_switch_resp.variable);
1769 sta = sta_info_get(sdata, tf->sa);
1772 tf->sa);
1778 params.status = le16_to_cpu(tf->u.chan_switch_resp.status_code);
1784 elems = ieee802_11_parse_elems(tf->u.chan_switch_resp.variable,
1828 tf->sa, params.status);
1850 struct ieee80211_tdls_data *tf = (void *)skb->data;
1852 int baselen = offsetof(typeof(*tf), u.chan_switch_req.variable);
1867 target_channel = tf->u.chan_switch_req.target_channel;
1868 oper_class = tf->u.chan_switch_req.oper_class;
1903 elems = ieee802_11_parse_elems(tf->u.chan_switch_req.variable,
1946 sta = sta_info_get(sdata, tf->sa);
1949 tf->sa);
1989 tf->sa, params.chandef->chan->center_freq,
2002 struct ieee80211_tdls_data *tf = (void *)skb->data;
2018 switch (tf->action_code) {