41 struct rxpd *local_rx_pd;
44 local_rx_pd = (
struct rxpd *) (skb->
data);
46 priv = mwifiex_get_priv_by_id(adapter, local_rx_pd->
bss_num &
90 ret = adapter->
if_ops.host_to_card(adapter,
94 ret = adapter->
if_ops.host_to_card(adapter,
102 dev_err(adapter->
dev,
"data: -ENOSR is returned\n");
107 priv->
adapter->tx_lock_flag =
false;
109 local_tx_pd->
flags = 0;
111 dev_dbg(adapter->
dev,
"data: -EBUSY is returned\n");
115 dev_err(adapter->
dev,
"mwifiex_write_data_async failed: 0x%X\n",
117 adapter->
dbg.num_tx_host_to_card_failure++;
150 tx_info = MWIFIEX_SKB_TXCB(skb);
151 priv = mwifiex_get_priv_by_id(adapter, tx_info->
bss_num,
161 priv->
stats.tx_packets++;
164 priv->
stats.tx_errors++;
172 for (i = 0; i < adapter->
priv_num; i++) {
173 tpriv = adapter->
priv[
i];
176 netif_queue_stopped(tpriv->
netdev))