Lines Matching refs:ack_skb

640 	struct sk_buff *ack_skb;  in i2400m_msg_to_dev_cancel_wait()  local
644 ack_skb = i2400m->ack_skb; in i2400m_msg_to_dev_cancel_wait()
645 if (ack_skb && !IS_ERR(ack_skb)) in i2400m_msg_to_dev_cancel_wait()
646 kfree_skb(ack_skb); in i2400m_msg_to_dev_cancel_wait()
647 i2400m->ack_skb = ERR_PTR(code); in i2400m_msg_to_dev_cancel_wait()
711 struct sk_buff *ack_skb; in i2400m_msg_to_dev() local
739 i2400m->ack_skb = ERR_PTR(-EINPROGRESS); in i2400m_msg_to_dev()
784 ack_skb = i2400m->ack_skb; in i2400m_msg_to_dev()
785 if (IS_ERR(ack_skb)) in i2400m_msg_to_dev()
786 result = PTR_ERR(ack_skb); in i2400m_msg_to_dev()
789 i2400m->ack_skb = NULL; in i2400m_msg_to_dev()
793 ack_l3l4_hdr = wimax_msg_data_len(ack_skb, &ack_len); in i2400m_msg_to_dev()
814 i2400m, buf, buf_len, ack_skb); in i2400m_msg_to_dev()
815 return ack_skb; in i2400m_msg_to_dev()
819 kfree_skb(ack_skb); in i2400m_msg_to_dev()
865 struct sk_buff *ack_skb; in i2400m_cmd_enter_powersave() local
880 ack_skb = i2400m_msg_to_dev(i2400m, cmd, sizeof(*cmd)); in i2400m_cmd_enter_powersave()
881 result = PTR_ERR(ack_skb); in i2400m_cmd_enter_powersave()
882 if (IS_ERR(ack_skb)) { in i2400m_cmd_enter_powersave()
887 result = i2400m_msg_check_status(wimax_msg_data(ack_skb), in i2400m_cmd_enter_powersave()
897 kfree_skb(ack_skb); in i2400m_cmd_enter_powersave()
929 struct sk_buff *ack_skb; in i2400m_get_device_info() local
937 ack_skb = ERR_PTR(-ENOMEM); in i2400m_get_device_info()
945 ack_skb = i2400m_msg_to_dev(i2400m, cmd, sizeof(*cmd)); in i2400m_get_device_info()
946 if (IS_ERR(ack_skb)) { in i2400m_get_device_info()
948 PTR_ERR(ack_skb)); in i2400m_get_device_info()
951 ack = wimax_msg_data_len(ack_skb, &ack_len); in i2400m_get_device_info()
968 skb_pull(ack_skb, (void *) tlv - (void *) ack_skb->data); in i2400m_get_device_info()
972 return ack_skb; in i2400m_get_device_info()
976 kfree_skb(ack_skb); in i2400m_get_device_info()
1011 struct sk_buff *ack_skb; in i2400m_firmware_check() local
1028 ack_skb = i2400m_msg_to_dev(i2400m, cmd, sizeof(*cmd)); in i2400m_firmware_check()
1029 if (IS_ERR(ack_skb)) { in i2400m_firmware_check()
1030 result = PTR_ERR(ack_skb); in i2400m_firmware_check()
1035 ack = wimax_msg_data_len(ack_skb, &ack_len); in i2400m_firmware_check()
1072 kfree_skb(ack_skb); in i2400m_firmware_check()
1095 struct sk_buff *ack_skb; in i2400m_cmd_exit_idle() local
1107 ack_skb = i2400m_msg_to_dev(i2400m, cmd, sizeof(*cmd)); in i2400m_cmd_exit_idle()
1108 result = PTR_ERR(ack_skb); in i2400m_cmd_exit_idle()
1109 if (IS_ERR(ack_skb)) { in i2400m_cmd_exit_idle()
1114 result = i2400m_msg_check_status(wimax_msg_data(ack_skb), in i2400m_cmd_exit_idle()
1116 kfree_skb(ack_skb); in i2400m_cmd_exit_idle()
1143 struct sk_buff *ack_skb; in i2400m_cmd_get_state() local
1157 ack_skb = i2400m_msg_to_dev(i2400m, cmd, sizeof(*cmd)); in i2400m_cmd_get_state()
1158 if (IS_ERR(ack_skb)) { in i2400m_cmd_get_state()
1160 PTR_ERR(ack_skb)); in i2400m_cmd_get_state()
1161 result = PTR_ERR(ack_skb); in i2400m_cmd_get_state()
1164 ack = wimax_msg_data_len(ack_skb, &ack_len); in i2400m_cmd_get_state()
1174 kfree_skb(ack_skb); in i2400m_cmd_get_state()
1198 struct sk_buff *ack_skb; in i2400m_set_init_config() local
1238 ack_skb = i2400m_msg_to_dev(i2400m, buf, sizeof(*cmd) + argsize); in i2400m_set_init_config()
1239 result = PTR_ERR(ack_skb); in i2400m_set_init_config()
1240 if (IS_ERR(ack_skb)) { in i2400m_set_init_config()
1246 result = i2400m_msg_check_status(wimax_msg_data(ack_skb), in i2400m_set_init_config()
1251 kfree_skb(ack_skb); in i2400m_set_init_config()
1284 struct sk_buff *ack_skb; in i2400m_set_idle_timeout() local
1309 ack_skb = i2400m_msg_to_dev(i2400m, cmd, sizeof(*cmd)); in i2400m_set_idle_timeout()
1310 if (IS_ERR(ack_skb)) { in i2400m_set_idle_timeout()
1312 "%ld\n", PTR_ERR(ack_skb)); in i2400m_set_idle_timeout()
1313 result = PTR_ERR(ack_skb); in i2400m_set_idle_timeout()
1316 ack = wimax_msg_data_len(ack_skb, &ack_len); in i2400m_set_idle_timeout()
1324 kfree_skb(ack_skb); in i2400m_set_idle_timeout()