memcpy(skb->cb, AP_SKB_CB_MAGIC, AP_SKB_CB_MAGIC_LEN); skb->cb[AP_SKB_CB_MAGIC_LEN] = AP_SKB_CB_BUFFERED_FRAME;
meta = (struct hostap_skb_tx_data *) skb->cb; meta->flags |= HOSTAP_TX_FLAGS_BUFFERED_FRAME;
static void pspoll_send_buffered(local_info_t *local, struct sta_info *sta,				 struct sk_buff *skb){	if (!(sta->flags & WLAN_STA_PS)) {		/* Station has moved to non-PS mode, so send all buffered		 * frames using normal device queue. */		dev_queue_xmit(skb);		return;	}	/* add a flag for hostap_handle_sta_tx() to know that this skb should	 * be passed through even though STA is using PS */	memcpy(skb->cb, AP_SKB_CB_MAGIC, AP_SKB_CB_MAGIC_LEN);	skb->cb[AP_SKB_CB_MAGIC_LEN] = AP_SKB_CB_BUFFERED_FRAME;	if (!skb_queue_empty(&sta->tx_buf)) {		/* indicate to STA that more frames follow */		skb->cb[AP_SKB_CB_MAGIC_LEN] |= AP_SKB_CB_ADD_MOREDATA;	}	dev_queue_xmit(skb);}