Lines Matching refs:ie_len
881 size_t ie_len = d_len - offsetof(struct ieee80211_mgmt, in wmi_evt_rx_mgmt() local
887 ie_len, true); in wmi_evt_rx_mgmt()
1628 int ie_len = len - offsetof(struct wmi_ft_auth_status_event, ie_info); in wmi_evt_auth_status() local
1637 if (ie_len >= 0 && data->status != WMI_FW_STATUS_SUCCESS) { in wmi_evt_auth_status()
1642 if (ie_len < auth_ie_offset) { in wmi_evt_auth_status()
1647 d_len = le16_to_cpu(data->ie_len); in wmi_evt_auth_status()
1648 if (d_len != ie_len) { in wmi_evt_auth_status()
1651 d_len, ie_len); in wmi_evt_auth_status()
2494 int wmi_set_ie(struct wil6210_vif *vif, u8 type, u16 ie_len, const void *ie) in wmi_set_ie() argument
2505 u16 len = sizeof(struct wmi_set_appie_cmd) + ie_len; in wmi_set_ie()
2508 if (len < ie_len) { in wmi_set_ie()
2519 ie_len = 0; in wmi_set_ie()
2523 cmd->ie_len = cpu_to_le16(ie_len); in wmi_set_ie()
2524 if (ie_len) in wmi_set_ie()
2525 memcpy(cmd->ie_info, ie, ie_len); in wmi_set_ie()
2538 int wmi_update_ft_ies(struct wil6210_vif *vif, u16 ie_len, const void *ie) in wmi_update_ft_ies() argument
2546 ie_len = 0; in wmi_update_ft_ies()
2548 len = sizeof(struct wmi_update_ft_ies_cmd) + ie_len; in wmi_update_ft_ies()
2549 if (len < ie_len) { in wmi_update_ft_ies()
2550 wil_err(wil, "wraparound. ie len %d\n", ie_len); in wmi_update_ft_ies()
2560 cmd->ie_len = cpu_to_le16(ie_len); in wmi_update_ft_ies()
2561 if (ie_len) in wmi_update_ft_ies()
2562 memcpy(cmd->ie_info, ie, ie_len); in wmi_update_ft_ies()