in ipw_handle_mgmt_packet
following routine exsit.
this dont be called because priv->config is set not CFG_NET_STATS.
if (priv->config & CFG_NET_STATS) {
IWI_DEBUG("sending stat packet.\n");
/* Set the size of the skb to the size of the full
* ipw header and 802.11 frame */
skb_put(skb, le16_to_cpu(pkt->u.frame.length) + IPW_RX_FRAME_SIZE);
/* Advance past the ipw packet header to the 802.11 frame */
skb_pull(skb, IPW_RX_FRAME_SIZE);
/* Push the ieee80211_rx_stats before the 802.11 frame */
memcpy(skb_push(skb, sizeof(*stats)), stats, sizeof(*stats));
//skb->dev = priv->ieee->dev;
/* Point raw at the ieee80211_stats */
/*skb->mac.raw = skb->data;
skb->pkt_type = PACKET_OTHERHOST;
skb->protocol = __constant_htons(ETH_P_80211_STATS);
memset(skb->cb, 0, sizeof(rxb->skb->cb));
netif_rx(skb);*/
//ifnet_input(fifnet, skb, (const struct ifnet_stat_increment_param*)stats);
fNetif->inputPacket(skb,mbuf_len(skb),IONetworkInterface::kInputOptionQueuePacke
t);
// fix me: fushInputQueue is called in interruptOccured with check?
fNetif->flushInputQueue();
rxb->skb = NULL;
}
Original issue reported on code.google.com by kazuh...@gmail.com on 13 Feb 2007 at 2:52
Original issue reported on code.google.com by
kazuh...@gmail.com
on 13 Feb 2007 at 2:52