• Home
  • Raw
  • Download

Lines Matching refs:cmd_skb

78 				    struct sk_buff *cmd_skb,  in qtnf_cmd_send_with_reply()  argument
92 cmd = (struct qlink_cmd *)cmd_skb->data; in qtnf_cmd_send_with_reply()
96 cmd->mhdr.len = cpu_to_le16(cmd_skb->len); in qtnf_cmd_send_with_reply()
103 dev_kfree_skb(cmd_skb); in qtnf_cmd_send_with_reply()
107 ret = qtnf_trans_send_cmd_with_resp(bus, cmd_skb, &resp_skb); in qtnf_cmd_send_with_reply()
142 static inline int qtnf_cmd_send(struct qtnf_bus *bus, struct sk_buff *cmd_skb) in qtnf_cmd_send() argument
144 return qtnf_cmd_send_with_reply(bus, cmd_skb, NULL, in qtnf_cmd_send()
152 struct sk_buff *cmd_skb; in qtnf_cmd_alloc_new_cmdskb() local
154 cmd_skb = __dev_alloc_skb(sizeof(*cmd) + in qtnf_cmd_alloc_new_cmdskb()
156 if (unlikely(!cmd_skb)) { in qtnf_cmd_alloc_new_cmdskb()
161 skb_put_zero(cmd_skb, cmd_size); in qtnf_cmd_alloc_new_cmdskb()
163 cmd = (struct qlink_cmd *)cmd_skb->data; in qtnf_cmd_alloc_new_cmdskb()
164 cmd->mhdr.len = cpu_to_le16(cmd_skb->len); in qtnf_cmd_alloc_new_cmdskb()
170 return cmd_skb; in qtnf_cmd_alloc_new_cmdskb()
173 static void qtnf_cmd_tlv_ie_set_add(struct sk_buff *cmd_skb, u8 frame_type, in qtnf_cmd_tlv_ie_set_add() argument
178 tlv = (struct qlink_tlv_ie_set *)skb_put(cmd_skb, sizeof(*tlv) + in qtnf_cmd_tlv_ie_set_add()
222 static void qtnf_cmd_tlv_ie_ext_add(struct sk_buff *cmd_skb, u8 eid_ext, in qtnf_cmd_tlv_ie_ext_add() argument
227 tlv = (struct qlink_tlv_ext_ie *)skb_put(cmd_skb, sizeof(*tlv) + len); in qtnf_cmd_tlv_ie_ext_add()
239 struct sk_buff *cmd_skb; in qtnf_cmd_send_start_ap() local
249 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_start_ap()
252 if (!cmd_skb) in qtnf_cmd_send_start_ap()
255 cmd = (struct qlink_cmd_start_ap *)cmd_skb->data; in qtnf_cmd_send_start_ap()
294 qtnf_cmd_skb_put_tlv_arr(cmd_skb, WLAN_EID_SSID, s->ssid, in qtnf_cmd_send_start_ap()
299 (struct qlink_tlv_chandef *)skb_put(cmd_skb, in qtnf_cmd_send_start_ap()
308 qtnf_cmd_tlv_ie_set_add(cmd_skb, QLINK_IE_SET_BEACON_HEAD, in qtnf_cmd_send_start_ap()
310 qtnf_cmd_tlv_ie_set_add(cmd_skb, QLINK_IE_SET_BEACON_TAIL, in qtnf_cmd_send_start_ap()
312 qtnf_cmd_tlv_ie_set_add(cmd_skb, QLINK_IE_SET_BEACON_IES, in qtnf_cmd_send_start_ap()
314 qtnf_cmd_tlv_ie_set_add(cmd_skb, QLINK_IE_SET_PROBE_RESP, in qtnf_cmd_send_start_ap()
316 qtnf_cmd_tlv_ie_set_add(cmd_skb, QLINK_IE_SET_PROBE_RESP_IES, in qtnf_cmd_send_start_ap()
319 qtnf_cmd_tlv_ie_set_add(cmd_skb, QLINK_IE_SET_ASSOC_RESP, in qtnf_cmd_send_start_ap()
325 skb_put(cmd_skb, sizeof(*tlv) + in qtnf_cmd_send_start_ap()
335 skb_put(cmd_skb, sizeof(*tlv) + sizeof(*s->vht_cap)); in qtnf_cmd_send_start_ap()
343 qtnf_cmd_tlv_ie_ext_add(cmd_skb, WLAN_EID_EXT_HE_CAPABILITY, in qtnf_cmd_send_start_ap()
350 skb_put(cmd_skb, in qtnf_cmd_send_start_ap()
359 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_start_ap()
373 struct sk_buff *cmd_skb; in qtnf_cmd_send_stop_ap() local
376 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_stop_ap()
379 if (!cmd_skb) in qtnf_cmd_send_stop_ap()
383 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_stop_ap()
391 struct sk_buff *cmd_skb; in qtnf_cmd_send_register_mgmt() local
395 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_register_mgmt()
398 if (!cmd_skb) in qtnf_cmd_send_register_mgmt()
403 cmd = (struct qlink_cmd_mgmt_frame_register *)cmd_skb->data; in qtnf_cmd_send_register_mgmt()
407 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_register_mgmt()
417 struct sk_buff *cmd_skb; in qtnf_cmd_send_frame() local
427 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_frame()
430 if (!cmd_skb) in qtnf_cmd_send_frame()
435 cmd = (struct qlink_cmd_frame_tx *)cmd_skb->data; in qtnf_cmd_send_frame()
441 qtnf_cmd_skb_put_buffer(cmd_skb, buf, len); in qtnf_cmd_send_frame()
443 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_frame()
453 struct sk_buff *cmd_skb; in qtnf_cmd_send_mgmt_set_appie() local
462 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_mgmt_set_appie()
465 if (!cmd_skb) in qtnf_cmd_send_mgmt_set_appie()
468 qtnf_cmd_tlv_ie_set_add(cmd_skb, frame_type, buf, len); in qtnf_cmd_send_mgmt_set_appie()
471 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_mgmt_set_appie()
705 struct sk_buff *cmd_skb, *resp_skb = NULL; in qtnf_cmd_get_sta_info() local
711 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_get_sta_info()
714 if (!cmd_skb) in qtnf_cmd_get_sta_info()
719 cmd = (struct qlink_cmd_get_sta_info *)cmd_skb->data; in qtnf_cmd_get_sta_info()
722 ret = qtnf_cmd_send_with_reply(vif->mac->bus, cmd_skb, &resp_skb, in qtnf_cmd_get_sta_info()
751 struct sk_buff *cmd_skb, *resp_skb = NULL; in qtnf_cmd_send_add_change_intf() local
756 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_add_change_intf()
759 if (!cmd_skb) in qtnf_cmd_send_add_change_intf()
764 cmd = (struct qlink_cmd_manage_intf *)cmd_skb->data; in qtnf_cmd_send_add_change_intf()
786 ret = qtnf_cmd_send_with_reply(vif->mac->bus, cmd_skb, &resp_skb, in qtnf_cmd_send_add_change_intf()
836 struct sk_buff *cmd_skb; in qtnf_cmd_send_del_intf() local
840 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_del_intf()
843 if (!cmd_skb) in qtnf_cmd_send_del_intf()
848 cmd = (struct qlink_cmd_manage_intf *)cmd_skb->data; in qtnf_cmd_send_del_intf()
860 dev_kfree_skb(cmd_skb); in qtnf_cmd_send_del_intf()
867 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_del_intf()
1533 struct sk_buff *cmd_skb, *resp_skb = NULL; in qtnf_cmd_get_mac_info() local
1538 cmd_skb = qtnf_cmd_alloc_new_cmdskb(mac->macid, QLINK_VIFID_RSVD, in qtnf_cmd_get_mac_info()
1541 if (!cmd_skb) in qtnf_cmd_get_mac_info()
1545 ret = qtnf_cmd_send_with_reply(mac->bus, cmd_skb, &resp_skb, in qtnf_cmd_get_mac_info()
1566 struct sk_buff *cmd_skb, *resp_skb = NULL; in qtnf_cmd_get_hw_info() local
1571 cmd_skb = qtnf_cmd_alloc_new_cmdskb(QLINK_MACID_RSVD, QLINK_VIFID_RSVD, in qtnf_cmd_get_hw_info()
1574 if (!cmd_skb) in qtnf_cmd_get_hw_info()
1578 ret = qtnf_cmd_send_with_reply(bus, cmd_skb, &resp_skb, in qtnf_cmd_get_hw_info()
1596 struct sk_buff *cmd_skb, *resp_skb = NULL; in qtnf_cmd_band_info_get() local
1603 cmd_skb = qtnf_cmd_alloc_new_cmdskb(mac->macid, 0, in qtnf_cmd_band_info_get()
1606 if (!cmd_skb) in qtnf_cmd_band_info_get()
1609 cmd = (struct qlink_cmd_band_info_get *)cmd_skb->data; in qtnf_cmd_band_info_get()
1613 ret = qtnf_cmd_send_with_reply(mac->bus, cmd_skb, &resp_skb, in qtnf_cmd_band_info_get()
1638 struct sk_buff *cmd_skb; in qtnf_cmd_send_update_phy_params() local
1641 cmd_skb = qtnf_cmd_alloc_new_cmdskb(mac->macid, 0, in qtnf_cmd_send_update_phy_params()
1644 if (!cmd_skb) in qtnf_cmd_send_update_phy_params()
1650 qtnf_cmd_skb_put_tlv_u32(cmd_skb, QTN_TLV_ID_FRAG_THRESH, in qtnf_cmd_send_update_phy_params()
1653 qtnf_cmd_skb_put_tlv_u32(cmd_skb, QTN_TLV_ID_RTS_THRESH, in qtnf_cmd_send_update_phy_params()
1656 qtnf_cmd_skb_put_tlv_u32(cmd_skb, QTN_TLV_ID_COVERAGE_CLASS, in qtnf_cmd_send_update_phy_params()
1660 qtnf_cmd_skb_put_tlv_u32(cmd_skb, QTN_TLV_ID_LRETRY_LIMIT, in qtnf_cmd_send_update_phy_params()
1664 qtnf_cmd_skb_put_tlv_u32(cmd_skb, QTN_TLV_ID_SRETRY_LIMIT, in qtnf_cmd_send_update_phy_params()
1667 ret = qtnf_cmd_send(mac->bus, cmd_skb); in qtnf_cmd_send_update_phy_params()
1679 struct sk_buff *cmd_skb; in qtnf_cmd_send_init_fw() local
1683 cmd_skb = qtnf_cmd_alloc_new_cmdskb(QLINK_MACID_RSVD, QLINK_VIFID_RSVD, in qtnf_cmd_send_init_fw()
1686 if (!cmd_skb) in qtnf_cmd_send_init_fw()
1689 cmd = (struct qlink_cmd_init_fw *)cmd_skb->data; in qtnf_cmd_send_init_fw()
1693 ret = qtnf_cmd_send_with_reply(bus, cmd_skb, &resp_skb, in qtnf_cmd_send_init_fw()
1710 struct sk_buff *cmd_skb; in qtnf_cmd_send_deinit_fw() local
1712 cmd_skb = qtnf_cmd_alloc_new_cmdskb(QLINK_MACID_RSVD, QLINK_VIFID_RSVD, in qtnf_cmd_send_deinit_fw()
1715 if (!cmd_skb) in qtnf_cmd_send_deinit_fw()
1719 qtnf_cmd_send(bus, cmd_skb); in qtnf_cmd_send_deinit_fw()
1726 struct sk_buff *cmd_skb; in qtnf_cmd_send_add_key() local
1730 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_add_key()
1733 if (!cmd_skb) in qtnf_cmd_send_add_key()
1738 cmd = (struct qlink_cmd_add_key *)cmd_skb->data; in qtnf_cmd_send_add_key()
1750 qtnf_cmd_skb_put_tlv_arr(cmd_skb, QTN_TLV_ID_KEY, in qtnf_cmd_send_add_key()
1755 qtnf_cmd_skb_put_tlv_arr(cmd_skb, QTN_TLV_ID_SEQ, in qtnf_cmd_send_add_key()
1759 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_add_key()
1769 struct sk_buff *cmd_skb; in qtnf_cmd_send_del_key() local
1773 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_del_key()
1776 if (!cmd_skb) in qtnf_cmd_send_del_key()
1781 cmd = (struct qlink_cmd_del_key *)cmd_skb->data; in qtnf_cmd_send_del_key()
1791 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_del_key()
1801 struct sk_buff *cmd_skb; in qtnf_cmd_send_set_default_key() local
1805 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_set_default_key()
1808 if (!cmd_skb) in qtnf_cmd_send_set_default_key()
1813 cmd = (struct qlink_cmd_set_def_key *)cmd_skb->data; in qtnf_cmd_send_set_default_key()
1818 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_set_default_key()
1827 struct sk_buff *cmd_skb; in qtnf_cmd_send_set_default_mgmt_key() local
1831 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_set_default_mgmt_key()
1834 if (!cmd_skb) in qtnf_cmd_send_set_default_mgmt_key()
1839 cmd = (struct qlink_cmd_set_def_mgmt_key *)cmd_skb->data; in qtnf_cmd_send_set_default_mgmt_key()
1842 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_set_default_mgmt_key()
1873 struct sk_buff *cmd_skb; in qtnf_cmd_send_change_sta() local
1877 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_change_sta()
1880 if (!cmd_skb) in qtnf_cmd_send_change_sta()
1885 cmd = (struct qlink_cmd_change_sta *)cmd_skb->data; in qtnf_cmd_send_change_sta()
1901 dev_kfree_skb(cmd_skb); in qtnf_cmd_send_change_sta()
1906 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_change_sta()
1917 struct sk_buff *cmd_skb; in qtnf_cmd_send_del_sta() local
1921 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_del_sta()
1924 if (!cmd_skb) in qtnf_cmd_send_del_sta()
1929 cmd = (struct qlink_cmd_del_sta *)cmd_skb->data; in qtnf_cmd_send_del_sta()
1939 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_del_sta()
1946 static void qtnf_cmd_channel_tlv_add(struct sk_buff *cmd_skb, in qtnf_cmd_channel_tlv_add() argument
1952 tlv = skb_put_zero(cmd_skb, sizeof(*tlv)); in qtnf_cmd_channel_tlv_add()
1968 static void qtnf_cmd_randmac_tlv_add(struct sk_buff *cmd_skb, in qtnf_cmd_randmac_tlv_add() argument
1974 skb_put(cmd_skb, sizeof(*hdr) + sizeof(*randmac)); in qtnf_cmd_randmac_tlv_add()
1992 struct sk_buff *cmd_skb; in qtnf_cmd_send_scan() local
1998 cmd_skb = qtnf_cmd_alloc_new_cmdskb(mac->macid, QLINK_VIFID_RSVD, in qtnf_cmd_send_scan()
2001 if (!cmd_skb) in qtnf_cmd_send_scan()
2004 cmd = (struct qlink_cmd_scan *)cmd_skb->data; in qtnf_cmd_send_scan()
2018 qtnf_cmd_skb_put_tlv_arr(cmd_skb, WLAN_EID_SSID, in qtnf_cmd_send_scan()
2024 qtnf_cmd_tlv_ie_set_add(cmd_skb, QLINK_IE_SET_PROBE_REQ, in qtnf_cmd_send_scan()
2036 qtnf_cmd_channel_tlv_add(cmd_skb, sc); in qtnf_cmd_send_scan()
2062 qtnf_cmd_randmac_tlv_add(cmd_skb, scan_req->mac_addr, in qtnf_cmd_send_scan()
2067 ret = qtnf_cmd_send(mac->bus, cmd_skb); in qtnf_cmd_send_scan()
2076 struct sk_buff *cmd_skb; in qtnf_cmd_send_connect() local
2084 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_connect()
2087 if (!cmd_skb) in qtnf_cmd_send_connect()
2090 cmd = (struct qlink_cmd_connect *)cmd_skb->data; in qtnf_cmd_send_connect()
2150 qtnf_cmd_skb_put_tlv_arr(cmd_skb, WLAN_EID_SSID, sme->ssid, in qtnf_cmd_send_connect()
2154 qtnf_cmd_tlv_ie_set_add(cmd_skb, QLINK_IE_SET_ASSOC_REQ, in qtnf_cmd_send_connect()
2158 qtnf_cmd_channel_tlv_add(cmd_skb, sme->channel); in qtnf_cmd_send_connect()
2161 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_connect()
2170 struct sk_buff *cmd_skb; in qtnf_cmd_send_external_auth() local
2174 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_external_auth()
2177 if (!cmd_skb) in qtnf_cmd_send_external_auth()
2180 cmd = (struct qlink_cmd_external_auth *)cmd_skb->data; in qtnf_cmd_send_external_auth()
2186 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_external_auth()
2194 struct sk_buff *cmd_skb; in qtnf_cmd_send_disconnect() local
2198 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_disconnect()
2201 if (!cmd_skb) in qtnf_cmd_send_disconnect()
2206 cmd = (struct qlink_cmd_disconnect *)cmd_skb->data; in qtnf_cmd_send_disconnect()
2209 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_disconnect()
2218 struct sk_buff *cmd_skb; in qtnf_cmd_send_updown_intf() local
2222 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_updown_intf()
2225 if (!cmd_skb) in qtnf_cmd_send_updown_intf()
2228 cmd = (struct qlink_cmd_updown *)cmd_skb->data; in qtnf_cmd_send_updown_intf()
2232 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_updown_intf()
2243 struct sk_buff *cmd_skb; in qtnf_cmd_reg_notify() local
2249 cmd_skb = qtnf_cmd_alloc_new_cmdskb(mac->macid, QLINK_VIFID_RSVD, in qtnf_cmd_reg_notify()
2252 if (!cmd_skb) in qtnf_cmd_reg_notify()
2255 cmd = (struct qlink_cmd_reg_notify *)cmd_skb->data; in qtnf_cmd_reg_notify()
2315 qtnf_cmd_channel_tlv_add(cmd_skb, in qtnf_cmd_reg_notify()
2321 ret = qtnf_cmd_send(bus, cmd_skb); in qtnf_cmd_reg_notify()
2413 struct sk_buff *cmd_skb, *resp_skb = NULL; in qtnf_cmd_get_chan_stats() local
2419 cmd_skb = qtnf_cmd_alloc_new_cmdskb(mac->macid, QLINK_VIFID_RSVD, in qtnf_cmd_get_chan_stats()
2422 if (!cmd_skb) in qtnf_cmd_get_chan_stats()
2425 cmd = (struct qlink_cmd_get_chan_stats *)cmd_skb->data; in qtnf_cmd_get_chan_stats()
2429 ret = qtnf_cmd_send_with_reply(mac->bus, cmd_skb, &resp_skb, in qtnf_cmd_get_chan_stats()
2459 struct sk_buff *cmd_skb; in qtnf_cmd_send_chan_switch() local
2463 cmd_skb = qtnf_cmd_alloc_new_cmdskb(mac->macid, vif->vifid, in qtnf_cmd_send_chan_switch()
2466 if (!cmd_skb) in qtnf_cmd_send_chan_switch()
2475 cmd = (struct qlink_cmd_chan_switch *)cmd_skb->data; in qtnf_cmd_send_chan_switch()
2481 ret = qtnf_cmd_send(mac->bus, cmd_skb); in qtnf_cmd_send_chan_switch()
2491 struct sk_buff *cmd_skb; in qtnf_cmd_get_channel() local
2495 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_get_channel()
2498 if (!cmd_skb) in qtnf_cmd_get_channel()
2502 ret = qtnf_cmd_send_with_reply(bus, cmd_skb, &resp_skb, in qtnf_cmd_get_channel()
2522 struct sk_buff *cmd_skb; in qtnf_cmd_start_cac() local
2526 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_start_cac()
2529 if (!cmd_skb) in qtnf_cmd_start_cac()
2532 cmd = (struct qlink_cmd_start_cac *)cmd_skb->data; in qtnf_cmd_start_cac()
2537 ret = qtnf_cmd_send(bus, cmd_skb); in qtnf_cmd_start_cac()
2547 struct sk_buff *cmd_skb; in qtnf_cmd_set_mac_acl() local
2552 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_set_mac_acl()
2555 if (!cmd_skb) in qtnf_cmd_set_mac_acl()
2558 tlv = skb_put(cmd_skb, sizeof(*tlv) + round_up(acl_size, QLINK_ALIGN)); in qtnf_cmd_set_mac_acl()
2564 ret = qtnf_cmd_send(bus, cmd_skb); in qtnf_cmd_set_mac_acl()
2573 struct sk_buff *cmd_skb; in qtnf_cmd_send_pm_set() local
2577 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_pm_set()
2579 if (!cmd_skb) in qtnf_cmd_send_pm_set()
2582 cmd = (struct qlink_cmd_pm_set *)cmd_skb->data; in qtnf_cmd_send_pm_set()
2588 ret = qtnf_cmd_send(bus, cmd_skb); in qtnf_cmd_send_pm_set()
2601 struct sk_buff *cmd_skb; in qtnf_cmd_get_tx_power() local
2604 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_get_tx_power()
2606 if (!cmd_skb) in qtnf_cmd_get_tx_power()
2609 cmd = (struct qlink_cmd_txpwr *)cmd_skb->data; in qtnf_cmd_get_tx_power()
2614 ret = qtnf_cmd_send_with_reply(bus, cmd_skb, &resp_skb, in qtnf_cmd_get_tx_power()
2636 struct sk_buff *cmd_skb; in qtnf_cmd_set_tx_power() local
2639 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_set_tx_power()
2641 if (!cmd_skb) in qtnf_cmd_set_tx_power()
2644 cmd = (struct qlink_cmd_txpwr *)cmd_skb->data; in qtnf_cmd_set_tx_power()
2651 ret = qtnf_cmd_send_with_reply(bus, cmd_skb, &resp_skb, in qtnf_cmd_set_tx_power()
2664 struct sk_buff *cmd_skb; in qtnf_cmd_send_wowlan_set() local
2670 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_wowlan_set()
2672 if (!cmd_skb) in qtnf_cmd_send_wowlan_set()
2677 cmd = (struct qlink_cmd_wowlan_set *)cmd_skb->data; in qtnf_cmd_send_wowlan_set()
2689 qtnf_cmd_skb_put_tlv_arr(cmd_skb, in qtnf_cmd_send_wowlan_set()
2700 ret = qtnf_cmd_send(bus, cmd_skb); in qtnf_cmd_send_wowlan_set()
2709 struct sk_buff *cmd_skb; in qtnf_cmd_netdev_changeupper() local
2713 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_netdev_changeupper()
2716 if (!cmd_skb) in qtnf_cmd_netdev_changeupper()
2722 cmd = (struct qlink_cmd_ndev_changeupper *)cmd_skb->data; in qtnf_cmd_netdev_changeupper()
2728 ret = qtnf_cmd_send(bus, cmd_skb); in qtnf_cmd_netdev_changeupper()
2742 struct sk_buff *cmd_skb; in qtnf_cmd_send_update_owe() local
2751 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_update_owe()
2754 if (!cmd_skb) in qtnf_cmd_send_update_owe()
2757 cmd = (struct qlink_cmd_update_owe *)cmd_skb->data; in qtnf_cmd_send_update_owe()
2761 qtnf_cmd_skb_put_buffer(cmd_skb, owe->ie, owe->ie_len); in qtnf_cmd_send_update_owe()
2764 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_update_owe()