Lines Matching refs:buf
235 t_u8 *buf = wifi_get_outbuf(&max_len); in wlan_send_timing_measurement_req_frame() local
241 assert(buf != MNULL); in wlan_send_timing_measurement_req_frame()
244 pkt_hdr = (wlan_mgmt_pkt *)(void *)(buf + offset); in wlan_send_timing_measurement_req_frame()
249 buf[offset] = (t_u8)IEEE_MGMT_ACTION_CATEGORY_WNM; in wlan_send_timing_measurement_req_frame()
250 buf[offset + 1U] = IEEE_MGMT_WNM_TIMING_MEASUREMENT_REQUEST; in wlan_send_timing_measurement_req_frame()
251 buf[offset + 2U] = trigger; in wlan_send_timing_measurement_req_frame()
257 (void)raw_process_pkt_hdrs(buf, len, pmpriv->bss_index); in wlan_send_timing_measurement_req_frame()
259 txpd = (TxPD *)(void *)(buf + INTF_HEADER_LEN); in wlan_send_timing_measurement_req_frame()
261 (void)raw_wlan_xmit_pkt(buf, len, pmpriv->bss_index, 0); in wlan_send_timing_measurement_req_frame()
271 t_u8 *buf = wifi_get_outbuf(&max_len); in wlan_send_timing_measurement_frame() local
277 assert(buf != MNULL); in wlan_send_timing_measurement_frame()
281 pkt_hdr = (wlan_mgmt_pkt *)(void *)(buf + offset); in wlan_send_timing_measurement_frame()
287 buf[offset] = (t_u8)IEEE_MGMT_ACTION_CATEGORY_UNPROTECT_WNM; in wlan_send_timing_measurement_frame()
291 tm = (wifi_wnm_timing_msmt_t *)(void *)&buf[offset]; in wlan_send_timing_measurement_frame()
304 (void)raw_process_pkt_hdrs(buf, len, pmpriv->bss_index); in wlan_send_timing_measurement_frame()
306 txpd = (TxPD *)(void *)(buf + INTF_HEADER_LEN); in wlan_send_timing_measurement_frame()
308 ret = raw_wlan_xmit_pkt(buf, len, pmpriv->bss_index, 0); in wlan_send_timing_measurement_frame()