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);
1534 struct ieee80211_tdls_data *tf;
1542 tf = container_of(skb->data + skb_network_offset(skb),
1544 ie_start = tf->u.chan_switch_req.variable;
1752 struct ieee80211_tdls_data *tf = (void *)skb->data;
1755 int baselen = offsetof(typeof(*tf), u.chan_switch_resp.variable);
1770 sta = sta_info_get(sdata, tf->sa);
1773 tf->sa);
1779 params.status = le16_to_cpu(tf->u.chan_switch_resp.status_code);
1785 elems = ieee802_11_parse_elems(tf->u.chan_switch_resp.variable,
1829 tf->sa, params.status);
1851 struct ieee80211_tdls_data *tf = (void *)skb->data;
1853 int baselen = offsetof(typeof(*tf), u.chan_switch_req.variable);
1868 target_channel = tf->u.chan_switch_req.target_channel;
1869 oper_class = tf->u.chan_switch_req.oper_class;
1904 elems = ieee802_11_parse_elems(tf->u.chan_switch_req.variable,
1947 sta = sta_info_get(sdata, tf->sa);
1950 tf->sa);
1990 tf->sa, params.chandef->chan->center_freq,
2003 struct ieee80211_tdls_data *tf = (void *)skb->data;
2019 switch (tf->action_code) {